[go: up one dir, main page]

CN104079273B - Preserve the circuit of user's operation and the electronic equipment with the circuit - Google Patents

Preserve the circuit of user's operation and the electronic equipment with the circuit Download PDF

Info

Publication number
CN104079273B
CN104079273B CN201410250214.4A CN201410250214A CN104079273B CN 104079273 B CN104079273 B CN 104079273B CN 201410250214 A CN201410250214 A CN 201410250214A CN 104079273 B CN104079273 B CN 104079273B
Authority
CN
China
Prior art keywords
electronic equipment
internal signal
signal
power supply
input
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
CN201410250214.4A
Other languages
Chinese (zh)
Other versions
CN104079273A (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.)
Samsung Guangzhou Mobile R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Guangzhou Mobile R&D Center
Samsung Electronics 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 Samsung Guangzhou Mobile R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Guangzhou Mobile R&D Center
Priority to CN201410250214.4A priority Critical patent/CN104079273B/en
Publication of CN104079273A publication Critical patent/CN104079273A/en
Application granted granted Critical
Publication of CN104079273B publication Critical patent/CN104079273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

提供一种保存用户操作的电路及具有所述电路的电子设备。所述电路包括:接收单元,接收电子设备的输入装置产生的输入信号,并基于输入信号产生内部信号;保存单元,从接收单元接收内部信号,并利用电子设备的第一电源保存接收到的内部信号;输出单元,响应于电子设备的第二电源的供电读取并输出保存单元保存的内部信号。

Provided are a circuit for storing user operations and electronic equipment with the circuit. The circuit includes: a receiving unit, which receives an input signal generated by an input device of the electronic device, and generates an internal signal based on the input signal; a storage unit, which receives the internal signal from the receiving unit, and uses the first power supply of the electronic device to save the received internal signal. A signal; an output unit that reads and outputs the internal signal saved by the saving unit in response to the power supply of the second power supply of the electronic device.

Description

保存用户操作的电路及具有所述电路的电子设备Circuit for storing user operations and electronic device with said circuit

技术领域technical field

本发明涉及电路领域,更具体地讲,涉及一种用于电子设备的保存用户操作的电路及具有所述电路的电子设备。The present invention relates to the field of circuits, more specifically, to a circuit for storing user operations of an electronic device and an electronic device having the circuit.

背景技术Background technique

随着电子设备(例如,手机、平板电脑、PDA、游戏机等)的功能越来越强大,电子设备给人们的日常生活带来越来越多的便利,已经成为了人们日常生活中不可分割的一部分。As the functions of electronic devices (such as mobile phones, tablet computers, PDAs, game consoles, etc.) become more and more powerful, electronic devices bring more and more convenience to people's daily life, and have become an inseparable part of people's daily life. a part of.

当电子设备处于开启状态时,用户可以通过执行相应的操作使电子设备执行相应的功能。例如,当用户希望开启电子设备时,可以通过按压电源键来触发电子设备内部的电源管理集成电路(电源管理IC),从而开启电子设备。然而,当电子设备的电池电量很低时,即使用户对电源键执行了按压操作,电子设备内部的电源管理IC也无法工作,因此电子设备也无法开启。此时,即使接通外部电源电子设备也无法根据用户对电源键执行过的按压操作触发电源管理IC,只有当电池的电压大于满足电子设备开机所需的电压时,用户再次按压电源键,电子设备才可以开启。重复的按压操作导致用户的体验效果不佳。When the electronic device is turned on, the user can make the electronic device perform a corresponding function by performing a corresponding operation. For example, when the user wishes to turn on the electronic device, he may press a power key to trigger a power management integrated circuit (power management IC) inside the electronic device, thereby turning on the electronic device. However, when the battery power of the electronic device is low, even if the user presses the power button, the power management IC inside the electronic device cannot work, so the electronic device cannot be turned on. At this time, even if the external power supply is turned on, the electronic device cannot trigger the power management IC according to the pressing operation performed by the user on the power button. device can be turned on. Repeated pressing operations lead to poor user experience.

因此,现有的电子设备对用户操作的处理方式不能满足用户的使用需求。Therefore, the processing method of the existing electronic equipment for the user's operation cannot meet the usage requirements of the user.

发明内容Contents of the invention

本发明的目的在于提供一种用于电子设备的保存用户操作的电路及具有所述电路的电子设备。The object of the present invention is to provide a circuit for storing user operations of an electronic device and an electronic device having the circuit.

本发明的一方面提供一种用于电子设备的保存用户操作的电路,其特征在于包括:接收单元,接收电子设备的输入装置产生的输入信号,并基于输入信号产生内部信号;保存单元,从接收单元接收内部信号,并利用电子设备的第一电源保存接收到的内部信号;输出单元,响应于电子设备的第二电源的供电读取并输出保存单元保存的内部信号。One aspect of the present invention provides a circuit for storing user operations in an electronic device, which is characterized in that it includes: a receiving unit, which receives an input signal generated by an input device of the electronic device, and generates an internal signal based on the input signal; the saving unit, from The receiving unit receives the internal signal and saves the received internal signal by the first power supply of the electronic device; the output unit reads and outputs the internal signal saved by the saving unit in response to the power supply of the second power supply of the electronic device.

可选地,所述保存单元包括:保存器,从接收单元接收内部信号,并响应于电子设备的第一电源的供电保存接收到的内部信号;复位器,响应于电子设备的第一电源的断电清除保存器中保存的内部信号。Optionally, the saving unit includes: a saver, which receives the internal signal from the receiving unit, and saves the received internal signal in response to the power supply of the first power supply of the electronic device; Power off clears the internal signals saved in the saver.

可选地,当电子设备的第一电源输出的供电电压大于预定电压时,电子设备的第二电源供电,当电子设备的第一电源输出的供电电压不大于预定电压时,电子设备的第二电源断电。Optionally, when the power supply voltage output by the first power supply of the electronic device is greater than a predetermined voltage, the second power supply of the electronic device supplies power; when the power supply voltage output by the first power supply of the electronic device is not greater than the predetermined voltage, the second power supply of the electronic device Power outage.

可选地,当电子设备的电池被充电,且电子设备的第一电源输出的供电电压大于预定电压时,电子设备的第二电源供电。Optionally, when the battery of the electronic device is charged and the power supply voltage output by the first power supply of the electronic device is greater than a predetermined voltage, the second power supply of the electronic device supplies power.

可选地,当电子设备处于开启状态时,电子设备的第二电源供电。Optionally, when the electronic device is turned on, the second power supply of the electronic device supplies power.

可选地,所述输出单元包括:输出器,响应于电子设备的第二电源的供电读取并输出保存单元保存的内部信号。Optionally, the output unit includes: an output device, which reads and outputs the internal signal stored by the storage unit in response to power supplied by the second power supply of the electronic device.

可选地,所述输出单元还包括:调节器,对输出器输出的内部信号的电压进行调节,并输出调节后的内部信号。Optionally, the output unit further includes: a regulator, which regulates the voltage of the internal signal output by the output device, and outputs the regulated internal signal.

可选地,所述输入信号为第一输入信号或第二输入信号,所述内部信号为第一内部信号或第二内部信号,其中,接收单元基于第一输入信号产生第一内部信号,基于第二输入信号产生第二内部信号,其中,当电子设备的输入装置接收到用户的输入操作时产生第一输入信号,当电子设备的输入装置没有接收到用户的输入操作时产生第二输入信号。Optionally, the input signal is a first input signal or a second input signal, and the internal signal is a first internal signal or a second internal signal, wherein the receiving unit generates the first internal signal based on the first input signal, based on The second input signal generates a second internal signal, wherein the first input signal is generated when the input device of the electronic device receives the user's input operation, and the second input signal is generated when the input device of the electronic device does not receive the user's input operation .

可选地,所述接收单元包括第一开关和第一电阻器,其中,第一开关的第一连接端连接到电子设备的第一电源,第一开关的控制端接收所述输入信号,第一开关的第二连接端输出的信号作为所述内部信号,第一电阻器的第一端连接到电子设备的第一电源,第一电阻器的第二端连接到第一开关的控制端。Optionally, the receiving unit includes a first switch and a first resistor, wherein the first connection end of the first switch is connected to the first power supply of the electronic device, the control end of the first switch receives the input signal, and the first The signal output by the second connection end of a switch is used as the internal signal, the first end of the first resistor is connected to the first power supply of the electronic device, and the second end of the first resistor is connected to the control end of the first switch.

可选地,所述保存单元包括电容器、第二开关、第二电阻器,其中,电容器的第一端连接到第一开关的第二连接端并且电容器的第二端接地,以保存从第二连接端接收的内部信号,第二开关的控制端连接到电子设备的第一电源,第二开关的第一连接端连接到电容器的第一端,第二开关的第二连接端连接到电容器的第二端,第二电阻器的第一端连接到第二开关的控制端,第二端接地。Optionally, the storage unit includes a capacitor, a second switch, and a second resistor, wherein the first end of the capacitor is connected to the second connection end of the first switch and the second end of the capacitor is grounded, so as to save the The internal signal received by the connection terminal, the control terminal of the second switch is connected to the first power supply of the electronic device, the first connection terminal of the second switch is connected to the first terminal of the capacitor, and the second connection terminal of the second switch is connected to the capacitor. The second terminal, the first terminal of the second resistor is connected to the control terminal of the second switch, and the second terminal is grounded.

