Key circuit of electronic device, electronic device and control method of electronic device

By using volume plus buttons or volume down buttons in electronic devices to integrate the power-on button function, and using the switching circuit to conduct different control signals under different equipment states, the problem of having to set power-on buttons in the prior art is solved, and the effect of simplifying the structure, enhancing the grip and beauty, and reducing the risk of electrostatic failure is achieved.

CN113114267BActive Publication Date: 2025-06-06VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110458836.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-27
Publication Date
2025-06-06
Estimated Expiration
2041-04-27

AI Technical Summary

Technical Problem

In existing electronic devices, power-on buttons must be set to realize the power-on or screen-lit function, resulting in the independent convex hull of the physical keys affecting the grip and aesthetics, and increasing the risk of electrostatic failure.

Method used

A key circuit of an electronic device is adopted, and the power-on button function is integrated through the volume plus button or the volume down button. The switching circuit is used to conduct different control signals in different equipment states to realize functions such as power-on, bright screen, volume up and down.

Benefits of technology

The integrated power-on button function of volume plus button or volume down button is realized, the independent power-on button settings are cancelled, the equipment structure is simplified, the grip feeling and beauty are enhanced, and the risk of static failure is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113114267B_ABST
    Figure CN113114267B_ABST
Patent Text Reader

Abstract

The present application discloses a key circuit of an electronic device, the electronic device and a control method of the electronic device, wherein the key circuit comprises a first key and a switching circuit, the switching circuit comprises a first contact, a switch unit, a first control signal terminal and a second control signal terminal, the first key is connected to the first contact, the first control signal terminal is used to output a first control signal, and the second control signal terminal is used to output a second control signal, when the electronic device is in a shutdown or screen-locked state, the switch unit conducts the first contact and the second control signal terminal, when the electronic device is in a screen-on state, the switch unit conducts the first contact and the first control signal terminal, the first key is a volume-up key, and the first control signal is a volume-up control signal, or the first key is a volume-down key, and the first control signal is a volume-down control signal, the volume-up key or the volume-down key integrates the function of a power-on key, and the power-on key can be canceled to reduce the number of physical keys.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of communication equipment, and in particular to a key circuit of an electronic device, an electronic device, a control method of an electronic device, and a control device of an electronic device. Background Art

[0002] With the improvement of user demand, the performance and appearance of electronic devices are continuously being optimized. In recent years, the number of physical buttons on electronic devices has become less and less. However, due to functional requirements, the volume up button, volume down button and power button are indispensable. Most existing electronic devices are equipped with three physical buttons: volume up button, volume down button and power on button to realize the functions of volume up and down and power on or screen lighting. However, the three physical buttons of volume up button, volume down button and power on button always have independent convex hulls in appearance, which affects the grip and appearance of electronic devices, and the structural gap between the physical buttons and the surrounding shell is a weak point of ESD (Electro-Static discharge). At the same time, the key signal of the physical button is directly connected to the GPIO (General-purpose input / output) port of the main chip, which increases the risk of system electrostatic failure of electronic devices. Summary of the invention

[0003] The present application discloses an electronic device and a control method of the electronic device, so as to solve the problem that a power button must be provided in the existing electronic device to realize the power-on or screen-lighting function.

[0004] In order to solve the above problems, this application adopts the following technical solutions:

[0005] A key circuit of an electronic device comprises a first key and a switching circuit.

[0006] The switching circuit includes a first contact, a switch unit, a first control signal terminal and a second control signal terminal.

[0007] The first button is connected to the first contact point, the first control signal terminal is used to output a first control signal, and the second control signal terminal is used to output a second control signal.

[0008] When the electronic device is in a shutdown or screen-locked state, the switch unit conducts the first contact and the second control signal end, and the first button is used to trigger the second control signal;

[0009] When the electronic device is in a screen-on state, the switch unit conducts the first contact and the first control signal end, and the first button is used to trigger the first control signal.

[0010] Wherein, the first button is a volume plus button, and the first control signal is a volume plus control signal, or the first button is a volume minus button, and the first control signal is a volume minus control signal,

[0011] The second control signal is a power-on control signal or a screen-on control signal.

[0012] An electronic device comprises the key circuit mentioned above.

[0013] A control method of an electronic device, wherein the electronic device is the electronic device described above, and the control method comprises:

[0014] Receiving a user's pressing operation on a first button;

[0015] When the electronic device is in a powered-off or locked-screen state, in response to the pressing operation, controlling the electronic device to be powered on or to light up the screen;

