CN113110115B - Control circuit of electronic equipment, control method of control circuit and electronic equipment - Google Patents

Control circuit of electronic equipment, control method of control circuit and electronic equipment Download PDF

Info

Publication number
CN113110115B
CN113110115B CN202010033714.8A CN202010033714A CN113110115B CN 113110115 B CN113110115 B CN 113110115B CN 202010033714 A CN202010033714 A CN 202010033714A CN 113110115 B CN113110115 B CN 113110115B
Authority
CN
China
Prior art keywords
trigger signal
electronic device
module
power management
management module
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
CN202010033714.8A
Other languages
Chinese (zh)
Other versions
CN113110115A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010033714.8A priority Critical patent/CN113110115B/en
Publication of CN113110115A publication Critical patent/CN113110115A/en
Application granted granted Critical
Publication of CN113110115B publication Critical patent/CN113110115B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The disclosure provides a control circuit of electronic equipment, a control method of the control circuit and the electronic equipment. The control circuit is used for first electronic equipment, and the control circuit includes: the short-distance wireless communication module, the switch module connected with the short-distance wireless communication module and the power management module connected with the switch module. The short-range wireless communication module is used for: and sending a first trigger signal to the switch module according to the preset wireless trigger signal in response to the fact that the received wireless signal sent by the second electronic device is the preset wireless trigger signal. The switch module is used for sending a second trigger signal to the power management module according to the received first trigger signal. The power management module is used for controlling the first electronic equipment to be turned on or turned off according to the second trigger signal. Therefore, on the premise of not contacting the first electronic equipment, the first electronic equipment is controlled to be opened or closed, a new opening or closing mode is given to the first electronic equipment, and the product value and the market competitiveness of the first electronic equipment are improved.

Description