可选地,所述输出单元包括第三开关、第三电阻器,其中,第三开关的控制端连接到电子设备的第二电源,第三开关的第一连接端连接到电容器的第一端,第三开关的第二连接端输出内部信号,第三电阻器的第一端连接到第三开关的控制端,第三电阻器的第二端接地。Optionally, the output unit includes a third switch and a third resistor, wherein the control end of the third switch is connected to the second power supply of the electronic device, and the first connection end of the third switch is connected to the first end of the capacitor , the second connection terminal of the third switch outputs an internal signal, the first terminal of the third resistor is connected to the control terminal of the third switch, and the second terminal of the third resistor is grounded.

可选地,所述输出单元还包括第四电阻器、第五电阻器,其中,第四电阻器的第一端连接到第三开关的第二连接端,第四电阻器的第二端作为用于输出内部信号的端口,第五电阻器的第一端连接到第四电阻器的第二端,第五电阻器的第二端接地。Optionally, the output unit further includes a fourth resistor and a fifth resistor, wherein the first end of the fourth resistor is connected to the second connection end of the third switch, and the second end of the fourth resistor serves as A port for outputting internal signals, the first end of the fifth resistor is connected to the second end of the fourth resistor, and the second end of the fifth resistor is grounded.

可选地,所述第一开关和第二开关为控制端处为低电平时导通且为高电平时截止的开关,所述第三开关为控制端处为高电平时导通且为低电平时截止的开关。Optionally, the first switch and the second switch are switches that are turned on when the control terminal is at a low level and are turned off when it is at a high level, and the third switch is turned on when the control terminal is at a high level and is low A switch that is cut off at level.

可选地,第一电源为所述电子设备的电池。Optionally, the first power source is a battery of the electronic device.

可选地,所述输入装置为所述电子设备的按键。Optionally, the input device is a button of the electronic device.

本发明的另一方面提供一种电子设备,包括:输入装置,产生输入信号;第一电源;第二电源,响应于第一电源输出的供电电压大于预定电压而进行供电;保存用户操作的电路,基于输入信号产生内部信号,利用第一电源保存内部信号,并响应于第二电源的供电输出保存的内部信号;控制器,当第一电源输出的供电电压大于预定电压时进行工作,接收输出的内部信号,并根据接收的内部信号判断是否启动所述电子设备。Another aspect of the present invention provides an electronic device, comprising: an input device for generating an input signal; a first power supply; a second power supply for supplying power in response to a power supply voltage output by the first power supply being greater than a predetermined voltage; a circuit for storing user operations , generate an internal signal based on the input signal, use the first power supply to save the internal signal, and output the saved internal signal in response to the power supply of the second power supply; the controller works when the power supply voltage output by the first power supply is greater than a predetermined voltage, and receives the output internal signal, and judge whether to start the electronic device according to the received internal signal.

可选地,所述输入装置为按键。Optionally, the input device is a button.

可选地,所述第一电源为电池。Optionally, the first power source is a battery.

可选地,所述控制器根据接收到的内部信号判断是否启动所述电子设备的操作系统。Optionally, the controller judges whether to start the operating system of the electronic device according to the received internal signal.

可选地,所述输入信号为第一输入信号或第二输入信号,所述内部信号为第一内部信号或第二内部信号,其中,保存用户操作的电路基于第一输入信号产生第一内部信号,基于第二输入信号产生第二内部信号,其中,当输入装置接收到用户的输入操作时产生第一输入信号,当输入装置没有接收到用户的输入操作时产生第二输入信号。Optionally, the input signal is a first input signal or a second input signal, and the internal signal is a first internal signal or a second internal signal, wherein the circuit for storing user operations generates the first internal signal based on the first input signal A second internal signal is generated based on a second input signal, wherein the first input signal is generated when the input device receives an input operation from the user, and the second input signal is generated when the input device does not receive an input operation from the user.

可选地,当所述控制器接收到的内部信号为第一内部信号时,启动所述电子设备。Optionally, when the internal signal received by the controller is the first internal signal, start the electronic device.

本发明的另一方面提供一种电子设备,包括:输入装置,产生输入信号;第一电源;第二电源,当电子设备处于开启状态时供电;保存用户操作的电路,基于输入信号产生内部信号,利用第一电源保存内部信号,并响应于第二电源的供电输出保存的内部信号;控制器,接收输出的内部信号,并根据接收的内部信号判断是否关闭所述电子设备。Another aspect of the present invention provides an electronic device, comprising: an input device for generating an input signal; a first power source; a second power source for supplying power when the electronic device is in an on state; a circuit for storing user operations and generating an internal signal based on the input signal , using the first power supply to save the internal signal, and outputting the saved internal signal in response to the power supply of the second power supply; the controller receives the outputted internal signal, and judges whether to turn off the electronic device according to the received internal signal.

可选地,所述输入装置为按键。Optionally, the input device is a button.

可选地,所述第一电源为电池。Optionally, the first power source is a battery.

可选地,所述输入信号为第一输入信号或第二输入信号,所述内部信号为第一内部信号或第二内部信号,其中,保存用户操作的电路基于第一输入信号产生第一内部信号,基于第二输入信号产生第二内部信号,其中,当输入装置接收到用户的输入操作时产生第一输入信号,当输入装置没有接收到用户的输入操作时产生第二输入信号。Optionally, the input signal is a first input signal or a second input signal, and the internal signal is a first internal signal or a second internal signal, wherein the circuit for storing user operations generates the first internal signal based on the first input signal A second internal signal is generated based on a second input signal, wherein the first input signal is generated when the input device receives an input operation from the user, and the second input signal is generated when the input device does not receive an input operation from the user.

可选地,当没有检测到用于对电子设备进行测试的测试线缆的线缆信号时,控制器接收输出的内部信号,并根据接收的内部信号判断是否关闭所述电子设备;当检测到所述线缆信号时,控制器不接收输出的内部信号。Optionally, when the cable signal of the test cable used to test the electronic device is not detected, the controller receives the output internal signal, and judges whether to close the electronic device according to the received internal signal; When the cable signal is used, the controller does not receive the output internal signal.

可选地,当所述控制器接收到的内部信号为第二内部信号时,关闭所述电子设备。Optionally, when the internal signal received by the controller is the second internal signal, the electronic device is turned off.

根据本发明的用于电子设备的保存用户操作的电路及具有所述电路的电子设备,可以使电子设备通过读取电路输出的内部信号得知用户是否对电子设备执行了按键操作,从而当电子设备接收外部充电使电池的电压达到开机电压时自动开启电子设备,或者在电子设备误开启的情况下自动关闭电子设备。According to the circuit for storing user operations of an electronic device and the electronic device with the circuit of the present invention, the electronic device can know whether the user has performed a key operation on the electronic device by reading the internal signal output by the circuit, so that when the electronic device When the device receives external charging so that the voltage of the battery reaches the starting voltage, the electronic device is automatically turned on, or the electronic device is automatically turned off when the electronic device is turned on by mistake.

附图说明Description of drawings

通过下面结合附图进行的详细描述,本发明的上述和其它目的、特点和优点将会变得更加清楚,其中:The above-mentioned and other objects, features and advantages of the present invention will become more clear through the following detailed description in conjunction with the accompanying drawings, wherein:

图1示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路的框图。FIG. 1 shows a block diagram of a circuit for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

图2示出根据本发明的示例性实施例的图1的用于电子设备的保存用户操作的电路中的保存单元的框图。FIG. 2 shows a block diagram of a saving unit in the circuit for saving user operations of an electronic device in FIG. 1 according to an exemplary embodiment of the present invention.

图3示出根据本发明的示例性实施例的图1的用于电子设备的保存用户操作的电路中的输出单元的框图。FIG. 3 illustrates a block diagram of an output unit in the circuit for saving user operations of an electronic device of FIG. 1 according to an exemplary embodiment of the present invention.

图4示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路的电路图。FIG. 4 illustrates a circuit diagram of a circuit for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

图5示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路的封装图。FIG. 5 shows a package diagram of a circuit for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

图6示出现有的不具有保存用户操作的电路的电子设备的框图。FIG. 6 shows a block diagram of a conventional electronic device without a circuit for saving user operations.

图7示出根据本发明的示例性实施例的具有保存用户操作的电路的电子设备的框图。FIG. 7 illustrates a block diagram of an electronic device having a circuit for saving user operations according to an exemplary embodiment of the present invention.

图8示出根据本发明的示例性实施例的具有保存用户操作的电路的电子设备的电路图。FIG. 8 illustrates a circuit diagram of an electronic device having a circuit for saving user operations according to an exemplary embodiment of the present invention.

