CN108258757B - Control method and control equipment - Google Patents

Control method and control equipment Download PDF

Info

Publication number
CN108258757B
CN108258757B CN201810002509.8A CN201810002509A CN108258757B CN 108258757 B CN108258757 B CN 108258757B CN 201810002509 A CN201810002509 A CN 201810002509A CN 108258757 B CN108258757 B CN 108258757B
Authority
CN
China
Prior art keywords
circuit
control
attribute
sub
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810002509.8A
Other languages
Chinese (zh)
Other versions
CN108258757A (en
Inventor
李洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201810002509.8A priority Critical patent/CN108258757B/en
Publication of CN108258757A publication Critical patent/CN108258757A/en
Application granted granted Critical
Publication of CN108258757B publication Critical patent/CN108258757B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/0088
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3246Power saving characterised by the action undertaken by software initiated power-off

Abstract

The embodiment of the invention discloses a control method and equipment, wherein the method comprises the following steps: acquiring an attribute of a control signal, the control signal being determined by a control circuit; determining the working state of the switch circuit according to the attribute of the control signal; determining the working state of a system circuit according to the working state of the switch circuit; the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit.

Description

Control method and control equipment
Technical Field
The present invention relates to control technologies, and in particular, to a control method and apparatus.
Background
At present, in the period from factory shipment to sale of electronic devices such as notebook computers, tablet computers and smart phones to users, considering the battery loss, a charging Circuit (Charger IC/Circuit) of the battery is generally controlled to enter a shift mode so as to achieve the purpose of avoiding electric quantity loss. However, due to the existence of the body diode on the path between the battery and the system circuit, even if the charging circuit enters the shift mode, the battery power flows to the system circuit end, and the system circuit refers to the internal components of the notebook computer and at least comprises a central processing unit, a memory, a display circuit, a radio frequency circuit and the like. Therefore, how to truly avoid the inflow of the electric quantity to the system circuit end in the shift mode becomes a technical problem to be solved.
Disclosure of Invention
In order to solve the existing technical problems, the embodiment of the invention provides a control method and control equipment, which at least can avoid the inflow of electric quantity to a system circuit end in a shift mode.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a control method, which comprises the following steps:
acquiring an attribute of a control signal, the control signal being determined by a control circuit;
determining the working state of the switch circuit according to the attribute of the control signal;
determining the working state of a system circuit according to the working state of the switch circuit;
the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit.
In the above scheme, the attribute of the control signal at least comprises a first attribute and a second attribute;
correspondingly, the determining the working state of the switch circuit according to the attribute of the control signal comprises the following steps:
when the attribute of the control signal is a first attribute, determining that the switch circuit is in a conducting state;
when the attribute of the control signal is the second attribute, the switch circuit is determined to be in an off state.
In the above scheme, the determining the working state of the system circuit according to the working state of the switch circuit includes:
when the switch circuit is in a conducting state, determining that the system circuit is in a working state;
and when the switch circuit is in a closed state, determining that the system circuit is in a non-working state.
In the above scheme, the control circuit at least comprises a charging sub-circuit and a control sub-circuit;
the attribute of the control signal is determined based at least on the first sub-signal and the second sub-signal; wherein the first sub-signal is determined by the charging sub-circuit and the second sub-signal is determined by the control sub-circuit.
In the above scheme, the method includes:
carrying out preset operation on the first sub-signal and the second sub-signal to obtain an operation result;
determining an attribute value of the control signal based on the operation result;
when the attribute value of the control signal is a first attribute value, the switch circuit is controlled to be in a conducting state; and when the attribute value of the control signal is a second attribute value, controlling the switch circuit to be in a closed state.
The embodiment of the invention provides a control device, which comprises: control circuit, switch circuit and system circuit; the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit;
the control circuit is used for acquiring the attribute of the control signal;
the switch circuit is used for determining the working state of the switch circuit according to the attribute of the control signal;
the system circuit is used for determining the working state of the system circuit according to the working state of the switch circuit.
In the above scheme, the attribute of the control signal at least comprises a first attribute and a second attribute;
correspondingly, the switching circuit is used for:
when the attribute of the control signal is a first attribute, determining that the control signal is in a conducting state;
when the attribute of the control signal is the second attribute, the control signal is determined to be in an off state.
In the above scheme, the system circuit is configured to:
when the switch circuit is in a conducting state, the switch circuit is determined to be in a working state;
and when the switching circuit is in a closed state, determining that the switching circuit is in a non-working state.
In the above scheme, the control circuit at least comprises a charging sub-circuit and a control sub-circuit;
the charging sub-circuit is used for determining a first sub-signal;
the control sub-circuit is used for determining a second sub-signal;
the properties of the control signal are determined based at least on the first sub-signal and the second sub-signal.
In the above scheme, the control circuit further includes an operation sub-circuit for:
carrying out preset operation on the first sub-signal and the second sub-signal to obtain an operation result;
determining an attribute value of the control signal based on the operation result;
when the attribute value of the control signal is a first attribute value, the switch circuit is controlled to be in a conducting state; and when the attribute value of the control signal is a second attribute value, controlling the switch circuit to be in a closed state.
The control method and the control device provided by the embodiment of the invention comprise the following steps: acquiring an attribute of a control signal, the control signal being determined by a control circuit; determining the working state of the switch circuit according to the attribute of the control signal; determining the working state of a system circuit according to the working state of the switch circuit; the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit.
The working state (the closing state and the conducting state) of the switch circuit is determined by the attribute of the control signal, the battery electric quantity can be blocked by the switch circuit in the closing state and does not flow to the system circuit any more, the shutdown of a path of the battery electric quantity to the system circuit is realized, namely, the flow of the battery electric quantity to the system circuit in a shift mode is truly avoided, and the purpose of saving the electric quantity is achieved.
Drawings
FIG. 1 is a schematic flow chart of a first embodiment of a control method according to the present invention;
FIG. 2 is a schematic flow chart of a second embodiment of a control method according to the present invention;
FIG. 3 is a schematic diagram showing the structure of a control device according to the present invention;
FIG. 4 is a schematic diagram showing a second configuration of the control device according to the present invention;
FIG. 5 is a schematic diagram showing the structure of a control device according to the present invention;
fig. 6 is a schematic diagram of control logic of a control method according to the present invention.
Detailed Description
The invention will be described in further detail with reference to the accompanying drawings and specific examples.
The technical scheme provided by the embodiment of the invention can be applied to electronic equipment such as notebook computers, tablet computers, smart phones and the like, and can also be applied to electronic equipment such as servers, management platforms and the like. I.e. in all devices with charging circuits.
The first embodiment of the control method is applied to control equipment, and the control equipment can be arranged in electronic equipment such as a notebook computer, a tablet personal computer and a smart phone, and also can be arranged in equipment such as a server and a management platform.
The control device provided by the embodiment of the invention, as shown in fig. 3, includes: control circuit 301, switching circuit 302, and system circuit 303. Wherein the control circuit 301 is connected to the switch circuit 302, and the switch circuit 302 is connected to the system circuit 303. Specifically, the output end of the control circuit 301 is connected to the input end of the switch circuit 302, and the output end of the switch circuit 302 is connected to the input end of the system circuit 303. In addition, the control device in this embodiment further includes a power supply circuit, which may be regarded as a battery, and may be connected to the control circuit 301 and the switch circuit 302, so as to further supply power to the control circuit 301 and the switch circuit 302. The system circuit 303 is an existing system circuit, and at least includes a central processing unit, a memory, a display circuit, a radio frequency circuit, and the like.
As shown in fig. 1, the method includes:
step 101: acquiring an attribute of a control signal, the control signal being determined by a control circuit;
here, the control signal is generated by a control circuit. The properties of the control signal comprise at least a first property and a second property.
Step 102: determining the working state of the switch circuit according to the attribute of the control signal;
here, the operating states of the switching circuit include at least an on state and an off state. The on-state and the off-state of the switching circuit are determined according to the properties of the control signal.
Step 103: determining the working state of a system circuit according to the working state of the switch circuit;
here, the operating states of the system circuit include at least: an active state and an inactive state. In the operating state, the system circuit performs normal processing functions. In the non-operating state, this corresponds to the system circuit being in an off state. The operating state of the system circuit is determined in dependence on the operating state of the switching circuit.
The execution subject of steps 101-103 is a control device, and may also be an electronic device provided with a control device.
In the embodiment of the invention, a control circuit and a switch circuit are added between the existing system circuit and a battery (circuit), a control signal determined by the control circuit is used for controlling the working state of the switch circuit, and the working state of the system circuit is determined according to the working state of the switch circuit. The working state of the switch circuit is determined by the attribute of the control signal, when the switch circuit is in the off state, the battery electric quantity is blocked by the switch circuit in the off state and does not flow to the system circuit any more, so that the switch-off of a path of the battery electric quantity to the system circuit is realized, the flow of the battery electric quantity to the system circuit in a shift mode is truly avoided, and the purpose of saving the electric quantity is achieved.
It should be understood by those skilled in the art that the shift mode is a power saving mode, and can be understood as follows: in this mode, most devices such as control circuits, switching circuits, and system circuits operate with less power than in normal operation, i.e., the mode allows for both normal operation of the device and power savings.
As a preferred embodiment, the present solution proposes two methods for controlling a device to enter a shift mode, where the control device may enter the shift mode based on any one of the following methods:
the first method is as follows: and acquiring an operation attribute of a preset operation source, wherein the operation attribute is at least the operation time of the preset operation source, judging whether the operation attribute meets a first preset condition, and if so, entering a shift mode by the control equipment. Based on the shift mode, the control device performs the aforementioned steps 101-103.
The second method is as follows: and acquiring a control instruction, wherein the control instruction is an instruction for instructing the control equipment to enter a shift mode, and the control instruction is responded to enter the shift mode. Based on the shift mode, the control device performs the aforementioned steps 101-103.
In the first method, an operation Key (a predetermined operation source) is preset for the control device to be able to enter a shift mode, and the operation Key can be set independently or can be multiplexed with an existing Key of the control device, such as a Power Key (Power Key); the Power Key Key may be a physical Key or a virtual Key. Taking multiplexing the Power Key as an example, a user performs a pressing operation on the Power Key, when the control device detects the pressing operation of the Power Key, the control device detects the operation time of the operation, judges whether the operation time is more than or equal to 12s (whether the operation attribute meets a first preset condition), if so, determines that the pressing is an operation for indicating the control device to enter a shift mode, the control device enters the shift mode, and the control circuit and the switch circuit both work with less Power than under the normal working condition. If the operation time is not more than 12s, further judging whether the operation time is within 2s-3s or 8s-12s, and if the operation time is within 2s-3s, determining that the pressing is an operation for indicating the start-up or the shut-down of the control equipment. If the pressing is within 8s-12s, the pressing is determined to be an operation for instructing the control device to perform forced on-off. In this scheme, for the situation of key multiplexing, the distinction of different functions of the keys is mainly considered, and different functions are distinguished from the operation duration, and in addition, the different functions can be distinguished from other operation attributes such as the operation times and the operation tracks. Of course, the above times such as 2s-3s, 8s-12s, 12s are only a specific example, and are not limited to the present invention, and different functions of the Power Key can be distinguished.
In the second method, the control instruction may be sent by a central processing unit CPU in a system circuit to a control device through a predetermined interface such as a general purpose input/output (GPIO, general Purpose Input Output) interface, and the control device acquires the control command by receiving the control command and enters a shift mode in response to the control command.
Correspondingly, the embodiment of the invention also provides two methods for exiting the shift mode, which are as follows:
the first exit method: and when the control device is in the shift mode, acquiring the operation attribute of the predetermined operation source, judging whether the operation attribute meets a second predetermined condition, and if so, exiting the shift mode by the control device. After exiting the shift mode, the system circuit and the switch circuit enter a normal working state, and corresponding task processing is carried out with normal power.
The second exit method: and monitoring whether a charging power supply is plugged in, generating an exit instruction when the charging power supply is plugged in, and responding to the exit instruction, and exiting the shift mode by the control equipment.
In the first exit method, similar to the first entry method, taking multiplexing the Power Key as an example, when in the shift mode, a pressing operation of the Power Key by the user is detected, when the control device detects the pressing operation of the Power Key, an operation time of the operation is detected, whether the operation time is equal to or longer than 12s (whether the operation attribute satisfies a second predetermined condition) is judged, if yes, the operation time is determined to be an operation for instructing the control device to exit the shift mode, the control device exits the shift mode, and the control circuit and the switch circuit are switched from adopting smaller Power to adopting larger Power (normal Power) to operate.
In the second exit method, whether a charging source such as a charger is inserted is monitored, and when the detection is on occasion, an exit command is generated, and the control device exits the shift mode in response to the exit command.
The two methods for entering the shift mode are easy to realize, simple and feasible, and the usability of the control equipment is greatly improved.
The present invention provides a second embodiment of a control method, as shown in fig. 2, the method comprising:
step 201: acquiring an attribute of a control signal, the control signal being determined by a control circuit;
here, the properties of the control signal include at least a first property and a second property. For example, a first attribute value of "0" and a second attribute value of "1", the two attribute values representing two processing logics; vice versa. The attribute value of the control signal is determined based at least on the first sub-signal and the second sub-signal.
As shown in fig. 4, the control circuit at least includes a charging sub-circuit and a control sub-circuit;
wherein the first sub-signal is determined by the charging sub-circuit and the second sub-signal is determined by the control sub-circuit. I.e. the value of the property of the control signal is determined by the first sub-signal given by the charging sub-circuit and the second sub-signal given by the control sub-circuit.
Further, performing a predetermined operation, such as a nand operation, on the first sub-signal and the second sub-signal to obtain an operation result; and determining the attribute value of the control signal based on the operation result. This process may be implemented by sub-operation circuitry in the control circuitry, as shown in fig. 4.
For example, the first sub-signal given by the charging sub-circuit may take on a value of "0" or "1", and the second sub-signal given by the control sub-circuit may take on a value of "0" or "1". Taking the first sub-signal and the second sub-signal as '1', and performing NAND operation on the '1' and the '1' to obtain a budget result '0', namely, the attribute value of the control signal is logic '0'. Taking the first sub-signal and the second sub-signal as '0', and performing NAND operation on the '0' and the '0' to obtain a budget result '1', namely the attribute value of the control signal is logic '1'. Taking the example that the first sub-signal is "0" and the second sub-signal is "1", performing NAND operation on the "0" and the "1" to obtain a budget result "1", namely, the attribute value of the control signal is logic "1".
It should be understood by those skilled in the art that "0" and "1" in this embodiment are all logical values, and are not natural values.
Step 202: when the attribute of the control signal is a first attribute, determining that the switch circuit is in a conducting state; when the attribute of the control signal is the second attribute, the switch circuit is determined to be in an off state.
Here, when the attribute value of the control signal is a first attribute value, the switch circuit is controlled to be in a conducting state; and when the attribute value of the control signal is a second attribute value, controlling the switch circuit to be in a closed state.
Step 203: when the switch circuit is in a conducting state, determining that the system circuit is in a working state; and when the switch circuit is in a closed state, determining that the system circuit is in a non-working state.
Here, when the switch circuit is in a conducting state, the path from the battery circuit to the system circuit is not blocked by the switch circuit, the battery circuit can normally supply power to the system circuit, and the system circuit is in a normal working state. When the switch circuit is in a closed state, the path from the battery circuit to the system circuit is blocked by the switch circuit, so that the electricity quantity in the shift mode is successfully prevented from flowing into the system circuit, and at the moment, the system circuit is in the closed state in consideration of electricity quantity saving in the shift mode.
The execution subject of steps 201-203 is a control device, and may also be an electronic device provided with a control device.
In summary, in the scheme, the control signal for controlling the switch circuit to be turned off and turned on is obtained through the nand operation of the first sub-signal given by the charging sub-circuit and the second sub-signal given by the control sub-signal; when the switch circuit is in a closed state, the closing of the switch circuit blocks the inflow of the battery electric quantity to the system circuit, so that the control equipment can avoid the inflow of the battery electric quantity to the system circuit in a shift mode. When the switch circuit is in a conducting state, the battery circuit supplies power to the system circuit normally, so that the control equipment works normally.
The present scheme is described in detail below with reference to fig. 5 and 6.
In this embodiment, the charge sub-Circuit is taken as a charge IC, the Control sub-Circuit is taken as a Control IC, and the nand operation is implemented by a Logic Circuit (which can be regarded as an operation sub-Circuit in the Control Circuit). The switching circuit is realized by a field effect transistor Mosfet. The Mosfet tube can be of N type or P type, in this scheme, taking N type as an example, the Gate electrode Gate of the Mosfet tube is connected with the output of the Logic Circuit, the drain electrode D of the Mosfet tube is connected with the overvoltage protection Circuit, and the Gate electrode S of the Mosfet tube is connected with the system Circuit. Among them, the overvoltage protection circuit has a function of avoiding the problem of device damage caused by excessively high voltage and current when the charger is suddenly inserted. Whether the charger is plugged in is given by the universal serial bus USB Con signal. A battery field effect transistor (battery Mosfet) is an existing part, and can be regarded as a part of a battery circuit, which cannot completely block the electric quantity of a battery to a system circuit.
The overvoltage protection circuit, the USB Con and the battery Mosfet are all existing parts in the prior art, and the scheme is illustrated in the drawings, so that the description is only for better specific implementation of the scheme, and the functions of the above parts are shown in the related description, and are not focused herein. The implementation function of the Control IC in the scheme can be provided by the existing circuit or chip of the Control equipment, and a new circuit or chip is not required to be additionally arranged, so that hardware resources can be effectively saved.
First, the control device detects whether the shift mode can be entered. Taking the Power Key as an entity Key arranged outside the control device as an example, the user presses the Power Key, the control device detects the operation time of the operation, judges whether the operation time is more than or equal to 12s (whether the operation attribute meets a first preset condition), and supposedly presses the Power Key 13s by the user, the control device considers that the pressing is an operation for indicating the user to enter a shift mode, and the control device enters the shift mode. In this mode, the Charger IC, control IC, logic Circuit and system Circuit all operate at a lower power. The above scheme may be implemented as a specific implementation of the first method for entering the shift mode.
The Control device detects a signal value (first sub-signal) given by the Charger IC, a signal value (second sub-signal) given by the Control IC. Assuming that the first sub-signal and the second sub-signal are both Logic '1', the charge IC and the Control IC both give high-level signals, after the Logic Circuit performs NAND Logic operation on the 2 high-level signals, a Logic value '0' is obtained, the Logic value '0' is input to the gate electrode of the Mosfet tube by the Logic Circuit, the gate electrode is pulled down, the drain electrode is connected with the battery, and the Mosfet tube is in a closed state. The Mosfet tube is in a closed state, which is equivalent to the path from the battery to the system circuit being blocked, so that the battery power cannot leak from the battery to the system circuit. In this case, to achieve power saving in the shift mode, the system circuit may be turned off.
If the Control device is to exit the shift mode, a charger may be inserted, when the charger is inserted, the USB Con signal is pulled high (corresponding to giving a Control instruction for instructing the Control device to exit the shift mode), the signal output of the USB Con is Logic "1", the signal is output to the Control IC and the Charge IC respectively, so that the first sub-signal and the second sub-signal are changed from original Logic "1" to Logic "0", the other is Logic "1", or are both Logic "0", no matter which group of Logic values the first sub-signal and the second sub-signal take at this time, after the nand Logic operation of the Logic Circuit, the Logic value "1" is input to the gate electrode of the Mosfet tube from the Logic Circuit, the gate electrode of the Mosfet tube is pulled high, the Mosfet tube is in a conducting state, and the system Circuit is switched from the off state to the working state. All circuits can be in normal working state and execute corresponding task processing. The above scheme may be implemented as a specific implementation of the second exit method described above.
The four groups of values of the first sub-signal and the second sub-signal can be seen to ensure the stability of the power supply path (the path from the battery to the system circuit) of the system because the logic condition that the switch circuit is conducted is far greater than the logic condition that the switch circuit is closed. In fig. 5, the power supply path is a supply path of battery power; the Control Signal (Control Signal) path is a logic processing path of the present embodiment.
It can be seen that the implementation of the additional Mosfet tube is realized: when the switch circuit is in a closed state, the path from the battery circuit to the system circuit is blocked by the switch circuit, so that the electricity quantity in a shift mode is successfully prevented from flowing into the system circuit end; when the switch circuit is in a conducting state, the path from the battery circuit to the system circuit is not blocked by the switch circuit, the battery circuit can normally supply power to the system circuit, and the system circuit is in a normal working state. The switch circuit in the scheme can realize the switching off of the path of the battery flowing to the system circuit, can realize the normal operation of the system circuit, and can not influence the normal operation of the equipment.
An embodiment of the present invention provides a control apparatus, as shown in fig. 3, including: a control circuit 301, a switching circuit 302, and a system circuit 303; the control circuit 301 is connected to the switch circuit 302, and the switch circuit 302 is connected to the system circuit 303;
the control circuit 301 is configured to obtain an attribute of the control signal;
the switch circuit 302 is configured to determine its own operating state according to the attribute of the control signal;
the system circuit 303 is configured to determine its own working state according to the working state of the switch circuit.
As one embodiment, the attribute of the control signal includes at least a first attribute and a second attribute;
accordingly, the switching circuit 302 is configured to:
when the attribute of the control signal is a first attribute, determining that the control signal is in a conducting state;
when the attribute of the control signal is the second attribute, the control signal is determined to be in an off state.
As an embodiment, the system circuit 303 is configured to:
when the switch circuit 302 is in a conducting state, the switch circuit is determined to be in a working state;
when the switch circuit 302 is in the off state, it is determined that it is in the off state.
As an embodiment, the control circuit 301 includes at least a charging sub-circuit and a control sub-circuit;
the charging sub-circuit is used for determining a first sub-signal;
the control sub-circuit is used for determining a second sub-signal;
the properties of the control signal are determined based at least on the first sub-signal and the second sub-signal.
As an embodiment, the control circuit 301 further includes an operation sub-circuit for:
carrying out preset operation on the first sub-signal and the second sub-signal to obtain an operation result;
determining an attribute value of the control signal based on the operation result;
when the attribute value of the control signal is a first attribute value, the switch circuit 302 is controlled to be in a conducting state; when the attribute value of the control signal is the second attribute value, the switch circuit 302 is controlled to be in the off state.
The foregoing control device and the control method according to the embodiments of the present invention are based on the same inventive concept, and description of the control device is similar to that of the control method, and for understanding the control device, reference is made specifically to the foregoing description of the control method, which is not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present invention may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, ROM, RAM, magnetic or optical disk, or other medium capable of storing program code.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A control method, characterized in that the method comprises:
acquiring an attribute of a control signal, the control signal being determined by a control circuit;
determining the working state of the switch circuit according to the attribute of the control signal;
determining the working state of a system circuit according to the working state of the switch circuit;
the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit; when the control equipment enters a shift mode, a path for the electric quantity of the power supply circuit to flow to the system circuit is cut off through the control circuit and the switch circuit; the control device includes the control circuit, the switching circuit, the system circuit, and the power supply circuit; in the shift mode, the control circuit, the switching circuit, and the system circuit operate normally with less power.
2. The method of claim 1, wherein the attributes of the control signal comprise at least a first attribute and a second attribute;
correspondingly, the determining the working state of the switch circuit according to the attribute of the control signal comprises the following steps:
when the attribute of the control signal is a first attribute, determining that the switch circuit is in a conducting state;
when the attribute of the control signal is the second attribute, the switch circuit is determined to be in an off state.
3. The method of claim 1, wherein determining the operating state of the system circuit based on the operating state of the switching circuit comprises:
when the switch circuit is in a conducting state, determining that the system circuit is in a working state;
and when the switch circuit is in a closed state, determining that the system circuit is in a non-working state.
4. A method according to any one of claims 1 to 3, wherein the control circuit comprises at least a charging sub-circuit and a control sub-circuit;
the attribute of the control signal is determined based at least on the first sub-signal and the second sub-signal; wherein the first sub-signal is determined by the charging sub-circuit and the second sub-signal is determined by the control sub-circuit.
5. The method according to claim 4, characterized in that the method comprises:
carrying out preset operation on the first sub-signal and the second sub-signal to obtain an operation result;
determining an attribute value of the control signal based on the operation result;
when the attribute value of the control signal is a first attribute value, the switch circuit is controlled to be in a conducting state; and when the attribute value of the control signal is a second attribute value, controlling the switch circuit to be in a closed state.
6. A control apparatus, characterized in that the apparatus comprises: control circuit, switch circuit and system circuit; the control circuit is connected with the switch circuit, and the switch circuit is connected with the system circuit;
the control circuit is used for acquiring the attribute of the control signal;
the switch circuit is used for determining the working state of the switch circuit according to the attribute of the control signal;
the system circuit is used for determining the working state of the system circuit according to the working state of the switch circuit; when the control equipment enters a shift mode, a path for the electric quantity of the power supply circuit to flow to the system circuit is cut off through the control circuit and the switch circuit; the control device includes the control circuit, the switching circuit, the system circuit, and the power supply circuit; in the shift mode, the control circuit, the switching circuit, and the system circuit operate normally with less power.
7. The control device of claim 6, wherein the attributes of the control signal comprise at least a first attribute and a second attribute;
correspondingly, the switching circuit is used for:
when the attribute of the control signal is a first attribute, determining that the control signal is in a conducting state;
when the attribute of the control signal is the second attribute, the control signal is determined to be in an off state.
8. The control device of claim 6, wherein the system circuitry is configured to:
when the switch circuit is in a conducting state, the switch circuit is determined to be in a working state;
and when the switching circuit is in a closed state, determining that the switching circuit is in a non-working state.
9. The control device according to any one of claims 6 to 8, characterized in that the control circuit comprises at least a charging sub-circuit and a control sub-circuit;
the charging sub-circuit is used for determining a first sub-signal;
the control sub-circuit is used for determining a second sub-signal;
the properties of the control signal are determined based at least on the first sub-signal and the second sub-signal.
10. The control device of claim 9, wherein the control circuit further comprises an operator circuit for:
carrying out preset operation on the first sub-signal and the second sub-signal to obtain an operation result;
determining an attribute value of the control signal based on the operation result;
when the attribute value of the control signal is a first attribute value, the switch circuit is controlled to be in a conducting state; and when the attribute value of the control signal is a second attribute value, controlling the switch circuit to be in a closed state.
CN201810002509.8A 2018-01-02 2018-01-02 Control method and control equipment Active CN108258757B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810002509.8A CN108258757B (en) 2018-01-02 2018-01-02 Control method and control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810002509.8A CN108258757B (en) 2018-01-02 2018-01-02 Control method and control equipment

Publications (2)

Publication Number Publication Date
CN108258757A CN108258757A (en) 2018-07-06
CN108258757B true CN108258757B (en) 2023-05-02

Family

ID=62725440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810002509.8A Active CN108258757B (en) 2018-01-02 2018-01-02 Control method and control equipment

Country Status (1)

Country Link
CN (1) CN108258757B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110609713A (en) * 2019-09-26 2019-12-24 广东虹勤通讯技术有限公司 Implementation method for controlling battery to enter transportation power saving mode and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838349A (en) * 2012-11-21 2014-06-04 技嘉科技股份有限公司 Power supply control system and method thereof
CN106681473A (en) * 2016-06-24 2017-05-17 乐视控股(北京)有限公司 Mobile terminal shutdown method and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ITMI20120333A1 (en) * 2012-03-02 2013-09-03 St Microelectronics Srl BATTERY CHARGER.
CN106774795A (en) * 2016-11-30 2017-05-31 上海摩软通讯技术有限公司 Mobile terminal and its power-supply management system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838349A (en) * 2012-11-21 2014-06-04 技嘉科技股份有限公司 Power supply control system and method thereof
CN106681473A (en) * 2016-06-24 2017-05-17 乐视控股(北京)有限公司 Mobile terminal shutdown method and mobile terminal

Also Published As

Publication number Publication date
CN108258757A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
EP2629173A2 (en) Method and system for powering usb device
CN103218030B (en) Based on power-supply management system and the microserver of multinode microserver
CN106292341A (en) A kind of power on/off system and method
CN104572215A (en) Method and device for controlling startup and shutdown of intelligent terminal
US8836275B2 (en) Charging and discharging management apparatus and mobile terminal
CN109062392B (en) Equipment, method and system for automatically switching power supply of server board card
CN108540664B (en) Starting method and electronic equipment
CN108258757B (en) Control method and control equipment
CN112134337A (en) Power adapter, terminal device, electronic device and charging control method thereof
CN114089714B (en) portable electronic device
CN103678060A (en) Self-repairing device for computer mainboard
CN103154852A (en) Initiating forced shutdown of a device
CN112398186B (en) Charging circuit, charging chip, terminal and circuit control method
CN110989817B (en) Electronic equipment and electronic equipment starting management method
CN112256120A (en) Protection circuit and electronic device
CN107272864B (en) Reset circuit, battery and electronic equipment
CN115833308A (en) Charging control method and electronic equipment
CN112290640B (en) Interface circuit and electronic equipment charge
CN205427710U (en) Start circuit, motherboard and computer of motherboard
CN111798905B (en) Method, system, storage medium and terminal for reducing programming time of non-flash memory
CN105573459B (en) Electronic device and signal processing method
CN112711320A (en) Power switching system and method, computer readable storage medium and processor
CN210091171U (en) Security computer based on domestic Loongson processor
CN112290639A (en) Interface circuit and electronic equipment charge
CN203311331U (en) Power supply and cut-off device for real-time clock chip of computer mainboard

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant