CN111399944A - Application function starting method and device, storage medium and mobile terminal - Google Patents

Application function starting method and device, storage medium and mobile terminal Download PDF

Info

Publication number
CN111399944A
CN111399944A CN202010176168.3A CN202010176168A CN111399944A CN 111399944 A CN111399944 A CN 111399944A CN 202010176168 A CN202010176168 A CN 202010176168A CN 111399944 A CN111399944 A CN 111399944A
Authority
CN
China
Prior art keywords
application function
time
starting
pressing event
determining
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
Application number
CN202010176168.3A
Other languages
Chinese (zh)
Inventor
俞斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TCL Mobile Communication Technology Ningbo Ltd
Original Assignee
TCL Mobile Communication Technology Ningbo Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TCL Mobile Communication Technology Ningbo Ltd filed Critical TCL Mobile Communication Technology Ningbo Ltd
Priority to CN202010176168.3A priority Critical patent/CN111399944A/en
Publication of CN111399944A publication Critical patent/CN111399944A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0489Interaction 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an application function starting method, which is applied to a mobile terminal under the full keyboard design and comprises the following steps: when a pressing event of the full keyboard is detected, acquiring the current time of the mobile terminal as a first time, and starting timing; in the timing process, when detecting that the next pressing event occurs to the full keyboard, returning to the step of starting timing; when the timing duration reaches the preset duration, the end of the next pressing event is determined, the time of the next pressing event is obtained and used as the second time, then the difference value between the first time and the second time is calculated, the application function to be operated is determined according to the difference value, and the application function to be operated is started, so that a terminal user can enter a certain application function without unlocking the terminal, the operation flow is simplified, the time consumed by operation is reduced, and meanwhile, the accuracy of keyboard operation is improved.

Description