图9示出根据本发明的另一示例性实施例的具有保存用户操作的电路的电子设备的框图。FIG. 9 illustrates a block diagram of an electronic device having a circuit for saving user operations according to another exemplary embodiment of the present invention.

图10示出根据本发明的另一示例性实施例的具有保存用户操作的电路的电子设备的电路图。FIG. 10 illustrates a circuit diagram of an electronic device having a circuit for saving user operations according to another exemplary embodiment of the present invention.

具体实施方式detailed description

现在,将参照附图更充分地描述不同的示例实施例,其中,一些示例性实施例在附图中示出,其中,相同的标号始终表示相同的部件。Various example embodiments will now be described more fully with reference to the accompanying drawings, in which some example embodiments are shown, wherein like numerals refer to like parts throughout.

图1示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路的框图。FIG. 1 shows a block diagram of a circuit for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

如图1所示,根据本发明的用于电子设备的保存用户操作的电路100包括:接收单元110、保存单元120、输出单元130。As shown in FIG. 1 , a circuit 100 for saving user operations of an electronic device according to the present invention includes: a receiving unit 110 , a saving unit 120 , and an output unit 130 .

接收单元110接收电子设备的输入装置产生的输入信号,并基于输入信号产生内部信号。具体地说,电子设备的输入装置产生的输入信号可为第一输入信号或第二输入信号。例如,当电子设备的输入装置接收到用户的输入操作时产生第一输入信号,当电子设备的输入装置没有接收到用户的输入操作时产生第二输入信号。相应地,接收单元110产生的内部信号可为第一内部信号或第二内部信号。例如,当输入装置产生第一输入信号时,接收单元110可基于电子设备的输入装置产生的第一输入信号产生第一内部信号,当输入装置产生第二输入信号时,接收单元110可基于电子设备的输入装置产生的第二输入信号产生第二内部信号。The receiving unit 110 receives an input signal generated by an input device of the electronic device, and generates an internal signal based on the input signal. Specifically, the input signal generated by the input device of the electronic device may be the first input signal or the second input signal. For example, the first input signal is generated when the input device of the electronic device receives the user's input operation, and the second input signal is generated when the input device of the electronic device does not receive the user's input operation. Correspondingly, the internal signal generated by the receiving unit 110 may be a first internal signal or a second internal signal. For example, when the input device generates the first input signal, the receiving unit 110 can generate the first internal signal based on the first input signal generated by the input device of the electronic device; when the input device generates the second input signal, the receiving unit 110 can generate the first internal signal based on the electronic A second input signal generated by the input means of the device generates a second internal signal.

作为示例,电子设备的输入装置可为电子设备的按键。例如,输入装置为电子设备的电源键,用户的输入操作为用户对电源键的按压操作,当电源键接收到用户的按压操作时产生第一输入信号,接收单元110可基于第一输入信号产生第一内部信号,当电源键没有接收到用户的按压操作时产生第二输入信号,接收单元110可基于第二输入信号产生第二内部信号。As an example, the input device of the electronic device may be a key of the electronic device. For example, the input device is the power button of the electronic device, and the user's input operation is the user's pressing operation on the power button. When the power button receives the user's pressing operation, a first input signal is generated, and the receiving unit 110 can generate a first input signal based on the first input signal. The first internal signal generates the second input signal when the power button does not receive the user's pressing operation, and the receiving unit 110 can generate the second internal signal based on the second input signal.

保存单元120从接收单元110接收内部信号,并利用电子设备的第一电源保存接收到的内部信号。这里,第一电源可为所述电子设备的电池。作为示例,保存单元120可以从接收单元110接收第一内部信号或第二内部信号,并利用第一电源保存接收到的第一内部信号或第二内部信号。The saving unit 120 receives the internal signal from the receiving unit 110, and saves the received internal signal using the first power source of the electronic device. Here, the first power source may be a battery of the electronic device. As an example, the saving unit 120 may receive the first internal signal or the second internal signal from the receiving unit 110 and save the received first internal signal or the second internal signal using the first power source.

输出单元130响应于电子设备的第二电源的供电读取并输出保存单元120保存的内部信号。这里,第二电源可以由电子设备的电源管理集成电路(电源管理IC)来提供,当电源管理IC开始工作时,第二电源从断电状态转换到供电状态。具体地说,当电子设备的第一电源输出的供电电压大于预定电压时,电子设备的第二电源开始供电,当电子设备的第一电源输出的供电电压不大于预定电压时,电子设备的第二电源处于断电状态。这里,当电子设备的电池被充电,且电子设备的第一电源输出的供电电压大于预定电压时,电子设备的电源管理IC工作,电子设备的第二电源供电,或者,当电子设备处于开启状态时,电子设备的第二电源供电。作为示例,预定电压可以是使电子设备满足开机条件的电池电压。例如,对于诸如手机、掌上电脑等电子设备来说,使它们满足开机条件的电池电压一般为3.3V,当电子设备的电池的供电电压不大于3.3V时,电子设备的第二电源处于断电状态,当电子设备的电池接收外部供电从而使第一电源的供电电压大于3.3V时,电子设备的第二电源开始供电。The output unit 130 reads and outputs the internal signal saved by the saving unit 120 in response to power supply of the second power supply of the electronic device. Here, the second power supply may be provided by a power management integrated circuit (power management IC) of the electronic device, and when the power management IC starts to work, the second power supply is switched from a power-off state to a power-on state. Specifically, when the power supply voltage output by the first power supply of the electronic device is greater than the predetermined voltage, the second power supply of the electronic device starts to supply power; when the power supply voltage output by the first power supply of the electronic device is not greater than the predetermined voltage, the second power supply of the electronic device 2. The power supply is in a power-off state. Here, when the battery of the electronic device is charged, and the power supply voltage output by the first power supply of the electronic device is greater than a predetermined voltage, the power management IC of the electronic device works, and the second power supply of the electronic device supplies power, or, when the electronic device is in the on state , the second power supply of the electronic device supplies power. As an example, the predetermined voltage may be a battery voltage that satisfies the power-on condition of the electronic device. For example, for electronic equipment such as mobile phones and palmtop computers, the battery voltage that makes them meet the power-on condition is generally 3.3V. state, when the battery of the electronic device receives external power supply so that the supply voltage of the first power supply is greater than 3.3V, the second power supply of the electronic device starts to supply power.

图2示出根据本发明的示例性实施例的图1的用于电子设备的保存用户操作的电路中的保存单元120的框图。FIG. 2 shows a block diagram of a saving unit 120 in the circuit for saving user operations of an electronic device of FIG. 1 according to an exemplary embodiment of the present invention.

如图2所示,保存单元120包括:保存器121、复位器122。As shown in FIG. 2 , the storage unit 120 includes: a storage device 121 and a reset device 122 .

保存器121从接收单元110接收内部信号,并响应于电子设备的第一电源的供电保存接收到的内部信号。保存器121可以是任何可以实现保存信号功能的电路、装置,例如,电容器、RS触发器等。The saver 121 receives an internal signal from the receiving unit 110 and saves the received internal signal in response to power supply of the first power supply of the electronic device. The saver 121 may be any circuit or device capable of saving a signal, for example, a capacitor, an RS flip-flop, and the like.

复位器122响应于电子设备的第一电源的断电清除保存器121中保存的内部信号。例如,当电子设备的电池被移除时,第一电源断电,复位器122将清除保存器121中保存的内部信号。The resetter 122 clears the internal signal saved in the saver 121 in response to power-off of the first power supply of the electronic device. For example, when the battery of the electronic device is removed and the first power supply is powered off, the resetter 122 will clear the internal signals stored in the saver 121 .

图3示出根据本发明的示例性实施例的图1的用于电子设备的保存用户操作的电路中的输出单元130的框图。FIG. 3 illustrates a block diagram of the output unit 130 in the circuit for saving user operations of an electronic device of FIG. 1 according to an exemplary embodiment of the present invention.

如图3所示,输出单元130可包括:输出器131、调节器132。As shown in FIG. 3 , the output unit 130 may include: an output device 131 and a regulator 132 .

输出器131响应于电子设备的第二电源的供电读取并输出保存单元120保存的内部信号。保存器131可以是任何可以实现读取和输出信号功能的电路、装置,例如,三极管、场效应晶体管、可控硅等。The outputter 131 reads and outputs the internal signal saved by the saving unit 120 in response to the power supply of the second power supply of the electronic device. The saver 131 can be any circuit or device capable of reading and outputting signals, for example, a triode, a field effect transistor, a thyristor, and the like.

调节器132对输出器131输出的内部信号的电压进行调节,并输出调节后的内部信号。通过调节器131对输出的内部信号的电压进行调节,可以使保存用户操作的电路100满足不同电子设备的电气要求。应该理解,在特定情况下,输出单元130可以不包括调节器132,例如,当输出器131输出的内部信号的电压满足特定电子设备的电气要求时,输出单元130可以简化为只包括输出器131的输出单元。The adjuster 132 adjusts the voltage of the internal signal output by the outputter 131, and outputs the adjusted internal signal. By adjusting the voltage of the output internal signal through the regulator 131, the circuit 100 for storing user operations can meet the electrical requirements of different electronic devices. It should be understood that in certain cases, the output unit 130 may not include the regulator 132, for example, when the voltage of the internal signal output by the output unit 131 meets the electrical requirements of a specific electronic device, the output unit 130 may be simplified to include only the output unit 131 output unit.

