CN108021239B - Key switching method and electronic equipment - Google Patents

Key switching method and electronic equipment Download PDF

Info

Publication number
CN108021239B
CN108021239B CN201711262297.9A CN201711262297A CN108021239B CN 108021239 B CN108021239 B CN 108021239B CN 201711262297 A CN201711262297 A CN 201711262297A CN 108021239 B CN108021239 B CN 108021239B
Authority
CN
China
Prior art keywords
key
function
keys
combined
switching
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
CN201711262297.9A
Other languages
Chinese (zh)
Other versions
CN108021239A (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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology 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 Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201711262297.9A priority Critical patent/CN108021239B/en
Publication of CN108021239A publication Critical patent/CN108021239A/en
Application granted granted Critical
Publication of CN108021239B publication Critical patent/CN108021239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The invention provides a key switching method and electronic equipment, wherein the method comprises the following steps: detecting clicking operation of the combined key; judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition. The invention has the characteristics of simple operation, convenient use and good user experience.

Description

Key switching method and electronic equipment
Technical Field
The embodiment of the invention relates to the field of information processing, in particular to a key switching method and electronic equipment.
Background
In the existing electronic devices, such as computer devices like notebook computers, the positions of the function keys of the existing electronic devices on different devices may be different, for example, the positions of Ctrl keys and Fn keys on notebooks of different brands are different, so that users are inconvenient to use after replacing the notebooks, and the use experience of the users is affected. However, at present, if the user needs to switch the setting of the function key, the user is required to enter the BIOS for setting, and the method is not suitable for most common users and is inconvenient to operate.
Disclosure of Invention
The embodiment of the invention provides a key switching method capable of conveniently realizing function switching of function keys of electronic equipment and the electronic equipment.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme:
A key switching method, comprising:
Detecting clicking operation of the combined key;
judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition.
In a preferred embodiment, the determining whether the clicking operation of the combination key meets the first preset condition includes:
acquiring duration time of clicking operation of the combined key;
and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
In a preferred embodiment, when it is determined that the first preset condition is satisfied, the number of function keys in the combination key is further determined,
When the number of the function keys is two, executing function switching of a first function key and a second function key in the combined keys;
and when the number of the function keys is greater than two, executing the function switching of the first function key and the second function key in the combined key based on the first function key and the second function key in the received selection information.
In a preferred embodiment, the method further comprises:
And executing a prompt operation when judging that the clicking operation of the combined key meets the first preset condition.
In a preferred embodiment, the performing the prompting operation includes:
and controlling at least one of flickering of a first function key and a second function key in the combined keys, voice outputting switching information of the combined keys, outputting prompt tones and displaying and outputting the switching information of the combined keys.
In a preferred embodiment, the performing the prompting operation includes:
and controlling the second function key mark on the first function key to be displayed according to a preset state.
In a preferred embodiment, the method further comprises:
Detecting a trigger instruction for triggering a function switch of the key,
And executing the clicking operation of the detection combination key based on the triggering instruction.
The embodiment of the invention also provides electronic equipment, which comprises:
The keyboard is provided with a key-board,
The control module is configured to detect clicking operation of the combined key; judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition.
In a preferred embodiment, the control module is further configured to obtain a duration of a click operation of the combination key; and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
In a preferred embodiment, the control module is further configured to determine whether the combination key is a CTRL key and an Fn key, and if so, execute the duration of the clicking operation for obtaining the combination key.
Compared with the prior art, the embodiment of the invention has the beneficial effects that:
The embodiment of the invention can execute the function switching between the combined keys for the touch operation by executing the touch operation meeting the first preset condition, and has the characteristics of convenient operation and good user experience.
Drawings
FIG. 1 is a schematic flow chart of a key switching method in an embodiment of the invention;
FIG. 2 is a schematic flow chart of determining whether a clicking operation of a combination key satisfies a first preset condition in an embodiment of the present invention;
FIG. 3 is a block diagram of a function key in an embodiment of the present invention;
fig. 4 is a schematic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Hereinafter, specific embodiments of the present invention will be described in detail with reference to the accompanying drawings, but not limiting the invention.
It should be understood that various modifications may be made to the embodiments disclosed herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of this disclosure will occur to persons of ordinary skill in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and, together with a general description of the disclosure given above and the detailed description of the embodiments given below, serve to explain the principles of the disclosure.
These and other characteristics of the invention will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that, although the invention has been described with reference to some specific examples, a person skilled in the art will certainly be able to achieve many other equivalent forms of the invention, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present disclosure will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present disclosure will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely examples of the disclosure, which may be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the disclosure in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not intended to be limiting, but merely serve as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present disclosure in virtually any appropriately detailed structure.
The specification may use the word "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the disclosure.
The embodiment of the invention provides a key switching method, which can realize function switching among function keys of electronic equipment and has the characteristics of simple and convenient operation and better user experience.
Specifically, as shown in fig. 1, a schematic flow chart of a key switching method in an embodiment of the present invention is shown. Wherein the method may comprise:
Detecting clicking operation of the combined key;
judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition.
In the embodiment of the present invention, the method may be applied to any computer device such as a notebook computer and any electronic device such as a mobile phone, and the electronic device includes a keyboard, where a plurality of function keys, for example, a ctrl key, a shift key, an F1-F12 key (hereinafter referred to as Fn key), a Tab key, a case-to-case switch key, and the like may be disposed on the keyboard. The embodiment of the invention can realize the function switching among the function keys.
In performing the function switching operation, a click operation of a combination key composed of the function keys, which may include the first function key and the second function key, may be detected first. The first function key and the second function key are two different function keys. It should be noted that, in the embodiment of the present invention, the keyboard may include a mechanical keyboard, and may also include a virtual keyboard displayed on a display screen.
After the clicking operation of the combination key is detected, the judgment of the clicking operation can be executed, namely whether the clicking operation of the combination key meets the first preset condition is judged, and when the fact that the first preset condition is met is judged, the function switching of the first function key and the second function key in the combination key is executed. That is, a click operation for a combination key satisfying a first preset condition may trigger a function switch between a first function key and a second function key in the combination key. Here, the function switching between the first function key and the second function key means that the function configuration of the first function key is triggered and executed by the second function key, and the function configuration of the second function key is triggered and executed by the first function key, that is, the function configurations of the first function key and the second function key are exchanged.
By the configuration of the embodiment of the invention, the function switching among the function keys can be conveniently realized, so that the functions of the keys can be switched by the configuration even when a user is not used to the layout positions of the keys on the keyboard, and the use of the user is convenient. The configuration method has the characteristics of convenient operation, good user experience and increased use pleasure of the user.
Further, as shown in fig. 2, a schematic flowchart for determining whether the clicking operation of the combination key meets the first preset condition in the embodiment of the present invention may include:
acquiring duration time of clicking operation of the combined key;
and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
In the embodiment of the invention, the duration of the clicking operation is the time for the user to press the combination key. Specifically, when the combination key is clicked, the timing is controlled to be started until the clicking operation is finished, the timing time is obtained when the clicking operation is finished, and the timing time is identified as the duration time of the clicking operation.
Specifically, as described above, when the keyboard in the embodiment of the present invention may be a mechanical keyboard, the electronic device may include a control module connected to each key on the keyboard, where the control module may acquire information related to a clicking operation of each key on the keyboard, or may be electrically connected to the mechanical keyboard through another detection component, and perform detection of the clicking operation of the keyboard through the detection component, and receive the detected information from the detection component. When the keyboard is a virtual keyboard, such as a virtual keyboard arranged on the touch display screen, the control module can acquire relevant information of clicking operation executed by a user on the virtual keyboard through electric connection with the touch display screen. The information about the clicking operation received by the control module may include information of the first and second function keys that are clicked, a start clicking signal indicating the start of the clicking operation of the combination key, and an end clicking signal indicating the end of the clicking operation.
In addition, the control module can control to execute timing operation when receiving a start click signal about the combination key, for example, timing can be executed by itself, and timing can also be executed by controlling the timing module. For example, when the control timing module starts timing until the click operation is finished (an end click signal is received), the timing module may transmit the timing time to the control module, and the control module may identify the acquired timing time as the duration of the click operation for the combination key.
When the duration is obtained, whether the duration exceeds a preset time or not can be further judged, and when the duration exceeds the preset time, the clicking operation of the combined key is judged to meet a first preset condition. The predetermined time may be a time value greater than 2 s. Those skilled in the art can configure the configuration according to the needs, and will not be described herein.
In addition, in the embodiment of the present invention, before the duration time of the clicking operation of the combination key is acquired, the method may further include:
And judging whether the combined key is a CTRL key or an Fn key, and if so, executing the duration time of the clicking operation for acquiring the combined key. With this configuration, the function switching between the CTRL key and the Fn key can be realized.
In addition, in an embodiment of the present invention, when a clicking operation of a combination key is detected, whether the combination key is a specific combination key may be first determined, if so, it is determined that the combination key does not meet a first preset condition. Here, the specific combination key may be a combination key having a specific function that is preconfigured in the electronic device, thereby preventing the user from being affected.
In addition, in the preferred embodiment of the present invention, when it is determined that the clicking operation of the combination key meets the first preset condition, the number of function keys in the combination key may be further determined, where when the number of function keys is two, function switching between the first function key and the second function key in the combination key is performed; and when the number of the function keys is greater than two, executing the function switching of the first function key and the second function key in the combined key based on the first function key and the second function key in the received selection information.
Specifically, as described above, the control module in the electronic device may be electrically connected to the keys on the keyboard, and detect and receive information about the clicking operation, where the information about the clicking operation may include information corresponding to the clicked key. Thus, the control module may obtain the number of function keys in the clicked combination key. When the number of the function keys is two, the two function keys can be used as a first function key and a second function key, and when the clicking operation meets a first preset condition, the function switching between the first function key and the second function key in the combined key can be executed. And when the number of the function keys in the combined key is greater than two, the function switching of the first function key and the second function key in the combined key can be executed based on the first function key and the second function key in the received selection information. That is, when the combination key includes at least three function keys, selection information of the function keys that need to perform function switching may be further received, where the selection information may include information of the first function key and the second function key that need to perform function switching. After receiving the selection information, the function switching between the first function key and the second function key in the selection information can be correspondingly executed.
In the embodiment of the invention, the information of the function keys in the combined keys can be displayed on the display screen, and the user can execute the selection operation aiming at the displayed function keys, and the selection operation can correspondingly generate the selection information of the first function key and the second function key which need to execute the function switching. The selection operation may be a touch operation or a selection operation such as a click, and is not limited herein.
The applicant intends to state that although the above is a function switch between two function keys being performed, the first function key and the second function key may not be two function keys specific to a keyboard, but may be any two function keys. When the combination key comprises a plurality of function keys, two function keys selected by a user can be limited to be a first function key and a second function key, and the received selection information can comprise a plurality of groups of first function keys and second function keys which need to perform function switching, so that the function switching among the plurality of groups of function keys can be performed, and convenience is further improved.
Further, in the embodiment of the present invention, the switching program for executing the function keys may be triggered based on the operation instruction of the user, for example, in the embodiment of the present invention, a trigger instruction for triggering function switching between the keys may be detected, and based on the trigger instruction, the clicking operation of the detection combination key may be executed.
That is, the above-described configuration of the embodiment of the present invention may be performed by entering the configuration mode of function switching when a trigger instruction for function switching between keys is detected. Therefore, the triggering instruction can be input when the function switching of the function key needs to be executed, the triggering instruction can be generated by inputting a preset shortcut key, can be generated by clicking a preset icon, and can be realized in other manners.
In addition, in the embodiment of the present invention, when it is determined that the clicking operation of the combination key satisfies the first preset condition, a prompting operation of function switching between the function keys may be performed. Wherein the electronic device may perform the prompting operation in a variety of ways. For example, the performing hint operations may include:
And controlling the first function key and the second function key in the combination keys to flash according to a preset rule, outputting the switching information of the combination keys through voice, outputting prompt tone and displaying and outputting the switching information of the combination keys. The flicker of the control function key is substantially that of the light emitting element under the control key cap, and the preset rule may include a preset flicker frequency, a preset flicker time, and the like. In another embodiment, the performing the prompting operation may further include: and controlling the second function key mark on the first function key to be displayed according to a preset state.
The electronic device in the specific embodiment of the invention may include at least one of a voice reminding unit, a buzzer, a vibrator and a display unit, through which the prompting operation may be performed.
In addition, in the preferred embodiment of the present invention, in order to help the user to know which function keys can implement function switching conveniently, identification information may be set on the function keys. For example, the keyboard may include a plurality of function keys thereon, and the plurality of function keys includes at least a first function key and a second function key; such as ctrl key and Fn key.
The key cap of the first function key is provided with a second mark of the second function key, and/or the key cap of the second function key is provided with a first mark of the first function key. To prompt the user that a function switch can be performed between the first function key and the second function key. As shown in fig. 3, the Ctrl key may be provided with an identifier of the Fn key, and then function switching may be performed between the Ctrl key and the Fn key.
In addition, in order to conveniently execute the prompt operation of successful switching, a light emitting component can be arranged on the first function key below the first mark and on the second function key below the second mark, and the light emitting component is turned on or off based on the on or off of the power supply. Such as the light emitting assembly may include LED elements.
In addition, the control module of the electronic device in the embodiment of the invention can be electrically connected with the function keys and the light-emitting component, and when the control module judges that the clicking operation of the combined key meets the first preset condition and performs function switching of the two, the control module can switch on the power supply of the light-emitting element under the corresponding key, so that the corresponding light-emitting element is lightened or blinked to prompt the user that the function switching is completed. Further, the control module can control the lighting or flashing time of the light emitting element, that is, the power supply of the light emitting element is turned on in a set time to save power.
Through the configuration of the embodiment of the invention, the function switching between the combined keys for the touch operation can be realized by executing the touch operation meeting the first preset condition, and the method has the characteristics of convenient operation and good user experience.
In addition, the embodiment of the present invention may further provide an electronic device, where the electronic device may perform the key switching method described in the foregoing embodiment, and as shown in fig. 4, the schematic structural diagram of the electronic device in the embodiment of the present invention may include: the keyboard 1, a control module 2 connected with the keyboard 1 and a prompt module 3 connected with the control module 2.
Wherein a plurality of function keys, as well as other number keys, letter keys, etc. may be included on the keyboard 1, and wherein at least a first function key and a second function key, i.e. at least two function keys, are included in the plurality of function keys provided on the keyboard.
The control module 2 may detect a clicking operation performed by a user on a combination key on the keyboard, determine whether the clicking operation of the combination key meets a first preset condition, and execute function switching of a first function key and a second function key in the combination key when the clicking operation of the combination key meets the first preset condition.
In the embodiment of the present invention, the electronic device may include any device such as a notebook computer, a mobile phone, etc., and the keyboard 1 may be provided with a plurality of function keys, for example, ctrl keys, shift keys, F1-F12 keys, tab keys, case-switching keys, etc., where the function keys in the embodiment of the present invention are not limited to this, and any keys having specific functions may be configured as function keys. The embodiment of the invention can realize the function switching among the function keys.
In addition, when controlling to perform the function switching operation, the control module 2 may first detect a click operation of a combination key composed of the function keys, which may include the first function key and the second function key. The first function key and the second function key are two different function keys. It should be noted that, in the embodiment of the present invention, the keyboard may include a mechanical keyboard, and may also include a virtual keyboard displayed on a display screen.
After detecting the clicking operation about the combined key, the control module 2 may perform a determination on the clicking operation, that is, determine whether the clicking operation of the combined key meets a first preset condition, and perform function switching between the first function key and the second function key in the combined key when the clicking operation of the combined key is determined to meet the first preset condition. That is, a click operation for a combination key satisfying a first preset condition may trigger a function switch between a first function key and a second function key in the combination key.
By the configuration of the embodiment of the invention, the function switching among the function keys can be conveniently realized, so that the functions of the keys can be switched by the configuration even when a user is not used to the layout positions of the keys on the keyboard, and the use of the user is convenient. The configuration method has the characteristics of convenient operation, good user experience and increased use pleasure of the user.
In the embodiment of the present invention, the determining, by the control module 2, whether the clicking operation of the combination key meets the first preset condition may include:
acquiring duration time of clicking operation of the combined key;
and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
In the embodiment of the invention, the duration of the clicking operation is the time for the user to press the combination key. Specifically, when the combination key is clicked, the timing is controlled to be started until the clicking operation is finished, the timing time is obtained when the clicking operation is finished, and the timing time is identified as the duration time of the clicking operation.
Specifically, as described above, when the keyboard in the embodiment of the present invention may be a mechanical keyboard, the control module 2 in the electronic device may acquire information related to the clicking operation of each key on the keyboard 1, or may be electrically connected to the mechanical keyboard through another detection component, and perform detection of the clicking operation of the keyboard through the detection component, and receive the detected information from the detection component. When the keyboard is a virtual keyboard, such as a virtual keyboard arranged on a touch display screen, the control module 2 can obtain relevant information of clicking operation executed by a user on the virtual keyboard by being electrically connected with the touch display screen. The information about the clicking operation received by the control module may include information of the first and second function keys that are clicked, a start clicking signal indicating the start of the clicking operation of the combination key, and an end clicking signal indicating the end of the clicking operation.
In addition, the control module 2 may control to perform timing operation when receiving a start click signal about the combination key, for example, timing may be performed by itself, or timing may be performed by controlling the timing module. For example, when the control timing module starts timing until the click operation is finished (an end click signal is received), the timing module may transmit the timing time to the control module, and the control module may identify the acquired timing time as the duration of the click operation for the combination key.
When the duration time is obtained, the control module can further judge whether the duration time exceeds a preset time, and when the duration time exceeds the preset time, the control module can judge that the clicking operation of the combined key meets a first preset condition. The predetermined time may be a time value greater than 2s. Those skilled in the art can configure the configuration according to the needs, and will not be described herein.
In addition, in the embodiment of the present invention, before the duration of the clicking operation of the combination key is acquired, the control module 2 may further include:
And judging whether the combined key is a CTRL key or an Fn key, and if so, executing the duration time of the clicking operation for acquiring the combined key. With this configuration, the function switching between the CTRL key and the Fn key can be realized.
In addition, in an embodiment of the present invention, when a clicking operation of a combination key is detected, whether the combination key is a specific combination key may be first determined, if so, it is determined that the combination key does not meet a first preset condition. Here, the specific combination key may be a combination key having a specific function that is preconfigured in the electronic device, thereby preventing the user from being affected.
In addition, in the preferred embodiment of the present invention, when it is determined that the clicking operation of the combination key meets the first preset condition, the number of function keys in the combination key may be further determined, where when the number of function keys is two, function switching between the first function key and the second function key in the combination key is performed; and when the number of the function keys is greater than two, executing the function switching of the first function key and the second function key in the combined key based on the first function key and the second function key in the received selection information.
Specifically, as described above, the control module in the electronic device may be electrically connected to the keys on the keyboard, and detect and receive information about the clicking operation, where the information about the clicking operation may include information corresponding to the clicked key. Thus, the control module may obtain the number of function keys in the clicked combination key. When the number of the function keys is two, the two function keys can be used as a first function key and a second function key, and when the clicking operation meets a first preset condition, the function switching between the first function key and the second function key in the combined key can be executed. And when the number of the function keys in the combined key is greater than two, the function switching of the first function key and the second function key in the combined key can be executed based on the first function key and the second function key in the received selection information. That is, when the combination key includes at least three function keys, selection information of the function keys that need to perform function switching may be further received, where the selection information may include information of the first function key and the second function key that need to perform function switching. After receiving the selection information, the function switching between the first function key and the second function key in the selection information can be correspondingly executed.
In the embodiment of the invention, the information of the function keys in the combined keys can be displayed on the display screen, and the user can execute the selection operation aiming at the displayed function keys, and the selection operation can correspondingly generate the selection information of the first function key and the second function key which need to execute the function switching. The selection operation may be a touch operation or a selection operation such as a click, and is not limited herein.
The applicant intends to state that although the above is a function switch between two function keys being performed, the first function key and the second function key may not be two function keys specific to a keyboard, but may be any two function keys. When the combination key comprises a plurality of function keys, two function keys selected by a user can be limited to be a first function key and a second function key, and the received selection information can comprise a plurality of groups of first function keys and second function keys which need to perform function switching, so that the function switching among the plurality of groups of function keys can be performed, and convenience is further improved.
Further, in the embodiment of the present invention, the control module 2 may execute the switching program of the function keys based on the operation instruction of the user, for example, in the embodiment of the present invention, the control module 2 may detect the triggering instruction for triggering the function switching between the keys, and execute the clicking operation of the detection combination key based on the triggering instruction.
That is, the control module 2 may enter the configuration mode of function switching to perform the above-described configuration of the embodiment of the present invention when a trigger instruction for function switching between keys is detected. Therefore, the triggering instruction can be input when the function switching of the function key needs to be executed, the triggering instruction can be generated by inputting a preset shortcut key, can be generated by clicking a preset icon, and can be realized in other manners.
In addition, in the embodiment of the present invention, the control module 2 may further control the prompting module 3 to execute the prompting operation of the function switching between the function keys when it is determined that the clicking operation of the combination key meets the first preset condition. Wherein the electronic device may perform the prompting operation in a variety of ways. For example, the performing hint operations may include:
And controlling the first function key and the second function key in the combination keys to flash according to a preset rule, outputting the switching information of the combination keys through voice, outputting prompt tone and displaying and outputting the switching information of the combination keys. The flicker of the control function key is substantially that of the light emitting element under the control key cap, and the preset rule may include a preset flicker frequency, a preset flicker time, and the like. In another embodiment, the performing the prompting operation may further include: and controlling the second function key mark on the first function key to be displayed according to a preset state.
The prompting module 3 in a specific embodiment of the present invention may include at least one of a voice prompting unit, a buzzer, a vibrator, and a display unit, through which the prompting operation may be performed.
In addition, in the preferred embodiment of the present invention, in order to help the user to know which function keys can implement function switching conveniently, identification information may be set on the function keys. For example, the keyboard may include a plurality of function keys thereon, and the plurality of function keys includes at least a first function key and a second function key; such as ctrl key and Fn key.
The key cap of the first function key is provided with a second identifier of the second function key, and/or the key cap of the second function key is provided with a first identifier of the first function key so as to prompt a user that function switching can be executed between the first function key and the second function key. As shown in fig. 3, the Ctrl key may be provided with an identifier of the Fn key, and then function switching may be performed between the Ctrl key and the Fn key. Wherein the first and second identifiers may be symbol names corresponding to keys.
In addition, in order to conveniently execute the prompt operation of successful switching, a light emitting component can be arranged on the first function key below the first mark and on the second function key below the second mark, and the light emitting component is turned on or off based on the on or off of the power supply. Such as the light emitting assembly may include LED elements.
In addition, the control module of the electronic device in the embodiment of the invention can be electrically connected with the function keys and the light-emitting component, and when the control module judges that the clicking operation of the combined key meets the first preset condition and performs function switching of the two, the control module can switch on the power supply of the light-emitting element under the corresponding key, so that the corresponding light-emitting element is lightened or blinked to prompt the user that the function switching is completed. Further, the control module can control the lighting or flashing time of the light emitting element, that is, the power supply of the light emitting element is turned on in a set time to save power.
Through the configuration of the embodiment of the invention, the function switching between the combined keys for the touch operation can be realized by executing the touch operation meeting the first preset condition, and the method has the characteristics of convenient operation and good user experience.
It will be clear to those skilled in the art that, for convenience and brevity of description, the electronic device to which the above described data processing method is applied may refer to the corresponding description in the foregoing product embodiments, which is not repeated here.
The above embodiments are only exemplary embodiments of the present invention and are not intended to limit the present invention, the scope of which is defined by the claims. Various modifications and equivalent arrangements of this invention will occur to those skilled in the art, and are intended to be within the spirit and scope of the invention.

Claims (8)

1. A key switching method, comprising:
Detecting a trigger instruction for triggering a function switch of the key,
Executing clicking operation of the detection combination key based on the triggering instruction;
Detecting clicking operation of the combined key;
Judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition;
Wherein when the first preset condition is judged to be met, the number of the function keys in the combined keys is further judged,
When the number of the function keys is two, executing function switching of a first function key and a second function key in the combined keys;
and when the number of the function keys is greater than two, executing the function switching of the first function key and the second function key in the combined key based on the first function key and the second function key in the received selection information.
2. The method of claim 1, wherein the determining whether the clicking operation of the combination key satisfies the first preset condition comprises:
acquiring duration time of clicking operation of the combined key;
and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
3. The method of claim 1, wherein the method further comprises:
And executing a prompt operation when judging that the clicking operation of the combined key meets the first preset condition.
4. The method of claim 3, wherein the performing a hint operation comprises:
and controlling at least one of flickering of a first function key and a second function key in the combined keys, voice outputting switching information of the combined keys, outputting prompt tones and displaying and outputting the switching information of the combined keys.
5. The method of claim 3, wherein the performing a hint operation comprises:
and controlling the second function key mark on the first function key to be displayed according to a preset state.
6. An electronic device, comprising:
The keyboard is provided with a key-board,
The control module is configured to detect a trigger instruction for triggering function switching of the keys, and execute clicking operation of the detection combination keys based on the trigger instruction; detecting clicking operation of the combined key; judging whether clicking operation of the combined key meets a first preset condition, and executing function switching of a first function key and a second function key in the combined key when the clicking operation of the combined key meets the first preset condition; when judging that the first preset condition is met, further judging the number of the function keys in the combined keys, and when the number of the function keys is two, executing function switching of a first function key and a second function key in the combined keys; and when the number of the function keys is greater than two, executing the function switching of the first function key and the second function key in the combined key based on the first function key and the second function key in the received selection information.
7. The electronic device of claim 6, wherein the control module is further configured to obtain a duration of a click operation of the combination key; and when the duration exceeds the preset time, judging that the combined key meets a first preset condition.
8. The electronic device of claim 7, wherein the control module is further configured to determine whether the combination key is a CTRL key and an Fn key, and if so, to perform the duration of the click operation to obtain the combination key.
CN201711262297.9A 2017-12-04 2017-12-04 Key switching method and electronic equipment Active CN108021239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711262297.9A CN108021239B (en) 2017-12-04 2017-12-04 Key switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711262297.9A CN108021239B (en) 2017-12-04 2017-12-04 Key switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN108021239A CN108021239A (en) 2018-05-11
CN108021239B true CN108021239B (en) 2024-05-14

Family

ID=62078482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711262297.9A Active CN108021239B (en) 2017-12-04 2017-12-04 Key switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN108021239B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157200A (en) * 2003-11-28 2005-06-16 Kawai Musical Instr Mfg Co Ltd Sound production controller unit of electronic musical instrument
KR20080022645A (en) * 2006-09-07 2008-03-12 삼성전자주식회사 Key button assembly
CN103513769A (en) * 2013-09-29 2014-01-15 小米科技有限责任公司 Method, device and mobile terminal for setting key function
CN103576890A (en) * 2013-11-08 2014-02-12 合肥联宝信息技术有限公司 Method and device for switching Fn button and left Ctrl button
CN104007830A (en) * 2013-02-25 2014-08-27 联想(北京)有限公司 Input method and device
CN104007890A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Information processing method and electronic device
CN104951293A (en) * 2014-09-04 2015-09-30 广东欧珀移动通信有限公司 Mobile terminal and key response method thereof
CN104991732A (en) * 2015-06-24 2015-10-21 广州创显光电科技有限公司 Method for realizing second function of key and system of integrative machine
CN105138323A (en) * 2015-08-06 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
CN105279200A (en) * 2014-07-24 2016-01-27 中兴通讯股份有限公司 Method and device for enabling adjustment key of electronic device to be multipurpose
CN105528130A (en) * 2014-10-24 2016-04-27 联想(北京)有限公司 A control method and device and an electronic apparatus
WO2017084305A1 (en) * 2015-11-16 2017-05-26 深圳Tcl数字技术有限公司 Terminal control method and system
CN207457987U (en) * 2017-12-04 2018-06-05 合肥联宝信息技术有限公司 A kind of keyboard and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005157200A (en) * 2003-11-28 2005-06-16 Kawai Musical Instr Mfg Co Ltd Sound production controller unit of electronic musical instrument
KR20080022645A (en) * 2006-09-07 2008-03-12 삼성전자주식회사 Key button assembly
CN104007830A (en) * 2013-02-25 2014-08-27 联想(北京)有限公司 Input method and device
CN104007890A (en) * 2013-02-27 2014-08-27 联想(北京)有限公司 Information processing method and electronic device
CN103513769A (en) * 2013-09-29 2014-01-15 小米科技有限责任公司 Method, device and mobile terminal for setting key function
CN103576890A (en) * 2013-11-08 2014-02-12 合肥联宝信息技术有限公司 Method and device for switching Fn button and left Ctrl button
CN105279200A (en) * 2014-07-24 2016-01-27 中兴通讯股份有限公司 Method and device for enabling adjustment key of electronic device to be multipurpose
CN104951293A (en) * 2014-09-04 2015-09-30 广东欧珀移动通信有限公司 Mobile terminal and key response method thereof
CN105528130A (en) * 2014-10-24 2016-04-27 联想(北京)有限公司 A control method and device and an electronic apparatus
CN104991732A (en) * 2015-06-24 2015-10-21 广州创显光电科技有限公司 Method for realizing second function of key and system of integrative machine
CN105138323A (en) * 2015-08-06 2015-12-09 联想(北京)有限公司 Information processing method and electronic equipment
WO2017084305A1 (en) * 2015-11-16 2017-05-26 深圳Tcl数字技术有限公司 Terminal control method and system
CN207457987U (en) * 2017-12-04 2018-06-05 合肥联宝信息技术有限公司 A kind of keyboard and electronic equipment

Also Published As

Publication number Publication date
CN108021239A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US6927763B2 (en) Method and system for providing a disambiguated keypad
EP3109786B1 (en) Color pattern entry based authentication
RU2007117909A (en) ELECTRONIC PORTABLE DEVICE WITH KEYBOARD ON THE BACK AND RELATING TO IT
US20070063976A1 (en) Mobile information terminal
CN104866226B (en) A kind of terminal device and its control method
US9563393B2 (en) Information processing method and electronic device
EP3651000A1 (en) Fingerprint capturing method, fingerprint capturing apparatus, electronic device, and storage medium
CN101779188A (en) systems and methods for providing a user interface
JP2009527846A (en) Method and apparatus for matching controls and icons
JP2010231618A (en) Mobile terminal apparatus and application starting method
US11392259B2 (en) Information processing device for facilitating use of functions in a locked state
CN107329687B (en) A kind of display methods and mobile terminal of virtual input keyboard
US10498874B2 (en) Display apparatus having ability of voice control and method of instructing voice control timing
CN108021239B (en) Key switching method and electronic equipment
CN105653093A (en) Method and device for adjusting screen brightness in portable terminal
CN108683809B (en) Screen locking method, device and system
US20160124597A1 (en) Electronic device and display control method
CN207457987U (en) A kind of keyboard and electronic equipment
JP6695004B1 (en) A terminal device that uses the detected intention of the user
KR100852522B1 (en) apparatus and method of icon display in portable terminal
KR20110086239A (en) Method and device for inputting on touch screen, and portable device comprising the same
CN109491734A (en) Display control method and relevant apparatus
CN106250016A (en) A kind of control method and terminal
TW201516827A (en) Mobile terminal and application starting method
CN114721559A (en) Interaction control method and device

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