[0016] Alternatively, when the electronic device is in a screen-on state, in response to the pressing operation, the volume of the electronic device is controlled to be increased or decreased.

[0017] A control device for an electronic device, comprising:

[0018] A receiving module, used to receive a user's pressing operation on a first button;

[0019] A control module, configured to control the electronic device to turn on or light up the screen in response to the pressing operation when the electronic device is in a powered-off or locked-screen state;

[0020] Alternatively, when the electronic device is in a screen-on state, in response to the pressing operation, the volume of the electronic device is controlled to be increased or decreased.

[0021] An electronic device comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction implements the steps of the above control method when executed by the processor.

[0022] The technical solution adopted in this application can achieve the following beneficial effects:

[0023] By using the key circuit of the electronic device, the electronic device and the control method of the electronic device in the present application, when the electronic device is in the off state or the locked screen state, the power-on control signal or the screen-on control signal can be controlled by pressing the volume-up button or the volume-down button to control the electronic device to turn on or turn on the screen; when the electronic device is in the screen-on state, the corresponding volume-up control signal or volume-down control signal can be controlled by pressing the volume-up button or the volume-down button to control the electronic device to achieve the corresponding volume-up or volume-down. In this way, the volume-up button or the volume-down button integrates the function of the power-on button, which can realize both the volume control function and the power-on or screen-on function. The electronic device can cancel the power-on button, simplify the structure of the electronic device, and enhance the grip and appearance of the electronic device; at the same time, canceling the power-on button can reduce the number of physical buttons, thereby reducing the structural gap between the physical buttons and the surrounding shell, and thereby reducing the risk of system electrostatic failure of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0025] Figure 1 This is a schematic diagram of the structural connection of the electronic equipment of this application;

[0026] Figure 2 This is a schematic diagram of the structure of the switching circuit of this application;

[0027] Figure 3 A state diagram of a switching circuit for this application;

[0028] Figure 4 Another state diagram of the switching circuit for this application;

[0029] Figure 5 A structural schematic diagram of another embodiment of the switching circuit of the present application;

[0030] Figure 6 A schematic diagram of the structure of the electronic device for this application;

[0031] Figure 7 This is a flow chart of a control method of an electronic device of the present application.

[0032] Description of reference numerals:

[0033] 10-Electronic equipment,

[0034] 100-First button,

[0035] 200-Second button,

[0036] 300-switching circuit, 310-first contact, 320-second contact, 330-third contact, 340-first switch, 350-second switch, 360-first control signal terminal, 365-third control signal terminal, 370-second control signal terminal, 380-switch control terminal, 390-analog switch chip, 391-first pin, 392-second pin, 393-third pin, 394-control pin,

[0037] 400-main chip, 410-first control signal interface, 420-second control signal interface,

[0038] 500-Virtual power off button. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0040] The technical solutions disclosed in various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0041] like Figure 1-6 As shown, the present application provides a key circuit of an electronic device 10 and an electronic device, wherein the electronic device 10 can be a smart phone, a tablet computer, an e-book reader, a wearable device (such as a smart watch), an electronic game console, etc. The embodiments of the present application do not limit the specific type of the electronic device 10.

[0042] like Figure 1 As shown, the switching circuit of the electronic device 10 of the present application includes a first button 100 and a switching circuit 300, wherein the first button 100 is a physical button, the electronic device 10 includes a shell, the first button 100 can be set on the side wall of the shell of the electronic device 10, the switching circuit 300 can be set on a circuit board, and the switching circuit 300 includes a first contact 310, a switch unit, a first control signal terminal 360 and a second control signal terminal 370.

[0043] The first button 100 is connected to the first contact 310. Pressing the first button 100 can realize the control of the first contact 310. The first control signal terminal 360 is used to output the first control signal, and the second control signal terminal 370 is used to output the second control signal. The first contact 310 can be selectively connected to one of the first control signal terminal 360 and the second control signal terminal 370 to trigger the first control signal or the second control signal.

[0044] When the electronic device is in the off or locked state, the switch unit connects the first contact 310 and the second control signal terminal 370, and the first button 100 is used to trigger the second control signal; and when the electronic device is in the bright screen state, the switch unit connects the first contact 310 and the first control signal terminal 360, and the first button 100 is used to trigger the first control signal.

[0045] In the embodiment of the present application, the first button 100 is a volume plus button, the first control signal is a volume plus control signal, and the second control signal is a power-on control signal or a screen-on control signal. When the electronic device 10 is in a power-off or screen-locked state, the volume plus button can be used to control the electronic device 10 to power on or turn on the screen. When the electronic device 10 is in the screen-on state, the volume plus button controls the electronic device 10 to increase the volume.