Control circuit of electronic equipment, control method of control circuit and electronic equipment
Technical Field
The present disclosure relates to the field of electronic devices, and in particular, to a control circuit of an electronic device, a control method thereof, and an electronic device.
Background
Generally, the electronic device is controlled to be turned on by pressing a power key of the electronic device, but when the electronic device is not touched, the electronic device cannot be turned on. For example, the electronic device is packaged in the packaging box before selling, if the electronic device in the packaging box is controlled to perform operations such as flashing or software upgrading, the packaging box needs to be disassembled first, the power key of the electronic device is pressed to start the electronic device, then the operations such as flashing or software upgrading are performed, and finally the electronic device is packaged again, so that human and material resources are wasted, and the cost of the electronic device is increased.
Disclosure of Invention
The disclosure provides an improved control circuit of an electronic device, a control method of the control circuit and the electronic device.
One aspect of the present disclosure provides a control circuit of an electronic device, for a first electronic device, the control circuit including: the system comprises a near field wireless communication module, a switch module connected with the near field wireless communication module and a power management module connected with the switch module;
the close range wireless communication module is used for: responding to the fact that the received wireless signal sent by the second electronic equipment is a preset wireless trigger signal, and sending a first trigger signal to the switch module according to the preset wireless trigger signal;
the switch module is used for sending a second trigger signal to the power management module according to the received first trigger signal;
the power management module is used for controlling the first electronic equipment to be turned on or turned off according to the second trigger signal.
Optionally, the switch module is further connected to a ground terminal, and the switch module is configured to be turned on according to the received first trigger signal to communicate the power management module and the ground terminal, so that the power management module receives a ground signal, where the ground signal is used as the second trigger signal.
Optionally, the switch module includes a power switch tube, the power switch tube includes a gate, a source, and a drain, the gate is connected to the short-range wireless communication module, the drain is connected to the power management module, and the source is connected to the ground terminal.
Optionally, the switch module further includes a pull-down resistor connected between the gate and the source.
Optionally, the power management module includes a trigger pin, and the control circuit further includes: the power supply key is connected with the trigger pin;
the switch module is connected to the trigger pin.
Optionally, the control circuit further comprises a control module connected to the power management module, the control module configured to: and responding to the starting of the first electronic equipment and the state of waiting for system updating and/or software upgrading, controlling the first electronic equipment to be connected with a wireless network, and updating the system and/or upgrading the software.
Optionally, the control module is further configured to: after the first electronic equipment carries out system updating and/or software upgrading, controlling the power management module to enable the first electronic equipment to be closed.
Optionally, the power management module is configured to:
responding to the first electronic equipment to be closed, and controlling the first electronic equipment to be opened according to the second trigger signal;
and responding to the turning-on of the first electronic equipment, and controlling the turning-off of the first electronic equipment according to the second trigger signal.
Another aspect of the present disclosure provides a control method of an electronic device, for a first electronic device including a short-range wireless communication module, a switch module, and a power management module, the control method including:
responding to the fact that the received wireless signal sent by the second electronic equipment is a preset wireless trigger signal through the close-range wireless communication module, and sending a first trigger signal to the switch module according to the preset wireless trigger signal;
sending a second trigger signal to the power management module through the switch module according to the received first trigger signal;
and triggering the power management module to control the first electronic device to be turned on or turned off according to the second trigger signal.
Optionally, the switch module is further connected to a ground terminal, and the sending a second trigger signal to the power management module through the switch module according to the received first trigger signal includes:
and the switch module is switched on according to the received first trigger signal, the power management module and the grounding terminal are communicated, and a grounding signal is sent to the power management module and serves as the second trigger signal.
Optionally, the control method further includes:
and responding to the starting of the first electronic equipment and the state of waiting for system updating and/or software upgrading, controlling the first electronic equipment to be connected with a wireless network, and updating the system and/or upgrading the software.
Optionally, the control method further includes:
after the first electronic device carries out system updating and/or software upgrading, controlling the power management module to enable the first electronic device to be closed.
Optionally, the triggering the power management module to control the first electronic device to be turned on or off according to the second trigger signal includes:
responding to the first electronic device to be closed, and triggering the power supply management module to control the first electronic device to be opened according to the second trigger signal;
and responding to the starting of the first electronic equipment, and controlling the first electronic equipment to be closed by the power management module according to the second trigger signal.
Another aspect of the present disclosure provides an electronic device including the control circuit of any one of the above-mentioned.
Another aspect of the present disclosure provides an electronic device, including: a controller comprising one or more processors and a memory communicatively coupled to the processors, the memory storing a program that is invokable by the processors; wherein the processor implements any of the above mentioned control methods when executing the program.
Another aspect of the present disclosure provides a computer-readable storage medium on which a program is stored, the program, when executed by a processor, implementing the control method of any one of the above-mentioned.
The control circuit of the electronic equipment, the control method thereof and the electronic equipment provided by the embodiment of the disclosure have at least the following beneficial effects:
the short-distance wireless communication module responds to the fact that the received wireless signal sent by the second electronic equipment is a preset wireless trigger signal, a first trigger signal is sent to the switch module according to the preset wireless trigger signal, and a second trigger signal is sent to the power management module through the switch module according to the first trigger signal so as to trigger the power management module to control the first electronic equipment to be turned on or turned off according to the second trigger signal. Therefore, on the premise of not contacting the first electronic equipment, the first electronic equipment is controlled to be opened or closed, a new opening or closing mode is given to the first electronic equipment, and the product value and the market competitiveness of the first electronic equipment are improved. For example, the first electronic device in the packaging box can be controlled to be opened or closed, so that the complex operations of unpacking the packaging box, repackaging the packaging box and the like are avoided, manpower and material resources are reduced, and the cost is reduced.
Drawings
FIG. 1 is a schematic diagram illustrating a first electronic device in close proximity wireless communication with a second electronic device in accordance with an exemplary embodiment of the present disclosure;
FIG. 2 is a circuit diagram illustrating a control circuit of the first electronic device of FIG. 1;
FIG. 3 is a flowchart illustrating a method for controlling the first electronic device of FIG. 1;
FIG. 4 is a flow chart illustrating another control method of the first electronic device of FIG. 1;
fig. 5 is a schematic structural diagram of a first electronic device shown in the present disclosure according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. Unless otherwise defined, technical or scientific terms used herein shall have the ordinary meaning as understood by one of ordinary skill in the art to which this disclosure belongs. The terms "first," "second," and the like, as used in the description and in the claims, do not denote any order, quantity, or importance, but rather are used to distinguish one element from another. Also, the use of the terms a, an, etc. do not denote a limitation of quantity, but rather denote the presence of at least one. Unless otherwise indicated, the word "comprise" or "comprises", and the like, means that the element or item listed before "comprises" or "comprising" covers the element or item listed after "comprises" or "comprising" and its equivalents, and does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
As used in this disclosure and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
Fig. 1 is a schematic diagram illustrating a first electronic device 100 and a second electronic device 200 in close-range wireless communication according to an exemplary embodiment of the present disclosure. The first electronic device 100 includes a control circuit that can receive the wireless trigger signal transmitted by the second electronic device 200. The first electronic device 100 is packaged in the packaging box 300, and when the packaging box 300 is not disassembled, the second electronic device 200 is attached to the outer surface of the packaging box 300, so that the first electronic device 100 and the second electronic device 200 are in wireless communication connection. Illustratively, one side of the packing box 300 closest to the control circuit of the first electronic device 100 is attached to the second electronic device 200, so as to facilitate the wireless communication connection between the first electronic device 100 and the second electronic device 200. For example, the control circuit is provided on the back surface of the first electronic device 100, and the surface of the package 300 close to the back surface of the first electronic device 100 is attached to the second electronic device 200.
In the embodiment of the present disclosure, the first electronic device 100 and the second electronic device 200 each include, but are not limited to: smart devices such as mobile phones, tablet computers, ipads, digital broadcast terminals, messaging devices, game consoles, medical devices, fitness devices, personal digital assistants, and the like.
Fig. 2 is a control circuit diagram of the first electronic device 100 in fig. 1. The control circuit provided by the embodiment of the present disclosure is used in the first electronic device 100, and the control circuit includes: the short-range wireless communication module 110, the switch module 120, the Power management module 130, the control module 140 and the Power key. The switch module 120 is connected to the short-distance wireless communication module 110, the Power management module 130 is connected to the switch module 120, the control module 140 is connected to the Power management module 130, and the Power key is connected to the Power management module 130.
The short-range wireless communication module 110 is used for: in response to receiving that the wireless signal sent by the second electronic device 200 is the preset wireless trigger signal, sending a first trigger signal to the switch module 120 according to the preset wireless trigger signal.
Specifically, the short range wireless communication module 110 of the first electronic device 100 is referred to as a first short range wireless communication module 110, and the second electronic device 200 includes a second short range wireless communication module. When the second electronic device 200 approaches the first electronic device 100, the second short-range wireless communication module is wirelessly connected to the first short-range wireless communication module 110, the second short-range wireless communication module sends a wireless signal to the first short-range wireless communication module 110, the first short-range wireless communication module 110 receives the wireless signal and determines whether the wireless signal is a preset wireless trigger signal, and if yes, the first trigger signal is sent to the switch module 120.
When the short-range wireless communication module 110 receives the wireless signal, if it is determined that the wireless signal is the preset wireless trigger signal, the short-range wireless communication module 110 is triggered to transmit the first trigger signal to the switch module 120. If it is determined that the wireless signal is not the predetermined wireless trigger signal, the short-range wireless communication module 110 is not triggered to transmit the first trigger signal to the switch module 120.
The short-range wireless communication module 110 may further be in wireless signal connection with other electronic devices, and when the wireless signal is a non-preset wireless trigger signal, the first trigger signal is not sent to the switch module 120, and the short-range wireless communication module 110 may implement functions corresponding to the wireless signal, such as card reading, identification, payment, and the like. If the short-range wireless communication module 110 is not required to send the first trigger signal to the switch module 120, the function of sending the first trigger signal to the switch module 120 by the short-range wireless communication module 110 may be disabled, so as to avoid causing misoperation when the user uses other functions of the wireless communication module 110.
Illustratively, the Near Field Communication module 110 includes an NFC (Near Field Communication) chip.
The switch module 120 is configured to send a second trigger signal to the power management module 130 according to the received first trigger signal. The power management module 130 is configured to control the first electronic device 100 to turn on according to the second trigger signal. Specifically, the first trigger signal may enable the switch module 120 and the power management module 130 to be conducted, so that the power management module 130 receives the second trigger signal, and then the power management module 130 controls the first electronic device 100 to be turned on based on the second trigger signal.
In some embodiments, with reference to fig. 2, the switch module 120 is further connected to a ground terminal GND, and the switch module 120 is configured to be turned on according to the received first trigger signal to connect the power management module 130 and the ground terminal GND, so that the power management module 130 receives the ground signal, and the ground signal is used as a second trigger signal. The power management module 130 is connected to the ground GND, that is, the power management module 130 receives a ground signal of a pull-down level, and the power management module 130 controls the first electronic device 100 to be turned on according to the ground signal.
In some embodiments, the switch module 120 includes a power switch (mos) 121, and the power switch 121 may be an N-type mos or a P-type mos.
Illustratively, with reference to fig. 2, the power switch tube 121 is an N-type mos tube, the power switch tube 121 includes a gate G, a source S and a drain D, the gate G is connected to the short-range wireless communication module 110, the drain D is connected to the power management module 130, and the source S is connected to the ground GND. When the gate G of the N-type mos transistor receives a high level signal (as a first trigger signal) sent by the short-range wireless communication module 110, the drain D and the source S are conducted, so that the power management module 130 is connected to the ground GND. It should be noted that when the N-type mos does not receive the first trigger signal, the N-type mos is in an off state, so as not to affect that the first electronic device 100 is turned on through the Power key or other manners. Illustratively, when the first trigger signal is a high-level signal, the voltage of the high-level signal may be 1.5V to 2.2V.
In some embodiments, the switch module 120 further includes a pull-down resistor R1 connected between the gate G and the source S. When the short-range wireless communication module 110 does not send a high level signal to the gate G, the output end of the short-range wireless communication module 110 may be stabilized to an initial low level state by the pull-down resistor R1, so that the power switch tube 121 is in an off state, and the power switch tube 121 is prevented from being turned on due to interference of other high level signals. Illustratively, the pull-down resistor R1 has a resistance value of 4.2 kilo-ohms to 5 kilo-ohms.
The Power Management module 130 may include a Power Management IC (Power Management IC) for driving the first electronic device 100 to be turned on or off, and may configure voltage and current for each component of the first electronic device 100.
In some embodiments, the Power management module 130 includes a trigger pin, and the trigger pin is connected to the Power key; and the switch module 120 is connected to the trigger pin. Wherein, a resistor R2 is connected between the Power key and the Power management module 130, so as to play a role of preventing electrostatic interference. Illustratively, the resistance of the resistor R2 is between 0.8 kilo-ohms and 1.3 kilo-ohms.
Specifically, when the user controls the first electronic device 100 to be turned on through the Power key Power _ key, the user presses the Power key Power _ key, the trigger pin of the Power management module 130 connected to the Power key Power _ key receives the third trigger signal, and the Power management module 130 supplies Power to the first electronic device 100 based on the third trigger signal to control the first electronic device 100 to be turned on. It is understood that the switch module 120 and the Power key are connected to the same trigger pin of the Power management module 130, and the third trigger signal and the second trigger signal may be the same trigger signal. Therefore, the cost increase caused by designing other pins for the power management module 130 can be avoided, and the simplification of the control circuit is facilitated.
Further, in some embodiments, the time for the short-range wireless communication module 110 to send the first trigger signal to the second switch module 120 according to the wireless trigger signal may be 2 seconds to 6 seconds. Specifically, the time for the power switch tube 121 to receive the first trigger signal sent by the short-range wireless communication module 110 is 2 seconds to 6 seconds, the power switch tube 121 is turned on for 2 seconds to 6 seconds, and further the time for the power management module 130 to be short-circuited to the ground GND is 2 seconds to 6 seconds, so that the power management module 130 controls the first electronic device 100 to be turned on. This is similar to pressing the Power key for 2 seconds to 6 seconds to turn on the first electronic device 100.
Based on the above, the control of the first electronic device 100 to turn on or off through the close-range wireless communication module 110 and the switch module 120 may replace the control of the first electronic device 100 to turn on or off through the Power key, which allows the first electronic device 100 to be controlled to turn on or off without contacting the first electronic device 100. For example, on the premise that the packing box 300 is not detached, the first electronic device 100 in the packing box 300 is controlled to be opened or closed, so that human and material resources are reduced, cost reduction is facilitated, a new opening or closing mode except for pressing the Power key Power _ key is given to the first electronic device 100, the product value and market competitiveness of the first electronic device 100 are improved, and new experience is brought to a user.
After the first electronic device 100 is turned on, the first electronic device 100 may perform various operations. In some embodiments, with continued reference to fig. 2, the control circuit further includes a control module 140 coupled to the power management module 130, the control module 140 configured to: and in response to the first electronic device 100 being turned on and being in a state of waiting for system update and/or a state of waiting for software upgrade, controlling the first electronic device 100 to be connected with a wireless network, and performing system update and/or software upgrade. In this way, the first electronic device 100 in the packing box 300 can be controlled to perform system update and/or software upgrade, so that tedious operations such as unpacking the packing box 300 and repackaging the packing box 300 are avoided, human and material resources are reduced, cost reduction is facilitated, time is saved, and efficiency of system update and/or software upgrade of the first electronic device 100 is improved.
Illustratively, the first electronic device 100 may implement the software upgrade via an OTA (Over the Air) technique.
In some embodiments, the control module 140 is further configured to: after the first electronic device 100 performs a system update and/or a software upgrade, the power management module 130 is controlled to shut down the first electronic device 100.
Specifically, after the first electronic device 100 performs a system update and/or a software upgrade, the control module 140 controls the power management module 130 to stop supplying power to the first electronic device 100, so that the first electronic device 100 is turned off. In this way, the tedious operations of controlling the first electronic device 100 to turn off through the Power key are avoided.
In some embodiments, the power management module 130 is configured to:
in response to the first electronic device 100 being turned off, controlling the first electronic device 100 to be turned on according to the second trigger signal;
and controlling the first electronic device 100 to be closed according to the second trigger signal in response to the first electronic device 100 being opened.
In this way, the tedious operations of controlling the first electronic device 100 to turn on or off through the Power key are avoided. The first electronic device 100 is controlled to be turned on and off in a similar manner, except that the first electronic device 100 is turned off or on before.
Further, in some embodiments, when the first electronic device 100 is located inside the package, it may be determined whether the first electronic device 100 is turned on by determining whether the first electronic device 100 is connected to a wifi or the like network. In other embodiments, the operating state of the short-range wireless communication module 110 can be read by the third electronic device to determine whether the first electronic device 100 is turned on, which is similar to the card reading principle.
In order to more clearly understand the control circuit provided by the embodiment of the present disclosure, taking a mobile phone located in the package box as an example, the control circuit of the present disclosure is further explained:
the mobile phone comprises a mainboard, wherein the mainboard is provided with a Power management module 130, a Power key connected with the Power management module 130, an NFC chip and an N-type mos tube. The N-type mos transistor and the Power key Power _ key are connected in parallel to the Power management module 130. The grid G of the N-type mos tube is connected with the NFC chip, the drain D is connected with the power management module 130, and the source S is connected with the ground terminal GND. The N-type mos tube is in a closed state by default, so that a user is not influenced to turn on or turn off the mobile phone through the Power key.
When a mobile phone needing to be controlled to be closed in the packaging box is subjected to system updating (flashing) and/or software upgrading, a wireless signal is sent to an NFC chip of the mobile phone through an external NFC transmitting device (serving as second electronic equipment), the NFC chip determines that the wireless signal is a preset wireless trigger signal, and a pulse voltage signal (serving as a first trigger signal) lasting for 3 seconds and with the voltage of 1.8V is output to a grid G of an N-type mos tube through a specific pin of the NFC chip. The N-type mos transistor is turned on for 3 seconds under the action of the pulse voltage signal, so that the Power management module 130 and the Power key are short-circuited to the ground GND for 3 seconds to trigger the Power management module 130 to turn on the mobile phone. And after the grid G of the N-type mos tube sends a pulse voltage signal, the N-type mos tube is closed.
After the mobile phone is started, the mobile phone enters a wifi debugging mode, is connected with wifi, and performs system updating (flashing) and/or software upgrading. After a system update (flashing) and/or software upgrade, the CPU on the motherboard of the phone controls the power management module 130 to automatically turn off the phone.
In the control circuit of the electronic device according to the embodiment of the present disclosure, in response to receiving that the wireless signal sent by the second electronic device 200 is the preset wireless trigger signal, the short-range wireless communication module 110 sends a first trigger signal to the switch module 120 according to the preset wireless trigger signal, and sends a second trigger signal to the power management module 130 through the switch module 120 according to the first trigger signal, so as to trigger the power management module 130 to control the first electronic device 100 to turn on or turn off according to the second trigger signal. Therefore, on the premise of not contacting the first electronic device 100, the first electronic device 100 is controlled to be turned on or off, a new turning-on or turning-off mode is given to the first electronic device 100, and the product value and the market competitiveness of the first electronic device 100 are improved. For example, the first electronic device 100 in the packing box 300 may be controlled to be opened or closed, so as to perform system update and/or software upgrade on the first electronic device 100, thereby avoiding tedious operations such as disassembling the packing box 300 and repackaging the packing box 300, which is beneficial to reducing manpower and material resources, reducing cost, and improving the efficiency of system update and/or software upgrade of the first electronic device 100.
Fig. 3 is a flowchart illustrating a control method of the first electronic device in fig. 1. The control method of the electronic device provided by the embodiment of the disclosure is used for a first electronic device, and the first electronic device comprises a short-distance wireless communication module, a switch module and a power management module. Referring to fig. 3, the control method of the electronic device includes:
and step 31, responding to that the wireless signal sent by the second electronic device is a preset wireless trigger signal through the short-distance wireless communication module, and sending a first trigger signal to the switch module according to the preset wireless trigger signal.
It should be noted that, when the short-range wireless communication module receives the wireless signal, if it is determined that the wireless signal is the preset wireless trigger signal, the first trigger signal is sent to the switch module. And if the wireless signal is determined not to be the preset wireless trigger signal, not sending the first trigger signal to the switch module.
If the short-distance wireless communication module is not required to send the first trigger signal to the switch module, the function of sending the first trigger signal to the switch module by forbidding the short-distance wireless communication module can be used for avoiding misoperation when a user uses other functions of card reading identification, payment and the like of the wireless communication module.
And step 32, sending a second trigger signal to the power management module through the switch module according to the received first trigger signal.
In some embodiments, the switch module is further connected to ground, and step 32 includes, but is not limited to:
the switch module is conducted according to the received first trigger signal, the power management module and the grounding end are communicated, a grounding signal is sent to the power management module, and the grounding signal serves as a second trigger signal.
And step 33, triggering the power management module to control the first electronic device to be turned on or turned off according to the second trigger signal.
The short-distance wireless communication module responds to the fact that the received wireless trigger signal is a preset wireless trigger signal, sends a first trigger signal to the switch module according to the preset wireless trigger signal, and sends a second trigger signal to the power management module through the switch module according to the first trigger signal so as to trigger the power management module to control the first electronic device to be turned on or turned off according to the second trigger signal. Therefore, on the premise of not contacting the first electronic equipment, the first electronic equipment is controlled to be opened or closed, a new opening or closing mode is given to the first electronic equipment, and the product value and the market competitiveness of the first electronic equipment are improved. For example, the first electronic device in the packing box can be controlled to be opened or closed, so that the complex operations of unpacking the packing box, repackaging the packing box and the like are avoided, manpower and material resources are reduced, and the cost is reduced.
Fig. 4 is a flowchart illustrating another control method of the first electronic device in fig. 1. Referring to fig. 4, the control method of the electronic device includes:
and 41, responding to the fact that the received wireless signal sent by the second electronic device is a preset wireless trigger signal through the short-range wireless communication module, and sending a first trigger signal to the switch module according to the preset wireless trigger signal.
And 42, conducting through the switch module according to the received first trigger signal, communicating the power management module and the grounding end, and sending a grounding signal to the power management module.
And 43, triggering the power management module to control the first electronic device to be started according to the grounding signal.
For step 41 to step 43, reference may be made to step 31 to step 33 or related descriptions of the control circuit, which are not described herein again.
In some embodiments, the first electronic device further comprises a control module, and the control method further comprises:
and step 44, responding to the starting of the first electronic equipment, controlling the first electronic equipment to be connected with the wireless network in a state of waiting for system updating and/or software upgrading, and updating the system and/or upgrading the software.
In this way, the first electronic equipment in the controllable packaging box can be controlled to perform system updating and/or software upgrading, tedious operations of unpacking the packaging box, repackaging the packaging box and the like are avoided, manpower and material resources are reduced, cost reduction is facilitated, and the efficiency of system updating and/or software upgrading of the first electronic equipment is improved.
In some embodiments, the control method further comprises:
and step 45, after the first electronic device performs system updating and/or software upgrading, controlling the power management module to close the first electronic device.
In this way, tedious operations such as controlling the first electronic device to be turned off through a power key are avoided.
In some embodiments, step 43 comprises:
and responding to the turning-off of the first electronic equipment, and triggering the power supply management module to control the turning-on of the first electronic equipment according to the second trigger signal.
And responding to the starting of the first electronic equipment, and controlling the first electronic equipment to be closed by the power management module according to the second trigger signal.
According to the control method of the electronic device, the short-distance wireless communication module responds to the fact that the received wireless signal is the preset wireless trigger signal, the first trigger signal is sent to the switch module according to the preset wireless trigger signal, the switch module sends the second trigger signal to the power management module according to the first trigger signal, and the power management module is triggered to control the first electronic device to be turned on or turned off according to the second trigger signal. Therefore, on the premise of not contacting the first electronic equipment, the first electronic equipment is controlled to be opened or closed, a new opening or closing mode is given to the first electronic equipment, and the product value and the market competitiveness of the first electronic equipment are improved. For example, the first electronic device in the packaging box can be controlled to be opened, and system updating and/or software upgrading are carried out, so that tedious operations such as unpacking the packaging box, repackaging the packaging box and the like are avoided, manpower and material resources are reduced, cost is reduced, and the efficiency of system updating and/or software upgrading of the first electronic device is improved. In addition, when the first electronic device is started, the power management module can be used for controlling the first electronic device to be closed through the cooperation of the second electronic device, the near field wireless communication module and the switch module.
Fig. 5 is a schematic structural diagram illustrating a first electronic device 500 according to an exemplary embodiment of the disclosure. Referring to fig. 5, the first electronic device 500 may include one or more of the following components: processing component 502, memory 504, power component 506, multimedia component 508, audio component 510, input/output (I/O) interface 512, sensor component 514, and communication component 516.
The processing component 502 generally controls overall operations of the first electronic device 500, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 502 may include one or more processors 520 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 502 can include one or more modules that facilitate interaction between the processing component 502 and other components. For example, the processing component 502 can include a multimedia module to facilitate interaction between the multimedia component 508 and the processing component 502.
The memory 504 is configured to store various types of data to support operation at the device 500. Examples of such data include instructions for any application or method operating on the first electronic device 500, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 504 may be implemented by any type or combination of volatile or non-volatile memory devices 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 memory, flash memory, magnetic or optical disks.
The power supply component 506 provides power to the various components of the first electronic device 500. The power components 506 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the first electronic device 500.
The multimedia component 508 includes a screen providing an output interface between the first electronic device 500 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 touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 508 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 500 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 510 is configured to output and/or input audio signals. For example, the audio component 510 includes a Microphone (MIC) configured to receive external audio signals when the first electronic device 500 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 504 or transmitted via the communication component 516. In some embodiments, audio component 510 further includes a speaker for outputting audio signals.
The I/O interface 512 provides an interface between the processing component 502 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 514 includes one or more sensors for providing various aspects of state assessment for the first electronic device 500. For example, the sensor assembly 514 may detect an open/closed state of the device 500, the relative positioning of components, such as a display and keypad of the first electronic device 500, the sensor assembly 514 may also detect a change in position of the first electronic device 500 or a component of the first electronic device 500, the presence or absence of user contact with the first electronic device 500, orientation or acceleration/deceleration of the first electronic device 500, and a change in temperature of the first electronic device 500. The sensor assembly 514 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 514 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 514 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 516 is configured to facilitate communication between the first electronic device 500 and other devices in a wired or wireless manner. The first electronic device 500 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G LTE, 5G NR, or a combination thereof. In an exemplary embodiment, the communication component 516 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the above-described communication component 516 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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.
In an exemplary embodiment, the first electronic device 500 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, micro-controllers, microprocessors, or other electronic elements for performing the above-described methods.
In an exemplary embodiment, an electronic device includes: the controller comprises one or more processors and a memory, wherein the memory is in communication connection with the processors and stores programs which can be called by the processors; wherein the processor implements any of the above mentioned control methods when executing the program.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium having stored thereon a program which, when executed by a processor, implements any of the above-mentioned control methods. For example, the memory 504 including a program, which when executed by the processor 520 of the first electronic device 500, enables the first electronic device 500 to perform any of the above-mentioned control methods.
The non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
For the method embodiment, since it substantially corresponds to the apparatus embodiment, reference may be made to the partial description of the apparatus embodiment for relevant points. The method embodiment and the device embodiment are complementary.
The above embodiments of the present disclosure may be complementary to each other without conflict.
The above description is only exemplary of the present disclosure and should not be taken as limiting the disclosure, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (11)