再次参照图1,根据本发明的用于电子设备的保存用户操作的电路100中的接收单元110可包括第一开关和第一电阻器。具体地说,第一开关的第一连接端连接到电子设备的第一电源,第一开关的控制端接收所述输入信号,第一开关的第二连接端输出的信号作为所述内部信号,第一电阻器的第一端连接到电子设备的第一电源,第一电阻器的第二端连接到第一开关的控制端。这里,第一开关为控制端处为低电平时导通且为高电平时截止的开关,例如,PNP型的三极管、P型的场效应晶体管(PMOS)等。Referring again to FIG. 1 , the receiving unit 110 in the circuit 100 for saving user operations of an electronic device according to the present invention may include a first switch and a first resistor. Specifically, the first connection terminal of the first switch is connected to the first power supply of the electronic device, the control terminal of the first switch receives the input signal, and the signal output by the second connection terminal of the first switch is used as the internal signal, The first end of the first resistor is connected to the first power supply of the electronic device, and the second end of the first resistor is connected to the control end of the first switch. Here, the first switch is a switch that is turned on when the control terminal is at a low level and is turned off when it is at a high level, for example, a PNP-type triode, a P-type field effect transistor (PMOS), and the like.

保存单元120可包括电容器、第二开关、第二电阻器。具体地说,电容器的第一端连接到第一开关的第二连接端并且电容器的第二端接地,以保存从第二连接端接收的内部信号,第二开关的控制端连接到电子设备的第一电源,第二开关的第一连接端连接到电容器的第一端,第二开关的第二连接端连接到电容器的第二端,第二电阻器的第一端连接到第二开关的控制端,第二端接地。这里,第二开关为控制端处为低电平时导通且为高电平时截止的开关,例如,PNP型的三极管、PMOS等。The saving unit 120 may include a capacitor, a second switch, and a second resistor. Specifically, the first end of the capacitor is connected to the second connection end of the first switch and the second end of the capacitor is grounded to save the internal signal received from the second connection end, and the control end of the second switch is connected to the electronic device. The first power supply, the first connection end of the second switch is connected to the first end of the capacitor, the second connection end of the second switch is connected to the second end of the capacitor, and the first end of the second resistor is connected to the second end of the second switch. The control terminal and the second terminal are grounded. Here, the second switch is a switch that is turned on when the control terminal is at a low level and is turned off when it is at a high level, for example, a PNP transistor, PMOS, and the like.

输出单元130可包括第三开关、第三电阻器。具体地说,第三开关的控制端连接到电子设备的第二电源,第三开关的第一连接端连接到电容器的第一端,第三开关的第二连接端输出内部信号,第三电阻器的第一端连接到第三开关的控制端,第三电阻器的第二端接地。此外,输出单元130还可包括第四电阻器、第五电阻器,其中,第四电阻器的第一端连接到第三开关的第二连接端,第四电阻器的第二端作为用于输出内部信号的端口,第五电阻器的第一端连接到第四电阻器的第二端,第五电阻器的第二端接地。这里,第三开关为控制端处为高电平时导通且为低电平时截止的开关,例如,NPN型的三极管、N型的场效应晶体管(NMOS)等。The output unit 130 may include a third switch, a third resistor. Specifically, the control end of the third switch is connected to the second power supply of the electronic device, the first connection end of the third switch is connected to the first end of the capacitor, the second connection end of the third switch outputs an internal signal, and the third resistor The first terminal of the resistor is connected to the control terminal of the third switch, and the second terminal of the third resistor is grounded. In addition, the output unit 130 may also include a fourth resistor and a fifth resistor, wherein the first end of the fourth resistor is connected to the second connection end of the third switch, and the second end of the fourth resistor is used as a A port for outputting an internal signal, the first end of the fifth resistor is connected to the second end of the fourth resistor, and the second end of the fifth resistor is grounded. Here, the third switch is a switch that is turned on when the control terminal is at a high level and is turned off when it is at a low level, for example, an NPN transistor, an N-type field effect transistor (NMOS), and the like.

以下将参照图4以第一开关为PNP型的第一三极管、第二开关为PNP型的第二三极管、第三开关为N型的场效应晶体管为例,来说明根据本发明的用于电子设备的保存用户操作的电路100的电路结构。这里,第一开关的第一连接端为第一三极管的发射极,第一开关的控制端为第一三极管的基极,第一开关的第二连接端为第一三极管的集电极。第二开关的控制端为第二三极管的基极,第二开关的第一连接端为第二三极管的发射极,第二开关的第二连接端为第二三极管的集电极。第三开关的控制端为场效应晶体管的栅极,第三开关的第一连接端为场效应晶体管的漏极,第三开关的第二连接端为场效应晶体管的源级。In the following, with reference to FIG. 4 , the first switch is a PNP-type first triode, the second switch is a PNP-type second triode, and the third switch is an N-type field effect transistor as an example to illustrate the present invention. A circuit structure of a circuit 100 for saving user operations of an electronic device. Here, the first connection end of the first switch is the emitter of the first triode, the control end of the first switch is the base of the first triode, and the second connection end of the first switch is the first triode collector. The control terminal of the second switch is the base of the second transistor, the first connection terminal of the second switch is the emitter of the second transistor, and the second connection terminal of the second switch is the collector of the second transistor. electrode. The control terminal of the third switch is the gate of the field effect transistor, the first connection terminal of the third switch is the drain of the field effect transistor, and the second connection terminal of the third switch is the source of the field effect transistor.

图4示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路的电路图。FIG. 4 illustrates a circuit diagram of a circuit for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

如图4所示,在一个示例中,接收单元110可包括第一三极管Q1和第一电阻器R1。第一三极管Q1的发射极连接到电子设备的第一电源VBAT,第一三极管Q1的基极接收电子设备的输入装置产生的输入信号,第一三极管Q1的集电极输出的信号作为所述内部信号。第一电阻器R1的第一端连接到电子设备的第一电源VBAT,第一电阻器R1的第二端连接到第一三极管Q1的基极。具体地说,当第一三极管Q1的基极接收到上述提到的第一输入信号(低电平信号)时,第一三极管Q1导通,第一三极管Q1的集电极输出高电平信号作为第一内部信号。当第一三极管Q1的基极接收到上述提到的第二输入信号(高电平信号)时,第一三极管Q1的集电极输出低电平信号作为第二内部信号。As shown in FIG. 4 , in an example, the receiving unit 110 may include a first transistor Q1 and a first resistor R1 . The emitter of the first triode Q1 is connected to the first power supply VBAT of the electronic equipment, the base of the first triode Q1 receives the input signal generated by the input device of the electronic equipment, and the collector of the first triode Q1 outputs signal as the internal signal. A first end of the first resistor R1 is connected to the first power supply VBAT of the electronic device, and a second end of the first resistor R1 is connected to the base of the first transistor Q1. Specifically, when the base of the first transistor Q1 receives the above-mentioned first input signal (low level signal), the first transistor Q1 is turned on, and the collector of the first transistor Q1 A high-level signal is output as the first internal signal. When the base of the first transistor Q1 receives the aforementioned second input signal (high level signal), the collector of the first transistor Q1 outputs a low level signal as the second internal signal.

保存单元120可包括电容器C1、第二三极管Q2、第二电阻器R2。电容器C1的第一端连接到第一三极管Q1的集电极并且电容器C1的第二端接地,用于保存从第一三极管Q1的集电极接收的内部信号。第二三极管Q2的基极连接到电子设备的第一电源VBAT,第二三极管Q2的发射极连接到电容器C1的第一端,第二三极管Q2的集电极连接到电容器C1的第二端。第二电阻器R2的第一端连接到第二三极管Q2的基极,第二端接地。The storage unit 120 may include a capacitor C1, a second transistor Q2, and a second resistor R2. The first end of the capacitor C1 is connected to the collector of the first transistor Q1 and the second end of the capacitor C1 is grounded for storing the internal signal received from the collector of the first transistor Q1. The base of the second transistor Q2 is connected to the first power supply VBAT of the electronic device, the emitter of the second transistor Q2 is connected to the first end of the capacitor C1, and the collector of the second transistor Q2 is connected to the capacitor C1 the second end of . The first terminal of the second resistor R2 is connected to the base of the second transistor Q2, and the second terminal is grounded.