[0046] Alternatively, in another embodiment of the present application, the first button 100 is a volume-down button, the first control signal is a volume-down control signal, the second control signal is a power-on control signal or a screen-on control signal, and when the electronic device 10 is in a power-off or screen-locked state, the volume-down button can be used to control the electronic device 10 to power on or turn on the screen; when the electronic device 10 is in a screen-on state, the volume-down button controls the electronic device 10 to reduce the volume.

[0047] The first button 100 integrates at least two functions. When the electronic device 10 is in one state, the first button 100 can be used to control the electronic device 10 to implement one function. When the electronic device 10 is in another state, the first button 100 can be used to control the electronic device 10 to implement another function. One button can be used for multiple purposes, thereby reducing the number of physical buttons set on the electronic device 10 and enhancing the grip and appearance of the electronic device 10.

[0048] Specifically, when the electronic device 10 is in the off or locked screen state, the power-on control signal or the screen-on control signal can be triggered by pressing the volume-up button or the volume-down button to control the electronic device 10 to power on or turn on the screen. When the electronic device 10 is in the screen-on state, the corresponding volume-up control signal interface or the volume-down control signal can be triggered by pressing the volume-up button or the volume-down button to control the electronic device 10 to achieve the corresponding volume-up or volume-down. In this way, the volume-up button or the volume-down button integrates the function of the power-on button, which can realize both the volume control function and the power-on or screen-on function. The electronic device 10 can cancel the power-on button, simplify the structure of the electronic device, and enhance the grip and appearance of the electronic device 10; at the same time, the number of physical buttons is reduced, thereby reducing the structural gap between the physical buttons and the surrounding shell, thereby reducing the risk of system electrostatic failure of the electronic device.

[0049] Controlling the shutdown or screen-off of the electronic device 10 can be performed when the electronic device 10 is in the screen-on state. Therefore, the shutdown or screen-off of the electronic device 10 can be controlled by operating the display screen of the electronic device 10. For example, a virtual shutdown key can be set for control, or it can be set so that if the display screen is not operated within a preset time period, the electronic device 10 is shut down or the screen is turned off. In this way, the power-on or screen-on function of the power-on button is implemented by the volume-up button or the volume-down button, and the power-off or screen-off function of the power-off button is implemented by the virtual power-off key. The electronic device 10 can completely cancel the settings of the power-on button and the power-off button, further reducing the number of physical buttons.

[0050] In the embodiment of the present application, the electronic device 10 further includes a main chip 400, which is provided with a first control signal interface 410 and a second control signal interface 420. The main chip 400 is provided in a housing, and the first control signal interface 410 and the second control signal interface 420 can be GPIO ports of the main chip 400. The first control signal terminal 360 is connected to the first control signal interface 410, and the second control signal terminal 370 is connected to the second control signal interface 420.

[0051] The first button 100 is selectively connected to one of the first control signal interface 410 and the second control signal interface 420 through the switching circuit 300; when the first button 100 is connected to the first control signal interface 410, pressing the first button 100 can trigger the first control signal at the first control signal interface 410, and control a function of the electronic device 10 through the main chip 400; when the first button 100 is connected to the second control signal, pressing the second button 200 can trigger the second control signal at the second control signal interface 420, and control another function of the electronic device 10 through the main chip 400.

[0052] In this way, the first button 100 integrates at least two functions. When the electronic device 10 is in one state, the first button 100 can be used to control the electronic device 10 to implement one function. When the electronic device 10 is in another state, the first button 100 can be used to control the electronic device 10 to implement another function. One button can be used for multiple purposes, thereby reducing the number of physical buttons set on the electronic device 10 and enhancing the grip and appearance of the electronic device 10.

[0053] In the embodiment of the present application, the switching circuit 300 is used to connect the first button 100 and the second control signal interface 420 when the electronic device 10 is in the off state or the screen-locked state, and to connect the first button 100 and the first control signal interface 410 when the electronic device 10 is in the screen-on state. When the electronic device 10 is in the off state or the screen-locked state, the first button 100 can be used to control the electronic device 10 to implement one function, and when the electronic device 10 is in the screen-on state, the first button 100 controls the electronic device 10 to implement another function.

[0054] In the embodiment of the present application, the first button 100 is a volume plus button, the first control signal interface 410 is a volume plus control signal interface, and the second control signal interface 420 is a power-on control signal or a screen-on control signal interface. When the electronic device 10 is in a power-off or screen-locked state, the volume plus button can be used to control the electronic device 10 to power on or turn on the screen. When the electronic device 10 is in the screen-on state, the volume plus button controls the electronic device 10 to add volume.

