CN105808118B - Key operation method and mobile terminal - Google Patents

Key operation method and mobile terminal Download PDF

Info

Publication number
CN105808118B
CN105808118B CN201410857397.6A CN201410857397A CN105808118B CN 105808118 B CN105808118 B CN 105808118B CN 201410857397 A CN201410857397 A CN 201410857397A CN 105808118 B CN105808118 B CN 105808118B
Authority
CN
China
Prior art keywords
preset
action
key
user
recording
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
CN201410857397.6A
Other languages
Chinese (zh)
Other versions
CN105808118A (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.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Simcom Wireless Solutions 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 Shanghai Simcom Wireless Solutions Co Ltd filed Critical Shanghai Simcom Wireless Solutions Co Ltd
Priority to CN201410857397.6A priority Critical patent/CN105808118B/en
Publication of CN105808118A publication Critical patent/CN105808118A/en
Application granted granted Critical
Publication of CN105808118B publication Critical patent/CN105808118B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention relates to the field of electronics and discloses a key operation method and a mobile terminal. In the invention, the key operation method comprises the following steps: A. detecting the action of a preset key; B. and if the action is matched with the preset action of the preset key, executing a preset instruction corresponding to the preset action, wherein the preset action is recorded in advance, and the preset instruction is a user-defined instruction. The mobile terminal is conveniently controlled by the user, the steps of controlling the mobile terminal by the user are simplified, and the user experience is improved. Furthermore, the preset keys are physical keys, such as volume keys, so that the operation of a user is more convenient and faster. Furthermore, the preset key is provided with a plurality of preset actions, and different preset actions correspond to different preset instructions. A plurality of different actions can be set up to a button, realizes that the user utilizes a button can carry out multiple to mobile terminal and controls, reduces mobile terminal's the button quantity of predetermineeing, further promotes user experience.

Description

Key operation method and mobile terminal
Technical Field
The invention relates to the field of electronics, in particular to a key operation method and a mobile terminal.
Background
The intelligent mobile terminal becomes an essential product in life of people, people use mobile phones to surf the internet more and more conveniently along with the popularization of mobile phone networks, 3G networks and 4G networks can realize large data stream application such as video calls, and application software for intelligent mobile phones is thousands of applications. In the process of software application, a user can realize the simultaneous operation of a plurality of software by background operation, and then the mutual switching operation of the simultaneously operated software is frequently used.
Such as: application software for listening to program classes via the internet, comprising: comment, music, news and the like, and the application software has a common point and can be run in the background, namely after the software is run, a user can normally listen to the application software under the condition of locking the screen (closing the screen). Such software does not need to occupy the time of the user, the user can run in spare time such as walking and running, or the user can listen to programs in the background, and the foreground performs the operation of another type of APP, but sometimes encounters a certain type of broadcast program which is not favorable for listening, so that the user may need to switch back to the audio-visual type APP running in the background from another APP being used, and then perform corresponding channel switching or closing operation. For example: a user is listening to news in the background of a mobile phone, at the moment, the news of today is listened to, and wants to listen to music, the user needs to take out the mobile phone, light the screen, unlock the screen, run software, close or change the station and can operate, and then close a series of operations of the screen, obviously, the series of operations have many and are tedious, and the user experience is reduced.
Disclosure of Invention
The invention aims to provide a key operation method and a mobile terminal, so that a user can execute a user-defined instruction by performing special actions on keys, thereby simplifying the steps of controlling the mobile terminal by the user and improving the user experience.
In order to solve the above technical problem, an embodiment of the present invention provides a key operation method, including the following steps:
A. detecting the action of a preset key;
B. and if the action is matched with the preset action of the preset key, executing a preset instruction corresponding to the preset action, wherein the preset action is recorded in advance, and the preset instruction is a user-defined instruction.
An embodiment of the present invention further provides a mobile terminal, including: the device comprises a recording module, a detection module, a judgment module and an execution module;
the recording module is used for recording preset actions in advance;
the detection module is used for detecting the action of a preset key on the mobile terminal;
the judging module is used for judging whether the action is matched with the preset action of the preset key; and when the matching is judged, triggering the execution module;
the execution module is used for executing a preset instruction corresponding to the preset action, wherein the preset instruction is a user-defined instruction.
Compared with the prior art, the implementation mode of the invention has the main differences and the effects that: the mobile terminal can detect the operation action of the user on the key, the detected action is compared with the pre-recorded preset action, if the action is matched, the user-defined instruction corresponding to the action is executed, the user can conveniently control the mobile terminal, the control steps of the user on the mobile terminal are simplified, and the user experience is improved.
As a further improvement, the preset key is correspondingly provided with a plurality of preset actions, and different preset actions correspond to different preset instructions. A button can set up a plurality of different actions, utilizes the different instructions that different actions correspond simultaneously, realizes that the user utilizes a button can carry out the multiple of mobile terminal and control, reduces mobile terminal's the button quantity of predetermineeing, further promotes user experience.
As a further improvement, before the step a, the following steps are included: the preset action is recorded in advance; in the step of pre-recording the preset action, the method comprises the following substeps: respectively detecting and recording a first action and a second action of a preset key; and if the second action of the preset key is matched with the first action, the first action is the preset action.
The special action of button can be recorded by the user by oneself, realizes that the user can carry out DIY setting to the button action, increases user's the degree of freedom of controlling, more accords with user's control custom, further promotes user experience.
As a further improvement, the preset key is a physical key, such as a volume key. Because the position of the volume key is generally convenient, the volume key is used as a preset key, so that the user operation is more convenient and fast.
Drawings
Fig. 1 is a flowchart of a key operation method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for recording key actions in a key operation method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a mobile terminal according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a mobile terminal according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solutions claimed in the claims of the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
The inventor of the invention finds that the functions of the current keys of the mobile phone are single, redundant functions are not set, for example, the current keys of the earphone are mostly operations in single software such as pause and play, and other operations can not be carried out. If special actions can be performed on the keys through the keys of the mobile phone, a user can quickly switch application software without operating a touch screen, a large amount of operation time can be saved, and the current use state of the user cannot be interrupted.
A first embodiment of the present invention relates to a key operation method. The method flow is shown in fig. 1, and specifically comprises the following steps:
step 101, detecting the action of a preset key.
Specifically, the operation action of the user on the preset key is detected, and the preset key can be a physical key. For example, the preset key is a volume key, and it can be detected that the user presses the volume key twice, three times, and the like. It will be appreciated that the "double-click" action is analogous to a double click of a mouse.
Step 102, judging whether the action is matched with a preset action of a preset key; if yes, go to step 103, otherwise, go back to step 101.
Specifically, in this embodiment, the mobile terminal sets a preset action on the preset key in advance, and the preset action is recorded in advance, for example, "the preset action of the volume key is a quick press for two times", so when the terminal detects that the volume key has an action, the detected action and the preset action are matched and compared, and if the detected action and the preset action are matched, it can be stated that the user needs to continue to execute the next step by the mobile terminal. Otherwise, that is, the detected key action does not match the preset action, which may be caused by the user's touch by mistake, then the next step is not needed, and the step 101 is returned to continue the detection.
And 103, executing a preset instruction corresponding to the preset action, wherein the preset instruction is a user-defined instruction.
Specifically, the mobile terminal sets a corresponding user-defined instruction for the preset action, and directly runs the instruction after detecting that the user performs the preset action on the key, namely, the instruction is quickly run.
It should be noted that the mobile terminal in this embodiment may be a mobile phone, and the preset instruction in this embodiment may be to run preset software (for example, to run "music playing software"). The convenient operation and control of the preset software are realized on the mobile phone, and the mobile phone is more humanized.
Compared with the prior art, the mobile terminal can detect the operation action of the user on the key, compares the detected action with the preset action, executes the instruction corresponding to the action if the action is matched, achieves convenient operation and control of the user on the mobile terminal, simplifies the operation and control steps of the user on the mobile terminal, and improves user experience.
It should be noted that, in the embodiment, there may be more than one preset action for one key, that is: the preset key is correspondingly provided with a plurality of preset actions, and different preset actions correspond to different preset instructions. Such as: the software is set to be ' two times of fast pressing of a volume key ', software A ' is run ', three times of fast pressing of a volume key ', and software B ' is run '. A button can set up a plurality of different actions, utilizes the different instructions that different actions correspond simultaneously, realizes that the user utilizes a button can carry out multiple to mobile terminal and controls, reduces mobile terminal's button quantity, further promotes user experience.
In addition, it should be noted that, in the present embodiment, the preset key is taken as a physical key, specifically, a volume key is taken as an example for description, but in practical applications, the preset key may be a volume key, a HOME key, a return key, and other relatively common keys, and is not listed here.
A second embodiment of the present invention relates to a key operation method. The second embodiment is improved on the basis of the first embodiment, and the main improvement lies in that: in the second embodiment of the present invention, a method for implementing a preset action corresponding to a button set by a user is further provided, which ensures that the user can perform DIY setting on the button action, increases the degree of freedom of operation of the user, better conforms to the operation habit of the user, and further improves the user experience.
Specifically, the step of setting the preset action of the key may be performed before step 101 in the first embodiment, and more specifically, the step of setting the preset key is as shown in fig. 2, specifically as follows:
step 201, detecting and recording the first action of the preset key.
Specifically, the mobile terminal can display a prompt page, the page can be similar to a video page, the start button and the end button are provided, after a user clicks the start button, the mobile terminal records the action of the user on the key, and therefore the user presses two times on the preset key and then clicks the end button, and the mobile terminal records that the first action of the user is two times on the quick press.
And 202, detecting and recording the second action of the preset key.
Specifically, after the user clicks the end button to end the recording process of the first action, the page enters the recording prompt of the second action, and the user can record the second action by using the start button and the end button and controlling the start button and the end button.
It should be noted that, in practical applications, in step 201 and step 202, the mobile terminal may also use the control of a fixed time period, besides using the button to control the recording duration, for example, after the user enters the recording page, the mobile terminal immediately starts recording and automatically stops recording after a preset time period (e.g. 5 seconds), that is, within 5 seconds, the user may perform any custom action. Therefore, the phenomenon that the action time recorded by the user is too long can be avoided, the mobile terminal can only recognize the action within 5 seconds in the subsequent recognition process, and the time length of each recognition can be effectively controlled.
Step 203, judging whether the recorded second action of the preset key is matched with the first action; if yes, go to step 204; if not, the method flow of recording the preset action of the key in the embodiment is ended.
Specifically, after two actions are recorded, the mobile terminal matches the two actions, if the two actions are matched, that is, the two actions are the same or the error of the two actions is small (for example, the time error of two key presses of a double-click action is within 10% of 1 second), the subsequent steps can be performed, if the two actions are not matched, the misoperation of the user can be performed, or the unintentional operation can be performed when the user records a certain action, so that the user can record the two actions to clarify the own action, and the unintended action cannot be generated in the future use. Of course, in practical applications, the error may be set by the user according to the habit of the user, such as 10%, 20%, or 30% of 1 second.
And step 204, taking the first action as a preset action.
Specifically, after judging that the two recorded actions are matched, the mobile terminal can complete the setting of the preset action and store the action record. After the recording is finished, the setting of the preset instruction can be prompted. For example, all operations that can be performed quickly are given by means of options, selected by the user.
It should be further noted that, in this embodiment, multiple preset actions may be recorded on one key, for example, after one action and a corresponding preset instruction are recorded, the next action recording and the setting of the corresponding preset instruction may be prompted.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the steps contain the same logical relationship, which is within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A third embodiment of the present invention relates to a mobile terminal, which has a structure as shown in fig. 3, and specifically includes: the device comprises a recording module, a detection module, a judgment module and an execution module.
The recording module is used for recording preset actions in advance.
And the detection module is used for detecting the action of a preset key on the mobile terminal.
The judging module is used for judging whether the action is matched with the preset action of the preset key; and when the matching is judged, the execution module is triggered.
And the execution module is used for executing a preset instruction corresponding to the preset action, wherein the preset instruction is a user-defined instruction.
Specifically, the preset key can be provided with a plurality of corresponding preset actions, and different preset actions correspond to different preset instructions.
The preset key in this embodiment may be a physical key, such as a volume key, and the preset instruction may be to run preset software.
It should be understood that this embodiment is a system example corresponding to the first embodiment, and may be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A fourth embodiment of the present invention relates to a mobile terminal. The fourth embodiment is further improved on the basis of the third embodiment, and the main improvement lies in that: in the fourth embodiment of the present invention, the recording module is further defined, so that it is ensured that the user can perform DIY setting on the key actions, the degree of freedom of operation and control of the user is increased, the operation and control habits of the user are better met, and the user experience is further improved.
Specifically, as shown in fig. 4, the recording module in the mobile terminal includes:
and the detection submodule is used for respectively detecting the first action and the second action of the preset key.
And the recording submodule is used for recording the first action and the second action of the preset key.
And the judgment submodule is used for judging whether the second action of the preset key is matched with the first action or not and taking the first action as the preset action when the judgment result shows that the second action of the preset key is matched with the first action.
Since the second embodiment corresponds to the present embodiment, the present embodiment can be implemented in cooperation with the second embodiment. The related technical details mentioned in the second embodiment are still valid in this embodiment, and the technical effects that can be achieved in the second embodiment can also be achieved in this embodiment, and are not described herein again in order to reduce the repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the second embodiment.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (2)

1. A key operation method is characterized by comprising the following steps:
A. detecting the action of a preset key in a preset fixed time period, wherein the preset key is a physical key, and the action is pressing the physical key; B. if the action is matched with the preset action of the preset key, executing a preset instruction corresponding to the preset action, wherein the preset action is recorded in advance, and the preset instruction is a user-defined instruction; the matching means that the time error of pressing a preset key in the action and the preset action is within a preset time range;
wherein in the step of pre-recording the preset action, the method comprises the following substeps:
respectively detecting and recording the first action and the second action of a preset key in the preset fixed time period;
if the second action of the preset key is matched with the first action, the first action is the preset action, wherein the matching means that the time error of pressing the preset key in the second action and the first action is within a preset time range; after the recording of the preset action is finished, giving all operations which can be quickly executed in an option mode, and setting the operation selected by a user as a corresponding preset instruction;
the preset keys are provided with a plurality of corresponding preset actions, and different preset actions correspond to different preset instructions.
2. A mobile terminal, comprising: the device comprises a recording module, a detection module, a judgment module and an execution module;
the recording module is used for recording preset actions in advance;
the detection module is used for detecting the action of a preset key on the mobile terminal within a preset fixed time period, wherein the preset key is a physical key, and the action is pressing the physical key; the preset key is a volume key;
the judging module is used for judging whether the action is matched with the preset action of the preset key; and when the matching is judged, triggering the execution module; the matching means that the time error of pressing a preset key in the action and the preset action is within a preset time range;
the execution module is used for executing a preset instruction corresponding to the preset action, wherein the preset instruction is a user-defined instruction;
wherein the recording module comprises:
the detection submodule is used for respectively detecting the first action and the second action of the preset key within the preset fixed time period;
the recording submodule is used for recording the first action and the second action of the preset key;
the judging submodule is used for judging whether the second action of the preset key is matched with the first action or not, and when the second action of the preset key is matched with the first action, the first action is the preset action, wherein the matching means that the time error of pressing the preset key in the second action and the first action is within a preset time range; after the recording of the preset action is finished, giving all operations which can be quickly executed in an option mode, and setting the operation selected by a user as a corresponding preset instruction;
the preset keys are provided with a plurality of corresponding preset actions, and different preset actions correspond to different preset instructions.
CN201410857397.6A 2014-12-30 2014-12-30 Key operation method and mobile terminal Active CN105808118B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410857397.6A CN105808118B (en) 2014-12-30 2014-12-30 Key operation method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410857397.6A CN105808118B (en) 2014-12-30 2014-12-30 Key operation method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105808118A CN105808118A (en) 2016-07-27
CN105808118B true CN105808118B (en) 2020-10-27

Family

ID=56465091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410857397.6A Active CN105808118B (en) 2014-12-30 2014-12-30 Key operation method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105808118B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106802766A (en) * 2016-12-22 2017-06-06 维沃移动通信有限公司 The control method and mobile terminal of a kind of mobile terminal
CN110456929A (en) * 2019-08-22 2019-11-15 上海诺为科技有限公司 A kind of Pen for turning page system and its operating method can customize page turning key

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800337A (en) * 2011-05-25 2012-11-28 汉王科技股份有限公司 Method and equipment for playing keytone
CN103095917A (en) * 2013-01-08 2013-05-08 广东欧珀移动通信有限公司 Mobile phone physical button user-defined achieving method and device
EP2672416A1 (en) * 2012-06-04 2013-12-11 Samsung Electronics Co., Ltd Method for providing fingerprint-based shortcut key, machine-readable storage medium, and portable terminal
CN103516850A (en) * 2013-10-22 2014-01-15 上海斐讯数据通信技术有限公司 Physical button based method for controlling rapid switch of smartphone
CN103558990A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and system for rapidly opening or operating applications on mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102800337A (en) * 2011-05-25 2012-11-28 汉王科技股份有限公司 Method and equipment for playing keytone
EP2672416A1 (en) * 2012-06-04 2013-12-11 Samsung Electronics Co., Ltd Method for providing fingerprint-based shortcut key, machine-readable storage medium, and portable terminal
CN103095917A (en) * 2013-01-08 2013-05-08 广东欧珀移动通信有限公司 Mobile phone physical button user-defined achieving method and device
CN103516850A (en) * 2013-10-22 2014-01-15 上海斐讯数据通信技术有限公司 Physical button based method for controlling rapid switch of smartphone
CN103558990A (en) * 2013-11-05 2014-02-05 广东欧珀移动通信有限公司 Method and system for rapidly opening or operating applications on mobile terminal

Also Published As

Publication number Publication date
CN105808118A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
EP3043236B1 (en) Method and apparatus for implementing a stacked touch key and fingerprint sensor
CN104598111B (en) Switch the method and device of display pattern
CN104571498B (en) A kind of application program launching method
CN103544973B (en) The song control method of a kind of music player and device
CN105159559A (en) Mobile terminal control method and mobile terminal
CN101826352A (en) Music playback and the method that is used for the music selection and resets
CN105549849A (en) Method and device for processing misoperation instruction
CN104793846A (en) Displaying method and device for interface of application program
CN104932712A (en) Text input method and device
CN104461304A (en) Application control method and device
CN104883444B (en) One kind call quick application process, system and mobile terminal
US20220357826A1 (en) Method for presentation by terminal device, and terminal device
CN105677473A (en) Method and device for switching application program
JP7051798B2 (en) Speech recognition control methods, devices, electronic devices and readable storage media
WO2015131625A1 (en) Application control method and device, and terminal
WO2022156662A1 (en) Method and apparatus for switching audio playing mode, and electronic device and storage medium
CN106843592A (en) Touch control method and device and mobile terminal
KR20170076615A (en) Unlocking method and apparatus
WO2016026108A1 (en) Application program switch method, apparatus and electronic terminal
CN104703013A (en) Operation method and device for remote control for set top box
CN106775377A (en) The control method of gesture identifying device, equipment and gesture identifying device
CN105808118B (en) Key operation method and mobile terminal
CN105468281A (en) Setup interface display method and device
CN108803892A (en) A kind of method and apparatus for calling third party application in input method
CN104536781A (en) Terminal

Legal Events

Date Code Title Description
C06 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