具体地说,当电容器C1从第一三极管Q1的集电极接收到高电平的第一内部信号时,电容器C1充电并以电容电压的形式保存高电平信号,当电容器C1从第一三极管Q1的集电极接收到低电平的第二内部信号时,电容器C1不充电并以电容电压的形式保存低电平信号。当电子设备的电池被移除时,第一电源VBAT断电,第二三极管Q2导通,电容器C1放电,从而可以清除电容器C1中保存的电压。Specifically, when the capacitor C1 receives a high-level first internal signal from the collector of the first triode Q1, the capacitor C1 charges and stores the high-level signal in the form of a capacitor voltage. When the collector of the transistor Q1 receives the low-level second internal signal, the capacitor C1 does not charge and stores the low-level signal in the form of capacitor voltage. When the battery of the electronic device is removed, the first power supply VBAT is powered off, the second transistor Q2 is turned on, and the capacitor C1 is discharged, so that the voltage stored in the capacitor C1 can be cleared.

输出单元130可包括场效应晶体管Q3、第三电阻器R3、第四电阻器R5、第五电阻器R4。场效应晶体管Q3的栅极连接到电子设备的第二电源VCC,场效应晶体管Q3的漏极连接到电容器C1的第一端,场效应晶体管Q3的源极连接到第四电阻器R5的第一端。第三电阻器R3的第一端连接到场效应晶体管Q3的栅极,第三电阻器R3的第二端接地。第四电阻器R5的第二端作为用于输出内部信号的端口。第五电阻器R4的第一端连接到第四电阻器R5的第二端,第五电阻器R4的第二端接地。The output unit 130 may include a field effect transistor Q3, a third resistor R3, a fourth resistor R5, and a fifth resistor R4. The gate of the field effect transistor Q3 is connected to the second power supply VCC of the electronic device, the drain of the field effect transistor Q3 is connected to the first end of the capacitor C1, and the source of the field effect transistor Q3 is connected to the first end of the fourth resistor R5. end. A first end of the third resistor R3 is connected to the gate of the field effect transistor Q3, and a second end of the third resistor R3 is grounded. The second end of the fourth resistor R5 serves as a port for outputting internal signals. A first end of the fifth resistor R4 is connected to a second end of the fourth resistor R5, and a second end of the fifth resistor R4 is grounded.

具体地说,当第二电源VCC供电时,场效应晶体管Q3导通,从而可以输出电容器C1中保存的电容电压。第四电阻器R5和第五电阻器R4可以将场效应晶体管Q3输出的电容电压进行分压,通过调整第四电阻器R5和第五电阻器R4的阻值,可以使输出的内部信号的电压满足不同电子设备的电气要求。此外,第四电阻器R5还具有延长电容器C1放电时间的作用。应该理解,在特定情况下,输出单元130可以不包括第四电阻器R5和第五电阻器R4,例如,当场效应晶体管Q3的源极输出的内部信号的电压可以满足特定电子设备的电气要求时,可将输出单元130简化为只包括场效应晶体管Q3和第三电阻器R3的输出单元。Specifically, when the second power supply VCC supplies power, the field effect transistor Q3 is turned on, so that the capacitor voltage stored in the capacitor C1 can be output. The fourth resistor R5 and the fifth resistor R4 can divide the capacitor voltage output by the field effect transistor Q3, and by adjusting the resistance values of the fourth resistor R5 and the fifth resistor R4, the voltage of the output internal signal can be made Meet the electrical requirements of different electronic equipment. In addition, the fourth resistor R5 also has the function of prolonging the discharge time of the capacitor C1. It should be understood that in certain cases, the output unit 130 may not include the fourth resistor R5 and the fifth resistor R4, for example, when the voltage of the internal signal output by the source of the field effect transistor Q3 can meet the electrical requirements of a specific electronic device , the output unit 130 can be simplified as an output unit including only the field effect transistor Q3 and the third resistor R3.

应该理解,本发明的用于电子设备的保存用户操作的电路不限于图4所示出的用于电子设备的保存用户操作的电路,也可采用其他的能够实现相同功能的电路。It should be understood that the circuit for storing user operations of an electronic device of the present invention is not limited to the circuit for storing user operations of an electronic device shown in FIG. 4 , and other circuits capable of realizing the same function may also be used.

在实际应用中,本发明的用于电子设备的保存用户操作的电路100可以简化封装为具有5个引脚的电路模块。下面将基于图5说明将根据本发明的用于电子设备的保存用户操作的电路100简化封装为具有5个引脚的电路模块的示例。图5示出根据本发明的示例性实施例的用于电子设备的保存用户操作的电路100的封装图。In practical applications, the circuit 100 for storing user operations of an electronic device of the present invention can be simplified and packaged as a circuit module with 5 pins. An example of simply packaging the circuit 100 for saving user operations of an electronic device according to the present invention into a circuit module with 5 pins will be described below based on FIG. 5 . FIG. 5 shows a package diagram of a circuit 100 for saving user operations of an electronic device according to an exemplary embodiment of the present invention.

如图5所示,用于电子设备的保存用户操作的电路100可以分别通过引脚VBAT和引脚VCC接收第一电源和第二电源。通过Input引脚接收电子设备的输入装置产生的输入信号,通过Output引脚输出内部信号,并通过引脚GND接地。封装后的电路模块可以更方便的应用在电子设备中。As shown in FIG. 5 , the circuit 100 for storing user operations of an electronic device can receive a first power supply and a second power supply through a pin VBAT and a pin VCC respectively. The input signal generated by the input device of the electronic device is received through the Input pin, the internal signal is output through the Output pin, and the ground is grounded through the GND pin. The encapsulated circuit module can be more conveniently applied in electronic equipment.

应该理解,根据本发明的用于电子设备的保存用户操作的电路100可被应用于具有电池的各种电子设备(例如,手机、平板电脑、PDA、游戏机等),作为专门的保存用户操作的电路或芯片,或者作为电源管理电路或芯片的一部分。It should be understood that the circuit 100 for saving user operations of an electronic device according to the present invention can be applied to various electronic devices (such as mobile phones, tablet computers, PDAs, game consoles, etc.) circuit or chip, or as part of a power management circuit or chip.

对于现有的电子设备(例如,手机、平板电脑等)来说,当电池处于过放电(电池电压低于使电子设备满足开机条件的电压)状态时,即使电子设备的电源键接收到用户的按压操作,控制电子设备开启的电源管理IC也不会工作,因此电子设备也不会启动。如果用户需要启动电子设备,就需要使电子设备接通外部电源对电池进行充电,由于现有的电子设备不具有保存用户操作的电路,充电后的电子设备不能根据用户对电源键执行过的按压操作自动开启,因此当电池的电压大于电子设备满足开机条件的电压时,用户需要再次按压电源键才能启动电子设备。但是,用户并不知道充电多长时间后电池的电压会满足开机要求,因此需要每隔一段时间就尝试按压电源键,重复的按压操作导致用户的体验不佳。For existing electronic devices (such as mobile phones, tablet computers, etc.), when the battery is in the state of over-discharge (the battery voltage is lower than the voltage that makes the electronic device meet the power-on condition), even if the power button of the electronic device receives the user's Press the operation, the power management IC that controls the electronic device to turn on will not work, so the electronic device will not start. If the user needs to start the electronic device, the electronic device needs to be connected to an external power source to charge the battery. Since the existing electronic device does not have a circuit for storing user operations, the charged electronic device cannot press the power button according to the user's execution. The operation is automatically turned on, so when the voltage of the battery is greater than the voltage that meets the power-on condition of the electronic device, the user needs to press the power button again to start the electronic device. However, the user does not know how long the battery voltage will meet the power-on requirements after charging, so it is necessary to try to press the power button every once in a while. Repeated pressing operations lead to poor user experience.

图6示出现有的不具有保存用户操作的电路的电子设备的框图。FIG. 6 shows a block diagram of a conventional electronic device without a circuit for saving user operations.

如图6所示,现有的电子设备中,电源管理IC400直接读取电源键200产生的输入信号。然而,当电子设备的电池处于过放电的状态时,电源管理IC400不工作,无法获得用户对电源键200执行按压操作而产生的输入信号,因而无法为用户启动电子设备。只有当电子设备接通外部电源使电池的电压达到预定电压后,电源键200再次接收到用户的按压操作时,电源管理IC400才能接收电源键200产生的输入信号。这种情况下,当电源管理IC400接收到电源键200由用户的按压操作而产生的输入信号时,电源管理IC400为电子设备中的诸如控制器500等电路单元供电,从而开启电子设备。As shown in FIG. 6 , in existing electronic devices, the power management IC 400 directly reads the input signal generated by the power key 200 . However, when the battery of the electronic device is in an over-discharged state, the power management IC 400 does not work, and cannot obtain the input signal generated by the user pressing the power button 200 , so the electronic device cannot be started for the user. The power management IC 400 can receive the input signal generated by the power key 200 only when the electronic device is connected to an external power source so that the voltage of the battery reaches a predetermined voltage and the power key 200 receives the user's pressing operation again. In this case, when the power management IC 400 receives an input signal generated by pressing the power key 200 by the user, the power management IC 400 supplies power to circuit units such as the controller 500 in the electronic device, thereby turning on the electronic device.