[0055] Alternatively, in another embodiment of the present application, the first button 100 is a volume-down button, and the first control signal interface 410 is a volume-down control signal interface; the second control signal interface 420 is a power-on control signal or a screen-on control signal interface. When the electronic device 10 is in a power-off or screen-locked state, the volume-down button can be used to control the electronic device 10 to power on or turn on the screen. When the electronic device 10 is in a screen-on state, the volume-down button controls the electronic device 10 to reduce the volume.

[0056] The electronic device 10 of the present application integrates the function of a power button in the volume up button or the volume down button, which can serve two purposes in one button, thereby solving the problem that a power button must be set in existing electronic devices to realize the power on or screen light up function, thereby eliminating the setting of the power button of the electronic device 10 and enhancing the grip and appearance of the electronic device 10; at the same time, the number of physical buttons is reduced, thereby reducing the structural gap between the physical buttons and the surrounding shell, thereby reducing the risk of system electrostatic failure of the electronic device 10.

[0057] The shutdown or screen extinguishing of the electronic device 10 of the present application can be controlled by operating the display screen of the electronic device 10. For example, a virtual shutdown key can be set for control, or it can be set so that if the display screen is not operated within a preset time period, the electronic device 10 is shut down or the screen is extinguished.

[0058] Preferably, if Figure 6As shown, the key circuit of the electronic device 10 of the present application further includes a virtual power-off key 500, which is set in a drop-down menu of the electronic device 10. The virtual power-off key 500 is used to control the electronic device 10 to shut down or turn off the screen when the electronic device 10 is in a screen-on state. When the electronic device 10 of the present application is in a screen-on state, the electronic device 10 can be controlled to shut down or turn off the screen by operating the virtual power-off key 500 in the drop-down menu.

[0059] In this way, the power-on or screen-on function of the power-on button is realized by the volume-up button or the volume-down button, and the power-off or screen-off function of the power-off button is realized by the virtual power-off button 500, and the electronic device 10 can completely cancel the settings of the power-on button and the power-off button. The screen-on function can be realized by short pressing (pressing for less than 3 seconds) the volume-up button or the volume-down button used as the power-on button, and the power-off function can be realized by long pressing (pressing for more than 3 seconds) the volume-up button or the volume-down button used as the power-on button.

[0060] Furthermore, if Figure 2-4 As shown, the switch unit includes a first switch 340 and a second switch 350. The first switch 340 is connected between the first contact 310 and the second control signal terminal 370, and the second switch 350 is connected between the first contact 310 and the first control signal terminal 360. The conduction of the first contact 310 and one of the first control signal terminal 360 and the second control signal terminal 370 is controlled by turning on and off the first switch 340 and the second switch 350.

[0061] Specifically, when the electronic device 10 is in the shutdown or screen-locked state, the first switch 340 is closed and the second switch 350 is opened; when the electronic device 10 is in the screen-on state, the second switch 350 is closed and the first switch 340 is opened.

[0062] In the embodiment of the present application, in order to realize the control of the first switch 340 and the second switch 350, the switching circuit 300 also includes a switch control terminal 380, and the switch control terminal 380 is respectively connected to the first switch 340 and the second switch 350. When the electronic device 10 is in the off state or the screen lock state, the switch control terminal 380 can control the first switch 340 to close and control the second switch 350 to open. When the electronic device 10 is in the screen light state, the switch control terminal 380 can control the second switch 350 to close and control the first switch 340 to open.

[0063] Specifically, when the electronic device 10 is in the off or locked state, the switch control terminal 380 is used to input a first input signal, and the first input signal is used to control the first switch 340 to close and control the second switch 350 to open. When the electronic device 10 is in the bright screen state, the switch control terminal 380 is used to input a second input signal, and the second input signal is used to control the second switch 350 to close and control the first switch 340 to open.

[0064] The switch control terminal 380 can be connected to the display screen IO voltage of the electronic device 10. The display screen IO voltage is the power supply for the display screen. When the electronic device is in the shutdown or screen lock state, the display screen is not powered, so the display screen IO voltage signal is a low-level signal, the first input signal is a low-level signal, the first switch 340 is controlled to be closed, and the second switch 350 is controlled to be disconnected. When the electronic device is in the screen light state, the display screen is powered, so the display screen IO voltage signal is a high-level signal, the second input signal is a high-level signal, the second switch 350 is controlled to be closed, and the first switch 340 is controlled to be disconnected. The power supply signal when the electronic device is in the shutdown, screen lock or screen light state is used to control the closing and disconnection of the switch.