1. A control circuit for an electronic device, for a first electronic device, the control circuit comprising: the system comprises a short-distance wireless communication module, a switch module, a power supply key, a control module and a power supply management module, wherein the switch module, the power supply key and the control module are connected with the short-distance wireless communication module;
the power supply management module comprises a trigger pin, and the power supply key and the switch module are connected with the trigger pin; the switch module is connected to the trigger pin;
the close range wireless communication module is configured to: in response to the fact that the received wireless signal sent by the second electronic device is a preset wireless trigger signal, sending a first trigger signal to the switch module according to the preset wireless trigger signal;
the switch module is used for sending a second trigger signal to the power management module according to the received first trigger signal; the first trigger signal is used for conducting the switch module and the power management module, so that the power management module receives the second trigger signal;
the power supply key is used for sending a third trigger signal to the power supply management module;
the power management module is used for controlling the first electronic device to be turned on or turned off according to the second trigger signal or the third trigger signal;
the control module connected to the power management module, the control module configured to: responding to the starting of the first electronic equipment and the state of waiting for system updating and/or software upgrading, controlling the first electronic equipment to be connected with a wireless network, and performing system updating and/or software upgrading;
the control module is further configured to: after the first electronic device is subjected to system updating and/or software upgrading, the power management module is controlled to enable the first electronic device to be turned off.
2. The control circuit of claim 1, wherein the switch module is further connected to a ground terminal, and the switch module is configured to be turned on according to the received first trigger signal to connect the power management module and the ground terminal, so that the power management module receives a ground signal, and the ground signal serves as the second trigger signal.
3. The control circuit of claim 2, wherein the switch module comprises a power switch, the power switch comprises a gate, a source, and a drain, the gate is connected to the short-range wireless communication module, the drain is connected to the power management module, and the source is connected to the ground.
4. The control circuit of claim 3, wherein the switch module further comprises a pull-down resistor connected between the gate and the source.
5. The control circuit of any one of claims 1-4, wherein the power management module is configured to:
responding to the first electronic equipment to be closed, and controlling the first electronic equipment to be opened according to the second trigger signal;
and responding to the turning-on of the first electronic equipment, and controlling the turning-off of the first electronic equipment according to the second trigger signal.
6. The control method of the electronic equipment is characterized by being used for first electronic equipment, wherein the first electronic equipment comprises a short-distance wireless communication module, a switch module connected with the short-distance wireless communication module, a control module and a power management module connected with the switch module;
the control method comprises the following steps:
responding to the fact that a wireless signal sent by second electronic equipment is received as a preset wireless trigger signal through the short-distance wireless communication module, and sending a first trigger signal to the switch module according to the preset wireless trigger signal;
sending a second trigger signal to the power management module through the switch module according to the received first trigger signal; the first trigger signal is used for conducting the switch module and the power management module so that the power management module receives the second trigger signal;
triggering the power management module to control the first electronic device to be turned on or turned off according to the second trigger signal;
responding to the starting of the first electronic equipment and the state of waiting for system updating and/or software upgrading, controlling the first electronic equipment to be connected with a wireless network, and performing system updating and/or software upgrading;
after the first electronic device is subjected to system updating and/or software upgrading, the power management module is controlled to enable the first electronic device to be turned off.
7. The method according to claim 6, wherein the switch module is further connected to a ground terminal, and the sending, by the switch module, a second trigger signal to the power management module according to the received first trigger signal comprises:
and communicating the power management module and the grounding terminal through the switch module according to the received first trigger signal, and sending a grounding signal to the power management module, wherein the grounding signal is used as the second trigger signal.
8. The method according to any one of claims 6 to 7, wherein the triggering the power management module to control the first electronic device to turn on or off according to the second trigger signal includes:
responding to the first electronic device to be closed, and triggering the power supply management module to control the first electronic device to be opened according to the second trigger signal;
and responding to the starting of the first electronic equipment, and triggering the power management module to control the first electronic equipment to be closed according to the second trigger signal.
9. An electronic device, characterized in that the electronic device comprises the control circuit of any one of claims 1 to 7.
10. An electronic device, characterized in that the electronic device comprises: a controller comprising one or more processors and a memory communicatively coupled to the processors, the memory storing a program that is invokable by the processors; wherein the processor implements the control method according to any one of claims 6 to 7 when executing the program.
11. A computer-readable storage medium, having stored thereon a program which, when executed by a processor, implements a control method according to any one of claims 6 to 7.
CN202010033714.8A 2020-01-13 2020-01-13 Control circuit of electronic equipment, control method of control circuit and electronic equipment Active CN113110115B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010033714.8A CN113110115B (en) 2020-01-13 2020-01-13 Control circuit of electronic equipment, control method of control circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010033714.8A CN113110115B (en) 2020-01-13 2020-01-13 Control circuit of electronic equipment, control method of control circuit and electronic equipment