图7示出根据本发明的示例性实施例的具有保存用户操作的电路的电子设备的框图。FIG. 7 illustrates a block diagram of an electronic device having a circuit for saving user operations according to an exemplary embodiment of the present invention.

如图7所示,根据本发明的示例性实施例的具有保存用户操作的电路的电子设备包括:输入装置200、第一电源300、第二电源400、保存用户操作的电路100、控制器500。As shown in FIG. 7 , an electronic device with a circuit for storing user operations according to an exemplary embodiment of the present invention includes: an input device 200, a first power supply 300, a second power supply 400, a circuit 100 for storing user operations, and a controller 500 .

输入装置200产生输入信号。具体地说,输入装置200产生的输入信号可为第一输入信号或第二输入信号。作为示例,输入装置200可为电子设备的按键,例如,电子设备的电源键。当电源键接收到用户的按压操作时可产生第一输入信号,当电源键没有接收到用户的按压操作时可产生第二输入信号。The input device 200 generates input signals. Specifically, the input signal generated by the input device 200 may be the first input signal or the second input signal. As an example, the input device 200 may be a key of an electronic device, for example, a power key of the electronic device. The first input signal may be generated when the power key is pressed by the user, and the second input signal may be generated when the power key is not pressed by the user.

第一电源300可以是电子设备的电池。The first power source 300 may be a battery of an electronic device.

第二电源400可响应于第一电源300输出的供电电压大于预定电压而进行供电。例如,当电子设备的电池接收外部供电从而使电池的电压大于满足设备开机条件的电压时,电子设备的电源管理IC开始工作,从而使电子设备的第二电源400开始供电。The second power supply 400 may supply power in response to the power supply voltage output by the first power supply 300 being greater than a predetermined voltage. For example, when the battery of the electronic device receives external power so that the voltage of the battery is higher than the voltage satisfying the power-on condition of the device, the power management IC of the electronic device starts to work, so that the second power supply 400 of the electronic device starts to supply power.

保存用户操作的电路100可基于输入信号产生内部信号,利用第一电源300保存内部信号,并响应于第二电源400的供电输出保存的内部信号。具体地说,内部信号可为第一内部信号或第二内部信号。作为示例,保存用户操作的电路100可基于第一输入信号产生第一内部信号,基于第二输入信号产生第二内部信号。The circuit 100 for saving a user operation may generate an internal signal based on an input signal, save the internal signal using the first power source 300 , and output the saved internal signal in response to power supplied by the second power source 400 . Specifically, the internal signal may be a first internal signal or a second internal signal. As an example, the circuit 100 for storing user operations may generate a first internal signal based on a first input signal, and generate a second internal signal based on a second input signal.

控制器500可以在第一电源300输出的供电电压大于预定电压时进行工作,并接收保存用户操作的电路100输出的内部信号,并根据接收的内部信号判断是否启动所述电子设备。具体地说,控制器500可根据接收到的内部信号判断是否启动所述电子设备的操作系统。作为示例,当所述控制器500接收到的内部信号为第一内部信号时,控制器500启动所述电子设备的操作系统。The controller 500 can work when the power supply voltage output by the first power supply 300 is greater than a predetermined voltage, and receives an internal signal output by the circuit 100 for storing user operations, and judges whether to start the electronic device according to the received internal signal. Specifically, the controller 500 may determine whether to start the operating system of the electronic device according to the received internal signal. As an example, when the internal signal received by the controller 500 is the first internal signal, the controller 500 starts the operating system of the electronic device.

可以看出,根据本发明的示例性实施例的具有保存用户操作的电路的电子设备可以在电池处于过放电状态时,记录用户对电源键的按压操作,从而当电子设备的电池充电一段时间使电池电压大于使电子设备满足开机条件的电压时,不需要用户重复对电源键执行按压操作,自动启动电子设备操作系统,增强了用户的体验效果。It can be seen that an electronic device with a circuit for saving user operations according to an exemplary embodiment of the present invention can record the user's pressing operation on the power button when the battery is in an over-discharge state, so that when the battery of the electronic device is charged for a period of time When the voltage of the battery is higher than the voltage required for the electronic device to be turned on, the user does not need to repeatedly press the power button to automatically start the operating system of the electronic device, which enhances the user experience.

图8示出根据本发明的示例性实施例的具有保存用户操作的电路的电子设备的电路图。FIG. 8 illustrates a circuit diagram of an electronic device having a circuit for saving user operations according to an exemplary embodiment of the present invention.

如图8所示,在电子设备的电池处于过放电状态的情况下,如果用户希望启动电子设备而对电子设备的电源键执行了按压操作时,由于电池电压过低,电子设备的电源管理IC400不工作,从而导致电子设备不能正常启动。但是,根据本发明的保存用户操作的电路100可通过Input引脚接收电源键200产生的第一输入信号,并基于第一输入信号产生第一内部信号,利用电池的电压300保存第一内部信号。当电子设备接收外部电源充电使电池的电压大于满足电子设备的开机条件的电压时,电子设备的第二电源开始供电,此时,保存用户操作的电路100可以输出保存的第一内部信号。电子设备可通过控制器500读取Output引脚输出的第一内部信号而得知用户对电源键执行了按压操作,从而控制启动所述电子设备的操作系统。As shown in FIG. 8 , when the battery of the electronic device is in an over-discharged state, if the user wants to start the electronic device and presses the power button of the electronic device, the power management IC400 of the electronic device will fail because the battery voltage is too low. does not work, resulting in the electronic equipment not starting properly. However, the circuit 100 for storing user operations according to the present invention can receive the first input signal generated by the power key 200 through the Input pin, and generate the first internal signal based on the first input signal, and use the battery voltage 300 to store the first internal signal . When the electronic device is charged by an external power source so that the voltage of the battery is greater than the voltage that satisfies the power-on condition of the electronic device, the second power supply of the electronic device starts to supply power. At this time, the circuit 100 for saving user operations can output the saved first internal signal. The electronic device can learn that the user has pressed the power button through the controller 500 reading the first internal signal output by the Output pin, so as to control and start the operating system of the electronic device.

此外,在电子设备的电池电压大于预定电压的情况下,输入装置(电源键200)产生的第一输入信号将直接由电源管理IC400读取,电源管理IC400控制电子设备开启。此时,电子设备将不会通过控制器500读取保存用户操作的电路100输出的内部信号。并且,当电子设备关闭时,电子设备将通过控制器500发送低电平信号到保存用户操作的电路100的Output引脚,从而清除保存用户操作的电路100中保存的内部信号,使电路复位。例如,电子设备可通过控制器500的GPIO(通用输入输出端口)读取Output引脚输出的内部信号或者向Output引脚发送低电平信号。In addition, when the battery voltage of the electronic device is greater than a predetermined voltage, the first input signal generated by the input device (power key 200 ) will be directly read by the power management IC 400, and the power management IC 400 controls the electronic device to be turned on. At this time, the electronic device will not read the internal signal output by the circuit 100 that saves the user's operation through the controller 500 . Moreover, when the electronic device is turned off, the electronic device will send a low-level signal to the Output pin of the circuit 100 for storing user operations through the controller 500, thereby clearing the internal signals stored in the circuit 100 for storing user operations and resetting the circuit. For example, the electronic device can read the internal signal output by the Output pin through the GPIO (General Purpose Input Output Port) of the controller 500 or send a low level signal to the Output pin.

图9示出根据本发明的另一示例性实施例的具有保存用户操作的电路的电子设备的框图。FIG. 9 illustrates a block diagram of an electronic device having a circuit for saving user operations according to another exemplary embodiment of the present invention.

如图9所示,根据本发明的示例性实施例的具有保存用户操作的电路的电子设备包括:输入装置200、第一电源300、第二电源400、保存用户操作的电路100、控制器600。As shown in FIG. 9, an electronic device with a circuit for storing user operations according to an exemplary embodiment of the present invention includes: an input device 200, a first power supply 300, a second power supply 400, a circuit 100 for storing user operations, and a controller 600. .

输入装置200产生输入信号。具体地说,输入装置200产生的输入信号可为第一输入信号或第二输入信号。作为示例,输入装置200可为电子设备的按键,例如,电子设备的电源键。当电源键接收到用户的按压操作时可产生第一输入信号,当电源键没有接收到用户的按压操作时可产生第二输入信号。The input device 200 generates input signals. Specifically, the input signal generated by the input device 200 may be the first input signal or the second input signal. As an example, the input device 200 may be a key of an electronic device, for example, a power key of the electronic device. The first input signal may be generated when the power key is pressed by the user, and the second input signal may be generated when the power key is not pressed by the user.

第一电源300可以是电子设备的电池。The first power source 300 may be a battery of an electronic device.

第二电源400可在电子设备处于开启状态时供电。例如,当电子设备开启时,电子设备的电源管理IC工作,从而使电子设备的第二电源400供电。The second power supply 400 can provide power when the electronic device is turned on. For example, when the electronic device is turned on, the power management IC of the electronic device works, so that the second power supply 400 of the electronic device supplies power.