[0065] In the embodiment of the present application, the first switch 340 is a first triode, the second switch 350 is a second triode, the emitter of the first triode is connected to the first contact 310, the collector of the first triode is connected to the second control signal terminal 370, the base of the first triode is connected to the display screen IO voltage, the emitter of the second triode is connected to the first contact 310, the base of the second triode is connected to the display screen IO voltage, the collector of the second triode is connected to the first control signal terminal 360, and a third triode is further arranged between the base of the first triode and the display screen IO voltage, the base of the third triode is connected to the display screen IO voltage, the collector of the third triode is connected to the base of the first triode, the emitter of the third triode is grounded, and the base of the first triode is also connected to the first control signal terminal 360.

[0066] like Figure 3-4As shown, when the electronic device 10 is in the off or locked state, the display screen is not powered, the display screen IO voltage signal is a low level signal, the first input signal is a low level signal, the second transistor and the third transistor are cut off, the first control signal terminal 360 is a high level signal, and the first transistor is closed. At this time, the first contact 310 is connected to the second control signal terminal 370. When the first button 100 is pressed, the first contact 310 triggers the second control signal of the second control signal terminal 370, that is, the power-on control signal or the screen-on control signal, so that the electronic device 10 is turned on or The screen is on; when the electronic device 10 is in the screen-on state, the display screen is powered, the display screen IO voltage signal is a high-level signal, the second input signal is a high-level signal, the second transistor and the third transistor are closed, and when the third transistor is closed, the base of the first transistor is grounded, and the first transistor is cut off. At this time, the first contact 310 is connected to the first control signal terminal 360. When the first button 100 is pressed, the first contact 310 triggers the first control signal of the first control signal terminal 360, that is, the volume up or volume down control signal, so that the volume of the electronic device 10 is increased or decreased.

[0067] In this embodiment, the first switch 340 and the second switch 350 are described by taking a transistor as an example, but the present application is not limited to transistors. The first switch 340 and the second switch 350 can also be other switching devices as long as they can control the conduction and disconnection of the first contact 310 and the first control signal terminal 360 and the second control signal terminal 370.

[0068] In another embodiment of the present application, Figure 5 As shown, the switch unit is an analog switch chip 390 , and the analog switch chip 390 is used to control the first contact 310 to be conductive with one of the first control signal terminal 360 and the second control signal terminal 370 .

[0069] Specifically, as shown in the figure, the analog switch chip 390 includes a first pin 391, a second pin 392 and a third pin 393. The first pin 391 is connected to the first contact 310, the second pin 392 is connected to the second control signal terminal 370, and the third pin 393 is connected to the first control signal terminal 360. When the electronic device 10 is in the off or locked state, the first pin 391 is connected to the second pin 392, and the first pin 391 is disconnected from the third pin 393, so that the first contact 310 is connected to the second control signal terminal 370. When the electronic device 10 is in the bright screen state, the first pin 391 is connected to the third pin 393, and the first pin 391 is disconnected from the second pin 392, so that the first contact 310 is connected to the first control signal terminal 360.

[0070] Furthermore, the analog switch chip 390 also includes a control pin 394, the input of the control pin 394 is used to selectively connect the first pin 391 to one of the second pin 392 and the third pin 393, and when the electronic device 10 is in the off or locked state, the control pin 394 is used to input a first input signal, and the first input signal is used to control the first pin 391 to be connected to the second pin 392; when the electronic device 10 is in the bright screen state, the control pin 394 is used to input a second input signal, and the second input signal is used to control the first pin 391 to be connected to the third pin 393.

[0071] The control pin 394 can be connected to the display screen IO voltage of the electronic device 10. The display screen IO voltage is the power supply for the display screen. When the electronic device is in the shutdown or locked screen state, the display screen is not powered, so the display screen IO voltage signal is a low-level signal, and the first input signal is a low-level signal, which controls the first pin 391 to be connected with the second pin 392, and the first pin 391 to be disconnected from the third pin 393. At this time, the first contact 310 is connected with the second pin 392. When the first button 100 is pressed, the first contact 310 controls the second control signal of the second pin 392, that is, the power-on control signal or the screen-on control signal, so that the electronic device 10 is turned on or the screen is turned on; when the electronic device 10 is in the screen-on state, the display screen is powered, the display screen IO voltage signal is a high-level signal, and the second input signal is a high-level signal, which controls the first pin 391 to be connected with the third pin 393, and the first pin 391 to be disconnected from the second pin 392. At this time, the first contact 310 is connected to the third pin 393. When the first button 100 is pressed, the first contact 310 controls the first control signal of the third pin 393, that is, the volume up or volume down control signal, so that the volume of the electronic device 10 is increased or decreased.

