Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal device is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Referring to fig. 1, a schematic diagram of an operating environment of a system 10 for preventing a key from being misoperated according to embodiments of the present invention is shown. The key depression prevention system 10 is installed and operated on the mobile terminal 100 by a malfunction. In this embodiment, the mobile terminal 100 is a mobile phone, a tablet computer, a personal digital assistant, a navigation device, or other terminal equipment.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), or the likeMedia to link (MediaFLO)@) A digital broadcasting system of a terrestrial digital broadcasting integrated service (ISDB-T), etc. receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning system). According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed. In the present embodiment, the user input unit 130 includes at least one physical button 131 and a touch screen 132. The physical keys 131 and the touch screen 132 will be further described below.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (incomingmunication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs and the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, and the like) that has been or will be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, mobile terminals have been described in terms of their functionality. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
It should be noted that, in the embodiment of the present invention, the user input unit 130 includes, but is not limited to, a plurality of physical keys 131, a touch screen 132, and the key 131, the memory 160, and the controller 180, the touch screen 132 receives a touch operation of a user to generate a corresponding touch command or display information to the user. The physical button 131 receives a touch operation by a user to generate a corresponding command. In the present embodiment, the physical key 131 includes, but is not limited to, a home key, a return key, a menu key, or a key for controlling a breathing light. In this embodiment, the physical keys 131 and the touch screen 132 are disposed on the same horizontal plane of the mobile terminal 100. In this embodiment, the physical keys 131 are further arranged below the touch screen 132. In other embodiments, the physical keys 131 further include a power key, a volume key, and the like disposed on a side of the mobile terminal 100.
The memory 160 may be an internal storage unit of the mobile terminal 100, such as a hard disk or a memory of the mobile terminal 100. The memory 160 may also be an external storage device of the mobile terminal 100, such as a plug-in hard disk, an SMC Card (Smart Media Card), an SD Card (Secure Digital Card), an FC Card (Flash Card), and the like, which are provided on the mobile terminal 100. Further, the memory 160 may also include both an internal storage unit of the mobile terminal 100 and an external storage device of the mobile terminal 100. The memory 160 is used for storing program codes and data required when the device 100 for preventing the key from being operated by mistake is operated. The controller 180 is configured to control the mobile terminal 100 to operate, and is a control center of the mobile terminal 100. The controller 180 may be a Central Processing Unit (CPU), a single chip, a digital signal processor, or the like. The controller 180 is used to run program codes installed in the memory 160 or process data, such as executing the system 10 for preventing the key from being operated by mistake.
The controller 180 is in communication connection with the touch screen 132, the physical keys 131 and the memory 160 through a system bus. Referring to fig. 2, a functional block diagram of a system 10 for preventing a key from being operated by mistake according to an embodiment of the invention is shown. The system 10 for preventing the key from being operated by mistake includes, but is not limited to, a touch recognition module 11, an operation object recognition module 12 and a touch response module 13. It should be noted that the modules referred to in the present invention are program instruction segments that can be executed by the controller 180 of the mobile terminal 100 and can perform specific functions. The specific functions of the above functional modules will be described in further detail below.
The touch identification module 11 identifies whether a physical button 131 of the mobile terminal 100 receives a touch operation of a user. In this embodiment, the touch operation of the physical key is mainly a pressing operation. In an embodiment, when the time of the pressing operation applied to the physical key 131 by the user is greater than a preset value, for example, 5 seconds, the touch identification module 11 identifies that the physical key 131 receives the touch operation of the user. In another embodiment, when the pressure applied to the physical button 131 by the user is greater than a preset value, such as 10N, the touch identification module 11 determines that the physical button 131 receives the touch operation of the user.
When the at least one physical key 131 of the mobile terminal 100 receives a user's touch operation, the touch recognition module 11 further recognizes whether the touch screen 132 of the mobile terminal 100 receives the user's touch operation within a preset time.
The operation object identification module 12 determines whether the object to be operated by the user is the touch screen 132 or the physical key 131 according to whether the touch screen 132 of the mobile terminal 100 receives the touch operation of the user within a preset time period when the at least one physical key 220 of the mobile terminal 100 receives the touch operation of the user, which is identified by the touch identification module 110.
Specifically, when the touch recognition module 11 does not recognize that the touch screen 132 receives the touch operation of the user within the preset time, the operation object recognition module 12 determines that the object to be operated by the user is the physical key 131. When the touch recognition module 11 recognizes that the touch screen 132 receives the touch operation of the user within the preset time, the operation object recognition module 12 determines that the object to be operated by the user is the touch screen 132.
The touch response module 13 controls the currently running application on the mobile terminal 100 to respond to the command generated by the object to be operated by the user identified by the operation object identification module 12 in response to the touch operation so as to execute a specific operation.
Specifically, when the operation object recognition module 12 determines that the object to be operated by the user is the physical button 131, the touch response module 13 controls the currently running application on the mobile terminal 100 to respond to a command generated by the touch operation received by the physical button 131 to execute a specific operation. If the physical key 131 is a home key, the touch response module 13 controls the mobile terminal 100 to exit from the current interface and return to the main interface; when the physical key 131 is a return key, the touch response module 13 controls the mobile terminal 100 to return to an interface before the current interface; when the physical key 131 is a menu key, the touch response module 13 controls a menu interface related to the currently running application to be displayed on the mobile terminal 100.
When the operation object recognition module 12 determines that the object to be operated by the user is the touch screen 132, the touch response module 13 controls the currently running application on the mobile terminal 100 to respond to a command generated by the touch operation received by the touch screen 132 to execute a specific operation. For example, when the touch operation received by the touch screen 132 is a single click, the touch response module 13 controls the currently running application on the mobile terminal 100 to respond to the single click operation to execute a specific function, such as opening a certain screen or link information.
Referring to fig. 3, a functional block diagram of a system 10 for preventing a key from being misoperated according to another embodiment of the present invention is shown. The system 10 for preventing the key from being operated by mistake comprises a command recognition module 14 and a delay module 15 in addition to a touch recognition module 11, an operation object recognition module 12 and a touch response module 13. The functions of the touch recognition module 11, the operation object recognition module 12 and the touch response module 13 in this embodiment are the same as those in the above embodiments, and are not repeated herein. The specific functions of the command recognition module 14 and the delay module 15 will be described in detail below.
The command identification module 14 is configured to identify a user's touch operation received by the physical key 131 and generate a corresponding command.
The command recognition module 14 also recognizes the user's touch operation received by the touch screen 132 and generates a corresponding command.
The delay module 15 is configured to control a currently running application or desktop system on the mobile terminal 100 to delay the preset time in response to the command corresponding to a physical key generated by the command recognition module 14 when the touch recognition module 11 recognizes that the physical key 131 of the mobile terminal 100 receives a touch operation of a user. In this way, the touch recognition module 11 can continue to determine whether the touch screen 132 of the mobile terminal 100 receives the touch operation of the user within the preset time delayed by the delay module 15.
Compared with the prior art, the system for preventing the keys from being operated by mistake judges whether the touch screen of the mobile terminal receives the touch operation within a preset time interval by receiving the touch operation of the user through one physical key of the mobile terminal, and judges whether the object to be operated by the user is the touch screen or the physical key according to whether the touch screen of the mobile terminal receives the touch operation within the preset time interval. When the touch screen does not receive touch operation within a preset time interval, controlling the mobile terminal to respond to a command generated by the touch operation received by the physical key; and when the touch screen receives the touch operation within a preset time interval, controlling the mobile terminal to respond to a command generated by the touch operation received by the touch screen. Therefore, when the physical keys receive touch operation, whether the touch operation is received by the touch screen within a preset time interval is further judged, so that the physical keys are prevented from being operated by mistake, convenience is brought to users, and the user experience is improved.
Please refer to fig. 4, which shows a flowchart illustrating a method for pushing information according to an embodiment of the present invention. In the present embodiment, the execution order of the steps in the flowchart shown in fig. 4 may be changed and some steps may be omitted, depending on the specific situation.
Step S401, identifying whether at least one physical key of the mobile terminal receives touch operation of a user; if yes, go to step S402; if not, the process ends.
In this embodiment, the touch operation of the physical key is mainly a pressing operation. In an embodiment, when the time of the pressing operation applied to the physical key 131 by the user is greater than a preset value, for example, 5 seconds, the touch identification module 11 identifies that the physical key 131 receives the touch operation of the user. In another embodiment, when the pressure applied to the physical button 131 by the user is greater than a predetermined value, such as 10 newtons, the touch identification module 11 determines that the physical button 131 receives the touch operation of the user.
In one embodiment, step S401 may be omitted.
Step S402, identifying whether the touch screen of the mobile terminal 100 receives a touch operation of a user within a preset time.
Step S403, determining whether the object to be operated by the user is the touch screen or the physical key according to whether the identified touch screen receives the touch operation of the user within a preset time.
Specifically, when the touch recognition module 11 does not recognize that the touch screen 132 receives the touch operation of the user within the preset time, the operation object recognition module 12 determines that the object to be operated by the user is the physical key 131. When the touch recognition module 11 recognizes that the touch screen 132 receives the touch operation of the user within the preset time, the operation object recognition module 12 determines that the object to be operated by the user is the touch screen 132.
And step S404, controlling the mobile terminal to respond to a command generated by an object to be operated by the user in response to the touch operation so as to execute a specific operation.
Specifically, when the operation object recognition module 12 determines that the object to be operated by the user is the physical button 131, the touch response module 13 controls the currently running application or desktop system on the mobile terminal 100 to execute a specific operation in response to a command generated by the touch operation received by the physical button 131. If the physical key 131 is a home key, the touch response module 13 controls the mobile terminal 100 to exit from the current interface and return to the main interface; when the physical key 131 is a return key, the touch response module 13 controls the mobile terminal 100 to return to an interface before the current interface; when the physical key 131 is a menu key, the touch response module 13 controls a menu interface related to the currently running application to be displayed on the mobile terminal 100.
When the operation object recognition module 12 determines that the object to be operated by the user is the touch screen 132, the touch response module 13 controls the currently running application on the mobile terminal 100 to respond to a command generated by the touch operation received by the touch screen 132 to execute a specific operation. For example, when the touch operation received by the touch screen 132 is a single click, the touch response module 13 controls the currently running application on the mobile terminal 100 to respond to the single click operation to execute a specific function, such as opening a certain screen or link information.
Compared with the prior art, the method for preventing the keys from being operated by mistake judges whether the touch screen of the mobile terminal receives the touch operation within the preset time interval when the physical keys of the mobile terminal receive the touch operation of the user, and judges whether the object to be operated by the user is the touch screen or the physical keys according to whether the touch screen of the mobile terminal receives the touch operation within the preset time interval. When the touch screen does not receive touch operation within a preset time interval, controlling a currently running application program on the mobile terminal to respond to a command generated by the touch operation received by the physical key; and when the touch screen receives touch operation within a preset time interval, controlling a currently running application program on the mobile terminal to respond to a command generated by the touch operation received by the touch screen. Therefore, when the physical keys receive touch operation, whether the touch operation is received by the touch screen within a preset time interval is further judged, so that the physical keys are prevented from being operated by mistake, convenience is brought to users, and the user experience is improved.
Please refer to fig. 5, which shows a flowchart illustrating a method for pushing information according to an embodiment of the present invention. In the present embodiment, the execution order of the steps in the flowchart shown in fig. 5 may be changed and some steps may be omitted, depending on the specific situation.
Step S501, identifying whether at least one physical key of the mobile terminal receives touch operation of a user; if yes, go to step S502; if not, the process returns to step S501.
Step S502, identifying the touch operation received by the physical key and generating a corresponding command.
In an embodiment, step S502 may be omitted or incorporated into step S506.
Step S503, controlling the currently running application on the mobile terminal to delay a preset time for responding to the touch command generated by the touch operation received by the physical key.
Specifically, the touch command generated by the physical key 131 is temporarily stored in the memory 160 for a preset time, for example, 10S, so as to implement "controlling the currently running application on the mobile terminal to delay a preset time for responding to the touch command generated by the physical key".
Step S504, identifying whether the touch screen of the mobile terminal 100 receives the touch operation of the user within the delayed preset time. If yes, go to step S505; if not, go to step S507.
Step S505, determine that the touch screen is an object to be operated by the user.
Step S506, identifying the touch operation of the user received by the touch screen and generating a corresponding touch command, and controlling at least one application currently running by the mobile terminal to respond to the touch command generated by the touch screen and execute the corresponding operation.
When it is recognized that the touch screen of the mobile terminal 100 receives the touch operation of the user within the delayed preset time, it is determined that the touch screen 132 of the mobile terminal 100 is the object to be operated by the user, indicating that the physical key is touched by mistake. At the moment, controlling the currently running application program on the mobile terminal not to respond to the touch command generated by the mistakenly touched physical key; the touch screen 132 is controlled to generate a corresponding touch command in response to a touch operation of a user, and at least one application currently running in the mobile terminal 100 is controlled to execute the corresponding operation in response to the touch command generated by the touch screen 132.
In step S507, it is determined that the physical key is an object to be operated by the user.
Step S508, controlling at least one application program currently running on the mobile terminal to respond to the touch command generated by the physical key to execute a corresponding operation.
When it is recognized that the touch screen of the mobile terminal 100 does not receive the touch operation of the user within the delayed preset time, it indicates that the physical key 131 of the mobile terminal 100 is an object to be operated by the user. At this time, the currently running application program on the mobile terminal is controlled to respond to the touch command generated by the physical key.
Compared with the prior art, the method for preventing the keys from being operated by mistake delays the command corresponding to the touch operation received by the physical keys and responded by the application program currently operated by the mobile terminal within the preset time when the physical keys of the mobile terminal receive the touch operation of the user, continuously judges whether the touch screen of the mobile terminal receives the touch operation within the delayed preset time, and judges whether the object to be operated by the user is the touch screen or the physical keys according to whether the touch screen of the mobile terminal receives the touch operation within the preset time. And when the touch screen does not receive the touch operation within the preset time, judging that the object to be operated by the user is a physical key, and controlling a currently running application program on the mobile terminal to respond to a command generated by the touch operation received by the physical key. When the touch screen receives touch operation within preset time, the object to be operated by the user is judged to be the touch screen, and the currently running application program on the mobile terminal is controlled to respond to a command generated by the touch operation received by the touch screen. Therefore, when the physical keys receive touch operation, whether the touch operation is received by the touch screen within a preset time interval is further judged, so that the physical keys are prevented from being operated by mistake, convenience is brought to users, and the user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.