保存用户操作的电路100可基于输入信号产生内部信号,利用第一电源300保存内部信号,并响应于第二电源400的供电输出保存的内部信号。具体地说,内部信号可为第一内部信号或第二内部信号。作为示例,保存用户操作的电路100可基于第一输入信号产生第一内部信号,基于第二输入信号产生第二内部信号。The circuit 100 for saving a user operation may generate an internal signal based on an input signal, save the internal signal using the first power source 300 , and output the saved internal signal in response to power supplied by the second power source 400 . Specifically, the internal signal may be a first internal signal or a second internal signal. As an example, the circuit 100 for storing user operations may generate a first internal signal based on a first input signal, and generate a second internal signal based on a second input signal.

控制器600可接收保存用户操作的电路100输出的内部信号,并根据接收的内部信号判断是否关闭所述电子设备。作为示例,当所述控制器600接收到的内部信号为第二内部信号时,控制器600关闭所述电子设备。The controller 600 may receive an internal signal output by the circuit 100 for storing user operations, and judge whether to turn off the electronic device according to the received internal signal. As an example, when the internal signal received by the controller 600 is the second internal signal, the controller 600 turns off the electronic device.

图9示出的具有保存用户操作的电路的电子设备可以判断电子设备在某些情况下的误开启,并且可以将误开启的电子设备关闭。The electronic device shown in FIG. 9 with a circuit for storing user operations can determine that the electronic device is turned on by mistake in some circumstances, and can turn off the electronic device that is turned on by mistake.

图10示出根据本发明的另一示例性实施例的具有保存用户操作的电路的电子设备的电路图。FIG. 10 illustrates a circuit diagram of an electronic device having a circuit for saving user operations according to another exemplary embodiment of the present invention.

如图10所示,在电子设备处于开启状态时,电子设备可以通过控制器600读取保存用户操作的电路100输出的内部信号来判断电源键200是否接收到用户的按压操作,从而确定电子设备的开启是否为误开启,进而确定是否关闭电子设备。例如,电子设备可以通过控制器600的GPIO读取保存用户操作的电路100的Output引脚输出的内部信号,当电子设备读取到第二内部信号(低电平信号)时,可以判断出电源键200产生的输入信号为第二输入信号,即,电源键200没有接收到用户的按压操作,电子设备的开启为误开启,此时可以通过控制器600关闭电子设备。As shown in FIG. 10 , when the electronic device is turned on, the electronic device can read the internal signal output by the circuit 100 for storing user operations through the controller 600 to determine whether the power key 200 has received the user's pressing operation, thereby determining whether the electronic device Whether the opening of the electronic device is false opening, and then determine whether to close the electronic device. For example, the electronic device can use the GPIO of the controller 600 to read the internal signal output by the Output pin of the circuit 100 that saves the user's operation. When the electronic device reads the second internal signal (low level signal), it can determine the power supply The input signal generated by the key 200 is the second input signal, that is, the power key 200 does not receive the user's pressing operation, and the electronic device is turned on by mistake. At this time, the electronic device can be turned off through the controller 600 .

例如,随着用户对电子设备的质量要求越来越高,在电子设备出厂前,必须使电子设备通过各种各样的测试。在一般情况下,当电子设备通过测试线缆连接到测试设备时,电子设备就会自动开启从而进行相应的测试。For example, as users have higher and higher quality requirements for electronic equipment, the electronic equipment must pass various tests before the electronic equipment leaves the factory. In general, when an electronic device is connected to a test device through a test cable, the electronic device will be automatically turned on to perform a corresponding test.

但是,在某些情况下电子设备会由于测试线缆的误插拔而开启,这时由于不是用户的意图而开启的,最好对电子设备进行关闭处理。However, in some cases, the electronic device will be turned on due to wrong plugging and unplugging of the test cable. At this time, it is not turned on by the user's intention, and it is better to turn off the electronic device.

根据本发明的示例性实施例的具有保存用户操作的电路的电子设备可以通过保存用户操作的电路100利用电池电压300记录用户对电源键200的按压操作,从而当电子设备开启后,保存用户操作的电路100输出保存的内部信号,当电子设备没有检测到线缆信号时,电子设备可以通过控制器600读取保存用户操作的电路100保存的内部信号来判断电源键200是否接收到了用户的按压操作,进而确定本次开启是否为误开启,当确定电子设备的开启为误开启时,电子设备可以通过控制器600将电子设备关闭。例如,控制器600控制电源管理IC400断开对电子设备中的各电路单元的供电,从而关闭电子设备。According to an exemplary embodiment of the present invention, an electronic device with a circuit for saving user operations can use the battery voltage 300 to record the user's pressing operation on the power button 200 through the circuit 100 for saving user operations, so that when the electronic device is turned on, the user operations can be saved The circuit 100 of the circuit 100 outputs the saved internal signal. When the electronic device does not detect the cable signal, the electronic device can use the controller 600 to read the internal signal saved by the circuit 100 that saves the user's operation to determine whether the power button 200 has received the user's press. operation, and then determine whether the current opening is a false opening, and when it is determined that the opening of the electronic device is a false opening, the electronic device can turn off the electronic device through the controller 600 . For example, the controller 600 controls the power management IC 400 to cut off the power supply to each circuit unit in the electronic device, thereby shutting down the electronic device.

此外,当电子设备检测到线缆信号时,电子设备将不会读取保存用户操作的电路100输出的内部信号。并且,当电子设备关闭时,电子设备将通过控制器600发送低电平信号到保存用户操作的电路100的Output引脚,从而清除保存用户操作的电路100中保存的内部信号,使电路复位。In addition, when the electronic device detects the cable signal, the electronic device will not read the internal signal output by the circuit 100 for storing user operations. Moreover, when the electronic device is turned off, the electronic device will send a low-level signal to the Output pin of the circuit 100 for storing user operations through the controller 600, thereby clearing the internal signals stored in the circuit 100 for storing user operations and resetting the circuit.

根据本发明的用于电子设备的保存用户操作的电路及具有所述电路的电子设备,可以有效地将用户的按键操作产生的输入信号保存为内部信号,并可通过电子设备的控制器读取内部信号,根据内部信号判断是否开启或是否关闭电子设备,从而能有效地按照用户的意愿开启或关闭电子设备,增强了用户对电子设备体验效果。According to the circuit for storing user operations of an electronic device and the electronic device having the circuit of the present invention, the input signal generated by the user's key operation can be effectively stored as an internal signal, and can be read by the controller of the electronic device The internal signal determines whether to turn on or turn off the electronic device according to the internal signal, so that the electronic device can be turned on or off effectively according to the user's wishes, and the user's experience with the electronic device is enhanced.

尽管已经参照其示例性实施例具体显示和描述了本发明,但是本领域的技术人员应该理解,在不脱离权利要求所限定的本发明的精神和范围的情况下,可以对其进行形式和细节上的各种改变。While the invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those skilled in the art that changes may be made in form and detail without departing from the spirit and scope of the invention as defined by the claims. various changes.