Publications (2)

Publication Number Publication Date
CN113110115A CN113110115A (en) 2021-07-13
CN113110115B true CN113110115B (en) 2022-07-22

Family

ID=76709030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010033714.8A Active CN113110115B (en) 2020-01-13 2020-01-13 Control circuit of electronic equipment, control method of control circuit and electronic equipment

Country Status (1)

Country Link
CN (1) CN113110115B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989072A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Household equipment control terminal and household equipment controller
CN102485524A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Power management method and power management system
CN105912104A (en) * 2016-04-01 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Power management method and device for virtual-reality device
US9971608B1 (en) * 2015-05-21 2018-05-15 Amazon Technologies, Inc. Quick boot from halt by hall sensor smart cover

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2541765A1 (en) * 2011-06-30 2013-01-02 Research In Motion Limited Low-noise microphone pre-amplifier with active load element
CN103927200B (en) * 2014-03-25 2017-07-14 小米科技有限责任公司 Electronic equipment awakening method and relevant apparatus
CN204810251U (en) * 2015-05-28 2015-11-25 比亚迪股份有限公司 Switching on and shutting down circuit of consumer and consumer
CN105159675A (en) * 2015-08-31 2015-12-16 小米科技有限责任公司 Electronic equipment, wakeup method and device of electronic equipment
CN107528880A (en) * 2017-07-07 2017-12-29 纳恩博(北京)科技有限公司 A kind of long-range control method and electronic equipment
CN110312273B (en) * 2019-07-30 2022-12-02 武汉慧联无限科技有限公司 LoRa gateway equipment and remote management method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989072A (en) * 2009-07-31 2011-03-23 宁波家天下智能系统有限公司 Household equipment control terminal and household equipment controller
CN102485524A (en) * 2010-12-03 2012-06-06 上海博泰悦臻电子设备制造有限公司 Power management method and power management system
US9971608B1 (en) * 2015-05-21 2018-05-15 Amazon Technologies, Inc. Quick boot from halt by hall sensor smart cover
CN105912104A (en) * 2016-04-01 2016-08-31 宇龙计算机通信科技(深圳)有限公司 Power management method and device for virtual-reality device