[0072] In the embodiment of the present application, the key circuit of the electronic device 10 also includes a second key 200, which is a physical key. The second key 200 can be set on the side wall of the shell. The switching circuit 300 also includes a second contact 320 and a third control signal terminal 365. The second key 200 is connected to the second contact 320, and the second contact 320 is connected to the third control signal terminal 365. The third control signal terminal 365 is used to output a third control signal. The second key 200 triggers and controls the third control signal.

[0073] The main chip 400 is also provided with a third control signal interface, which may be a GPIO port of the main chip 400 , and the third control signal terminal 365 is connected to the third control signal interface.

[0074] The switching circuit also includes a third contact 330, which is grounded. The third contact 330 has no corresponding physical button. The third contact 330 is used in conjunction with the first contact 310 and the second contact 320. For example, pressing the first button 100 triggers the first contact 310. At this time, the first contact 310 and the third contact 330 are connected. Since the third contact 330 is grounded, when the first contact 310 and the third contact 330 are connected, the level signal of the first contact 310 is pulled down, thereby controlling the first control signal terminal or the second control signal terminal. Similarly, pressing the second button 200 triggers the second contact 320. At this time, the second contact 320 and the third contact 330 are connected. Since the third contact 330 is grounded, when the second contact 320 and the third contact 330 are connected, the level signal of the second contact 320 is pulled down, thereby controlling the third control signal terminal.

[0075] In this embodiment, the first button 100 is a volume plus button, the second button 200 is a volume minus button, the first control signal is a volume plus control signal, the first control signal interface 410 is a volume plus control signal interface, the third control signal is a volume minus control signal, the third control signal interface is a volume minus control signal interface, the second control signal is a power-on control signal or a screen-on control signal, and the second control signal interface 420 is a power-on control signal or a screen-on control signal interface. When the electronic device 10 is in a power-off or screen-locked state, the volume plus button can be used to control the electronic device 10 to power on or turn on the screen, and the volume minus button can be used to control the electronic device 10 to turn on the volume, and when the electronic device 10 is in the screen-on state, the volume plus button controls the electronic device 10 to add volume, and the volume minus button controls the electronic device 10 to reduce volume. When the electronic device 10 is in the screen-on state, the volume plus button controls the electronic device 10 to add volume, and the volume minus button controls the electronic device 10 to reduce volume.

[0076] Alternatively, the first button 100 is a volume-down button, the second button 200 is a volume-up button, the first control signal is a volume-down control signal, the first control signal interface 410 is a volume-down control signal interface, the third control signal is a volume-up control signal, the third control signal interface is a volume-up control signal interface, the second control signal is a power-on control signal or a screen-on control signal, the second control signal interface 420 is a power-on control signal or a screen-on control signal interface, when the electronic device 10 is in a powered-off or screen-locked state, the volume-down button can be used to control the electronic device 10 to power on or turn on the screen, and the volume-up button can be used to control the electronic device 10 to add volume, and when the electronic device 10 is in a screen-on state, the volume-down button controls the electronic device 10 to reduce the volume, and the volume-up button controls the electronic device 10 to add volume.

[0077] Among them, Figure 2-5In the figure, J1, J2, and J3 represent springs or pad contacts; PHONE_ON_N, VOL_KEY1, and VOL_KEY2 represent power-on control signals or screen-on control signals, volume-up control signals, and volume-down control signals, respectively; LCM_VDDI is the display screen IO voltage; Q1, Q2, and Q3 represent transistors; ON represents that the transistor is closed, and OFF represents that the transistor is cut off; H represents a high-level signal, and L represents a low-level signal.

[0078] like Figure 7 As shown, the present application also provides a control method of an electronic device 10, the control method comprising:

[0079] S100, receiving a user's pressing operation on the first button 100;

[0080] S210, when the electronic device 10 is in a powered-off or locked-screen state, in response to a pressing operation, controlling the electronic device 10 to power on or light up the screen;

[0081] Alternatively, S220, when the electronic device 10 is in the screen-on state, in response to the pressing operation, the volume of the electronic device 10 is controlled to increase or decrease.

[0082] After the above S210, the control method of the present application further includes:

[0083] S310, receiving a user's pressing operation on the first button 100;