Application function starting method and device, storage medium and mobile terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for starting an application function, a storage medium, and a mobile terminal.
Background
Because the physical keys have better hand feeling and stronger operability, some mobile terminals still adopt the design of a full keyboard, and the application functions of the mobile terminals are more and more, and through the application functions, terminal users can carry out online payment, photographing, mail sending and the like.
However, in the prior art, after the mobile terminal with the full keyboard is locked, if a user wants to use a certain application function, the user must unlock the mobile terminal first and then select the application function to be used, which results in complex operation and long time consumption.
Disclosure of Invention
The application function starting method and device, the storage medium and the mobile terminal effectively solve the problems that a user needs to unlock the mobile terminal first and then selects an application function to be used after the mobile terminal is locked, and therefore the operation is complex and the time consumption is long.
In order to solve the above problem, the present invention provides an application function starting method, which is applied to a mobile terminal, wherein the mobile terminal comprises a full keyboard, and the application function starting method comprises:
when the full keyboard is detected to have a pressing event, acquiring the time of the current moment of the mobile terminal as first time, and starting timing;
in the timing process, when detecting that the full keyboard generates a next pressing event, returning to the step of starting timing;
when the timing duration reaches a preset duration, determining that the next pressing event is ended, and acquiring the time of the next pressing event as a second time;
calculating a difference between the first time and the second time;
and determining an application function to be operated according to the difference value, and starting the application function to be operated.
Further preferably, the key corresponding to the pressing event is a first key, and the application function starting method further includes a step of preventing a false touch event, including:
after the pressing event is finished, when the next pressing event is detected after the timing exceeds an upper limit threshold, acquiring a second key corresponding to the next pressing event;
acquiring the distance between the first key and the second key;
and determining whether the next pressing event is a false touch event or not according to the distance.
Further preferably, the step of determining whether the next pressing event is a false touch event according to the distance specifically includes:
when the distance is greater than a preset threshold value, determining that the next pressing event is not a false touch event;
and when the distance is smaller than a preset threshold value, determining that the next pressing event is a false touch event.
Further preferably, the step of determining the application function to be operated according to the difference specifically includes:
acquiring a time range corresponding to the difference value;
and determining the application function to be operated according to the time range.
Further preferably, the step of determining the application function to be run according to the time range specifically includes:
determining at least one application function to be selected according to the time range;
acquiring an icon of each application function to be selected;
generating a selection interface according to the application function to be selected and the icon, and displaying the selection interface to a user;
acquiring selection operation information of a user on the selection interface;
and determining the application function to be operated from the plurality of application functions to be selected according to the selection operation information.
On the other hand, the invention also provides an application function starting device, which is applied to a mobile terminal, wherein the mobile terminal comprises a full keyboard, and the application function starting device comprises:
the first acquisition module is used for acquiring the current time of the mobile terminal as a first time and starting timing when the full keyboard is detected to have a pressing event;
the detection module is used for returning to the step of starting timing when detecting that the next pressing event occurs to the full keyboard in the timing process;
the second obtaining module is used for determining that the next pressing event is finished when the timing duration reaches a preset duration, and obtaining the time of the next pressing event as a second time;
a calculating module for calculating a difference between the first time and the second time;
and the starting module is used for determining the application function to be operated according to the difference value and starting the application function to be operated.
Further preferably, the key corresponding to the pressing event is a first key, and the detection module specifically includes:
the first obtaining unit is used for obtaining a second key corresponding to the next pressing event when the next pressing event is detected after the timing exceeds an upper limit threshold after the pressing event is ended;
the second acquisition unit is used for acquiring the distance between the first key and the second key;
and the determining unit is used for determining whether the next pressing event is a false touch event or not according to the distance.
Further preferably, the starting module specifically includes:
the obtaining unit is used for obtaining a time range corresponding to the difference value;
and the determining unit is used for determining the application function to be operated according to the time range.
Further preferably, the application function starting apparatus further includes a false touch event determination unit, configured to:
when the distance is greater than a preset threshold value, determining that the next pressing event is not a false touch event;
and when the distance is smaller than a preset threshold value, determining that the next pressing event is a false touch event.
Further preferably, the application function starting apparatus further includes a user selection operation receiving unit configured to:
determining at least one application function to be selected according to the time range;
acquiring an icon of each application function to be selected;
generating a selection interface according to the application function to be selected and the icon, and displaying the selection interface to a user;
acquiring selection operation information of a user on the selection interface;
and determining the application function to be operated from the plurality of application functions to be selected according to the selection operation information.
In another aspect, the present invention further provides a computer-readable storage medium, wherein a plurality of instructions are stored in the storage medium, and the instructions are suitable for being loaded by a processor to execute any one of the application function starting methods.
In another aspect, the present invention further provides a mobile terminal, including a processor and a memory, where the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing any of the steps in the application function starting method.
The invention has the beneficial effects that: the invention provides an application function starting method, which is applied to a mobile terminal under the full keyboard design and comprises the following steps: when a pressing event of the full keyboard is detected, acquiring the current time of the mobile terminal as a first time, and starting timing; in the timing process, when detecting that the next pressing event occurs to the full keyboard, returning to the step of starting timing; when the timing duration reaches the preset duration, the end of the next pressing event is determined, the time of the next pressing event is obtained and used as the second time, then the difference value between the first time and the second time is calculated, the application function to be operated is determined according to the difference value, and the application function to be operated is started, so that a terminal user can enter a certain application function without unlocking the terminal, the operation flow is simplified, the time consumed by operation is reduced, and meanwhile, the accuracy of keyboard operation is improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings needed to be used in the description of the embodiments according to the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 2 is another schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
Fig. 3 is a flowchart illustrating an application function starting method according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an application function starting apparatus according to an embodiment of the present invention.
Fig. 5 is another schematic structural diagram of an application function starting apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims at solving the problems of complex operation and long time consumption caused by the fact that after the mobile terminal under the existing full keyboard design is locked, when a user wants to use a certain application function, the user must unlock the mobile terminal first and then select the application function to be used.
The embodiment of the invention provides a mobile terminal which can be a smart phone or a tablet computer and the like. As shown in fig. 1, the mobile terminal 100 includes a processor 101, a memory 102. The processor 101 is electrically connected to the memory 102.
The processor 101 is a control center of the mobile terminal 100, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application program stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 101 in the mobile terminal 100 loads instructions corresponding to one or more processes of an application program into the memory 102, and the processor 101 runs the application program stored in the memory 102, so as to implement various functions, such as an application function starting method, where the application function starting method is applied to a mobile terminal, and the mobile terminal includes a full keyboard, and the application function starting method includes:
when a pressing event of the full keyboard is detected, acquiring the current time of the mobile terminal as a first time, and starting timing;
in the timing process, when detecting that the next pressing event occurs to the full keyboard, returning to the step of starting timing;
when the timing duration reaches the preset duration, determining that the next pressing event is finished, and acquiring the time of the next pressing event as second time;
calculating a difference between the first time and the second time;
and determining the application function to be operated according to the difference value, and starting the application function to be operated.
The mobile terminal 100 may implement any of the steps in the application function starting method.
Fig. 2 is a block diagram illustrating a specific structure of the mobile terminal 100 according to an embodiment of the present invention. As shown in fig. 2, the mobile terminal 100 may include Radio Frequency (RF) circuitry 110, memory 120 including one or more computer-readable storage media, an input unit 130, a display unit 140, a sensor 150, audio circuitry 160, a transmission module 170 (e.g., Wireless Fidelity (WiFi), a Wireless Fidelity (wi-fi)), a processor 180 including one or more processing cores, and a power supply 190. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 110 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF circuitry 110 may include various existing circuit components for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption/decryption chips, Subscriber Identity Module (SIM) cards, memory, and so forth. The RF circuitry 110 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols and technologies, including but not limited to Global System for Mobile Communication (GSM), Enhanced Mobile Communication (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11 a, IEEE802.11 b, IEEE802.1 g and/or IEEE802.1 n), Voice over Internet Protocol (VoIP), world wide Internet Protocol (Microwave Access for Wireless communications, Wi-Max), and other short message protocols, as well as any other suitable communication protocols, and may even include those that have not yet been developed.
The memory 120 may be configured to store software programs and modules, such as corresponding program instructions in the above audio power amplifier control method, and the processor 180 executes various functional applications and data processing by operating the software programs and modules stored in the memory 120, that is, obtains the frequency of the information transmission signal transmitted by the mobile terminal 100. Generating interference signals, and the like. Memory 120 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 120 may further include memory located remotely from the processor 180, which may be connected to the mobile terminal 100 through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 130 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 130 may include a touch-sensitive surface 131 as well as other input devices 132. The touch-sensitive surface 131, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 131 (e.g., operations by a user on or near the touch-sensitive surface 131 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 131 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. Additionally, the touch-sensitive surface 131 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 131, the input unit 130 may also include other input devices 132. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Display unit 140 may be used to Display information input by or provided to a user, as well as various graphical user interfaces of mobile terminal 100, which may be comprised of graphics, text, icons, video, and any combination thereof Display panel 141, optionally Display panel 141 may be configured in the form of L CD (L iquid Crystal Display), O L ED (Organic L light-Emitting Diode), etc. further, touch-sensitive surface 631 may overlay Display panel 141, and upon detection of a touch operation on or near touch-sensitive surface 131, communicate to processor 180 to determine the type of touch event, and processor 180 then provides a corresponding visual output on Display panel 141 based on the type of touch event.
The mobile terminal 100 may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that may generate an interrupt when the folder is closed or closed. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 100, detailed descriptions thereof are omitted.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between a user and mobile terminal 100. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 160, and then outputs the audio data to the processor 180 for processing, and then to the RF circuit 110 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 120 for further processing. The audio circuit 160 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 100.
The mobile terminal 100, which can assist the user in receiving requests, transmitting information, etc., through the transmission module 170 (e.g., Wi-Fi module), provides the user with wireless broadband internet access. Although the transmission module 170 is shown in the drawings, it is understood that it does not belong to the essential constitution of the mobile terminal 100 and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile terminal 100, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile terminal. Optionally, processor 180 may include one or more processing cores; in some embodiments, the processor 180 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The mobile terminal 100 may also include a power supply 190 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 180 via a power management system that may be used to manage charging, discharging, and power consumption management functions in some embodiments. The power supply 190 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 100 further includes a camera (e.g., a front camera, a rear camera, etc.), a bluetooth module, a flashlight, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the mobile terminal 100 is a touch screen display, and the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when a pressing event of the full keyboard is detected, acquiring the current time of the mobile terminal as a first time, and starting timing;
in the timing process, when detecting that the next pressing event occurs to the full keyboard, returning to the step of starting timing;
when the timing duration reaches the preset duration, determining that the next pressing event is finished, and acquiring the time of the next pressing event as second time;
calculating a difference between the first time and the second time;
and determining the application function to be operated according to the difference value, and starting the application function to be operated.
In order to better use the mobile terminal 100 provided in the above embodiment, so that when the mobile terminal 100 is used in daily life, a user can enter an application function without unlocking the mobile terminal 100, the present invention provides an application function starting method, which is applied to the mobile terminal 100, wherein the mobile terminal 100 includes a full keyboard, a flowchart of the application function starting method is shown in fig. 3, and the specific steps may be as follows:
s101, when a full keyboard pressing event is detected, the time of the current moment of the mobile terminal is obtained as first time, and timing is started.
It is easy to understand that the full keyboard of the mobile terminal is electrically connected with the baseband processor, and the full keyboard has three pins connected with the baseband processor, which are the IRQ pin, the KC L pin, and the KDA pin, when the full keyboard has a key changed from the release state to the press state or has a key changed from the press state to the release state, the IRQ pin will send an interrupt signal to the baseband processor, so when the full keyboard has a press event, the IRQ pin sends an interrupt signal to the baseband processor to record the current time as the first time, and start timing.
S102, in the timing process, when the next pressing event of the full keyboard is detected, returning to the step of starting timing.
It should be noted that, in order to improve the precision of the keyboard operation, a step of preventing the occurrence of a false touch event may be set in the process of executing step S102, where the key corresponding to the pressing event is the first key.
The step of preventing the occurrence of the false touch event may specifically include:
after the pressing event is finished, when the timing exceeds the upper limit threshold value and then the next pressing event is detected, acquiring a second key corresponding to the next pressing event;
acquiring the distance between the first key and the second key;
and determining whether the next pressing event is a false touch event or not according to the distance.
It is easy to understand that the upper threshold may be set manually for 500 ms, etc., and the distances between any two keys in the terminal are stored in the corresponding memories in advance, and after the KC L pin and the KDA pin of the full keyboard acquire the first key and the second key, the distances between the first key and the second key can be acquired from the memories.
Further, the step of "determining whether the next pressing event is the false touch event according to the distance" may specifically include:
when the distance is larger than a preset threshold value, determining that the next pressing event is not a false touch event;
and when the distance is smaller than a preset threshold value, determining that the next pressing event is a false touch event.
It is easy to understand that the preset threshold is different for different sizes of the full keyboard of the terminal, and the larger the full keyboard is, the larger the preset threshold is, and the smaller the full keyboard is, the smaller the preset threshold is.
And S103, when the timing duration reaches the preset duration, determining that the next pressing event is finished, and acquiring the time of the next pressing event as a second time.
It is easy to understand that the timing step is to make the terminal determine when the keyboard input is completed, and when the timing duration reaches a preset duration, the terminal determines that the keyboard input is completed, where the preset duration may be 1 second or the like, which is set manually, and the preset duration (e.g., 1 second) is greater than the upper threshold (e.g., 500 milliseconds).
And S104, calculating the difference value between the first time and the second time.
And S105, determining the application function to be operated according to the difference value, and starting the application function to be operated.
It is easily understood that, in order to enrich the diversity of keyboard unlocking, the same difference may correspond to different application functions to be run in different time periods (e.g., 6:00-12:00 for one time period, 12:00-18:00 for one time period).
Note that, in order to reduce the power consumption of the terminal, the difference may be set in a gradient.
For example, the step S105 may specifically include:
acquiring a time range corresponding to the difference value;
and determining the application function to be operated according to the time range, and starting the application function to be operated.
It is easy to understand that the terminal user needs to preset application functions to be run corresponding to different time ranges, for example, the terminal is triggered to open the WeChat in a range from 2s to 4s, and the terminal is triggered to start photographing in a range from 4s to 6 s.
It should be noted that, there may be more than one application function corresponding to a certain time range, and at this time, the terminal may provide a selection interface for the user to select the application function that needs to be started.
For example, the step of "determining the application function to be run according to the time range" may specifically include:
determining at least one application function to be selected according to the time range;
acquiring an icon of each application function to be selected;
generating a selection interface according to the application function to be selected and the icon, and displaying the selection interface to a user;
acquiring selection operation information of a user on a selection interface;
and determining the application function to be operated from the plurality of application functions to be selected according to the selection operation information.
It is easy to understand that the terminal user can perform the selection operation by pressing the keys on the full keyboard of the terminal, or can perform the selection by voice or the like.
Different from the prior art, the invention provides an application function starting method, which is applied to a mobile terminal under the full keyboard design and comprises the following steps: when a pressing event of the full keyboard is detected, acquiring the current time of the mobile terminal as a first time, and starting timing; in the timing process, when detecting that the next pressing event occurs to the full keyboard, returning to the step of starting timing; when the timing duration reaches the preset duration, the end of the next pressing event is determined, the time of the next pressing event is obtained and used as the second time, then the difference value between the first time and the second time is calculated, the application function to be operated is determined according to the difference value, and the application function to be operated is started, so that a terminal user can enter a certain application function without unlocking the terminal, the operation flow is simplified, the time consumed by operation is reduced, and meanwhile, the accuracy of keyboard operation is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an application function starting apparatus according to an embodiment of the present invention, which is applied to a mobile terminal 100, where the mobile terminal 100 includes a full keyboard, and the application function starting apparatus may include:
(1) first acquisition module 10
The first obtaining module 10 is configured to, when it is detected that a full keyboard is pressed, obtain a current time of the mobile terminal as a first time, and start timing.
It is easy to understand that the full keyboard of the mobile terminal is electrically connected with the baseband processor, and the full keyboard has three pins connected with the baseband processor, which are the IRQ pin, the KC L pin, and the KDA pin, when the full keyboard has a key changed from the release state to the press state or has a key changed from the press state to the release state, the IRQ pin will send an interrupt signal to the baseband processor, so when the full keyboard has a press event, the IRQ pin sends an interrupt signal to the baseband processor to record the current time as the first time, and start timing.
(2) Detection module 20
And the detection module 20 is used for returning to the step of starting timing when detecting that the next pressing event of the full keyboard occurs in the timing process.
Further, referring to fig. 5, fig. 5 is another schematic structural diagram of the application function starting apparatus according to an embodiment of the present invention, where the detection module 20 specifically includes:
the first acquiring unit 21 is configured to, after the pressing event is ended, acquire a second key corresponding to a next pressing event when the next pressing event is detected after the timing exceeds an upper threshold;
a second obtaining unit 22, configured to obtain a distance between the first key and the second key;
and the determining unit 23 is used for determining whether the next pressing event is a false touch event according to the distance.
It is easy to understand that the first obtaining unit 21, the second obtaining unit 22 and the determining unit 23 are used to prevent the terminal from generating a false touch event, so as to improve the keyboard operation accuracy, the upper threshold may be set manually for 500 milliseconds, etc., and the distance between any two keys in the terminal is stored in the corresponding memory in advance, and after the KC L pin and the KDA pin of the full keyboard obtain the first key and the second key, the distance between the first key and the second key can be obtained from the memory.
Further, the application function starting apparatus may further include a false touch event determination unit configured to:
when the distance is larger than a preset threshold value, determining that the next pressing event is not a false touch event;
and when the distance is smaller than a preset threshold value, determining that the next pressing event is a false touch event.
It is easy to understand that the preset threshold is different for different sizes of the full keyboard of the terminal, and the larger the full keyboard is, the larger the preset threshold is, and the smaller the full keyboard is, the smaller the preset threshold is.
(3) Second acquisition module 30
The second obtaining module 30 is configured to determine that the next pressing event is finished when the timing duration reaches the preset duration, and obtain a time when the next pressing event occurs as the second time.
It is easy to understand that the timing step is to make the terminal determine when the keyboard input is completed, and when the timing duration reaches a preset duration, the terminal determines that the keyboard input is completed, where the preset duration may be 1 second or the like, which is set manually, and the preset duration (e.g., 1 second) is greater than the upper threshold (e.g., 500 milliseconds).
(4) Calculation module 40
A calculating module 40 for calculating a difference between the first time and the second time.
(5) Start module 50
And the starting module 50 is used for determining the application function to be operated according to the difference value and starting the application function to be operated.
It is easily understood that, in order to enrich the diversity of keyboard unlocking, the same difference may correspond to different application functions to be run in different time periods (e.g., 6:00-12:00 for one time period, 12:00-18:00 for one time period).
Note that, in order to reduce the power consumption of the terminal, the difference may be set in a gradient.
For example, with continued reference to fig. 5, the starting module 50 may specifically include:
an obtaining unit 51, configured to obtain a time range corresponding to the difference;
the determining unit 52 is configured to determine the application function to be executed according to the time range.
It is easy to understand that the terminal user needs to preset application functions to be run corresponding to different time ranges, for example, the terminal is triggered to open the WeChat in a range from 2s to 4s, and the terminal is triggered to start photographing in a range from 4s to 6 s.
It should be noted that, there may be more than one application function corresponding to a certain time range, and at this time, the terminal may provide a selection interface for the user to select the application function that needs to be started.
For example, the application function starting apparatus may further include a user selection operation receiving unit configured to:
determining at least one application function to be selected according to the time range;
acquiring an icon of each application function to be selected;
generating a selection interface according to the application function to be selected and the icon, and displaying the selection interface to a user;
acquiring selection operation information of a user on a selection interface;
and determining the application function to be operated from the plurality of application functions to be selected according to the selection operation information.
It is easy to understand that the terminal user can perform the selection operation by pressing the keys on the full keyboard of the terminal, or can perform the selection by voice or the like.
Different from the prior art, the invention provides an application function starting method, which is applied to a mobile terminal under the full keyboard design and comprises the following steps: when the first obtaining module 10 detects that a pressing event occurs on the full keyboard, obtaining the time of the current moment of the mobile terminal as a first time, and starting timing; in the timing process, when the detection module 20 detects that the next pressing event occurs on the full keyboard, returning to the step of starting timing; when the timing duration reaches the preset duration, the end of the next pressing event is determined, the time of the next pressing event is acquired through the second acquisition module 30 to serve as the second time, then the difference value between the first time and the second time is calculated through the calculation module 40, finally the application function to be operated is determined through the starting module 50 according to the difference value, and the application function to be operated is started, so that a terminal user can enter a certain application function without unlocking the terminal, the operation flow is simplified, the time consumed by operation is reduced, and meanwhile, the keyboard operation accuracy is improved.
In addition to the above embodiments, the present invention may have other embodiments. All technical solutions formed by using equivalents or equivalent substitutions fall within the protection scope of the claims of the present invention.
In summary, although the preferred embodiments of the present invention have been described above, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, therefore, the scope of the present invention shall be determined by the appended claims.

Claims (10)

1. An application function starting method is applied to a mobile terminal, the mobile terminal comprises a full keyboard, and the application function starting method comprises the following steps:
when the full keyboard is detected to have a pressing event, acquiring the time of the current moment of the mobile terminal as first time, and starting timing;
in the timing process, when detecting that the full keyboard generates a next pressing event, returning to the step of starting timing;
when the timing duration reaches a preset duration, determining that the next pressing event is ended, and acquiring the time of the next pressing event as a second time;
calculating a difference between the first time and the second time;
and determining an application function to be operated according to the difference value, and starting the application function to be operated.
2. The method for starting application functions according to claim 1, wherein the key corresponding to the pressing event is a first key, and the method for starting application functions further comprises a step of preventing a false touch event, comprising:
after the pressing event is finished, when the next pressing event is detected after the timing exceeds an upper limit threshold, acquiring a second key corresponding to the next pressing event;
acquiring the distance between the first key and the second key;
and determining whether the next pressing event is a false touch event or not according to the distance.
3. The method for starting an application function according to claim 2, wherein the step of determining whether the next pressing event is a false touch event according to the distance specifically includes:
when the distance is greater than a preset threshold value, determining that the next pressing event is not a false touch event;
and when the distance is smaller than a preset threshold value, determining that the next pressing event is a false touch event.
4. The method for starting an application function according to claim 1, wherein the step of determining the application function to be run according to the difference specifically includes:
acquiring a time range corresponding to the difference value;
and determining the application function to be operated according to the time range.
5. The method for starting an application function according to claim 4, wherein the step of determining the application function to be run according to the time range specifically includes:
determining at least one application function to be selected according to the time range;
acquiring an icon of each application function to be selected;
generating a selection interface according to the application function to be selected and the icon, and displaying the selection interface to a user;
acquiring selection operation information of a user on the selection interface;
and determining the application function to be operated from the plurality of application functions to be selected according to the selection operation information.
6. An application function starting device applied to a mobile terminal, wherein the mobile terminal comprises a full keyboard, the application function starting device comprises:
the first acquisition module is used for acquiring the current time of the mobile terminal as a first time and starting timing when the full keyboard is detected to have a pressing event;
the detection module is used for returning to the step of starting timing when detecting that the next pressing event occurs to the full keyboard in the timing process;
the second obtaining module is used for determining that the next pressing event is finished when the timing duration reaches a preset duration, and obtaining the time of the next pressing event as a second time;
a calculating module for calculating a difference between the first time and the second time;
and the starting module is used for determining the application function to be operated according to the difference value and starting the application function to be operated.
7. The device for starting an application function according to claim 6, wherein the key corresponding to the pressing event is a first key, and the detecting module specifically includes:
the first obtaining unit is used for obtaining a second key corresponding to the next pressing event when the next pressing event is detected after the timing exceeds an upper limit threshold after the pressing event is ended;
the second acquisition unit is used for acquiring the distance between the first key and the second key;
and the determining unit is used for determining whether the next pressing event is a false touch event or not according to the distance.
8. The application function starting device according to claim 6, wherein the starting module specifically comprises:
the obtaining unit is used for obtaining a time range corresponding to the difference value;
and the determining unit is used for determining the application function to be operated according to the time range.
9. A computer-readable storage medium having stored thereon a plurality of instructions adapted to be loaded by a processor to perform the application function launching method of any of claims 1 to 5.
10. A mobile terminal comprising a processor and a memory, the processor being electrically connected to the memory, the memory being configured to store instructions and data, the processor being configured to perform the steps of the application function launching method according to any of claims 1 to 5.
CN202010176168.3A 2020-03-13 2020-03-13 Application function starting method and device, storage medium and mobile terminal Pending CN111399944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010176168.3A CN111399944A (en) 2020-03-13 2020-03-13 Application function starting method and device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010176168.3A CN111399944A (en) 2020-03-13 2020-03-13 Application function starting method and device, storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN111399944A true CN111399944A (en) 2020-07-10

Family

ID=71434743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010176168.3A Pending CN111399944A (en) 2020-03-13 2020-03-13 Application function starting method and device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN111399944A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379820A (en) * 2020-11-24 2021-02-19 惠州Tcl移动通信有限公司 Full keyboard key input detection method, device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020180622A1 (en) * 1999-01-05 2002-12-05 Microsoft Corporation Time based hardware button for application launch
CN105739863A (en) * 2016-01-29 2016-07-06 维沃移动通信有限公司 Method for mobile terminal to start application, and mobile terminal
CN105843503A (en) * 2016-03-18 2016-08-10 北京小米移动软件有限公司 Application starting method and device as well as terminal equipment
CN106708562A (en) * 2016-11-24 2017-05-24 武汉斗鱼网络科技有限公司 Method and system for running application by clicking physical key of Android
CN107741802A (en) * 2017-09-28 2018-02-27 努比亚技术有限公司 Using startup method, terminal and computer-readable recording medium
CN109891379A (en) * 2017-08-03 2019-06-14 华为技术有限公司 A kind of false-touch prevention method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020180622A1 (en) * 1999-01-05 2002-12-05 Microsoft Corporation Time based hardware button for application launch
CN105739863A (en) * 2016-01-29 2016-07-06 维沃移动通信有限公司 Method for mobile terminal to start application, and mobile terminal
CN105843503A (en) * 2016-03-18 2016-08-10 北京小米移动软件有限公司 Application starting method and device as well as terminal equipment
CN106708562A (en) * 2016-11-24 2017-05-24 武汉斗鱼网络科技有限公司 Method and system for running application by clicking physical key of Android
CN109891379A (en) * 2017-08-03 2019-06-14 华为技术有限公司 A kind of false-touch prevention method and terminal
CN107741802A (en) * 2017-09-28 2018-02-27 努比亚技术有限公司 Using startup method, terminal and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112379820A (en) * 2020-11-24 2021-02-19 惠州Tcl移动通信有限公司 Full keyboard key input detection method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN103389863B (en) A kind of display control method and device
CN106293308B (en) Screen unlocking method and device
CN106445596B (en) Method and device for managing setting items
CN106570383A (en) Unlocking method and apparatus for mobile terminal, and mobile terminal
CN109274812B (en) Method for controlling electronic device through ultrasonic gestures and related product
CN110691168B (en) Screen control method and device of mobile terminal and storage medium
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN108810261A (en) Antenna switching method and Related product in call
CN109600514B (en) Unlocking control method and device, mobile terminal and storage medium
CN111399944A (en) Application function starting method and device, storage medium and mobile terminal
CN112235783B (en) Multi-SIM card management control method and device, storage medium and mobile terminal
CN112433694B (en) Light intensity adjusting method and device, storage medium and mobile terminal
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN111603154B (en) Method and device for detecting heart rhythm, storage medium and mobile terminal
CN111651299A (en) Wireless chip reset control method and device, storage medium and mobile terminal
CN112381545A (en) Identity authentication method, device, equipment and storage medium
CN111026259A (en) Control method and device of mobile terminal and storage medium
CN111654849A (en) Quick starting method and system for near field communication, storage medium and terminal equipment
CN106850985B (en) Control method, device and the mobile terminal of mobile terminal sensor
CN112558808B (en) Unlocking method and device for bang screen, terminal and storage medium
CN111048056A (en) Terminal equipment brightness adjusting method and system, storage medium and terminal equipment
CN111917982B (en) Camera selection method and device, storage medium and mobile terminal
CN112532791B (en) Unlocking method and device of mobile terminal, storage medium and mobile terminal
CN111988059B (en) Wireless data transmission method, device, storage medium and mobile terminal
CN111026486B (en) Application sorting method, application sorting device and computer readable storage medium

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
AD01 Patent right deemed abandoned

Effective date of abandoning: 20240112

AD01 Patent right deemed abandoned