CN106802766A - The control method and mobile terminal of a kind of mobile terminal - Google Patents
The control method and mobile terminal of a kind of mobile terminal Download PDFInfo
- Publication number
- CN106802766A CN106802766A CN201611200250.5A CN201611200250A CN106802766A CN 106802766 A CN106802766 A CN 106802766A CN 201611200250 A CN201611200250 A CN 201611200250A CN 106802766 A CN106802766 A CN 106802766A
- Authority
- CN
- China
- Prior art keywords
- key
- function
- macintosh
- mobile terminal
- press event
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0489—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
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 embodiment of the invention discloses the control method and mobile terminal of a kind of mobile terminal, the method includes:The key-press event of mobile terminal is monitored, and when key-press event is listened to, judges whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is default Macintosh, User Defined function corresponding with key combination is performed;If the key combination in key-press event is not default Macintosh, system default function corresponding with key combination or refusal respond are performed, so as to increased the function that button can be realized, and then improve the value of button operation readiness.
Description
Technical field
The present embodiments relate to the communications field, more particularly to a kind of mobile terminal control method and mobile terminal.
Background technology
With continuing to develop for mobile terminal, attractive in appearance in order to realize, physical button is fewer and feweri with mobile phone, if
Need to mobile terminal, be mostly that screen is waken up by physical button, then completed by sequence of operations such as unblock, selection menus
Control to mobile terminal.
The physical button function of existing mobile terminal is relatively simple, by taking smart mobile phone as an example, the master catalogue key that carries above,
Volume key and closing key, typically all only have a kind of function.Thus greatly reduce the value of physical button operation readiness.
The content of the invention
The embodiment of the present invention provides the control method and mobile terminal of a kind of mobile terminal, to solve physics in mobile terminal
Button operation readiness is worth low problem.
On the one hand, there is provided a kind of control method of mobile terminal, method includes:
Monitor key-press event;
When key-press event is listened to, judge whether the key combination in key-press event is default Macintosh;
If the key combination in key-press event is default Macintosh, performs user corresponding with key combination and make by oneself
Adopted function;If the key combination in key-press event is not default Macintosh, performs system corresponding with key combination and write from memory
Recognize function or refusal respond.
On the other hand, the embodiment of the present invention additionally provides a kind of mobile terminal, including:
Module is monitored, for monitoring key-press event;
Judge module, for when key-press event is listened to, judging whether the key combination in key-press event is default
Macintosh;
Performing module, if being default Macintosh for the key combination in key-press event, performs and key combination
Corresponding User Defined function;If the key combination in key-press event is not default Macintosh, perform and button group
Close corresponding system default function or refusal respond.
To sum up, the embodiment of the present invention is by monitoring the key-press event of mobile terminal, and when key-press event is listened to, judges
Whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is default combination
Key, then perform User Defined function corresponding with key combination;If the key combination in key-press event is not default group
Key is closed, then system default function corresponding with key combination or refusal respond is performed, so as to increased the work(that button can be realized
Can, and then improve the value of button operation readiness.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by institute in the description to the embodiment of the present invention
The accompanying drawing for needing to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of the control method of mobile terminal of the embodiment of the present invention;
Fig. 2 is the flow chart of the control method of another mobile terminal of the embodiment of the present invention;
Fig. 3 is a kind of block diagram of mobile terminal of the embodiment of the present invention;
Fig. 4 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 5 is the block diagram of another mobile terminal of the embodiment of the present invention;
Fig. 6 is the block diagram of another mobile terminal of the embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
Embodiment one
Reference picture 1, shows a kind of flow chart of the control method of mobile terminal, the present embodiment institute in the embodiment of the present invention
The method of offer can be performed by mobile terminal, and control method includes:
Step 101, monitors key-press event.
Specifically, each physical button of mobile terminal can be monitored, when receiving at least two of Preset Time internal trigger
During physical button, confirmation listens to key-press event, and at least two physical button is constituted the key combination of key-press event.
Step 102, judges whether the key combination in key-press event is default Macintosh.
After receiving at least two physical buttons of Preset Time internal trigger, it is possible to use the information structure of each physical button
Into key combination information, inquired about in database, be confirmed whether the Macintosh that presence can be matched.Will listen to
Key combination corresponding informance be compared with default Macintosh corresponding informance, judge whether key combination in key-press event is
It is default Macintosh.
If specifically, key combination in key-press event is default Macintosh, performing step 103, that is, perform with
The corresponding User Defined function of key combination;If the key combination in key-press event is not default Macintosh, perform
Step 104, that is, perform system default function corresponding with key combination or refusal respond.
Step 103, performs User Defined function.
Because the User Defined function is the function that user independently selects definition in advance, the individual of user can be effectively embodied
Body operational requirements.Therefore, when the key combination in key-press event is default Macintosh, it can be determined that user is needed by using
Family custom feature realizes personalized operational requirements.At this point it is possible to the execution of User Defined function is set to higher
Priority.Preferentially meet the active operation demand of user.
Step 104, execution system default feature.
Due to the function that system default function pre-sets for system, if key combination is triggered, but do not pre-set
The corresponding User Defined function of the key combination, just can perform the corresponding system default function of the key combination.
User, can be in the case of not configured Macintosh when using mobile terminal, just can be by triggering button
Combination makes mobile terminal perform corresponding system default function.If the system default function disclosure satisfy that user's request, in nothing
In the case that need to Macintosh be set, that is, the function that physical button can be realized is increased, while it is convenient also to improve physical button
The value of operation.
If additionally, user triggering key combination be not meet the combination of preset rules, can be with refusal respond.
In sum, in the embodiment of the present invention, key-press event is listened to by monitoring the key-press event of mobile terminal, and working as
When, judge whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is default
Macintosh, then perform corresponding with key combination User Defined function;If the key combination in key-press event is not pre-
If Macintosh, then perform corresponding with key combination system default function or refusal respond, can be real so as to increased button
Existing function, and then improve the value of button operation readiness.
Embodiment two
Reference picture 2, shows the flow chart of the control method of another mobile terminal of the embodiment of the present invention.The present embodiment
The method for being provided can be performed by mobile terminal, and control method includes:
Step 201, pre-defines the combination of each physical button in mobile terminal, generates Macintosh.
Specifically, the group of each physical button of user input can be obtained by providing a user with Macintosh definition interfaces
Conjunction mode.Wherein it is possible to the option by providing each physical button correspondence mark in Macintosh definition interfaces, user can be with root
According to the option of each physical button correspondence mark, selected in Macintosh definition interfaces.Guiding can also be provided a user with to refer to
Order, instruction user sequentially inputs needs each physical button for being set to Macintosh, so as to generate Macintosh.
For example, the title of each physical button can alternatively be shown in Macintosh definition interfaces, each physics
The title of button can be:Sound increases, sound subtracts, HOME keys, screen locking key etc..User can be by each thing of the display from interface
At least two are selected in reason button title, to realize the definition to Macintosh.Such as select sound to increase and subtract the two physics with sound
Button, then it represents that sound increasing is subtracted into the two physical buttons with sound and is combined, generation Macintosh " volume increasing+volume down ".
Or by way of providing a user with key instruction, instruction user sequentially input need each physics for being set to Macintosh by
Key.First physical button in inputting combination key is such as pointed out, after the completion of first physical button input, input second is reresented
Individual physical button, user is input into second physical button further according to individual demand, until fully entering completion, confirming will input
Each physical button be combined as need definition Macintosh.
Step 202, indicates according to user, the corresponding User Defined function of setting Macintosh.
Specifically, after the completion of key definition is combined, the function choosing-item of definable can be provided a user with.Wherein, definable
Function include but be not limited only to:Open and specify application, the function of toggle status bar, switching contextual model, system customization service
Deng.Each function has unique operation mark, for marking the function, it is possible to which the operation mark is logical as action broadcast
The content known is sent to the application for registering the function.
Wherein, the function choosing-item can be multilevel menu.I.e. when user completes first according to first order function choosing-item menu
After the selection of level functional category, into second level function choosing-item menu, until determining concrete function corresponding with the Macintosh.Example
Such as, the option of first order function choosing-item menu offer is:A. open and specify application;The function of B, toggle status bar;C, switching feelings
Scape pattern;D system customization service.After user selects A options, second level function choosing-item menu is shown, the second level function choosing
Item menu can be shown using the form of the form of list or matrix to each application option.
Wherein, the mode of setting Macintosh corresponding function can also be to provide a user with input frame, defeated by User Defined
Entering the Macintosh needs the function of setting.
When user selects User Defined function according to function choosing-item, it is set as user certainly the corresponding function of Macintosh
Defined function.I.e. when user selects one of function from each function choosing-item, just the function that the user selects is set as
The corresponding User Defined function of Macintosh.For example, being selected by multilevel menu, final choice " screenshotss " is used as Macintosh " sound
The corresponding User Defined function of amount increasing+volume down ".
When not selected for function choosing-item, the corresponding function of Macintosh is set as system default function.Work as
When user is difficult to determination and needs for which kind of function to be set as the Macintosh corresponding User Defined function, selection can be abandoned and used
Family custom feature, now, system default function can alternatively be recommended user by system, introduced the system to user and write from memory
Recognize the effect of function, it is also possible to when user exits User Defined function interface automatically by the corresponding function setting of the Macintosh
It is system default function.For example, when user is not selected for function choosing-item, Macintosh " volume increasing+volume down " is right
The function of answering is set as system default function-silent mode.
Step 203, monitors key-press event.
Specifically, can be monitored key-press event by the key induced device of system bottom.When receiving default
Between internal trigger at least two physical buttons when, confirmation listen to key-press event.If for example, Preset Time is 0.1 second, working as reception
Volume to internal trigger in 0.1 second increases during with two physical buttons of volume down, and confirmation listens to key-press event for volume increases and volume
A physical button is triggered as key combination to subtract two.
Step 204, judges whether the key combination in key-press event is default Macintosh.
Specifically, after key combination is listened to, the Macintosh prestored in the key combination and database can be carried out
Compare.The key combination can not only include a series of combination of buttons, can also be including pushing button and lifting button etc.
Action message, after the key combination comprising specify information is triggered, can be inquired about from database whether with the specify information
The default Macintosh of matching.Determine whether exist and key combination identical Macintosh.
After the key combination that will be listened to is compared with the Macintosh for prestoring, if exist in database can be pressed with this
The corresponding default Macintosh of key combination, it is determined that key combination is identical with default Macintosh, can perform and key combination pair
The User Defined function of answering.If conversely, in database in the absence of can default Macintosh corresponding with the key combination, really
Determine key combination different from default Macintosh, system default function corresponding with key combination can be performed.
Specifically, because User Defined function is the function corresponding with the Macintosh that user is actively set, can sentence
The purpose that disconnected user triggers the Macintosh is stronger.Therefore, User Defined function is crossed to combination key assignments in user
In the case of, can preferentially perform User Defined function.And perform again and be in the case of without setting User Defined function
System default feature.Even there is User Defined function, then perform step 205;If not existing User Defined function, perform
Step 206.
Step 205, performs User Defined function.
Specifically, key combination that can be according to the advance User Defined function to combination key assignments of user to listening to
Responded.If for example, preset triggering Macintosh " volume increasing+volume down " corresponding User Defined function be screenshotss,
Then when the Macintosh is listened to, screenshotss just are performed to terminal.
After User Defined function is performed, step 208 is can also carry out.
Step 206, execution system default feature.
Specifically, if user does not set the corresponding User Defined function of Macintosh, when the Macintosh is listened to, can be with
The system default function that execution pre-sets.If for example, presetting triggering Macintosh " volume increasing+volume down " corresponding system
Default feature is silent mode, then when listening to the Macintosh, and be not detected by User Defined work(corresponding with the Macintosh
During energy, silent mode is performed to terminal.
After execution system default feature, step 207 is can also carry out.
Step 207, sends the corresponding action broadcast of executed function, to indicate registration application to perform related operation.
Because each function corresponds to unique operation mark, therefore, after system performs corresponding function, can also send out
Send executed function corresponding action broadcast.It is corresponding with the function if there is the application for registering the function in mobile terminal
Registration application will likely receive this action broadcast, and by registration application perform associative operation.
If for example, Macintosh is set as:" volume increasing+volume down ", system default function corresponding with the Macintosh is:It is quiet
Sound pattern.And not to the combination key assignments User Defined function.Then when the Macintosh is listened to, silent mode is performed, together
When send action broadcast, the content of broadcast is corresponding operation mark ACTION_SLIENT_ON.Now, if voice applications Y is noted
The volume function, and voice applications Y plays music, then after voice applications Y receives this action to be broadcasted, judge to use
Family is likely to be at the environment for needing peace and quiet, and then execution is automatically stopped broadcasting or reduces the corresponding operatings such as volume.
And for example, if having preset User Defined function to Macintosh, the User Defined function of setting as:Screenshotss.
Then when the Macintosh is listened to, screenshotss are performed, while sending action broadcast, the content of broadcast is corresponding operation mark
ACTION_CUT_SCREEN.Now, if social networking application S have registered the function, and social networking application S is just in front stage operation, then when
After social networking application S receives this action broadcast, judge that user may need to be shared using the screenshot picture, and then eject
Share the associative operations such as the page.
To sum up, in the embodiment of the present invention, by pre-defining the combination of each physical button in mobile terminal, generation group
Key is closed, and is indicated according to user, the corresponding User Defined function of setting Macintosh.Can monitor key-press event during,
If listening to key combination, the key combination that just will be listened to is compared with default Macintosh, in judging key-press event
Whether key combination is default Macintosh.If so, then performing User Defined function;If it is not, then execution system gives tacit consent to work(
Energy.And the corresponding action broadcast of executed function is sent, to indicate registration application to perform related operation.So as to can not only have
Effect ground carries out operation readiness using physical button, and carries out troublesome operation without opening application.But also can apply registration
Function according to executed further performs associative operation, and then the effectively experience of lifting user.
Embodiment three
Reference picture 3, shows a kind of block diagram of mobile terminal in the embodiment of the present invention.Mobile terminal includes:Monitor module
31st, judge module 32 and performing module 33.
Wherein, module 31 is monitored, for monitoring key-press event;
Judge module 32, for when key-press event is listened to, judging whether the key combination in key-press event is default
Macintosh;
Performing module 33, if being default Macintosh for the key combination in key-press event, performs and button group
Close corresponding User Defined function;If the key combination in key-press event is not default Macintosh, perform and button
Combine corresponding system default function or refusal respond.
To sum up, in the embodiment of the present invention, the key-press event of mobile terminal is monitored by monitoring module 31, when listening to button
During event, judge whether the key combination in key-press event is default Macintosh by judge module 32.If key-press event
In key combination be default Macintosh, then User Defined function corresponding with key combination is performed by performing module 33;
If the key combination in key-press event is not default Macintosh, system corresponding with key combination is performed by performing module 33
System default feature or refusal respond.So as to be added significantly to the function that physical button can be realized, and then improve physical button
The value of operation readiness.
Reference picture 4, in a preferred embodiment of the invention, on the basis of Fig. 3, mobile terminal also includes:Group
Close key definition module 34, function setting module 35 and broadcast module 36.
Wherein, Macintosh definition module 34, the combination for pre-defining each physical button in mobile terminal, generation
Macintosh.
Function setting module 35, for being indicated according to user, the corresponding User Defined function of setting Macintosh.
Broadcast module 36, for sending the corresponding action broadcast of executed function, with indicate registration application execution related
Operation, wherein, executed function includes User Defined function or system default function.
Specifically, function setting module 35 includes:Function displaying submodule 351, function defines submodule 352.
Wherein, function displaying submodule 351, the function choosing-item for providing a user with definable.
Function defines submodule 352, and for the function choosing-item selected according to user, setting Macintosh corresponding user make by oneself
Adopted function.
Specifically, monitor module 31 including:Monitor submodule 311 and confirm submodule 312.
Wherein, submodule 311, the physical button for monitoring mobile terminal are monitored.
Submodule 312 is confirmed, for when at least two physical button of Preset Time internal trigger is received, confirming to monitor
To key-press event, and at least two physical buttons are constituted the key combination of key-press event.
To sum up, in the embodiment of the present invention, each physical button in mobile terminal is pre-defined by Macintosh definition module 34
Combination, generate Macintosh, and indicated according to user by function setting module 35, setting the corresponding user of Macintosh make by oneself
Adopted function.During key-press event can be monitored module 31 is monitored, if listening to key combination, will pass through judge module 32 will
The key combination for listening to is compared with default Macintosh, judges whether the key combination in key-press event is default group
Close key.If so, then performing User Defined function by performing module 33;If it is not, then being given tacit consent to by the execution system of performing module 33
Function.And the corresponding action broadcast of executed function is sent by broadcast module 36, to indicate registration application to perform related operation.
Operation readiness is carried out so as to can not only effectively utilize physical button, and troublesome operation is carried out without opening application.But also
Can apply registration and associative operation, and then the effectively experience of lifting user are further performed according to the function of executed.
Example IV
Fig. 5 is the block diagram of another mobile terminal of the embodiment of the present invention.Mobile terminal 500 shown in Fig. 5 includes:At least
One processor 501, memory 502, at least one network interface 504 and other users interface 503.In mobile terminal 500
Each component is coupled by bus system 505.It is understood that bus system 505 is used to realize the company between these components
Connect letter.Bus system 505 in addition to including data/address bus, also including power bus, controlling bus and status signal bus in addition.But
Be for clear explanation for the sake of, various buses are all designated as bus system 505 in Figure 5.
Wherein, user interface 503 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), Electrically Erasable Read Only Memory (ElectricallyEPROM, EEPROM) dodge
Deposit.Volatile memory can be random access memory (RandomAccessMemory, RAM), and it is used as outside slow at a high speed
Deposit.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 502 of the system and method for embodiment of the present invention description is intended to include but does not limit
In these memories with any other suitable type.
In some embodiments, memory 502 stores following element, can perform module or data structure, or
Person their subset, or their superset:Operating system 5021 and application program 5022.
Wherein, operating system 5021, comprising various system programs, such as ccf layer, core library layer, driving layer etc. are used for
Realize various basic businesses and process hardware based task.Application program 5022, comprising various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., for realizing various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 5022.
In embodiments of the present invention, by the program for calling memory 502 to store or instruction, specifically, can be application
The program stored in program 5022 or instruction, processor 501 listen to button for monitoring the key-press event of mobile terminal, and working as
During event, judge whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is
Default Macintosh, then perform User Defined function corresponding with key combination;If the key combination in key-press event is not
It is default Macintosh, then performs system default function corresponding with key combination or refusal respond.
The method that the embodiments of the present invention are disclosed can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the instruction of the integrated logic circuit of the hardware in processor 501 or software form.Above-mentioned treatment
Device 501 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application specific integrated circuit
(ApplicationSpecificIntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) or other PLDs, discrete gate or transistor logic
Device, discrete hardware components.Can realize or perform disclosed each method in the embodiment of the present invention, step and box
Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion, or use decoding processor
In hardware and software module combination perform completion.Software module may be located at random access memory, and flash memory, read-only storage can
In the ripe storage medium in this area such as program read-only memory or electrically erasable programmable memory, register.The storage
Medium is located at memory 502, and processor 501 reads the information in memory 502, and the step of the above method is completed with reference to its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronic units for performing the application function or
In its combination.
Realized for software, can be realized by performing the module (such as process, function etc.) of embodiment of the present invention function
The technology of the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can be in treatment
Realized in device or outside processor.
Alternatively, processor 501 is each in mobile terminal for pre-defining before the key-press event of mobile terminal is monitored
The combination of physical button, generates Macintosh.And indicated according to user, the corresponding User Defined function of setting Macintosh.
Alternatively, processor 501 is when the corresponding User Defined function of Macintosh is set, specifically for:Carried to user
For the function choosing-item of definable;And the function choosing-item selected according to user, the corresponding User Defined function of setting Macintosh.
Alternatively, processor 501 monitor key-press event when, specifically for:Monitor the physical button of mobile terminal.When connecing
When receiving at least two physical button of Preset Time internal trigger, confirmation listens to key-press event, and by least two physics
Button constitutes the key combination of key-press event.
Alternatively, processor 501 is additionally operable to:In execution User Defined function corresponding with key combination or system default
After function, the corresponding action broadcast of executed function is sent, to indicate registration application to perform related operation.Wherein, held
Row function includes User Defined function or system default function.
Mobile terminal 500 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here
Repeat no more.
To sum up, the embodiment of the present invention is by monitoring the key-press event of mobile terminal, and when key-press event is listened to, judges
Whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is default combination
Key, then perform User Defined function corresponding with key combination;If the key combination in key-press event is not default group
Key is closed, then performs system default function corresponding with key combination or refusal respond.Can be with so as to be added significantly to physical button
The function of realization, and then improve the value of physical button operation readiness.
Embodiment five
Fig. 6 is the block diagram of another mobile terminal of the embodiment of the present invention.Specifically, the mobile terminal 600 in Fig. 6 can be with
It is mobile phone, panel computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 600 in Fig. 6 includes that radio frequency (RadioFrequency, RF) circuit 610, memory 620, input are single
Unit 630, display unit 640, processor 660, voicefrequency circuit 670, WiFi (WirelessFidelity) module 680 and power supply
690。
Wherein, input block 630 can be used to receive the numeral or character information of user input, and produce and mobile terminal
600 user is set and the relevant signal input of function control.Specifically, in the embodiment of the present invention, the input block 630 can
With including contact panel 631.Contact panel 631, also referred to as touch-screen, can collect user thereon or neighbouring touch operation
(such as user uses the operations of any suitable object or annex on contact panel 631 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment means.Optionally, contact panel 631 may include touch detecting apparatus and touch controller
Two parts.Wherein, touch detecting apparatus detect the touch orientation of user, and detect the signal that touch operation brings, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
Give the processor 660 again, and the order sent of receiving processor 660 and can be performed.Furthermore, it is possible to using resistance-type,
The polytypes such as condenser type, infrared ray and surface acoustic wave realize contact panel 631.Except contact panel 631, input block
630 can also include other input equipments 632, and other input equipments 632 can include but is not limited to physical keyboard, function key
One or more in (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Wherein, display unit 640 can be used for display by the information of user input or be supplied to information and the movement of user
The various menu interfaces of terminal 600.Display unit 640 may include display panel 641, optionally, can use LCD or organic hairs
The forms such as optical diode (OrganicLight-EmittingDiode, OLED) configure display panel 641.
It should be noted that contact panel 631 can cover display panel 641, touch display screen is formed, when touch display screen inspection
Measure thereon or after neighbouring touch operation, processor 660 is sent to determine the type of touch event, with preprocessor
660 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And the arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area be used for show utilization rate control higher, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 660 is the control centre of mobile terminal 600, using various interfaces and connection whole mobile phone
Various pieces, by running or performing software program and/or module of the storage in first memory 621, and call storage
Data in second memory 622, perform the various functions and processing data of mobile terminal 600, so as to mobile terminal 600
Carry out integral monitoring.Optionally, processor 660 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 621 in software program and/or module and/
Or the data in the second memory 622, processor 660 is used to monitor the key-press event of mobile terminal, and ought listen to button
During event, judge whether the key combination in key-press event is default Macintosh.If the key combination in key-press event is
Default Macintosh, then perform User Defined function corresponding with key combination;If the key combination in key-press event is not
It is default Macintosh, then performs system default function corresponding with key combination or refusal respond.
Alternatively, processor 620 is each in mobile terminal for pre-defining before the key-press event of mobile terminal is monitored
The combination of physical button, generates Macintosh.And indicated according to user, the corresponding User Defined function of setting Macintosh.
Alternatively, processor 620 is when the corresponding User Defined function of Macintosh is set, specifically for:Carried to user
For the function choosing-item of definable;And the function choosing-item selected according to user, the corresponding User Defined function of setting Macintosh.
Alternatively, processor 620 monitor key-press event when, specifically for:Monitor the physical button of mobile terminal.When connecing
When receiving at least two physical button of Preset Time internal trigger, confirmation listens to key-press event, and by least two physics
Button constitutes the key combination of key-press event.
Alternatively, processor 620 is additionally operable to:Performing User Defined function corresponding with the key combination or system
After default feature, the corresponding action broadcast of executed function is sent, to indicate registration application to perform related operation.Wherein,
Executed function includes User Defined function or system default function.
Mobile terminal 600 can realize each process of mobile terminal realization in previous embodiment, to avoid repeating, here
Repeat no more.
It can be seen that, the mobile terminal in the embodiment of the present invention monitors the key-press event of mobile terminal by processor 660, and
When key-press event is listened to, judge whether the key combination in key-press event is default Macintosh.If in key-press event
Key combination be default Macintosh, then perform corresponding with key combination User Defined function;If in key-press event
Key combination be not default Macintosh, then perform corresponding with key combination system default function or refusal respond.So as to
The function that physical button can be realized is added significantly to, and then improves the value of physical button operation readiness.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, can be by other
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of unit, is only one kind
Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces,
Can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, be shown as unit
Part can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple networks
On unit.Some or all of unit therein can be according to the actual needs selected to realize the purpose of this embodiment scheme.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If function is to realize in the form of SFU software functional unit and as independent production marketing or when using, can store
In a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words to existing
Having part that technology contributes or the part of the technical scheme can be embodied in the form of software product, the computer
Software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be personal meter
Calculation machine, server, or network equipment etc.) perform all or part of step of each embodiment method of the invention.And it is foregoing
Storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with the medium of store program codes.
More than, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any to be familiar with
Those skilled in the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all cover
Within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (10)
1. a kind of control method of mobile terminal, it is characterised in that including:
Monitor key-press event;
When key-press event is listened to, judge whether the key combination in the key-press event is default Macintosh;
If the key combination in the key-press event is default Macintosh, user corresponding with the key combination is performed
Custom feature;If the key combination in the key-press event is not default Macintosh, perform and the key combination
Corresponding system default function or refusal respond.
2. method according to claim 1, it is characterised in that before the key-press event of the monitoring mobile terminal, also
Including:
The combination of each physical button, generates the Macintosh in pre-defined mobile terminal;
Indicated according to user, set the corresponding User Defined function of the Macintosh.
3. method according to claim 2, it is characterised in that the corresponding User Defined function of the setting Macintosh
Step, including:
Provide a user with the function choosing-item of definable;
According to the function choosing-item that user selects, the corresponding User Defined function of the Macintosh is set.
4. method according to claim 1, it is characterised in that the step of the monitoring key-press event, including:
Monitor the physical button of mobile terminal;
When at least two physical button of Preset Time internal trigger is received, confirmation listens to key-press event, and by described in extremely
Few two physical buttons constitute the key combination of the key-press event.
5. method according to claim 1, it is characterised in that performing User Defined corresponding with the key combination
After function or system default function, also include:
The corresponding action broadcast of executed function is sent, to indicate registration application to perform related operation;
Wherein, the executed function includes User Defined function or system default function.
6. a kind of mobile terminal, it is characterised in that including:
Module is monitored, for monitoring key-press event;
Judge module, for when key-press event is listened to, judging whether the key combination in the key-press event is default
Macintosh;
Performing module, if being default Macintosh for the key combination in the key-press event, performs and the button
Combine corresponding User Defined function;If the key combination in the key-press event is not default Macintosh, perform
System default function corresponding with the key combination or refusal respond.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Macintosh definition module, the combination for pre-defining each physical button in mobile terminal generates the Macintosh;
Function setting module, for being indicated according to user, sets the corresponding User Defined function of the Macintosh.
8. mobile terminal according to claim 7, it is characterised in that the function setting module, including:
Function shows submodule, the function choosing-item for providing a user with definable;
Function defines submodule, for the function choosing-item selected according to user, sets the corresponding User Defined of the Macintosh
Function.
9. mobile terminal according to claim 6, it is characterised in that the monitoring module, including
Monitor submodule, the physical button for monitoring mobile terminal;
Submodule is confirmed, for when at least two physical button of Preset Time internal trigger is received, confirmation to listen to button
Event, and at least two physical button is constituted the key combination of the key-press event.
10. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Broadcast module, for sending the corresponding action broadcast of executed function, to indicate registration application to perform related operation;
Wherein, the executed function includes User Defined function or system default function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611200250.5A CN106802766A (en) | 2016-12-22 | 2016-12-22 | The control method and mobile terminal of a kind of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611200250.5A CN106802766A (en) | 2016-12-22 | 2016-12-22 | The control method and mobile terminal of a kind of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106802766A true CN106802766A (en) | 2017-06-06 |
Family
ID=58984967
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611200250.5A Pending CN106802766A (en) | 2016-12-22 | 2016-12-22 | The control method and mobile terminal of a kind of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106802766A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360311A (en) * | 2017-06-27 | 2017-11-17 | 努比亚技术有限公司 | A kind of interface control method, mobile terminal and computer-readable recording medium |
CN108482920A (en) * | 2018-05-09 | 2018-09-04 | 徐州徐工环境技术有限公司 | A kind of compartment removable garbage truck intelligence control system |
CN109391831A (en) * | 2017-08-07 | 2019-02-26 | 阿里巴巴集团控股有限公司 | A kind of press keys setup method, device, equipment and storage medium |
CN110570722A (en) * | 2019-09-11 | 2019-12-13 | 李彦姝 | Stringed music teaching device and control method thereof |
CN111984182A (en) * | 2020-07-28 | 2020-11-24 | 华帝股份有限公司 | Combination key identification method, device, equipment and readable access medium |
CN112346577A (en) * | 2020-11-09 | 2021-02-09 | 杭州拼便宜网络科技有限公司 | Input information correction method, system and related device |
CN115237328A (en) * | 2021-04-25 | 2022-10-25 | 北京小米移动软件有限公司 | Control method and device of mobile terminal, mobile terminal and medium |
CN116321625A (en) * | 2023-03-07 | 2023-06-23 | 潍坊歌尔丹拿电子科技有限公司 | Sound box light regulation and control method, device, equipment and computer readable storage medium |
WO2024217159A1 (en) * | 2023-04-17 | 2024-10-24 | 华为技术有限公司 | Response method for electronic device, and electronic device and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005223438A (en) * | 2004-02-03 | 2005-08-18 | Seiko Epson Corp | Program for control signal transmitter, and remote control system |
CN102722332A (en) * | 2012-05-31 | 2012-10-10 | 华为终端有限公司 | Touch screen equipment and processing operation trigger method thereof |
CN103870007A (en) * | 2014-03-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Control method and control system for key combination of mobile terminal |
CN105718161A (en) * | 2016-01-15 | 2016-06-29 | 努比亚技术有限公司 | Method and device for terminal screen capturing |
CN105808118A (en) * | 2014-12-30 | 2016-07-27 | 芯讯通无线科技(上海)有限公司 | Key operation method and mobile terminal |
CN106095296A (en) * | 2016-06-15 | 2016-11-09 | 维沃移动通信有限公司 | The changing method of a kind of application program and mobile terminal |
-
2016
- 2016-12-22 CN CN201611200250.5A patent/CN106802766A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005223438A (en) * | 2004-02-03 | 2005-08-18 | Seiko Epson Corp | Program for control signal transmitter, and remote control system |
CN102722332A (en) * | 2012-05-31 | 2012-10-10 | 华为终端有限公司 | Touch screen equipment and processing operation trigger method thereof |
CN103870007A (en) * | 2014-03-10 | 2014-06-18 | 广东欧珀移动通信有限公司 | Control method and control system for key combination of mobile terminal |
CN105808118A (en) * | 2014-12-30 | 2016-07-27 | 芯讯通无线科技(上海)有限公司 | Key operation method and mobile terminal |
CN105718161A (en) * | 2016-01-15 | 2016-06-29 | 努比亚技术有限公司 | Method and device for terminal screen capturing |
CN106095296A (en) * | 2016-06-15 | 2016-11-09 | 维沃移动通信有限公司 | The changing method of a kind of application program and mobile terminal |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107360311A (en) * | 2017-06-27 | 2017-11-17 | 努比亚技术有限公司 | A kind of interface control method, mobile terminal and computer-readable recording medium |
CN109391831A (en) * | 2017-08-07 | 2019-02-26 | 阿里巴巴集团控股有限公司 | A kind of press keys setup method, device, equipment and storage medium |
CN108482920A (en) * | 2018-05-09 | 2018-09-04 | 徐州徐工环境技术有限公司 | A kind of compartment removable garbage truck intelligence control system |
CN110570722A (en) * | 2019-09-11 | 2019-12-13 | 李彦姝 | Stringed music teaching device and control method thereof |
CN111984182A (en) * | 2020-07-28 | 2020-11-24 | 华帝股份有限公司 | Combination key identification method, device, equipment and readable access medium |
CN111984182B (en) * | 2020-07-28 | 2022-07-12 | 华帝股份有限公司 | Combination key identification method, device, equipment and readable access medium |
CN112346577A (en) * | 2020-11-09 | 2021-02-09 | 杭州拼便宜网络科技有限公司 | Input information correction method, system and related device |
CN112346577B (en) * | 2020-11-09 | 2024-05-07 | 杭州拼便宜网络科技有限公司 | Input information correction method, system and related device |
CN115237328A (en) * | 2021-04-25 | 2022-10-25 | 北京小米移动软件有限公司 | Control method and device of mobile terminal, mobile terminal and medium |
CN116321625A (en) * | 2023-03-07 | 2023-06-23 | 潍坊歌尔丹拿电子科技有限公司 | Sound box light regulation and control method, device, equipment and computer readable storage medium |
CN116321625B (en) * | 2023-03-07 | 2024-06-04 | 潍坊歌尔丹拿电子科技有限公司 | Sound box light regulation and control method, device, equipment and computer readable storage medium |
WO2024217159A1 (en) * | 2023-04-17 | 2024-10-24 | 华为技术有限公司 | Response method for electronic device, and electronic device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106802766A (en) | The control method and mobile terminal of a kind of mobile terminal | |
CN106708367A (en) | Display method of conversation interface and mobile terminal | |
CN106325753B (en) | A kind of display methods and mobile terminal of payment interface | |
CN106371789B (en) | The display methods and mobile terminal of prompting message in a kind of application program | |
CN106681711A (en) | Method for content sharing under split screen mode and mobile terminal | |
CN106843654A (en) | The method and mobile terminal of a kind of terminal multi-job operation | |
CN106961342A (en) | A kind of group chat method and mobile terminal | |
CN106685801A (en) | Control method of notification messages and mobile terminal | |
CN106201632A (en) | The access method of a kind of application program and mobile terminal | |
CN106354407A (en) | Information sharing method and mobile terminal | |
CN106973167A (en) | A kind of income prompting method and mobile terminal | |
CN106817484A (en) | The acquisition methods and mobile terminal of a kind of session information | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN106557259B (en) | A kind of operating method and mobile terminal of mobile terminal | |
CN106886409A (en) | A kind of method for information display and mobile terminal | |
CN107357484A (en) | One kind prompting mark adding method, terminal and computer-readable recording medium | |
CN107493391A (en) | The management method and terminal of a kind of application message | |
CN106851001A (en) | A kind of information processing method and mobile terminal | |
CN106250026A (en) | The startup method of the application program of a kind of mobile terminal and mobile terminal | |
CN107609374A (en) | A kind of unlocking method and mobile terminal | |
CN106708408A (en) | Method and device for preventing spurious triggering of touch keys and terminal | |
CN106959797A (en) | The method to set up and mobile terminal of a kind of notice footmark | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN106982293A (en) | Communication means, terminal and system between a kind of terminal | |
CN106254694A (en) | A kind of method of incoming call blocking, mobile terminal and core net |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170606 |