[0084] S320 . In response to the pressing operation, control the electronic device 10 to increase or decrease the volume.

[0085] Furthermore, after the above S210 or S220 or S320, the control method of the present application further includes:

[0086] Receive a user's pressing operation on the virtual power off key 500; in response to the pressing operation, control the electronic device 10 to shut down or turn off the screen. Specifically, the screen can be turned off by short pressing (pressing for less than 3 seconds) or single-clicking the virtual power off key 500, and the power off control can be achieved by long pressing (pressing for more than 3 seconds) or double-clicking the virtual power off key 500.

[0087] The control method of the present application can control the electronic device 10 to turn on or light up the screen through the first button 100, that is, the volume up button or the volume down button, when the electronic device 10 is in the off or locked state, and control the electronic device 10 to increase the volume or decrease the volume when the electronic device 10 is in the bright screen state. The electronic device 10 does not need to be separately provided with an independent power-on button, thereby enhancing the grip and appearance of the electronic device 10; at the same time, the number of physical buttons is reduced, thereby reducing the structural gap between the physical buttons and the surrounding shell, thereby reducing the risk of system electrostatic failure of the electronic device 10.

[0088] It should be noted that the control method provided in the embodiment of the present application can be executed by a control device, or a control module in the control device for executing the loading control method. In the embodiment of the present application, the control method provided in the embodiment of the present application is described by taking the control device executing the loading control method as an example.

[0089] An embodiment of the present application also provides a control device for an electronic device, including a receiving module and a control module.

[0090] The receiving module is used to receive a pressing operation of the first button 100 by a user.

[0091] The control module is used to control the electronic device to turn on or light up the screen in response to a press operation when the electronic device is in a powered-off or locked state; or to control the electronic device to increase or decrease the volume in response to a press operation when the electronic device is in a light-screen state.

[0092] The control device in the embodiment of the present application may be a component, an integrated circuit, or a chip in an electronic device. Electronic devices include mobile electronic devices and non-mobile electronic devices.

[0093] The control device provided in the embodiment of the present application can achieve Figure 7 To avoid repetition, the various processes in the control method will not be described here.

[0094] The control device of the electronic device using the present embodiment can control the electronic device to turn on or light up the screen through the first button, i.e., the volume up button or the volume down button, when the electronic device is in the off or locked state, and control the volume up or volume down of the electronic device when the electronic device is in the bright screen state. One button can serve two purposes, and the electronic device does not need to be separately provided with an independent power-on button, thereby enhancing the grip and appearance of the electronic device; at the same time, the number of physical buttons is reduced, thereby reducing the structural gap between the physical buttons and the surrounding shell, thereby reducing the risk of system electrostatic failure of the electronic device.

[0095] The embodiment of the present application also provides an electronic device, including a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction is executed by the processor to implement each process of the above control method embodiment. The same technical effect can be achieved, and it will not be described here to avoid repetition.

[0096] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.

[0097] An embodiment of the present application also provides a readable storage medium, on which programs or instructions are stored. When the programs or instructions are executed by a processor, the various processes of the above-mentioned control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0098] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0099] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0100] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0101] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0102] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0103] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A key circuit of an electronic device, It is characterized in that comprising a first button and a switching circuit, The switching circuit includes a first contact, a switch unit, a first control signal terminal, a second control signal terminal and a switch control terminal. The first button is connected to the first contact point, the first control signal terminal is used to output a first control signal, the second control signal terminal is used to output a second control signal, and the switch control terminal is connected to the display screen IO voltage of the electronic device; When the electronic device is in a shutdown or screen-locked state, the display screen IO voltage signal is a low-level signal, the switch unit conducts the first contact and the second control signal end, and the first button is used to trigger the second control signal; When the electronic device is in a screen-on state, the display screen IO voltage signal is a high-level signal, the switch unit conducts the first contact and the first control signal end, and disconnects the first contact and the second control signal end, and the first button is used to trigger the first control signal. Wherein, the first button is a volume plus button, and the first control signal is a volume plus control signal, or the first button is a volume minus button, and the first control signal is a volume minus control signal, The second control signal is a power-on control signal or a screen-on control signal; The electronic device is provided with a virtual power-off key, and the virtual power-off key is used to control the electronic device to shut down or turn off the screen when the electronic device is in a screen-on state.

2. The key circuit of the electronic device according to claim 1, It is characterized in that The switch unit includes a first switch and a second switch, The first switch is connected between the first contact and the second control signal terminal, and the second switch is connected between the first contact and the first control signal terminal. When the electronic device is in a powered-off or screen-locked state, the first switch is closed and the second switch is opened; when the electronic device is in a screen-on state, the second switch is closed and the first switch is opened.