Claims (25)

  1. A kind of 1. circuit for preserving user's operation for electronic equipment, it is characterised in that including:
    Receiving unit, input signal caused by the input unit of electronic equipment is received, and internal signal is produced based on input signal;
    Storage unit, internal signal is received from receiving unit, and the inside that receives is preserved using the first power supply of electronic equipment Signal;
    Output unit, the power supply in response to the second source of electronic equipment are read and export the internal signal of storage unit preservation,
    Wherein, the input signal is the first input signal or the second input signal, and the internal signal is the first internal signal Or second internal signal,
    Wherein, receiving unit is based on the first input signal and produces the first internal signal, is produced based on the second input signal in second Portion's signal, wherein, the first input signal is produced when the input unit of electronic equipment receives the input operation of user, works as electronics The input unit of equipment produces the second input signal when being not received by the input operation of user.
  2. 2. circuit as claimed in claim 1, wherein, the storage unit includes:
    Conservator, internal signal is received from receiving unit, and received in response to the power supply preservation of the first power supply of electronic equipment Internal signal;
    The internal signal preserved in conservator is removed in restorer, the power-off in response to the first power supply of electronic equipment.
  3. 3. circuit as claimed in claim 1, wherein, when the supply voltage that the first power supply of electronic equipment exports is more than predetermined electricity During pressure, the second source power supply of electronic equipment, when the supply voltage that the first power supply of electronic equipment exports is not more than predetermined voltage When, the second source power-off of electronic equipment.
  4. 4. circuit as claimed in claim 3, wherein, when the battery of electronic equipment is electrically charged, and the first power supply of electronic equipment When the supply voltage of output is more than predetermined voltage, the second source power supply of electronic equipment.
  5. 5. circuit as claimed in claim 3, wherein, when electronic equipment is in opening, the second source of electronic equipment Power supply.
  6. 6. circuit as claimed in claim 1, wherein, the output unit includes:
    Follower, the power supply in response to the second source of electronic equipment are read and export the internal signal of storage unit preservation.
  7. 7. circuit as claimed in claim 6, wherein, the output unit also includes:
    Adjuster, the voltage of the internal signal of follower output is adjusted, and exports the internal signal after regulation.
  8. 8. circuit as claimed in claim 1, wherein, the receiving unit includes first switch and first resistor device,
    Wherein, the first connection end of first switch is connected to the first power supply of electronic equipment, and the control terminal of first switch receives institute State input signal, the signal of the second connection end output of first switch as the internal signal,
    The first end of first resistor device is connected to the first power supply of electronic equipment, and the second end of first resistor device is connected to first and opened The control terminal of pass.
  9. 9. circuit as claimed in claim 8, wherein, the storage unit includes capacitor, second switch, second resistance device,
    Wherein, the first end of capacitor is connected to the second connection end of first switch and the second end ground connection of capacitor, to protect The internal signal received from second connection end is deposited,
    The control terminal of second switch is connected to the first power supply of electronic equipment, and the first connection end of second switch is connected to capacitor First end, the second connection end of second switch is connected to the second end of capacitor,
    The first end of second resistance device is connected to the control terminal of second switch, the second end ground connection.
  10. 10. circuit as claimed in claim 9, wherein, the output unit includes the 3rd switch, 3rd resistor device,
    Wherein, the control terminal of the 3rd switch is connected to the second source of electronic equipment, and the first connection end of the 3rd switch is connected to The first end of capacitor, the second connection end output internal signal of the 3rd switch,
    The first end of 3rd resistor device is connected to the control terminal of the 3rd switch, the second end ground connection of 3rd resistor device.
  11. 11. circuit as claimed in claim 10, wherein, the output unit also includes the 4th resistor, the 5th resistor,
    Wherein, the first end of the 4th resistor is connected to the second connection end of the 3rd switch, the second end conduct of the 4th resistor For exporting the port of internal signal,
    The first end of 5th resistor is connected to the second end of the 4th resistor, the second end ground connection of the 5th resistor.
  12. 12. circuit as claimed in claim 11, wherein, the first switch and second switch are when being low level at control terminal Conducting and the switch ended when be high level, conducting that the 3rd switch is when being high level at control terminal and when being low level section Switch only.
  13. 13. circuit as claimed in claim 1, wherein, the first power supply is the battery of the electronic equipment.
  14. 14. circuit as claimed in claim 1, wherein, the input unit is the button of the electronic equipment.
  15. A kind of 15. circuit for preserving user's operation for electronic equipment, it is characterised in that including:
    Receiving unit, input signal caused by the input unit of electronic equipment is received, and internal signal is produced based on input signal;
    Storage unit, internal signal is received from receiving unit, and the inside that receives is preserved using the first power supply of electronic equipment Signal;
    Output unit, the power supply in response to the second source of electronic equipment are read and export the internal signal of storage unit preservation,
    Wherein, the output unit includes:
    Follower, the power supply in response to the second source of electronic equipment are read and export the internal signal of storage unit preservation.
  16. 16. a kind of electronic equipment, including:
    Input unit, produce input signal;
    First power supply;
    Second source, it is more than predetermined voltage in response to the supply voltage of the first power supply output and is powered;
    The circuit described in any one in claim 1-15, internal signal is produced based on input signal, utilizes the first power supply Internal signal is preserved, and the internal signal preserved is exported in response to the power supply of second source;
    Controller, it is operated when the supply voltage of the first power supply output is more than predetermined voltage, the internal signal of Rreceive output, And judged whether to start the electronic equipment according to the internal signal of reception,
    Wherein, the input signal is the first input signal or the second input signal, and the internal signal is the first internal signal Or second internal signal,
    Wherein, the circuit described in any one in claim 1-15 is based on the first input signal and produces the first internal signal, Second internal signal is produced based on the second input signal, wherein, the is produced when input unit receives the input operation of user One input signal, the second input signal is produced when input unit is not received by the input operation of user.
  17. 17. electronic equipment as claimed in claim 16, wherein, the input unit is button.
  18. 18. electronic equipment as claimed in claim 16, wherein, first power supply is battery.
  19. 19. electronic equipment as claimed in claim 16, wherein, the controller judges whether according to the internal signal received Start the operating system of the electronic equipment.
  20. 20. electronic equipment as claimed in claim 16, wherein, when the internal signal that the controller receives is inside first During signal, start the electronic equipment.
  21. 21. a kind of electronic equipment, including:
    Input unit, produce input signal;
    First power supply;
    Second source, powered when electronic equipment is in opening;
    The circuit described in any one in claim 1-15, internal signal is produced based on input signal, utilizes the first power supply Internal signal is preserved, and the internal signal preserved is exported in response to the power supply of second source;
    Controller, the internal signal of Rreceive output, and judged whether according to the internal signal of reception to close the electronic equipment,
    Wherein, the input signal is the first input signal or the second input signal, and the internal signal is the first internal signal Or second internal signal,
    Wherein, the circuit described in any one in claim 1-15 is based on the first input signal and produces the first internal signal, Second internal signal is produced based on the second input signal, wherein, the is produced when input unit receives the input operation of user One input signal, the second input signal is produced when input unit is not received by the input operation of user.
  22. 22. electronic equipment as claimed in claim 21, wherein, the input unit is button.
  23. 23. electronic equipment as claimed in claim 21, wherein, first power supply is battery.
  24. 24. electronic equipment as claimed in claim 21, wherein, when not detecting the survey for being tested electronic equipment When trying the cable signal of cable, the internal signal of controller Rreceive output, and judge whether to close according to the internal signal of reception The electronic equipment;When detecting the cable signal, the internal signal of controller not Rreceive output.
  25. 25. electronic equipment as claimed in claim 21, wherein, when the internal signal that the controller receives is inside second During signal, the electronic equipment is closed.
CN201410250214.4A 2014-06-06 2014-06-06 Preserve the circuit of user's operation and the electronic equipment with the circuit Active CN104079273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410250214.4A CN104079273B (en) 2014-06-06 2014-06-06 Preserve the circuit of user's operation and the electronic equipment with the circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410250214.4A CN104079273B (en) 2014-06-06 2014-06-06 Preserve the circuit of user's operation and the electronic equipment with the circuit

Publications (2)

Publication Number Publication Date
CN104079273A CN104079273A (en) 2014-10-01
CN104079273B true CN104079273B (en) 2017-11-28

Family

ID=51600350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410250214.4A Active CN104079273B (en) 2014-06-06 2014-06-06 Preserve the circuit of user's operation and the electronic equipment with the circuit

Country Status (1)

Country Link
CN (1) CN104079273B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11923297B2 (en) * 2021-04-27 2024-03-05 Taiwan Semiconductor Manufacturing Co., Ltd. Apparatus and methods for generating a circuit with high density routing layout

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030038673A1 (en) * 2001-08-24 2003-02-27 Fujitsu Limited Semiconductor device
CN101800810A (en) * 2010-01-29 2010-08-11 北京一跃骐骥科技发展有限公司 Display equipment capable of displaying effective information after switching off and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4253720B2 (en) * 2006-11-20 2009-04-15 Okiセミコンダクタ株式会社 Power-on reset circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030038673A1 (en) * 2001-08-24 2003-02-27 Fujitsu Limited Semiconductor device
CN101800810A (en) * 2010-01-29 2010-08-11 北京一跃骐骥科技发展有限公司 Display equipment capable of displaying effective information after switching off and method

Also Published As

Publication number Publication date
CN104079273A (en) 2014-10-01

Similar Documents

Publication Publication Date Title
US10784722B2 (en) BLUETOOTH headset, charging cabin and charging system thereof
US11336105B2 (en) Multi-battery charging and discharging device and mobile terminal
US10658860B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
JP5941135B2 (en) Electronic device having USB interface and USB communication activation method
US20200195031A1 (en) Charging system and charging circuit thereof
US10181742B2 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US20120331312A1 (en) Usb charging circuit for a computer
CN205485902U (en) Automatic start circuit and electronic equipment
CN114094649B (en) Data line integrated with capacitive load access identification device and identification method and system
US20130162222A1 (en) Charging control circuit
CN101783503B (en) overvoltage protection circuit
JP2015130795A (en) Power supply interruption device
CN104079273B (en) Preserve the circuit of user's operation and the electronic equipment with the circuit
CN212063521U (en) Load access recognition device and charging device
CN203660580U (en) Usb charging equipment
TWI489735B (en) Electronic device
CN113809812A (en) Dual-battery circuit and control method thereof, and electronic equipment
CN102736524A (en) Power switch
CN109217402B (en) Control circuit of charging seat and control method thereof
EP1429442B1 (en) Circuit for preventing unintentional power off of mobile terminal and method therefor
CN106972568A (en) Charging detecting circuit, method and electronic equipment
CN104330984B (en) Prevent portable terminal and the method thereof of Auto Power On
CN211209332U (en) Portable power source charge-discharge controller
CN104330998B (en) Portable terminal capable of preventing automatic power-on in overvoltage state and method thereof
CN106300482A (en) A kind of charger and control method thereof

Legal Events

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