CN107544651B - Key assembly and device control method - Google Patents

Key assembly and device control method Download PDF

Info

Publication number
CN107544651B
CN107544651B CN201610497577.7A CN201610497577A CN107544651B CN 107544651 B CN107544651 B CN 107544651B CN 201610497577 A CN201610497577 A CN 201610497577A CN 107544651 B CN107544651 B CN 107544651B
Authority
CN
China
Prior art keywords
switch
state
circuit
key
adjusting
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
CN201610497577.7A
Other languages
Chinese (zh)
Other versions
CN107544651A (en
Inventor
底浩
石新明
谷务成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610497577.7A priority Critical patent/CN107544651B/en
Publication of CN107544651A publication Critical patent/CN107544651A/en
Application granted granted Critical
Publication of CN107544651B publication Critical patent/CN107544651B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The disclosure relates to a key assembly, and belongs to the technical field of electronics. The key assembly comprises an entity key, a switch module and a control module, wherein the control module comprises a parameter adjusting circuit and a power on/off circuit; the switch module is in a first switch state when a first part of the entity key is pressed, and the on-off circuit is in an on state or an off state under the control of the switch module in the first switch state; when the electronic equipment is started, the switch module is in a second switch state when the second part of the entity key is pressed, and the parameter adjusting circuit is in a first adjusting state under the control of the switch module in the second switch state; the switch module is in a third switch state when the third part of the entity key is pressed, and the parameter adjusting circuit is in a second adjusting state under the control of the switch module in the third switch state, so that the problem that the electronic equipment shell is complex to manufacture due to the fact that the electronic equipment comprises two entity keys is solved, and the manufacturing efficiency of the electronic equipment shell is improved.

Description

Key assembly and device control method
Technical Field
The present disclosure relates to the field of electronic technologies, and in particular, to a key assembly and an apparatus control method.
Background
With the development of electronic devices, there are fewer and fewer physical keys configured for the electronic devices, and at present, the physical keys configured for the electronic devices are generally a volume key and an on-off key, and the volume key and the on-off key are respectively and independently configured at different positions of a housing of the electronic device. Wherein, the volume key is used for adjusting the volume of the audio signal or other parameters, such as the zooming-in or zooming-out ratio of the image when a camera in the electronic equipment shoots an object; the power-on/off key is generally used to turn on or off the electronic device.
Disclosure of Invention
To solve the problems in the related art, the present disclosure provides a key assembly and an apparatus control method.
According to a first aspect of the embodiments of the present disclosure, there is provided a key assembly, which includes an entity key, a switch module and a control module, wherein the control module includes a parameter adjusting circuit and a power on/off circuit, the parameter adjusting circuit is used for adjusting parameters, and the power on/off circuit is used for controlling on/off of an electronic device on which the key assembly is installed;
the switch module is in a first switch state when a first part of the entity key is pressed, the on-off circuit is in an on state or an off state under the control of the switch module in the first switch state, the on-off circuit in the on state is used for turning on the electronic equipment, and the on-off circuit in the off state is used for turning off the electronic equipment;
when the electronic equipment is started, the switch module is in a second switch state when the second part of the entity key is pressed, and the parameter adjusting circuit is in a first adjusting state under the control of the switch module in the second switch state;
when the electronic equipment is started, the switch module is in a third switch state when the third part of the physical key is pressed, and the parameter adjusting circuit is in a second adjusting state under the control of the switch module in the third switch state, wherein the second adjusting state is opposite to the adjusting direction of the first adjusting state on the parameter.
Optionally, the switch module includes a first switch and a second switch, the first portion of the physical key is opposite to the first switch and the second switch, the second portion of the physical key is opposite to the first switch, the third portion of the physical key is opposite to the second switch, and the first end of the second switch is connected to the second end of the first switch;
the parameter adjusting circuit comprises a first adjusting circuit and a second adjusting circuit, and the adjusting directions of the parameters by the first adjusting circuit and the second adjusting circuit are opposite;
the first end of the first regulating circuit is connected with the first end of the first switch, and the second end of the first regulating circuit is connected with the second end of the first switch; the first end of the second regulating circuit is connected with the first end of the second switch, and the second end of the second regulating circuit is connected with the second end of the second switch; the first end of the switching on/off circuit is connected with the first end of the first switch, and the second end of the switching on/off circuit is connected with the second end of the second switch;
the first switch state is a state when the first switch and the second switch are both closed, and the opening state or the closing state is a state when the on-off circuit is conducted;
the second switch state is a state when the first switch is closed and the second switch is open, and the first regulation state is a state when the first regulation circuit is on;
the third switch state is when the first switch is off and the second switch is on, and the second adjustment state is when the second adjustment circuit is on.
Optionally, the switch module includes a first switch and a second switch, the first portion of the physical key is opposite to the second switch, the second portion of the physical key is opposite to the first switch, the third portion of the physical key is opposite to the first switch and the second switch, and the first end of the second switch is connected to the second end of the first switch;
the parameter adjusting circuit comprises a first adjusting circuit and a second adjusting circuit, and the adjusting directions of the parameters by the first adjusting circuit and the second adjusting circuit are opposite;
the first end of the first regulating circuit is connected with the first end of the first switch, and the second end of the first regulating circuit is connected with the second end of the first switch; the first end of the second regulating circuit is connected with the first end of the first switch, and the second end of the second regulating circuit is connected with the second end of the second switch; the first end of the switching on/off circuit is connected with the first end of the second switch, and the second end of the switching on/off circuit is connected with the second end of the second switch;
the first switch state is the state when the first switch is off and the second switch is off, and the on state or the off state is the state when the on-off circuit is on
The second switch state is a state when the first switch is closed and the second switch is open, and the first regulation state is a state when the first regulation circuit is on;
the third switching state is a state when both the first switch and the second switch are closed, and the second adjustment state is a state when the second adjustment circuit is on.
Optionally, the first switch and the second switch are dome switches.
Optionally, the switch module includes a first switch, a second switch and a third switch, the first portion of the physical key is opposite to the third switch, the second portion of the physical key is opposite to the first switch, the third portion of the physical key is opposite to the second switch, the first end of the third switch is connected to the second end of the second switch, and the first end of the second switch is connected to the second end of the first switch;
the parameter adjusting circuit comprises a first adjusting circuit and a second adjusting circuit, and the adjusting directions of the parameters by the first adjusting circuit and the second adjusting circuit are opposite;
the first end of the first regulating circuit is connected with the first end of the first switch, and the second end of the first regulating circuit is connected with the second end of the first switch; the first end of the second regulating circuit is connected with the first end of the second switch, and the second end of the second regulating circuit is connected with the second end of the second switch; the first end of the switching circuit is connected with the first end of the third switch, and the second end of the switching circuit is connected with the second end of the third switch;
the first switch state is a state when the third switch is closed and the first switch and the second switch are disconnected, and the opening state or the closing state is a state when the on-off circuit is conducted;
the second switch state is a state when the first switch is closed and the second switch and the third switch are opened, and the first adjusting state is a state when the first adjusting circuit is turned on;
the third switch state is a state when the second switch is closed and the first switch and the third switch are opened, and the second adjustment state is a state when the second adjustment circuit is turned on.
Optionally, the switch module includes a first switch, a second switch and a third switch, the first portion of the physical key is opposite to the third switch, the second portion of the physical key is opposite to the first switch, the third portion of the physical key is opposite to the second switch, the first end of the third switch is connected to the second end of the first switch, and the second end of the third switch is connected to the first end of the second switch;
the parameter adjusting circuit comprises a first adjusting circuit and a second adjusting circuit, and the adjusting directions of the parameters by the first adjusting circuit and the second adjusting circuit are opposite;
the first end of the first regulating circuit is connected with the first end of the first switch, and the second end of the first regulating circuit is connected with the second end of the first switch; the first end of the second regulating circuit is connected with the first end of the second switch, and the second end of the second regulating circuit is connected with the second end of the second switch; the first end of the switching circuit is connected with the first end of the third switch, and the second end of the switching circuit is connected with the second end of the third switch;
the first switch state is the state when the third switch is closed and the first switch and the second switch are disconnected, and the opening state or the closing state is the state when the on-off circuit is conducted
The second switch state is a state when the first switch is closed and the second switch and the third switch are opened, and the first adjusting state is a state when the first adjusting circuit is turned on;
the third switch state is a state when the second switch is closed and the first switch and the third switch are opened, and the second adjustment state is a state when the second adjustment circuit is turned on.
Optionally, the solid key is made of a flexible material; the first switch, the second switch and the third switch are elastic switches.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus control method including:
receiving a first operation acting on a first part of the entity key, and opening or closing the electronic equipment provided with the key assembly according to the first operation;
receiving a second operation acting on a second part of the entity key when the electronic equipment is started according to the first operation, and adjusting parameters according to the second operation; or,
and when the electronic equipment is started according to the first operation, receiving a third operation acting on a third part of the entity key, and adjusting the parameter according to the third operation, wherein the adjusting direction of the parameter according to the third operation is opposite to the adjusting direction of the parameter according to the second operation.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the parameter adjusting circuit and the on-off circuit are controlled by one entity key, so that the electronic equipment does not need to be provided with the entity key for controlling the parameter adjusting circuit and the entity key for controlling the on-off circuit, the problem that the electronic equipment needs to be provided with two holes on the shell for the two entity keys, the shell of the electronic equipment is complex to manufacture is solved, and the effect of improving the manufacturing efficiency of the shell of the electronic equipment is achieved.
The three switches are arranged in the switch module and are respectively controlled by the three parts of the entity key, so that the accuracy of the switch module responding to the pressing operation when the entity key is pressed is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a block diagram illustrating a key assembly in accordance with an exemplary embodiment.
Fig. 2 is a block diagram illustrating a key assembly in accordance with another exemplary embodiment.
Fig. 3 is a block diagram illustrating a key assembly in accordance with another exemplary embodiment.
Fig. 4 is a block diagram illustrating a key assembly in accordance with another exemplary embodiment.
Fig. 5 is a block diagram illustrating a key assembly in accordance with another exemplary embodiment.
FIG. 6 is a flow chart illustrating a method of device control according to an exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus with a key assembly installed in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of devices consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a block diagram illustrating a key assembly for use in an electronic device such as, but not limited to, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, etc., according to one exemplary embodiment.
The key assembly includes one physical key 110, a switch module 120, and a control module 130.
The control module 130 includes a parameter adjusting circuit 131 and a switching circuit 132, the parameter adjusting circuit 131 is used for adjusting parameters, and the switching circuit 132 is used for controlling the opening and closing of the electronic device mounted with the key assembly.
Entity key 110 includes three parts: a first portion 111, a second portion 112, and a third portion 113;
the switch module 120 is in a first switch state when the first portion 111 of the physical key 110 is pressed, the on-off circuit 132 is in an on state or an off state under the control of the switch module 120 in the first switch state, the on-off circuit 132 in the on state is used for turning on the electronic device, and the on-off circuit 132 in the off state is used for turning off the electronic device;
when the electronic device is turned on, the switch module 120 is in the second switch state when the second portion 112 of the physical key 110 is pressed, and the parameter adjusting circuit 131 is in the first adjusting state under the control of the switch module 120 in the second switch state;
when the electronic device is turned on, the switch module 120 is in a third switch state when the third portion 113 of the physical key 110 is pressed, and the parameter adjusting circuit 131 is in a second adjusting state under the control of the switch module 120 in the third switch state, wherein the second adjusting state is opposite to the first adjusting state in the adjusting direction of the parameter.
In summary, according to the key assembly provided by the present disclosure, by combining the parameter adjusting circuit and the on-off circuit, the electronic device can control the parameter adjusting circuit and the on-off circuit through one entity key, and thus, the housing of the electronic device does not need to open two holes for the entity key for controlling the parameter adjusting circuit and the entity key for controlling the on-off circuit to pass through, thereby solving the problem that the housing of the electronic device is complicated to manufacture due to the fact that the electronic device is respectively configured with the entity key for controlling the parameter adjusting circuit and the entity key for controlling the on-off circuit, and two holes need to be opened on the housing of the electronic device for the two entity keys when the two entity keys are different in position, and achieving the effect of improving the manufacturing efficiency of the housing of the electronic device.
Fig. 2 is a block diagram illustrating a key assembly for use in an electronic device in accordance with another exemplary embodiment.
The key assembly includes one physical key 210, a switch module 220, and a control module 230.
Entity key 210 includes a first portion 211, a second portion 212, and a third portion 213. The first portion 211 may be a portion between the second portion 212 and the third portion 213, or may include the second portion 212 and the third portion 213, which is not limited in this embodiment.
The switch module 220 includes a first switch 221 and a second switch 222, a first portion 211 of the physical key 210 is opposite to the first switch 221 and the second switch 222, a second portion 212 of the physical key 210 is opposite to the first switch 221, a third portion 213 of the physical key 210 is opposite to the second switch 222, and a first end of the second switch 222 is connected to a second end of the first switch 221. In practical implementation, the first switch 221 and the second switch 222 may be dome switches.
The control module 230 includes a parameter adjustment circuit 231 and a power on/off circuit 232. The parameter adjusting circuit 231 is used for adjusting a parameter, and the parameter adjusting circuit 231 includes a first adjusting circuit 233 and a second adjusting circuit 234, where the first adjusting circuit 233 and the second adjusting circuit 234 adjust the parameter in opposite directions, such as: the first adjustment circuit 233 is used to adjust the parameter up, and the second adjustment circuit 234 is used to adjust the parameter down. The switch circuit 232 is used to control the turning on and off of the electronic device to which the key assembly is mounted.
In a first implementation manner, a first terminal of the first adjusting circuit 233 is connected to a first terminal of the first switch 221, and a second terminal of the first adjusting circuit 233 is connected to a second terminal of the first switch 221; a first terminal of the second regulating circuit 234 is connected to a first terminal of the second switch 222, and a second terminal of the second regulating circuit 234 is connected to a second terminal of the second switch 222; a first terminal of the switching circuit 232 is connected to a first terminal of the first switch 221, and a second terminal of the switching circuit 232 is connected to a second terminal of the second switch 222.
Since the first portion 211 is opposite to the first switch 221 and the second switch 222, when the first portion 211 of the physical key 210 is pressed, which is equivalent to the second portion 212 and the third portion 213 are both pressed, the first switch 221 and the second switch 222 are both closed, the on-off circuit 232 is turned on, and at this time, the switch module 220 is in the first switch state, and the on-off circuit 232 is in the on state or the off state.
The on-off circuit 232 is in an on state or an off state, which means that before the switch module 220 is in the first on-off state, if the on-off circuit 232 is in the on state, when the switch module 220 is in the first on-off state, the on-off circuit 232 is in the off state; if the switch circuit 232 is in the off state, the switch circuit 232 is in the on state when the switch module 220 is in the first switch state.
When the electronic device is turned on, since the second portion 212 is opposite to the first switch 221 and the third portion 213 is opposite to the second switch 222, when the second portion 212 of the physical key 210 is pressed and the third portion 213 is not pressed, the first switch 221 is closed and the second switch 222 is opened, the first adjusting circuit 233 is turned on, and at this time, the switch module 220 is in the second switch state and the parameter adjusting circuit 231 is in the first adjusting state. When the second portion 212 of the physical key 210 is not pressed and the third portion 213 is pressed, the first switch 221 is opened and the second switch 222 is closed, the second adjusting circuit 234 is turned on, and at this time, the switch module 220 is in the third switch state and the parameter adjusting circuit 231 is in the second adjusting state.
Alternatively, the switching circuit 232 may be interchanged with the first regulation circuit 233; alternatively, the switching circuit 232 and the second adjusting circuit 234 may interchange positions, and the positions of the switching circuit 232, the first adjusting circuit 233 and the second adjusting circuit 234 are not limited in this embodiment. Referring to fig. 3, fig. 3 illustrates an example of interchanging positions of the on-off circuit 232 and the second adjusting circuit 234, in which the physical key 210 includes a first portion 211, a second portion 212 and a third portion 213. The third portion 213 may be a portion between the first portion 211 and the second portion 212, or may include the first portion 211 and the second portion 212. The first portion 211 is opposite to the second switch 222, the second portion 212 is opposite to the first switch 221, and the third portion 213 is opposite to the first switch 221 and the second switch 222.
In a second implementation manner, a first terminal of the first adjusting circuit 233 is connected to a first terminal of the first switch 221, and a second terminal of the first adjusting circuit 233 is connected to a second terminal of the first switch 221; a first terminal of the second regulating circuit 234 is connected to a first terminal of the first switch 221, and a second terminal of the second regulating circuit 234 is connected to a second terminal of the second switch 222; a first terminal of the switching circuitry 232 is coupled to a first terminal of the second switch 222 and a second terminal of the switching circuitry 232 is coupled to a second terminal of the second switch 222.
Since the first portion 211 is opposite to the second switch 222, when the first portion 211 of the physical key 210 is pressed, the first switch 221 is opened and the second switch 222 is closed, the on/off circuit 232 is turned on, and at this time, the switch module 220 is in the first switch state and the on/off circuit 232 is in the on state or the off state.
When the electronic device is turned on, since the second portion 212 is opposite to the first switch 221, when the second portion 211 of the physical key 210 is pressed, the first switch 221 is closed and the second switch 222 is opened, the first adjusting circuit 233 is turned on, and at this time, the switch module 220 is in the second switch state and the parameter adjusting circuit 231 is in the first adjusting state.
When the electronic device is turned on, since the third portion 213 is opposite to the first switch 221 and the second switch 222, when the third portion 213 of the physical key 210 is pressed, the first switch 221 and the second switch 222 are both closed, and the second adjusting circuit 234 is turned on, and at this time, the switch module 220 is in the third switch state, and the parameter adjusting circuit 231 is in the second adjusting state.
In summary, the key assembly provided by the present disclosure controls the parameter adjusting circuit and the power on/off circuit through one entity key, so that the electronic device does not need to set the entity key for controlling the parameter adjusting circuit and the entity key for controlling the power on/off circuit, thereby solving the problem that the electronic device needs to have two holes on the housing for two entity keys, which results in complicated manufacturing of the housing of the electronic device, and achieving the effect of improving the manufacturing efficiency of the housing of the electronic device.
Fig. 4 is a block diagram illustrating a key assembly for use in an electronic device in accordance with another exemplary embodiment.
The key assembly includes one physical key 410, a switch module 420, and a control module 430.
The physical key 410 includes a first portion 411, a second portion 412, and a third portion 413, and is made of a flexible material such that each portion of the physical key 410 can be individually pressed by a user. Such as: the solid key 410 is made of a rubber material.
The switch module 420 includes a first switch 421, a second switch 422, and a third switch 423; the first portion 411 of the physical key 410 is opposite to the third switch 423, the second portion 412 of the physical key 410 is opposite to the first switch 421, the third portion 413 of the physical key 410 is opposite to the second switch 422, the first end of the third switch 423 is connected to the second end of the second switch 422, and the first end of the second switch 422 is connected to the second end of the first switch 421. In practical implementation, the first switch 421, the second switch 422, and the third switch 423 may be dome switches.
The control module 430 includes a parameter adjustment circuit 431 and a switch power circuit 432.
The parameter adjusting circuit 431 is used for adjusting a parameter, and the parameter adjusting circuit 431 includes a first adjusting circuit 433 and a second adjusting circuit 434, and the adjusting directions of the parameter by the first adjusting circuit 433 and the second adjusting circuit 434 are opposite. The switch circuit 432 is used to control the turning on and off of the electronic device to which the key assembly is mounted.
A first terminal of the first regulating circuit 433 is connected to a first terminal of the first switch 431, and a second terminal of the first regulating circuit 433 is connected to a second terminal of the first switch 431; a first terminal of the second adjusting circuit 434 is connected to a first terminal of the second switch 422, and a second terminal of the second adjusting circuit 434 is connected to a second terminal of the second switch 433; a first terminal of the switching circuit 432 is connected to a first terminal of the third switch 423 and a second terminal of the switching circuit 432 is connected to a second terminal of the third switch 423.
Since the first portion 411 is opposite to the third switch 423, when the first portion 411 of the physical key 410 is pressed, the third switch 423 is closed, the first switch 421 and the second switch 422 are opened, the on/off circuit 432 is turned on, and at this time, the switch module 420 is in the first switch state, and the on/off circuit 432 is in the on state or the off state.
The on/off circuit 432 is in an on state or an off state, which means that before the switch module 420 is in the third switch state, if the on/off circuit 432 is in the on state, when the switch module 420 is in the third switch state, the on/off circuit 432 is in the off state; if the switch circuit 432 is in the off state, the switch circuit 432 is in the on state when the switch module 420 is in the third switch state.
When the electronic device is turned on, since the second portion 412 is opposite to the first switch 421, when the second portion 412 of the physical key 410 is pressed, the first switch 421 is closed, the second switch 422 and the third switch 423 are opened, the first adjusting circuit 433 is turned on, and at this time, the switch module 420 is in the second switch state, and the parameter adjusting circuit 431 is in the first adjusting state.
When the electronic device is turned on, since the third portion 413 is opposite to the second switch 422, when the second portion 412 of the physical key 410 is pressed, the second switch 422 is closed, the first switch 421 and the third switch 423 are opened, the second adjusting circuit 434 is turned on, and at this time, the switch module 420 is in the third switch state, and the parameter adjusting circuit 431 is in the second adjusting state.
Alternatively, the switching circuit 432 may be interchanged with the first regulating circuit 433; or the switching circuit 432 and the second regulating circuit 434 may exchange positions, and the positions of the switching circuit 432, the first regulating circuit 433, and the second regulating circuit 434 are not limited in this embodiment. Referring to fig. 5, fig. 5 illustrates an example of interchanging positions of the switching circuit 432 and the second adjusting circuit 434, in which a first terminal of the second switch 421 is connected to a second terminal of the third switch 423, and a first terminal of the third switch 423 is connected to a second terminal of the first switch 421.
In summary, the key assembly provided by the present disclosure, by setting three switches in the switch module and controlling the three switches respectively through the three portions of the physical key, improves the accuracy of the switch module responding to the pressing operation when the physical key is pressed.
Fig. 6 is a flowchart illustrating a device control method used in the key assembly shown in any one of fig. 1 to 5, according to an exemplary embodiment, the method including:
in step 601, the electronic device receives a first operation acting on a first portion of the physical key and turns the electronic device on or off according to the first operation.
Wherein the first portion of the physical key may be an upper half of the physical key, such as 111 shown in fig. 1; or the lower half of a physical key, such as 112 shown in FIG. 1; and may also be a solid key middle portion such as 113 shown in fig. 1.
The first operation acting on the first portion turns on a switching circuit in the electronic device, so that the electronic device is turned on or off according to the first operation. The electronic equipment provided with the key assembly is turned on or turned off according to the first operation, namely, if the electronic equipment is in an on state before the electronic equipment receives the first operation, the electronic equipment is turned off when the first operation is received; if the electronic device is in the off state before the electronic device receives the first operation, the electronic device is turned on when the first operation is received.
The first operation may be a pressing operation; alternatively, when a sensor for receiving a touch operation is configured in the physical key, the first operation may also be a touch operation, and this embodiment does not limit the specific manner of the first operation.
In step 602, when the electronic device is turned on according to the first operation, the electronic device receives a second operation acting on a second portion of the physical key and adjusts a parameter according to the second operation.
The second part of the physical key is different from the first part, and when the first part is the upper half part of the physical key, the second part can be the lower half part of the physical key or the middle part of the physical key; when the first part is the lower half part of the physical key, the second part can be the upper half part of the physical key or the middle part of the physical key; when the first portion is a middle portion of the physical key, the second portion may be a top half of the physical key or a bottom half of the physical key.
The second operation on the second portion causes a first adjusting circuit in the electronic device to conduct, thereby causing the electronic device to adjust the parameter according to the first operation.
The second operation may be a pressing operation; alternatively, when a sensor for receiving a touch operation is configured in the physical key, the second operation may also be a touch operation, and this embodiment does not limit the specific manner of the second operation.
In step 603, when the electronic device is turned on according to the first operation, the electronic device receives a third operation acting on a third portion of the physical key and adjusts a parameter according to the third operation.
The third portion of the physical key may be different from both the first portion and the second portion, or may include the first portion and the second portion, which is not limited in this embodiment.
A third operation on the third portion causes a second adjustment circuit in the electronic device to conduct, thereby causing the electronic device to adjust the parameter in accordance with the second operation. Since the second adjusting circuit adjusts the parameter in the opposite direction to the first adjusting circuit, the electronic device adjusts the parameter in the opposite direction to the second operation.
Wherein the third operation may be a pressing operation; alternatively, when a sensor for receiving a touch operation is configured in the physical key, the third operation may also be a touch operation, and this embodiment does not limit the specific manner of the third operation.
It should be noted that, when the electronic apparatus is turned off according to the first operation, the electronic apparatus receives the second operation applied to the second part of the physical key, or does not respond to the third operation applied to the third part of the physical key.
In this embodiment, the execution sequence of step 602 and step 603 is not limited.
In summary, according to the device control method provided by the present disclosure, the parameter adjustment function and the power on/off function of the electronic device are implemented by controlling three parts of one physical key, so that the electronic device does not need to be provided with a physical key for controlling the parameter adjustment circuit and a physical key for controlling the power on/off circuit, the problem that the electronic device needs to have two holes on the housing for two physical keys, which results in complicated manufacturing of the housing of the electronic device is solved, and the effect of improving the manufacturing efficiency of the housing of the electronic device is achieved.
Fig. 7 is a block diagram illustrating an apparatus 700 for sound recording tagging in accordance with an exemplary embodiment.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 718 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 718 of the apparatus 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (2)

1. A key assembly is characterized in that the key assembly comprises a solid key, a switch module and a control module, wherein the control module comprises a parameter adjusting circuit and a switching circuit, the parameter adjusting circuit is used for adjusting parameters, and the switching circuit is used for controlling the on and off of an electronic device provided with the key assembly;
the switch module is in a first switch state when a first part of the physical key is pressed, the switch circuit is in an on state or an off state under the control of the switch module in the first switch state, the switch circuit in the on state is used for switching on the electronic equipment, and the switch circuit in the off state is used for switching off the electronic equipment;
when the electronic equipment is started, the switch module is in a second switch state when a second part of the physical key is pressed, and the parameter adjusting circuit is in a first adjusting state under the control of the switch module in the second switch state;
when the electronic device is turned on, the switch module is in a third switch state when a third part of the physical keys is pressed, the parameter adjusting circuit is in a second adjusting state under the control of the switch module in the third switch state, and the second adjusting state is opposite to the first adjusting state in adjusting the parameter;
the switch module comprises a first switch and a second switch, a first part of the solid key is opposite to the first switch and the second switch, a second part of the solid key is opposite to the first switch, a third part of the solid key is opposite to the second switch, and a first end of the second switch is connected with a second end of the first switch;
the parameter adjusting circuit comprises a first adjusting circuit and a second adjusting circuit, and the adjusting directions of the parameter by the first adjusting circuit and the second adjusting circuit are opposite;
the first end of the first regulating circuit is connected with the first end of the first switch, and the second end of the first regulating circuit is connected with the second end of the first switch; the first end of the second regulating circuit is connected with the first end of the second switch, and the second end of the second regulating circuit is connected with the second end of the second switch; the first end of the switch circuit is connected with the first end of the first switch, and the second end of the switch circuit is connected with the second end of the second switch;
the first switch state is a state when both the first switch and the second switch are closed, and the on state or the off state is a state when the power on/off circuit is turned on;
the second switch state is a state when the first switch is closed and the second switch is open, and the first regulation state is a state when the first regulation circuit is on;
the third switch state is a state when the first switch is off and the second switch is off, and the second adjustment state is a state when the second adjustment circuit is on;
the first switch and the second switch are dome switches;
the first portion, the second portion, and the third portion are all located on the same side of the physical key, and the first portion, the second portion, and the third portion are arranged on the same line.
2. A device control method, for use in the key assembly of claim 1, the method comprising:
receiving a first operation acting on a first part of an entity key, and opening or closing the electronic equipment provided with the key assembly according to the first operation;
when the electronic equipment is started according to the first operation, receiving a second operation acting on a second part of the entity key, and adjusting parameters according to the second operation; or,
when the electronic equipment is started according to the first operation, receiving a third operation acting on a third part of the entity key, and adjusting a parameter according to the third operation, wherein the adjustment direction of the parameter according to the third operation is opposite to the adjustment direction of the parameter according to the second operation;
the first portion, the second portion, and the third portion are all located on the same side of the physical key, and the first portion, the second portion, and the third portion are arranged on the same line.
CN201610497577.7A 2016-06-29 2016-06-29 Key assembly and device control method Active CN107544651B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610497577.7A CN107544651B (en) 2016-06-29 2016-06-29 Key assembly and device control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610497577.7A CN107544651B (en) 2016-06-29 2016-06-29 Key assembly and device control method

Publications (2)

Publication Number Publication Date
CN107544651A CN107544651A (en) 2018-01-05
CN107544651B true CN107544651B (en) 2020-10-30

Family

ID=60966387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610497577.7A Active CN107544651B (en) 2016-06-29 2016-06-29 Key assembly and device control method

Country Status (1)

Country Link
CN (1) CN107544651B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
SE0001771D0 (en) * 2000-05-15 2000-05-15 Ericsson Telefon Ab L M A portable phone
CN103412622A (en) * 2013-08-27 2013-11-27 深圳市中兴移动通信有限公司 Mobile terminal
CN104767513B (en) * 2015-04-24 2018-06-05 努比亚技术有限公司 Multifunction push key and mobile terminal
CN104899494B (en) * 2015-05-29 2017-12-22 努比亚技术有限公司 Method of controlling operation thereof and mobile terminal based on multifunction push key
CN204792584U (en) * 2015-07-08 2015-11-18 广东欧珀移动通信有限公司 A multi -functional knob formula side key structure for mobile terminal
CN204795232U (en) * 2015-07-20 2015-11-18 广东欧珀移动通信有限公司 Mobile terminal with multi -functional integral type button
CN105005415A (en) * 2015-08-01 2015-10-28 严卫东 Multifunctional button of portable intelligent device

Also Published As

Publication number Publication date
CN107544651A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
US9692953B2 (en) Camera-lens automatic pop-up assembly
CN111314768A (en) Screen projection method, screen projection device, electronic equipment and computer readable storage medium
CN106572299A (en) Camera switching-on method and device
CN107102772B (en) Touch control method and device
CN111381746B (en) Parameter adjusting method, device and storage medium
CN107071105B (en) Mobile terminal and component control method of mobile terminal
CN103986821A (en) Method, equipment and system for carrying out parameter adjustment
CN104216525B (en) Method and device for mode control of camera application
CN107885418B (en) Terminal, split screen display method and device
CN105516587A (en) Method for switching cameras and mobile terminal
CN108566455B (en) Mobile terminal, control method of mobile terminal, and storage medium
CN107306299B (en) Terminal device, antenna determination method and device
CN104682908A (en) Method and device for controlling volume
CN104410900B (en) A kind of method and device for controlling the indicator light being installed on smart machine
CN106228933B (en) Backlight circuit for lamp, method for implementing backlight and electronic equipment
CN110597443B (en) Calendar display method, device and medium
CN109474744B (en) Alarm clock processing method, device and storage medium
CN108650412B (en) Display method, display device and computer readable storage medium
US20200106936A1 (en) Full screen terminal, operation control method, and device based on full screen terminal
CN109922203B (en) Terminal, screen off method and device
CN107544651B (en) Key assembly and device control method
CN106375744B (en) Information projecting method and device
CN109408025B (en) Audio playing method, device and storage medium
CN112040059B (en) Application control method, application control device and storage medium
CN112448745B (en) WIFI antenna selection control device, method and terminal

Legal Events

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