3. The key circuit of the electronic device according to claim 2, It is characterized in that The switch control end is connected to the first switch and the second switch respectively. When the electronic device is in a shutdown or screen-locked state, the switch control end is used to input a first input signal, and the first input signal is used to control the first switch to be closed, and the second switch to be opened. When the electronic device is in a screen-on state, the switch control end is used to input a second input signal, and the second input signal is used to control the second switch to be closed, and the first switch to be opened.

4. The key circuit of the electronic device according to claim 3, It is characterized in that The first switch is a first transistor, the second switch is a second transistor, The emitter of the first transistor is connected to the first contact, the collector of the first transistor is connected to the second control signal terminal, the base of the first transistor is connected to the display screen IO voltage, the emitter of the second transistor is connected to the first contact, the base of the second transistor is connected to the display screen IO voltage, and the collector of the second transistor is connected to the first control signal terminal, A third transistor is further provided between the base of the first transistor and the display screen IO voltage, the base of the third transistor is connected to the display screen IO voltage, the collector of the third transistor is connected to the base of the first transistor, and the emitter of the third transistor is grounded. The base of the first transistor is also connected to the first control signal terminal.

5. The key circuit of the electronic device according to claim 1, It is characterized in that The switch unit is an analog switch chip. The analog switch chip includes a first pin, a second pin and a third pin, the first pin is connected to the first contact, the second pin is connected to the second control signal terminal, and the third pin is connected to the first control signal terminal. When the electronic device is in a powered-off or screen-locked state, the first pin is connected to the second pin, and the first pin is disconnected from the third pin; when the electronic device is in a screen-on state, the first pin is connected to the third pin, and the first pin is disconnected from the second pin.

6. The key circuit of the electronic device according to claim 5, It is characterized in that The analog switch chip further includes a control pin, the control pin is connected to the switch control terminal, and the input of the control pin is used to selectively conduct the first pin with one of the second pin and the third pin. When the electronic device is in a powered-off or screen-locked state, the control pin is used to input a first input signal, and the first input signal is used to control the first pin and the second pin to be conducted; when the electronic device is in a screen-on state, the control pin is used to input a second input signal, and the second input signal is used to control the first pin and the third pin to be conducted.

7. The key circuit of the electronic device according to claim 1, It is characterized in that It also includes a second button, and the switching circuit also includes a second contact point and a third control signal terminal, The second button is connected to the second contact, the third control signal terminal is used to output a third control signal, and the second contact is connected to the third control signal terminal. The second button is used to trigger the third control signal. Among them, the first button is a volume plus button, the second button is a volume minus button, the first control signal is a volume plus control signal, and the third control signal is a volume minus control signal, or the first button is a volume minus button, the second button is a volume plus button, the first control signal is a volume minus control signal, and the third control signal is a volume plus control signal.

8. The key circuit of the electronic device according to claim 1, It is characterized in that The virtual power off key is arranged in a drop-down menu of the electronic device.

9. An electronic device, It is characterized in that The invention comprises the key circuit described in any one of claims 1 to 8.

10. A method for controlling an electronic device, It is characterized in that The electronic device is the electronic device according to claim 9, and the control method comprises: Receiving a user's pressing operation on a first button; When the electronic device is in a powered-off or locked-screen state, in response to the pressing operation, controlling the electronic device to be powered on or to light up the screen; Alternatively, when the electronic device is in a screen-on state, in response to the pressing operation, the volume of the electronic device is controlled to be increased or decreased.

11. The method for controlling an electronic device according to claim 10, It is characterized in that When the electronic device is in a power-off or screen-locked state, after controlling the electronic device to power on or light up the screen in response to the pressing operation, the control method further includes: Receiving a user's pressing operation on a first button; In response to the pressing operation, the volume of the electronic device is controlled to increase or decrease.

12. A control device for an electronic device, It is characterized in that The electronic device is the electronic device according to claim 9, and the control device comprises: A receiving module, used to receive a user's pressing operation on a first button; A control module, configured to control the electronic device to turn on or light up the screen in response to the pressing operation when the electronic device is in a powered-off or locked-screen state; Alternatively, when the electronic device is in a screen-on state, in response to the pressing operation, the volume of the electronic device is controlled to be increased or decreased.

13. An electronic device, It is characterized in that The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the control method as claimed in claim 10 or 11.

Citation Information

Patent Citations

  • Control device for mobile terminal and press key thereof

    CN101917502A