Also Published As

Publication number Publication date
CN113110115A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
JP6273404B2 (en) Charging method, apparatus, program, and recording medium
CN107315609B (en) Switching method and device of card simulation function
CN105528151A (en) Brightness adjusting method and apparatus
CN108091808B (en) Battery, equipment, charging control method and device
CN105278370A (en) Power-saving mode starting method and device
CN105068848A (en) System upgrading method and apparatus
CN105979066A (en) Screen lighting-up method and screen lighting-up device
US20230345227A1 (en) Switch module, terminal device, method for controlling terminal device
CN107329520B (en) USB interface connection method, device and system of mobile terminal
CN104714826A (en) Application theme loading method and device
CN104657172A (en) System upgrading method and device
CN104317647A (en) Application function realizing method, device and terminal
CN106325454B (en) Power supply control device and method and electronic equipment
US20130166789A1 (en) Controlling device setting based on device setting guide information
CN114416127A (en) Terminal software upgrading method, terminal software upgrading device and storage medium
CN106990984B (en) Method and device for updating system
CN105487903A (en) System upgrading method and device
CN113110115B (en) Control circuit of electronic equipment, control method of control circuit and electronic equipment
CN104866340A (en) Method and apparatus for updating terminal device software
CN113555917A (en) Electronic device, charging method thereof and readable storage medium
CN106445499A (en) Shortcut key prompting method and device
CN106658674B (en) Mobile terminal and method for outputting conducted power
CN108897553B (en) Chip programming tool, system, chip programming method and device
CN105100135A (en) Network sharing setting method and device
CN116841625A (en) Android-based USB network card configuration method, device, equipment and storage medium

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