WO2019056193A1 - Application starting method, terminal, storage medium, and computer program - Google Patents

Application starting method, terminal, storage medium, and computer program Download PDF

Info

Publication number
WO2019056193A1
WO2019056193A1 PCT/CN2017/102345 CN2017102345W WO2019056193A1 WO 2019056193 A1 WO2019056193 A1 WO 2019056193A1 CN 2017102345 W CN2017102345 W CN 2017102345W WO 2019056193 A1 WO2019056193 A1 WO 2019056193A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
preset
application
pressing
area
Prior art date
Application number
PCT/CN2017/102345
Other languages
French (fr)
Chinese (zh)
Inventor
李德鹏
黄成钟
郑雪瑞
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to CN201780096918.2A priority Critical patent/CN111356976A/en
Priority to PCT/CN2017/102345 priority patent/WO2019056193A1/en
Publication of WO2019056193A1 publication Critical patent/WO2019056193A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/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/0488Interaction 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 a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present invention relates to the field of intelligent terminals, and in particular, to an application startup method, a terminal, a storage medium, and a computer program.
  • the embodiment of the invention provides an application startup method, a terminal, a storage medium and a computer program, which can quickly start an application.
  • an embodiment of the present invention provides a method for starting an application, where the method includes:
  • the terminal receives a pressing operation of the user for the lock screen interface
  • the terminal starts a preset application.
  • the application can be quickly started in combination with the pressing area of the pressing operation and the pressing time.
  • the terminal before the receiving, by the terminal, the pressing operation of the preset area input on the lock screen interface, the terminal further includes:
  • the terminal After the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
  • the terminal acquires an application corresponding to the preset area from the first correspondence relationship
  • the terminal starts a preset application, including:
  • the terminal starts an application corresponding to the preset area.
  • the terminal can determine the quick start preset application by combining the pre-created correspondence between the area and the application.
  • the terminal before the receiving, by the terminal, the pressing operation of the preset area input on the lock screen interface, the terminal further includes:
  • the terminal starts a preset application, including:
  • the terminal starts an application corresponding to the pressing duration.
  • the terminal can determine the quick start preset application by combining the pre-created correspondence between the duration and the application.
  • the terminal receives the pressing operation of the user for the lock screen interface, Before the terminal launches the preset application, it also includes:
  • the terminal acquires fingerprint information of the user
  • the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
  • the terminal can confirm the identity of the user according to the fingerprint information, enhance the security of the application startup, and prevent other users other than the preset user from using the terminal to quickly launch the preset application application.
  • the terminal further includes:
  • the terminal receives an instruction to close the preset application
  • the terminal closes the preset application according to the instruction, and returns to the lock screen interface.
  • the terminal After the terminal exits the preset application, the terminal returns to the lock screen interface to enhance the security of the terminal information.
  • the lock screen interface comprises a digital lock screen interface or a pattern lock screen interface.
  • the preset area is a display area corresponding to the preset number.
  • the preset area is a display area corresponding to the preset pattern.
  • the terminal Continue to display the lock screen interface.
  • the terminal after the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
  • the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
  • the terminal can improve the accuracy of detecting the pressing operation and avoid erroneous operations.
  • the terminal after the terminal receives the pressing operation of the user for the lock screen interface, the terminal further includes:
  • the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
  • the terminal can improve the accuracy of detecting the pressing operation and avoid erroneous operations.
  • an embodiment of the present invention provides a terminal, where the terminal includes a module or a unit for executing the application startup method in the first aspect.
  • an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store application code that supports the terminal to execute the foregoing method,
  • the processor is configured to perform the method of the first aspect above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
  • an embodiment of the present invention provides a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform the method of the first aspect.
  • FIG. 1 is a schematic flowchart of an application startup method according to an embodiment of the present invention
  • FIG. 1A is a schematic diagram of a digital lock screen interface according to an embodiment of the present invention.
  • FIG. 1B is a schematic diagram of a pattern lock screen interface according to an embodiment of the present invention.
  • FIG. 1C is a schematic diagram of a user pressing operation on a digital lock screen interface according to an embodiment of the present invention
  • FIG. 1D is a schematic diagram of a user pressing operation on a pattern lock screen interface according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another application startup method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another application startup method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another application startup method according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for starting an application according to an embodiment of the present invention. As shown in FIG. 1, the method includes, but is not limited to, the following steps S101-S102.
  • the terminal receives a pressing operation of the user for the lock screen interface.
  • the terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like.
  • PDA personal digital assistant
  • MID mobile internet device
  • smart wearable device such as a smart watch, a smart bracelet
  • the terminal device used is not limited in the embodiment of the present invention.
  • the terminal has a touch screen, and the touch screen can collect the pressing operation of the user.
  • the terminal Before the terminal receives the pressing operation of the user for the lock screen interface, the terminal displays the lock screen interface according to an instruction input by the user.
  • the instruction input by the user may be an instruction of clicking the touch screen of the terminal, or an instruction of clicking the power button of the terminal, or may be a voice instruction of the user, or may be another instruction for triggering the terminal to display the lock screen interface, and the implementation of the invention The examples are not specifically limited.
  • the lock screen interface may be a digital lock screen interface, a pattern lock screen interface, or another lock screen interface, which is not limited in the embodiment of the present invention.
  • the terminal starts a preset application.
  • the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation.
  • the terminal After receiving the pressing operation, if the pressing area of the pressing operation is known to be the preset area and the pressing time of the pressing operation reaches the preset duration, the terminal starts the preset application.
  • the pressing duration reaches a preset duration, and the pressing duration is greater than or equal to the preset duration.
  • the preset duration is 2 seconds, and as long as the pressing duration is greater than or equal to 2 seconds, the pressing duration reaches the preset duration.
  • the pressing duration reaches a preset duration including: the pressing duration is in a preset duration interval.
  • the preset duration is 2 seconds to 5 seconds, and as long as the pressing duration is greater than or equal to 2 seconds and less than or equal to 5 seconds, the pressing duration reaches a preset duration.
  • the preset area may be a display area corresponding to the preset number, or may be a display area corresponding to the preset pattern, or may be an area where other display objects on the lock screen interface are located.
  • the preset area is a display area corresponding to the preset number, and may also be an area where other display objects on the digital lock screen interface are located.
  • the preset number can be any one of 0-9.
  • Other display objects may be the words "emergency call” or "return” displayed on the digital lock screen interface.
  • FIG. 1A is a schematic diagram of a digital lock screen interface according to an embodiment of the present invention.
  • the digital lock screen interface 10 displays numbers 0-9, emergency calls, returns, and an input password box.
  • the preset number can be 1.
  • the preset area is a display area corresponding to the preset pattern.
  • the preset pattern is any display object on the pattern lock screen interface.
  • FIG. 1B is a schematic diagram of a pattern lock screen interface according to an embodiment of the present invention. In FIG. 1B, nine patterns and an input pattern frame are displayed in the pattern lock screen interface 20, and the numbers of the nine patterns are 21-29, respectively.
  • the preset pattern may be pattern 2.
  • the preset duration may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the preset duration can be 2 seconds.
  • the preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the default application is a camera application.
  • the preset number can be 1, the preset duration is 2 seconds, and the default application is the camera application.
  • the terminal receives the display area where the user presses the number 1, and the pressing time of the pressing operation is 3 seconds, and the terminal directly jumps from the digital lock screen interface to the camera interface.
  • the preset pattern may be pattern 2, the preset duration is 2 seconds, and the preset application is a memo application.
  • the terminal receives the display area where the user presses the pattern 2, and the pressing time of the pressing operation is 4 seconds, and the terminal directly jumps from the pattern lock screen interface to the memo interface.
  • whether the pressing area of the pressing operation is a preset area and the pressing of the pressing operation Whether the duration reaches the preset duration may be determined by the terminal, or may be judged by another device and will be notified to the terminal.
  • the terminal may first determine whether the pressing area of the pressing operation is a preset. If the result of the determination is YES, it is determined whether the pressing duration of the pressing operation reaches a preset duration; or the terminal may first determine whether the pressing duration of the pressing operation reaches a preset duration, and the result of the determining If yes, the pressing area of the pressing operation is a preset area; or the terminal can simultaneously determine whether the pressing area of the pressing operation is a preset area and whether the pressing time of the pressing operation reaches a preset duration.
  • the terminal continues to display the lock screen interface.
  • the application can be quickly launched in conjunction with the pressing area of the pressing operation and the pressing time.
  • the terminal may further acquire the fingerprint information of the user, and determine the obtained fingerprint information and the preset Whether the fingerprint information matches. If the matching is performed, the terminal performs the step of starting the preset application when it is determined that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration. If there is no match, the terminal continues to display the lock screen interface.
  • the preset fingerprint information may be pre-recorded by the terminal user, and the preset fingerprint information may be the user of the terminal user, and may be other users, which is not specifically limited in the embodiment of the present invention.
  • the terminal can confirm the identity of the user according to the fingerprint information, enhance the security of the application startup, and prevent other users other than the preset user from using the terminal to quickly launch the preset application application.
  • FIG. 2 is a schematic flowchart of another application startup method according to an embodiment of the present invention, including but not limited to the following steps S201-S204.
  • the first correspondence between the area and the application is created.
  • the first correspondence may be set by default in the system when the terminal is shipped from the factory, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the lock screen interface is a digital lock screen interface
  • the first correspondence relationship created by the terminal may be that the touch area corresponding to the number 1 corresponds to the camera application, the touch area of the number 2 corresponds to the memo application, and the number 3 touches The control area corresponds to the WeChat application.
  • the format of the first correspondence may be, for example but not limited to, as shown in Table 1 below.
  • the lock screen interface is a pattern lock screen interface
  • the first correspondence relationship created by the terminal may be: the pattern 1 corresponds to the camera application, the pattern 2 corresponds to the memo application, and the pattern 3 corresponds to the WeChat application.
  • the format of the first correspondence may be, for example but not limited to, as shown in Table 2 below.
  • the terminal receives a pressing operation of a user for a lock screen interface.
  • step S101 in the embodiment shown in FIG. 1 for related implementation of step S202, and details are not described herein again.
  • the terminal acquires an application corresponding to the preset area from the first correspondence.
  • the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation. After detecting the pressing operation of the user, the terminal may start timing to obtain the pressing duration of the pressing operation.
  • the terminal determines whether the pressing area of the pressing operation is a preset area, and whether the pressing duration of the pressing operation reaches a preset time length may refer to step S102 in the embodiment shown in FIG. Let me repeat.
  • the lock screen interface is the digital lock screen interface shown in FIG. 1C. If the touch area detected by the terminal is the display area corresponding to the number 1, the terminal according to the first correspondence shown in Table 1 above. It can be determined that the application corresponding to the number 1 is a camera application. If the touch area of the pressing operation detected by the terminal is not any of the first corresponding areas shown in Table 1 above, the corresponding application is not obtained.
  • the lock screen interface is the pattern lock screen interface shown in FIG. 1D. If the touch area detected by the terminal is the display area corresponding to the pattern 2, the terminal can be determined from the first correspondence relationship shown in Table 2 above.
  • the application corresponding to the pattern 2 is a memo application. If the pattern of the touch area of the pressing operation detected by the terminal is not any of the preset area patterns in the first correspondence relationship shown in Table 2 above, the application corresponding thereto is not acquired.
  • the terminal starts an application corresponding to the preset area.
  • the terminal After receiving the pressing operation, if the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset duration, the terminal is in accordance with the touch area of the user pressing the pressing operation on the lock screen interface. In a corresponding relationship, an application corresponding to the touch area of the pressing operation is acquired, and the corresponding application is started.
  • the touch area of the number 1 corresponds to the camera application
  • the touch area of the number 2 corresponds to the memo application
  • the touch area of the number 3 corresponds to the WeChat application.
  • the program has a preset duration of 2 seconds.
  • the terminal receives the display area where the user presses the number 1 and the button
  • the pressing time of the pressing operation is 3 seconds, and the terminal obtains the application corresponding to the touch area number 1 of the pressing operation from the first corresponding relationship according to the display area where the user touches the touch area number 1 on the lock screen interface.
  • the touch area of the pattern 1 corresponds to the camera application
  • the touch area of the pattern 2 corresponds to the memo application
  • the touch area of the pattern 3 corresponds to the WeChat.
  • the application has a preset duration of 2 seconds.
  • the terminal receives the display area where the user presses the pattern 2, and the pressing time of the pressing operation is 3 seconds
  • the terminal corresponds to the display area where the touch area pattern 2 is pressed by the user for the lock screen interface.
  • an application corresponding to the touch area pattern 2 of the pressing operation is acquired, and the corresponding memo application is started.
  • the terminal may pre-create the corresponding relationship between the area and the application.
  • the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset duration.
  • FIG. 3 is a schematic flowchart diagram of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S301-S304.
  • the terminal Before the terminal receives the pressing operation of the preset area input on the lock screen interface, the terminal creates a second correspondence between the duration and the application.
  • the second corresponding relationship may be set by default in the system of the terminal, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the second correspondence created by the terminal is 2 seconds corresponding to the camera application, 3 seconds corresponding to the memo application, and 4 seconds corresponding to the WeChat application.
  • the format and content of the second correspondence may be, for example but not limited to, as shown in Table 3 below.
  • the terminal receives a pressing operation of a user for a lock screen interface.
  • step S101 in the embodiment shown in FIG. 1 for related implementation of step S302, and details are not described herein again.
  • the terminal acquires an application corresponding to the pressing duration from the second correspondence.
  • the terminal may be provided with a pressure sensor, and the pressure sensor can collect the user's pressing The operation and the pressing area of the pressing operation can be detected. After detecting the pressing operation of the user, the terminal may start timing to obtain the pressing duration of the pressing operation. In the embodiment of the present invention, the terminal determines whether the pressing area of the pressing operation is a preset area, and whether the pressing duration of the pressing operation reaches a preset time length may refer to step S102 in the embodiment shown in FIG. Let me repeat.
  • the terminal receives the preset area and the pressing time of the pressing operation is 3 seconds, and the terminal obtains the second correspondence relationship shown in the foregoing table 3 according to the operation duration of the user's pressing operation on the lock screen interface.
  • the application corresponding to the pressing operation for 3 seconds is the memo application. If the duration of the pressing operation of the user for the pressing operation of the lock screen interface is not any preset duration in the second correspondence relationship shown in Table 3 above, the application corresponding thereto is not obtained.
  • the terminal starts an application corresponding to the preset area.
  • the terminal After receiving the pressing operation, if the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset time length, the terminal operates from the second operation time according to the pressing operation of the user on the lock screen interface. In the corresponding relationship, the application corresponding to the operation duration of the pressing operation is acquired, and the corresponding application is started.
  • the pressing operation duration is 2 seconds corresponding to the camera
  • the pressing operation duration is 3 seconds corresponding to the memo
  • the pressing operation duration is 4 seconds corresponding to the WeChat
  • the preset The duration is 2 seconds.
  • the terminal may pre-create the corresponding relationship between the duration and the application.
  • the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration.
  • the application corresponding to the pressing duration of the pressing operation is obtained from the correspondence between the duration and the application, and then the application is started, and the preset relationship between the pre-created pressing duration and the application is determined to determine the quick-starting preset. application.
  • the terminal may also pre-create a third correspondence between the area, the duration, and the application.
  • the third corresponding relationship may be set by default in the system of the terminal, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the lock screen interface is a digital lock screen interface, and the format and content of the third correspondence relationship can be, for example, shown in Table 4.
  • the terminal When the terminal receives the pressing operation of the user for the lock screen interface, if the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal is from the third correspondence relationship. Obtaining an application corresponding to the preset area and the pressing duration.
  • the preset area is a display area corresponding to the number 1
  • the preset duration is 2 seconds
  • the terminal receives the pressing operation of the display area corresponding to the number 1 by the user, and the pressing time of the pressing operation is 3 seconds
  • the terminal When the application corresponding to the number 1 and the duration of 3 seconds is determined as the memo from the third correspondence, the terminal starts the memo application.
  • FIG. 4 is a schematic flowchart diagram of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S401-S405.
  • the terminal receives a pressing operation of the user for the lock screen interface.
  • step S101 in the embodiment shown in FIG. 1 for related implementation of step S401, and details are not described herein again.
  • step S402. The terminal determines whether the pressing force of the pressing operation is greater than or equal to a preset strength. If yes, step S403 is performed; if not, the lock screen interface is continuously displayed.
  • the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation, and can also accurately detect the pressing force of the pressing operation.
  • the preset strength may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the preset strength can be 2 Newtons.
  • step S404 The terminal determines whether the pressing area of the pressing operation is a preset area. If yes, step S404 is performed; if not, the lock screen interface is continuously displayed.
  • step S404 The terminal determines whether the pressing duration of the pressing operation reaches a preset duration. If yes, step S405 is performed; if not, the lock screen interface is continuously displayed.
  • the terminal starts a preset application.
  • the terminal may use a pressure sensor to detect the pressing force of the pressing operation. If the detected pressing force is greater than or equal to the preset strength, and the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration, the terminal starts the preset application.
  • the preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the default application is a camera application.
  • the terminal may create the first corresponding relationship in advance, and search for an application corresponding to the pressed area from the first corresponding relationship according to the pressed area of the pressing operation, and the application corresponding to the pressed area is the preset application.
  • the terminal may create the second corresponding relationship in advance, and search for an application corresponding to the pressing duration according to the pressing duration of the pressing operation, and the application corresponding to the pressing duration is the preset application.
  • the terminal may create the third correspondence relationship in advance, and search for an application corresponding to the pressing area and the pressing duration from the third correspondence according to the pressing area of the pressing operation and the pressing duration, the pressing area and the pressing
  • the application corresponding to the duration is the preset application.
  • the preset strength is 2 Newtons and the preset duration is 2 seconds.
  • the default application is the camera application.
  • the terminal receives the pressing operation of the user for the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the pressing force of the pressing operation detected by the pressure sensor is 2 Newtons, and the terminal determines that the pressing force reaches the preset strength.
  • the pressing duration reaches a preset duration and it is known that the pressing area of the pressing operation is a preset area
  • the terminal starts the camera application.
  • the preset strength is 2 Newtons and the preset duration is 2 seconds.
  • the default application is the camera application.
  • the terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the pressing force of the pressing operation detected by the pressure sensor is 1 Newton, and the terminal determines that the pressing force is less than the preset strength.
  • the pressing duration reaches the preset duration and the pressing area of the pressing operation is the preset area, the terminal does not start the camera application and continues to display the lock screen interface.
  • the terminal can combine the pressing force to improve the accuracy of detecting the pressing operation and avoid erroneous operations.
  • FIG. 5 is a schematic flowchart of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S501-S505.
  • the terminal receives a pressing operation of the user for the lock screen interface.
  • step S101 in the embodiment shown in FIG. 1 for related implementation of step S501, and details are not described herein again.
  • step S502 The terminal determines whether an area of the pressing area of the pressing operation is less than or equal to a preset area. If yes, step S503 is performed; if not, the lock screen interface is continuously displayed.
  • the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation. In addition, the terminal can accurately detect the area of the pressing area of the pressing operation.
  • the preset area may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the preset area may be 1 square centimeter.
  • whether the area of the pressing area of the pressing operation is less than or equal to the preset area is determined by the terminal.
  • step S503 The terminal determines whether the pressing area of the pressing operation is a preset area. If yes, step S504 is performed; if not, the lock screen interface is continuously displayed.
  • step S504 The terminal determines whether the pressing duration of the pressing operation reaches a preset duration, and if yes, performs step S505; if not, continues to display the lock screen interface.
  • the terminal If the area of the pressed area detected by the terminal is less than or equal to the preset area, and the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration, the terminal starts the preset application.
  • the preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
  • the default application is a camera application.
  • the terminal may create the foregoing first correspondence, and search for an application corresponding to the pressing area from the first correspondence according to the pressing area of the pressing operation, where the application corresponding to the pressing area is the preset application. sequence.
  • the terminal may create the second corresponding relationship in advance, and search for an application corresponding to the pressing duration according to the pressing duration of the pressing operation, and the application corresponding to the pressing duration is the preset application.
  • the terminal may create the third correspondence relationship in advance, and search for an application corresponding to the pressing area and the pressing duration from the third correspondence according to the pressing area of the pressing operation and the pressing duration, and the application corresponding to the pressing area and the pressing duration That is the preset application.
  • the preset area is 1 square centimeter and the preset duration is 2 seconds.
  • the default application is the camera application.
  • the terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the terminal detects that the area of the pressing area of the pressing operation is 1 square centimeter, and the terminal determines that the area of the pressing area reaches the preset.
  • the area, the pressing duration reaches a preset duration, and the pressing area of the pressing operation is a preset area, and the terminal starts the camera application.
  • the preset area is 1 square centimeter and the preset duration is 2 seconds.
  • the default application is the camera application.
  • the terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the area of the pressing area of the pressing operation obtained by the terminal detecting is 2 square centimeters, and the terminal determines that the area of the pressing area is larger than the pre- If the pressing time is up to a preset time and the pressing area of the pressing operation is a preset area, the terminal does not start the camera application and continues to display the lock screen interface.
  • the terminal can improve the accuracy of detecting the pressing operation in combination with the area of the pressing area, thereby avoiding erroneous operations.
  • FIG. 1, FIG. 2, FIG. 3, FIG. 4 and FIG. 5 are separately described, in the specific implementation, the above FIG. 1, FIG. 2, FIG. 4 and the embodiments shown in Fig. 5 are combined with each other.
  • the present invention further provides a terminal for implementing the above method.
  • FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 600 may include: a receiving unit 610, a starting unit 620, where
  • the receiving unit 610 is configured to receive a pressing operation of the user for the lock screen interface
  • the startup unit 620 is configured to start a preset application.
  • the terminal 600 further includes a first creating unit and a first acquiring unit;
  • a first creating unit configured to create a first correspondence between the area and the application before the receiving unit 610 receives a pressing operation by the user for the preset area input on the lock screen interface;
  • a first acquiring unit configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset application, acquiring the preset from the first correspondence relationship The application corresponding to the region;
  • the starting unit 620 is specifically configured to:
  • the terminal 600 further includes a second creating unit and a second acquiring unit;
  • a second creating unit configured to receive, by the receiving unit 610, a user input for a preset area on the lock screen interface Before the pressing operation, creating a second correspondence between the duration and the application;
  • a second acquiring unit configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, the starting unit 620 acquires the pressing duration from the second correspondence relationship before starting the preset application program Corresponding application;
  • the starting unit 620 is specifically configured to:
  • the terminal 600 further includes a third obtaining unit and a first determining unit;
  • a third obtaining unit configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, the startup unit 620 acquires fingerprint information of the user before starting the preset application program;
  • the first determining unit determines whether the acquired fingerprint information matches the preset fingerprint information
  • the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset time length. program.
  • the receiving unit 610 is further configured to: after the starting unit 620 starts the preset application, receive an instruction to close the preset application;
  • the terminal 600 further includes a processing unit
  • the processing unit is configured to close the preset application according to the instruction, and return to the lock screen interface.
  • the terminal 600 further includes a second determining unit:
  • the second determining unit is configured to: after the receiving unit 610 receives the pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset application, determine whether the pressing force of the pressing operation is greater than or equal to a preset. Strength
  • the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration.
  • the terminal 600 further includes a third determining unit:
  • the third determining unit is configured to determine, after the receiving unit 610 receives the pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset program, whether the area of the pressing area of the pressing operation is less than or equal to the pre-predetermined Set the area;
  • the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration.
  • FIG. 7 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal 70 shown in FIG. 7 includes: a radio frequency (RF) circuit 701, a memory 702 storing one or more computer programs, an input device 703, an output device 704, a sensor 705, an audio circuit 706, and wireless fidelity. (Wireless Fidelity, WiFi) module 707, processor 708 including one or more processing cores, and power supply 709 and the like.
  • RF radio frequency
  • FIG. 7 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
  • the RF circuit 701 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, in particular, going under the base station After the line information is received, it is processed by one or more processors 708; in addition, data relating to the uplink is transmitted to the base station.
  • RF circuit 701 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a Low Noise Amplifier (LNA). , duplexer, etc.
  • SIM Subscriber Identity Module
  • LNA Low Noise Amplifier
  • the RF circuit 701 can also communicate with the network and other terminal devices through wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • Code Division Multiple Access Code Division Multiple Access
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • E-mail Short Messaging Service
  • the memory 702 can be used to store computer programs and modules, and the processor 708 executes various functional applications and data processing by running computer programs and modules stored in the memory 702.
  • the memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 70 (such as photographed photos, audio data, video data, etc.) and the like.
  • memory 702 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 702 may also include a memory controller to provide access to memory 702 by processor 708 and input device 703.
  • Input device 703 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • input device 703 can include touch-sensitive surface 7031 and other input devices 7032.
  • Touch-sensitive surface 7031 also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 7031 or on the touch-sensitive surface 7031 The pressing operation in the vicinity of the touch-sensitive surface 7031) drives the corresponding connecting device according to a preset program.
  • the touch sensitive surface 7031 can include two portions of a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information.
  • the processor 708 is provided and can receive commands from the processor 708 and execute them.
  • the touch sensitive surface 7031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input device 703 can also include other input devices 7032.
  • other input devices 7032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • Output device 704 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 70, which can be constructed from graphics, text, icons, video, and any combination thereof.
  • the output device 704 can include a display panel 7041.
  • the display panel 7041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the touch-sensitive surface 7031 can cover the display panel 7041, and when the touch-sensitive surface 7031 detects a touch operation thereon or nearby, it is transmitted to the processor 708 to determine the type of the touch event, and then the processor 708 is based on the touch event.
  • the type provides a corresponding visual output on display panel 7041.
  • touch-sensitive surface 7031 and display panel 7041 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 7031 can be integrated with display panel 7041 for input. And output function.
  • Terminal 70 may also include at least one type of sensor 705, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 7041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 7041 when the terminal 70 moves to the ear. / or backlight and so on.
  • the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the attitude of the terminal 70 (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in the terminal 70, here No longer.
  • Audio circuit 706, speaker 7061, and microphone 7062 can provide an audio interface between the user and terminal 70.
  • the audio circuit 706 can transmit the converted electrical data of the received audio data to the speaker 7061, and convert it into a sound signal output by the speaker 7061; on the other hand, the microphone 7062 converts the collected sound signal into an electrical signal, and the audio circuit 706 After receiving, it is converted into audio data, and then processed by the audio data output processor 708, transmitted to the terminal, for example, via the RF circuit 701, or outputted to the memory 702 for further processing.
  • the audio circuit 706 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 70.
  • WiFi is a short-range wireless transmission technology
  • the terminal 70 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 707, which provides wireless broadband Internet access for users.
  • FIG. 7 shows the WiFi module 707, it can be understood that it does not belong to the essential configuration of the terminal 70, and may be omitted as needed within the scope of not changing the essence of the invention.
  • Processor 708 is the control center of terminal 70, which connects various portions of the entire terminal 70 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 702, and recalling data stored in memory 702. The various functions and processing data of the terminal 70 are executed to perform overall monitoring of the terminal 70.
  • the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 708.
  • the terminal 70 also includes a power source 709 (such as a battery) that supplies power to the various components.
  • the power source can be logically coupled to the processor 708 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the power supply 709 can also include any 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.
  • the terminal 70 may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the output device 704 (or the input device 703) of the terminal is a touch screen display
  • the terminal 70 further includes a memory 702, a processor 708, and one or more computer programs, wherein the one or more computers
  • the program is stored in a memory 702, and the processor 708 is configured to call a program instruction stored in the memory 702 (non-volatile memory) to execute the application startup method shown in FIGS.
  • the steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software program instructions.
  • the software program instructions may be composed of corresponding software modules, which may be stored in RAM, flash memory, ROM, Erasable Programmable ROM (EPROM), and electrically erasable programmable read only memory (Electrically EPROM). , EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art in.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in the terminal.
  • the processor and the storage medium can also exist as discrete components in the terminal device.
  • the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more program instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An application starting method, a terminal, a storage medium, and a computer program. The method comprises: a terminal receiving a pressing operation for a lock screen interface performed by a user (S101); and the terminal starting a preset application if a pressed region of the pressing operation is a preset region and a pressing duration of the pressing operation reaches a preset duration (S102). The method quickly starts an application.

Description

应用程序启动方法、终端、存储介质及计算机程序Application startup method, terminal, storage medium, and computer program 技术领域Technical field
本发明涉及智能终端领域,尤其涉及一种应用程序启动方法、终端、存储介质及计算机程序。The present invention relates to the field of intelligent terminals, and in particular, to an application startup method, a terminal, a storage medium, and a computer program.
背景技术Background technique
信息时代的到来,涌现了各种各样的智能化终端设备,例如:手机、平板电脑等,现已成为当今社会人们的必备生活工具。用户可以根据自身喜好安装应用程序,使用安装好的各种应用程序来实现对应的功能。With the advent of the information age, a variety of intelligent terminal devices, such as mobile phones and tablet computers, have emerged, and have become an essential life tool for people in today's society. Users can install applications according to their own preferences and use the installed various applications to achieve the corresponding functions.
为了提高智能化终端设备的安全性及保护用户隐私,当前智能化终端设备都自带锁屏功能,确保智能化终端设备在待机的状态下时,不会随便被他人使用,也不会因为误操作而打开某一应用程序。然而,在智能化终端设备处于待机状态下时,用户开启应用程序需要执行以下操作:解锁,寻找应用程序,开启应用程序,启动应用程序的操作步骤比较繁琐。In order to improve the security of intelligent terminal devices and protect user privacy, current intelligent terminal devices have their own lock screen function, which ensures that when the intelligent terminal device is in standby state, it will not be used by others, and it will not be mistaken. Open an application by operating. However, when the intelligent terminal device is in the standby state, the user needs to perform the following operations to open the application: unlocking, finding an application, opening the application, and starting the application are cumbersome.
发明内容Summary of the invention
本发明实施例提供一种应用程序启动方法、终端、存储介质及计算机程序,能够快速启动应用程序。The embodiment of the invention provides an application startup method, a terminal, a storage medium and a computer program, which can quickly start an application.
第一方面,本发明实施例提供了一种应用程序启动的方法,该方法包括:In a first aspect, an embodiment of the present invention provides a method for starting an application, where the method includes:
终端接收用户针对锁屏界面的按压操作;The terminal receives a pressing operation of the user for the lock screen interface;
若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,则所述终端启动预设应用程序。If the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal starts a preset application.
通过本发明实施例,可以结合按压操作的按压区域和按压时长来快速启动应用程序。With the embodiment of the present invention, the application can be quickly started in combination with the pressing area of the pressing operation and the pressing time.
结合第一方面,在第一方面的第一种实现方式中,所述终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,还包括:With reference to the first aspect, in a first implementation manner of the first aspect, before the receiving, by the terminal, the pressing operation of the preset area input on the lock screen interface, the terminal further includes:
所述终端创建区域与应用程序的第一对应关系;a first correspondence between the terminal creation area and an application;
所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,还包括:After the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
所述终端从所述第一对应关系中获取与所述预设区域对应的应用程序;The terminal acquires an application corresponding to the preset area from the first correspondence relationship;
所述终端启动预设应用程序,包括:The terminal starts a preset application, including:
所述终端启动与所述预设区域对应的应用程序。The terminal starts an application corresponding to the preset area.
通过本发明实施例,终端可以结合预先创建好的区域与应用程序的对应关系来确定快速启动的预设应用程序。Through the embodiment of the present invention, the terminal can determine the quick start preset application by combining the pre-created correspondence between the area and the application.
结合第一方面,在第一方面的第二种实现方式中,所述终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,还包括:In conjunction with the first aspect, in a second implementation manner of the first aspect, before the receiving, by the terminal, the pressing operation of the preset area input on the lock screen interface, the terminal further includes:
所述终端创建时长与应用程序的第二对应关系;a second correspondence between the creation duration of the terminal and the application;
所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前, 还包括:After the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, Also includes:
所述终端从所述第二对应关系中获取与所述按压时长对应的应用程序;Obtaining, by the terminal, an application corresponding to the pressing duration from the second correspondence relationship;
所述终端启动预设应用程序,包括:The terminal starts a preset application, including:
所述终端启动与所述按压时长对应的应用程序。The terminal starts an application corresponding to the pressing duration.
通过本发明实施例,终端可以结合预先创建好的时长与应用程序的对应关系来确定快速启动的预设应用程序。Through the embodiment of the present invention, the terminal can determine the quick start preset application by combining the pre-created correspondence between the duration and the application.
结合第一方面,或第一方面的第一种至第二种任一种实现方式,在第一方面的第三种实现方式中,所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,还包括:With reference to the first aspect, or any one of the first to the second implementation manners of the first aspect, in the third implementation manner of the first aspect, after the terminal receives the pressing operation of the user for the lock screen interface, Before the terminal launches the preset application, it also includes:
所述终端获取所述用户的指纹信息;The terminal acquires fingerprint information of the user;
所述终端判断获取到的所述指纹信息与预设的指纹信息是否匹配;Determining, by the terminal, whether the obtained fingerprint information matches the preset fingerprint information;
若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤。If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
通过本发明实施例,终端可以根据指纹信息来确认用户的身份,增强应用程序启动的安全性,避免预设用户以外的其他用户使用终端快速启动预设应用程序应用程序。According to the embodiment of the present invention, the terminal can confirm the identity of the user according to the fingerprint information, enhance the security of the application startup, and prevent other users other than the preset user from using the terminal to quickly launch the preset application application.
结合第一方面,或第一方面的第一种至第二种任一种实现方式,在第一方面的第四种实现方式中,所述终端启动预设应用程序后,还包括:With the first aspect, or the first to the second implementation of the first aspect, in a fourth implementation manner of the first aspect, after the terminal starts the preset application, the terminal further includes:
所述终端接收关闭所述预设应用程序的指令;The terminal receives an instruction to close the preset application;
所述终端根据所述指令关闭所述预设应用程序,并返回所述锁屏界面。The terminal closes the preset application according to the instruction, and returns to the lock screen interface.
通过本发明实施例,终端退出预设应用程序后,重新返回锁屏界面,增强终端信息的安全性。After the terminal exits the preset application, the terminal returns to the lock screen interface to enhance the security of the terminal information.
结合第一方面,在第一方面的第五种实现方式中,所述锁屏界面包括数字锁屏界面或图案锁屏界面。In conjunction with the first aspect, in a fifth implementation manner of the first aspect, the lock screen interface comprises a digital lock screen interface or a pattern lock screen interface.
结合第一方面,在第一方面的第六种实现方式中,若所述锁屏界面为数字锁屏界面时,所述预设区域为预设数字所对应的显示区域。In conjunction with the first aspect, in a sixth implementation manner of the first aspect, if the lock screen interface is a digital lock screen interface, the preset area is a display area corresponding to the preset number.
结合第一方面,在第一方面的第七种实现方式中,若所述锁屏界面为图案锁屏界面时,所述预设区域为预设图案所对应的显示区域。In conjunction with the first aspect, in a seventh implementation manner of the first aspect, if the lock screen interface is a pattern lock screen interface, the preset area is a display area corresponding to the preset pattern.
结合第一方面,在第一方面的第八种实现方式中,若所述按压操作的按压区域非所述预设区域,或者所述按压操作的操作时长小于所述预设时长,所述终端继续显示所述锁屏界面。With reference to the first aspect, in an eighth implementation manner of the first aspect, if the pressing area of the pressing operation is not the preset area, or the operation duration of the pressing operation is less than the preset duration, the terminal Continue to display the lock screen interface.
结合第一方面,在第一方面的第九种实现方式中,所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动所述预设应用程序之前,还包括:With reference to the first aspect, in a ninth implementation manner of the first aspect, after the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
所述终端判断所述按压操作的按压力度是否大于或等于预设力度;Determining, by the terminal, whether the pressing force of the pressing operation is greater than or equal to a preset strength;
若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤。If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
通过本发明实施例,终端可以提高检测按压操作的精准度,避免误操作。Through the embodiment of the invention, the terminal can improve the accuracy of detecting the pressing operation and avoid erroneous operations.
结合第一方面,在第一方面的第十种实现方式中,所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动所述预设程序之前,还包括: With reference to the first aspect, in a tenth implementation manner of the first aspect, after the terminal receives the pressing operation of the user for the lock screen interface, the terminal further includes:
所述终端判断所述按压操作的按压区域的面积是否小于或等于预设面积;Determining, by the terminal, whether an area of the pressing area of the pressing operation is less than or equal to a preset area;
若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤。If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
通过本发明实施例,终端可以提高检测按压操作的精准度,避免误操作。Through the embodiment of the invention, the terminal can improve the accuracy of detecting the pressing operation and avoid erroneous operations.
第二方面,本发明实施例提供了一种终端,该终端包括用于执行第一方面所述应用程序启动方法的模块或单元。In a second aspect, an embodiment of the present invention provides a terminal, where the terminal includes a module or a unit for executing the application startup method in the first aspect.
第三方面,本发明实施例提供了另一种终端,包括处理器和存储器,所述处理器和存储器相互连接,其中,所述存储器用于存储支持终端执行上述方法的应用程序代码,所述处理器被配置用于执行上述第一方面的方法。In a third aspect, an embodiment of the present invention provides another terminal, including a processor and a memory, where the processor and the memory are connected to each other, wherein the memory is used to store application code that supports the terminal to execute the foregoing method, The processor is configured to perform the method of the first aspect above.
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, where the computer storage medium stores a computer program, where the computer program includes program instructions, and the program instructions, when executed by a processor, cause the processing The method of the first aspect described above is performed.
第五方面,本发明实施例提供了一种计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。In a fifth aspect, an embodiment of the present invention provides a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform the method of the first aspect.
附图说明DRAWINGS
下面将对实施例描述中所需要使用的附图作简单地介绍。The drawings to be used in the description of the embodiments will be briefly described below.
图1是本发明实施例提供的一种应用程序启动方法的流程示意图;1 is a schematic flowchart of an application startup method according to an embodiment of the present invention;
图1A是本发明实施例提供的一种数字锁屏界面示意图;1A is a schematic diagram of a digital lock screen interface according to an embodiment of the present invention;
图1B是本发明实施例提供的一种图案锁屏界面示意图;FIG. 1B is a schematic diagram of a pattern lock screen interface according to an embodiment of the present invention; FIG.
图1C是本发明实施例提供的一种用户针对数字锁屏界面的按压操作示意图;1C is a schematic diagram of a user pressing operation on a digital lock screen interface according to an embodiment of the present invention;
图1D是本发明实施例提供的一种用户针对图案锁屏界面的按压操作示意图;FIG. 1D is a schematic diagram of a user pressing operation on a pattern lock screen interface according to an embodiment of the present invention; FIG.
图2是本发明实施例提供的一种应用程序启动方法的流程示意图;2 is a schematic flowchart of an application startup method according to an embodiment of the present invention;
图3是本发明实施例提供的另一种应用程序启动方法的流程示意图;3 is a schematic flowchart of another application startup method according to an embodiment of the present invention;
图4是本发明实施例提供的另一种应用程序启动方法的流程示意图;4 is a schematic flowchart of another application startup method according to an embodiment of the present invention;
图5是本发明实施例提供的另一种应用程序启动方法的流程示意图;FIG. 5 is a schematic flowchart of another application startup method according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的一种终端的结构示意图;FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure;
图7是本发明实施例提供的另一种终端的结构示意图。FIG. 7 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the accompanying drawings of the embodiments of the present invention.
参见图1,是本发明实施例提供一种应用程序启动方法的示意流程图,如图1所示,该方法包括但不限于如下步骤S101-S102。FIG. 1 is a schematic flowchart of a method for starting an application according to an embodiment of the present invention. As shown in FIG. 1, the method includes, but is not limited to, the following steps S101-S102.
S101、终端接收用户针对锁屏界面的按压操作。S101. The terminal receives a pressing operation of the user for the lock screen interface.
其中,终端可以包括移动手机、平板电脑、个人数字助理(Personal Digital Assistant,PDA)、移动互联网设备(Mobile Internet Device,MID)、智能穿戴设备(如智能手表、智能手环)等各种用户可以使用的终端设备,本发明实施例不作限定。The terminal may include a mobile phone, a tablet computer, a personal digital assistant (PDA), a mobile internet device (MID), a smart wearable device (such as a smart watch, a smart bracelet), and the like. The terminal device used is not limited in the embodiment of the present invention.
本发明实施例中,终端具有触控屏,该触控屏可以采集到用户的按压操作。 In the embodiment of the invention, the terminal has a touch screen, and the touch screen can collect the pressing operation of the user.
终端接收用户针对锁屏界面的按压操作之前,终端根据用户输入的指令显示该锁屏界面。其中,用户输入的指令可以是点击终端触控屏的指令,也可以是点击终端开机键的指令,还可以是用户的语音指令,还可以是其他触发终端显示锁屏界面的指令,本发明实施例不作具体限定。Before the terminal receives the pressing operation of the user for the lock screen interface, the terminal displays the lock screen interface according to an instruction input by the user. The instruction input by the user may be an instruction of clicking the touch screen of the terminal, or an instruction of clicking the power button of the terminal, or may be a voice instruction of the user, or may be another instruction for triggering the terminal to display the lock screen interface, and the implementation of the invention The examples are not specifically limited.
可选的,所述锁屏界面可以是数字锁屏界面,也可以是图案锁屏界面,还可以是其他锁屏界面,本发明实施例不作限定。Optionally, the lock screen interface may be a digital lock screen interface, a pattern lock screen interface, or another lock screen interface, which is not limited in the embodiment of the present invention.
S102、若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,则所述终端启动预设应用程序。S102. If the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal starts a preset application.
本发明实施例中,终端可以设置有压力传感器,该压力传感器可以采集到用户的按压操作,并且可以检测该按压操作的按压区域。In the embodiment of the present invention, the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation.
终端在接收到按压操作后,如果获知该按压操作的按压区域为预设区域并且该按压操作的按压时长达到预设时长,则该终端会启动预设应用程序。After receiving the pressing operation, if the pressing area of the pressing operation is known to be the preset area and the pressing time of the pressing operation reaches the preset duration, the terminal starts the preset application.
本发明实施例中,按压时长达到预设时长包括:按压时长大于或等于预设时长。例如,预设时长为2秒钟,只要按压时长大于或等于2秒钟,则按压时长达到预设时长。或者,按压时长达到预设时长包括:按压时长处于预设时长区间。例如,预设时长为2秒钟-5秒钟,只要按压时长大于或等于2秒钟并且小于或等于5秒钟,则按压时长达到预设时长。In the embodiment of the present invention, the pressing duration reaches a preset duration, and the pressing duration is greater than or equal to the preset duration. For example, the preset duration is 2 seconds, and as long as the pressing duration is greater than or equal to 2 seconds, the pressing duration reaches the preset duration. Alternatively, the pressing duration reaches a preset duration including: the pressing duration is in a preset duration interval. For example, the preset duration is 2 seconds to 5 seconds, and as long as the pressing duration is greater than or equal to 2 seconds and less than or equal to 5 seconds, the pressing duration reaches a preset duration.
本发明实施例中,预设区域可以是预设数字所对应的显示区域,也可以是预设图案所对应的显示区域,还可以是锁屏界面上的其他显示对象所在的区域。In the embodiment of the present invention, the preset area may be a display area corresponding to the preset number, or may be a display area corresponding to the preset pattern, or may be an area where other display objects on the lock screen interface are located.
其中,若所述锁屏界面为数字锁屏界面,所述预设区域为预设数字所对应的显示区域,也可以是数字锁屏界面上的其他显示对象所在的区域。预设数字可以是0-9中的任意一个。其他显示对象可以是数字锁屏界面上显示的文字“紧急呼叫”或者“返回”。参见图1A,是本发明实施例提供的一种数字锁屏界面的示意图。在图1A中,数字锁屏界面10中显示有数字0-9、紧急呼叫、返回以及输入密码框。预设数字可以是1。Wherein, if the lock screen interface is a digital lock screen interface, the preset area is a display area corresponding to the preset number, and may also be an area where other display objects on the digital lock screen interface are located. The preset number can be any one of 0-9. Other display objects may be the words "emergency call" or "return" displayed on the digital lock screen interface. FIG. 1A is a schematic diagram of a digital lock screen interface according to an embodiment of the present invention. In FIG. 1A, the digital lock screen interface 10 displays numbers 0-9, emergency calls, returns, and an input password box. The preset number can be 1.
若所述锁屏界面为图案锁屏界面,所述预设区域为预设图案所对应的显示区域。预设图案为图案锁屏界面上的任意一个显示对象。参见图1B,是本发明实施例提供的一种图案锁屏界面的示意图。在图1B中,图案锁屏界面20中显示有9种图案以及输入图案框,这9种图案的编号分别为21-29。预设图案可以是图案2。If the lock screen interface is a pattern lock screen interface, the preset area is a display area corresponding to the preset pattern. The preset pattern is any display object on the pattern lock screen interface. FIG. 1B is a schematic diagram of a pattern lock screen interface according to an embodiment of the present invention. In FIG. 1B, nine patterns and an input pattern frame are displayed in the pattern lock screen interface 20, and the numbers of the nine patterns are 21-29, respectively. The preset pattern may be pattern 2.
预设时长可以是由终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设时长可以是2秒钟。The preset duration may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the preset duration can be 2 seconds.
预设应用程序可以是终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设应用程序是相机应用程序。The preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the default application is a camera application.
例如,预设数字可以是1,预设时长为2秒钟,预设应用程序是相机应用程序。参见图1C,终端接收到用户按压数字1所在的显示区域,并且该按压操作的按压时长为3秒钟,则终端直接由数字锁屏界面跳转到相机界面。For example, the preset number can be 1, the preset duration is 2 seconds, and the default application is the camera application. Referring to FIG. 1C, the terminal receives the display area where the user presses the number 1, and the pressing time of the pressing operation is 3 seconds, and the terminal directly jumps from the digital lock screen interface to the camera interface.
例如,预设图案可以是图案2,预设时长为2秒钟,预设应用程序是备忘录应用程序。参见图1D,终端接收到用户按压图案2所在的显示区域,并且该按压操作的按压时长为4秒钟,则终端直接由图案锁屏界面跳转到备忘录界面。For example, the preset pattern may be pattern 2, the preset duration is 2 seconds, and the preset application is a memo application. Referring to FIG. 1D, the terminal receives the display area where the user presses the pattern 2, and the pressing time of the pressing operation is 4 seconds, and the terminal directly jumps from the pattern lock screen interface to the memo interface.
本发明实施例中,所述按压操作的按压区域是否为预设区域以及所述按压操作的按压 时长是否达到预设时长可以是由上述终端判断的,也可以是由另一设备判断并将告知上述终端的。In the embodiment of the present invention, whether the pressing area of the pressing operation is a preset area and the pressing of the pressing operation Whether the duration reaches the preset duration may be determined by the terminal, or may be judged by another device and will be notified to the terminal.
其中,如果所述按压操作的按压区域是否为预设区域以及所述按压操作的按压时长是否达到预设时长是由上述终端判断的,那么该终端可以先判断按压操作的按压区域是否为预设区域,在判断的结果为是后,再判断所述按压操作的按压时长是否达到预设时长;或者,该终端可以先判断判断所述按压操作的按压时长是否达到预设时长,在判断的结果为是后,再按压操作的按压区域是否为预设区域;或者,该终端可以同时判断按压操作的按压区域是否为预设区域以及所述按压操作的按压时长是否达到预设时长。If the pressing area of the pressing operation is the preset area and whether the pressing duration of the pressing operation reaches the preset duration is determined by the terminal, the terminal may first determine whether the pressing area of the pressing operation is a preset. If the result of the determination is YES, it is determined whether the pressing duration of the pressing operation reaches a preset duration; or the terminal may first determine whether the pressing duration of the pressing operation reaches a preset duration, and the result of the determining If yes, the pressing area of the pressing operation is a preset area; or the terminal can simultaneously determine whether the pressing area of the pressing operation is a preset area and whether the pressing time of the pressing operation reaches a preset duration.
可选的,如果按压操作的按压区域非预设区域,或者所述按压操作的按压时长未达到预设时长,终端继续显示锁屏界面。Optionally, if the pressing area of the pressing operation is not the preset area, or the pressing duration of the pressing operation does not reach the preset duration, the terminal continues to display the lock screen interface.
通过实施本发明实施例,可以结合按压操作的按压区域和按压时长来快速启动应用程序。By implementing the embodiments of the present invention, the application can be quickly launched in conjunction with the pressing area of the pressing operation and the pressing time.
可选的,在终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,终端还可以获取所述用户的指纹信息,判断获取到的所述指纹信息与预设的指纹信息是否匹配。如果匹配,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,才会执行所述启动预设应用程序的步骤。如果不匹配,则终端继续显示锁屏界面。Optionally, after the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal may further acquire the fingerprint information of the user, and determine the obtained fingerprint information and the preset Whether the fingerprint information matches. If the matching is performed, the terminal performs the step of starting the preset application when it is determined that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration. If there is no match, the terminal continues to display the lock screen interface.
具体的,预设的指纹信息可以是终端用户预先录入的,该预设的指纹信息可以是终端用户本人的,还可以是其他用户的,本发明实施例不作具体限定。Specifically, the preset fingerprint information may be pre-recorded by the terminal user, and the preset fingerprint information may be the user of the terminal user, and may be other users, which is not specifically limited in the embodiment of the present invention.
通过本发明实施例,终端可以根据指纹信息来确认用户的身份,增强应用程序启动的安全性,避免预设用户以外的其他用户使用终端快速启动预设应用程序应用程序。According to the embodiment of the present invention, the terminal can confirm the identity of the user according to the fingerprint information, enhance the security of the application startup, and prevent other users other than the preset user from using the terminal to quickly launch the preset application application.
参见图2是本发明实施例提供的另一种应用程序启动方法的示意流程图,该方法包括但不限于如下步骤S201-S204。FIG. 2 is a schematic flowchart of another application startup method according to an embodiment of the present invention, including but not limited to the following steps S201-S204.
S201、终端创建区域与应用程序的第一对应关系。S201. The first correspondence between the terminal creation area and the application.
终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,创建区域与应用程序的第一对应关系。该第一对应关系可以是终端出厂时系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。Before the terminal receives the pressing operation of the user for the preset area input on the lock screen interface, the first correspondence between the area and the application is created. The first correspondence may be set by default in the system when the terminal is shipped from the factory, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
例如,所述锁屏界面为数字锁屏界面,终端创建的第一对应关系可以为数字1所在触控区域对应于相机应用程序,数字2所在触控区域对应于备忘录应用程序,数字3所在触控区域对应于微信应用程序。该第一对应关系的格式可以例如但不限于如下表1所示。For example, the lock screen interface is a digital lock screen interface, and the first correspondence relationship created by the terminal may be that the touch area corresponding to the number 1 corresponds to the camera application, the touch area of the number 2 corresponds to the memo application, and the number 3 touches The control area corresponds to the WeChat application. The format of the first correspondence may be, for example but not limited to, as shown in Table 1 below.
表1Table 1
数字digital 应用程序application
11 相机 camera
22 备忘录 memorandum
33 微信WeChat
需要说明的是,表1所示第一对应关系只是作为一种示例,并非限定第一对应关系的 格式和内容。It should be noted that the first correspondence relationship shown in Table 1 is only an example, and does not limit the first correspondence. Format and content.
又例如,所述锁屏界面为图案锁屏界面,终端创建的第一对应关系可以为:图案1对应于相机应用程序,图案2对应于备忘录应用程序,图案3对应于微信应用程序。该第一对应关系的格式可以例如但不限于如下表2所示。For another example, the lock screen interface is a pattern lock screen interface, and the first correspondence relationship created by the terminal may be: the pattern 1 corresponds to the camera application, the pattern 2 corresponds to the memo application, and the pattern 3 corresponds to the WeChat application. The format of the first correspondence may be, for example but not limited to, as shown in Table 2 below.
表2Table 2
图案pattern 应用程序application
11 相机 camera
22 备忘录 memorandum
33 微信WeChat
需要说明的是,表2所示第一对应关系只是作为一种示例,并非限定第一对应关系的格式和内容。It should be noted that the first correspondence relationship shown in Table 2 is only an example, and does not limit the format and content of the first correspondence relationship.
S202、所述终端接收用户针对锁屏界面的按压操作。S202. The terminal receives a pressing operation of a user for a lock screen interface.
具体的,步骤S202的相关实现可以参考图1所示实施例中的步骤S101的相关描述,此处不再赘述。For details, refer to the related description of step S101 in the embodiment shown in FIG. 1 for related implementation of step S202, and details are not described herein again.
S203、若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,所述终端从所述第一对应关系中获取与所述预设区域对应的应用程序。S203. If the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal acquires an application corresponding to the preset area from the first correspondence.
本发明实施例中,终端可以设置有压力传感器,该压力传感器可以采集到用户的按压操作,并且可以检测该按压操作的按压区域。终端在检测到用户的按压操作后,可以启动计时,从而获取到该按压操作的按压时长。本发明实施例中终端如何确定所述按压操作的按压区域是否为预设区域且所述按压操作的按压时长是否达到预设时长可以参考上述图1所示实施例中的步骤S102,此处不再赘述。In the embodiment of the present invention, the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation. After detecting the pressing operation of the user, the terminal may start timing to obtain the pressing duration of the pressing operation. In the embodiment of the present invention, the terminal determines whether the pressing area of the pressing operation is a preset area, and whether the pressing duration of the pressing operation reaches a preset time length may refer to step S102 in the embodiment shown in FIG. Let me repeat.
例如,所述锁屏界面为图1C所示的数字锁屏界面,若终端检测到的按压操作的触控区域为数字1所对应的显示区域,则终端根据上述表1所示第一对应关系可以确定与数字1对应的应用程序为相机应用程序。如果终端检测到的按压操作的触控区域不是上述表1所示第一对应关系中的任何一预设区域,则不会获取到与之对应的应用程序。For example, the lock screen interface is the digital lock screen interface shown in FIG. 1C. If the touch area detected by the terminal is the display area corresponding to the number 1, the terminal according to the first correspondence shown in Table 1 above. It can be determined that the application corresponding to the number 1 is a camera application. If the touch area of the pressing operation detected by the terminal is not any of the first corresponding areas shown in Table 1 above, the corresponding application is not obtained.
又例如,所述锁屏界面为图1D所示的图案锁屏界面,若终端检测到的触控区域为图案2所对应的显示区域,则终端从上述表2所示第一对应关系可以确定与图案2对应的应用程序为备忘录应用程序。如果终端检测到的按压操作的触控区域的图案不是上述表2所示第一对应关系中的任一预设区域图案,则不会获取到与之对应的应用程序。For example, the lock screen interface is the pattern lock screen interface shown in FIG. 1D. If the touch area detected by the terminal is the display area corresponding to the pattern 2, the terminal can be determined from the first correspondence relationship shown in Table 2 above. The application corresponding to the pattern 2 is a memo application. If the pattern of the touch area of the pressing operation detected by the terminal is not any of the preset area patterns in the first correspondence relationship shown in Table 2 above, the application corresponding thereto is not acquired.
S204、所述终端启动与所述预设区域对应的应用程序。S204. The terminal starts an application corresponding to the preset area.
终端在接收到按压操作后,如果获知该按压操作的按压区域为预设区域并且该按压操作的按压时长达到预设时长,则该终端根据用户针对锁屏界面上按压操作的触控区域从第一对应关系中获取按压操作的触控区域对应的应用程序,启动对应的应用程序。After receiving the pressing operation, if the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset duration, the terminal is in accordance with the touch area of the user pressing the pressing operation on the lock screen interface. In a corresponding relationship, an application corresponding to the touch area of the pressing operation is acquired, and the corresponding application is started.
例如,终端创建的区域与应用程序的第一对应关系中,数字1所在触控区域对应于相机应用程序,数字2所在触控区域对应于备忘录应用程序,数字3所在触控区域对应于微信应用程序,预设时长为2秒钟。终端接收到用户按压数字1所在的显示区域,并且该按 压操作的按压时长为3秒钟,则终端根据用户针对锁屏界面上按压操作的触控区域数字1所在的显示区域,从第一对应关系中获取按压操作的触控区域数字1对应的应用程序,启动对应的相机应用程序。For example, in the first correspondence between the area created by the terminal and the application, the touch area of the number 1 corresponds to the camera application, the touch area of the number 2 corresponds to the memo application, and the touch area of the number 3 corresponds to the WeChat application. The program has a preset duration of 2 seconds. The terminal receives the display area where the user presses the number 1 and the button The pressing time of the pressing operation is 3 seconds, and the terminal obtains the application corresponding to the touch area number 1 of the pressing operation from the first corresponding relationship according to the display area where the user touches the touch area number 1 on the lock screen interface. Program to launch the corresponding camera application.
又例如,终端创建的区域与应用程序的第一对应关系中,图案1所在触控区域对应于相机应用程序,图案2所在触控区域对应于备忘录应用程序,图案3所在触控区域对应于微信应用程序,预设时长为2秒钟。终端接收到用户按压图案2所在的显示区域,并且该按压操作的按压时长为3秒钟,则终端根据用户针对锁屏界面上按压操作的触控区域图案2所在的显示区域,从第一对应关系中获取按压操作的触控区域图案2对应的应用程序,启动对应的备忘录应用程序。For example, in the first correspondence between the area created by the terminal and the application, the touch area of the pattern 1 corresponds to the camera application, the touch area of the pattern 2 corresponds to the memo application, and the touch area of the pattern 3 corresponds to the WeChat. The application has a preset duration of 2 seconds. When the terminal receives the display area where the user presses the pattern 2, and the pressing time of the pressing operation is 3 seconds, the terminal corresponds to the display area where the touch area pattern 2 is pressed by the user for the lock screen interface. In the relationship, an application corresponding to the touch area pattern 2 of the pressing operation is acquired, and the corresponding memo application is started.
通过实施本发明实施例,终端可以预先创建区域与应用程序的对应关系,当终端接收到用户的按压操作后,在按压操作的按压区域为预设区域且按压操作的按压时长达到预设时长时,从区域与应用程序的对应关系中获取该按压操作的按压区域对应的应用程序,进而启动该应用程序,实现了结合预先创建好的区域与应用程序的对应关系来确定快速启动的预设应用程序。By implementing the embodiment of the present invention, the terminal may pre-create the corresponding relationship between the area and the application. When the terminal receives the pressing operation of the user, the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset duration. Obtaining an application corresponding to the pressing area of the pressing operation from the correspondence between the area and the application, and then starting the application, and realizing the corresponding relationship between the pre-created area and the application to determine the quick start preset application. program.
参见图3是本发明实施例提供的另一种应用程序启动方法的流程示意图,该方法包括但不限于如下步骤S301-S304。FIG. 3 is a schematic flowchart diagram of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S301-S304.
S301、终端创建时长与应用程序的第二对应关系。S301. A second correspondence between a terminal creation duration and an application.
终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,创建时长与应用程序的第二对应关系。该第二对应关系可以是终端出厂时系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。Before the terminal receives the pressing operation of the preset area input on the lock screen interface, the terminal creates a second correspondence between the duration and the application. The second corresponding relationship may be set by default in the system of the terminal, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention.
例如,终端创建的第二对应关系为2秒钟对应于相机应用程序,3秒钟对应于备忘录应用程序,4秒钟对应于微信应用程序。该第二对应关系的格式和内容可以例如但不限于如下表3所示。For example, the second correspondence created by the terminal is 2 seconds corresponding to the camera application, 3 seconds corresponding to the memo application, and 4 seconds corresponding to the WeChat application. The format and content of the second correspondence may be, for example but not limited to, as shown in Table 3 below.
表3table 3
时长(秒钟)Duration (seconds) 应用程序 application
22 相机 camera
33 备忘录memorandum
44 微信WeChat
需要说明的是,表3所示第二对应关系只是作为一种示例,并非限定第二对应关系的格式和内容。It should be noted that the second correspondence relationship shown in Table 3 is only an example, and does not limit the format and content of the second correspondence relationship.
S302、所述终端接收用户针对锁屏界面的按压操作。S302. The terminal receives a pressing operation of a user for a lock screen interface.
具体的,步骤S302的相关实现可以参考图1所示实施例中的步骤S101的相关描述,此处不再赘述。For details, refer to the related description of step S101 in the embodiment shown in FIG. 1 for related implementation of step S302, and details are not described herein again.
S303、若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,所述终端从所述第二对应关系中获取与所述按压时长对应的应用程序。S303. If the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal acquires an application corresponding to the pressing duration from the second correspondence.
本发明实施例中,终端可以设置有压力传感器,该压力传感器可以采集到用户的按压 操作,并且可以检测该按压操作的按压区域。终端在检测到用户的按压操作后,可以启动计时,从而获取到该按压操作的按压时长。本发明实施例中终端如何确定所述按压操作的按压区域是否为预设区域且所述按压操作的按压时长是否达到预设时长可以参考上述图1所示实施例中的步骤S102,此处不再赘述。In the embodiment of the present invention, the terminal may be provided with a pressure sensor, and the pressure sensor can collect the user's pressing The operation and the pressing area of the pressing operation can be detected. After detecting the pressing operation of the user, the terminal may start timing to obtain the pressing duration of the pressing operation. In the embodiment of the present invention, the terminal determines whether the pressing area of the pressing operation is a preset area, and whether the pressing duration of the pressing operation reaches a preset time length may refer to step S102 in the embodiment shown in FIG. Let me repeat.
例如,终端接收到用户按压预设区域,并且该按压操作的按压时长为3秒钟,则终端根据用户针对锁屏界面上按压操作的操作时长,从上述表3所示第二对应关系中获取到按压操作的操作时长为3秒钟所对应的应用程序为备忘录应用程序。如果终端检测到的用户针对锁屏界面的按压操作的按压时长不是上述表3所示第二对应关系中的任何一预设时长,则不会获取到与之对应的应用程序。For example, the terminal receives the preset area and the pressing time of the pressing operation is 3 seconds, and the terminal obtains the second correspondence relationship shown in the foregoing table 3 according to the operation duration of the user's pressing operation on the lock screen interface. The application corresponding to the pressing operation for 3 seconds is the memo application. If the duration of the pressing operation of the user for the pressing operation of the lock screen interface is not any preset duration in the second correspondence relationship shown in Table 3 above, the application corresponding thereto is not obtained.
S304、则所述终端启动与所述预设区域对应的应用程序。S304. The terminal starts an application corresponding to the preset area.
终端在接收到按压操作后,如果获知该按压操作的按压区域为预设区域并且该按压操作的按压时长达到预设时长,则该终端根据用户针对锁屏界面上按压操作的操作时长从第二对应关系中获取按压操作的操作时长对应的应用程序,启动对应的应用程序。After receiving the pressing operation, if the pressing area of the pressing operation is the preset area and the pressing time of the pressing operation reaches the preset time length, the terminal operates from the second operation time according to the pressing operation of the user on the lock screen interface. In the corresponding relationship, the application corresponding to the operation duration of the pressing operation is acquired, and the corresponding application is started.
例如,创建的时长与应用程序的第二对应关系中,按压操作时长为2秒钟对应于相机,按压操作时长为3秒钟对应于备忘录,按压操作时长为4秒钟对应于微信,预设时长为2秒钟。终端接收到用户按压预设区域,并且该按压操作的按压时长为3秒钟,则终端根据用户针对锁屏界面上按压操作的操作时长,从第二对应关系中获取按压操作的操作时长为3秒钟所对应的应用程序,启动对应的备忘录。For example, in the second correspondence between the created duration and the application, the pressing operation duration is 2 seconds corresponding to the camera, the pressing operation duration is 3 seconds corresponding to the memo, and the pressing operation duration is 4 seconds corresponding to the WeChat, the preset The duration is 2 seconds. When the terminal receives the preset area and the pressing time of the pressing operation is 3 seconds, the terminal obtains the operation duration of the pressing operation from the second corresponding relationship according to the operation duration of the user's pressing operation on the lock screen interface. The application corresponding to the second starts the corresponding memo.
通过实施本发明实施例,终端可以预先创建时长与应用程序的对应关系,当终端接收到用户的按压操作后,在按压操作的按压区域为预设区域且按压操作的按压时长达到预设时长时,从时长与应用程序的对应关系中获取该按压操作的按压时长对应的应用程序,进而启动该应用程序,实现了结合预先创建好的按压时长与应用程序的对应关系来确定快速启动的预设应用程序。By implementing the embodiment of the present invention, the terminal may pre-create the corresponding relationship between the duration and the application. When the terminal receives the pressing operation of the user, the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration. The application corresponding to the pressing duration of the pressing operation is obtained from the correspondence between the duration and the application, and then the application is started, and the preset relationship between the pre-created pressing duration and the application is determined to determine the quick-starting preset. application.
可选的,终端还可以预先创建区域、时长与应用程序的第三对应关系。该第三对应关系可以是终端出厂时系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,所述锁屏界面为数字锁屏界面,该第三对应关系的格式和内容可以例如表4所示。Optionally, the terminal may also pre-create a third correspondence between the area, the duration, and the application. The third corresponding relationship may be set by default in the system of the terminal, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the lock screen interface is a digital lock screen interface, and the format and content of the third correspondence relationship can be, for example, shown in Table 4.
表4Table 4
数字digital 时长(秒钟)Duration (seconds) 应用程序application
11 22 相机camera
11 33 备忘录memorandum
11 44 微信 WeChat
22 33 QQ QQ
22 44 音乐 music
33 33 视频video
需要说明的是,表4所示第三对应关系只是作为一种示例,并非限定第三对应关系的格式和内容。It should be noted that the third correspondence relationship shown in Table 4 is only an example, and does not limit the format and content of the third correspondence relationship.
当终端接收到用户针对锁屏界面的按压操作时,若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,所述终端从所述第三对应关系中获取与所述预设区域以及所述按压时长对应的应用程序。例如,预设区域为数字1对应的显示区域,预设时长为2秒钟,终端接收到用户按压数字1对应的显示区域的按压操作,并且该按压操作的按压时长为3秒钟,则终端从上述第三对应关系中确定数字1以及时长3秒钟对应的应用程序为备忘录,则终端启动备忘录应用。When the terminal receives the pressing operation of the user for the lock screen interface, if the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal is from the third correspondence relationship. Obtaining an application corresponding to the preset area and the pressing duration. For example, the preset area is a display area corresponding to the number 1, the preset duration is 2 seconds, and the terminal receives the pressing operation of the display area corresponding to the number 1 by the user, and the pressing time of the pressing operation is 3 seconds, then the terminal When the application corresponding to the number 1 and the duration of 3 seconds is determined as the memo from the third correspondence, the terminal starts the memo application.
参见图4,是本发明实施例提供的另一种应用程序启动方法的流程示意图,该方法包括但不限于如下步骤S401-S405。FIG. 4 is a schematic flowchart diagram of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S401-S405.
S401、终端接收用户针对锁屏界面的按压操作。S401. The terminal receives a pressing operation of the user for the lock screen interface.
具体的,步骤S401的相关实现可以参考图1所示实施例中的步骤S101的相关描述,此处不再赘述。For details, refer to the related description of step S101 in the embodiment shown in FIG. 1 for related implementation of step S401, and details are not described herein again.
S402、终端判断所述按压操作的按压力度是否大于或等于预设力度,若是,执行步骤S403;若否,继续显示锁屏界面。S402. The terminal determines whether the pressing force of the pressing operation is greater than or equal to a preset strength. If yes, step S403 is performed; if not, the lock screen interface is continuously displayed.
本发明实施例中,终端可以设置有压力传感器,该压力传感器可以采集到用户的按压操作,并且可以检测该按压操作的按压区域,此外,还可以准确的检测出按压操作的按压力度。In the embodiment of the present invention, the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation, and can also accurately detect the pressing force of the pressing operation.
预设力度可以是由终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设力度可以是2牛顿。The preset strength may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the preset strength can be 2 Newtons.
S403、终端判断所述按压操作的按压区域是否为预设区域,若是,执行步骤S404;若否,继续显示锁屏界面。S403. The terminal determines whether the pressing area of the pressing operation is a preset area. If yes, step S404 is performed; if not, the lock screen interface is continuously displayed.
S404、终端判断所述按压操作的按压时长是否达到预设时长,若是,执行步骤S405;若否,继续显示锁屏界面。S404. The terminal determines whether the pressing duration of the pressing operation reaches a preset duration. If yes, step S405 is performed; if not, the lock screen interface is continuously displayed.
S405、终端启动预设应用程序。S405. The terminal starts a preset application.
终端在接收到按压操作后,可以采用压力传感器来检测按压操作的按压力度。如果检测得到的按压力度大于或等于预设力度,且该按压操作的按压区域为预设区域并且该按压操作的按压时长达到预设时长,则该终端会启动预设应用程序。After receiving the pressing operation, the terminal may use a pressure sensor to detect the pressing force of the pressing operation. If the detected pressing force is greater than or equal to the preset strength, and the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration, the terminal starts the preset application.
预设应用程序可以是终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设应用程序是相机应用程序。The preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the default application is a camera application.
或者,终端可以预先创建上述第一对应关系,根据按压操作的按压区域从第一对应关系中查找与按压区域对应的应用程序,该与按压区域对应的应用程序即为所述预设应用程序。Alternatively, the terminal may create the first corresponding relationship in advance, and search for an application corresponding to the pressed area from the first corresponding relationship according to the pressed area of the pressing operation, and the application corresponding to the pressed area is the preset application.
或者,终端可以预先创建上述第二对应关系,根据按压操作的按压时长从第二对应关系中查找与按压时长对应的应用程序,该与按压时长对应的应用程序即为所述预设应用程序。Alternatively, the terminal may create the second corresponding relationship in advance, and search for an application corresponding to the pressing duration according to the pressing duration of the pressing operation, and the application corresponding to the pressing duration is the preset application.
或者,终端可以预先创建上述第三对应关系,根据按压操作的按压区域以及按压时长从第三对应关系中查找与按压区域以及按压时长对应的应用程序,该与按压区域以及按压 时长对应的应用程序即为所述预设应用程序。Alternatively, the terminal may create the third correspondence relationship in advance, and search for an application corresponding to the pressing area and the pressing duration from the third correspondence according to the pressing area of the pressing operation and the pressing duration, the pressing area and the pressing The application corresponding to the duration is the preset application.
例如,预设力度是2牛顿,预设时长为2秒钟,预设应用程序是相机应用程序。终端接收用户针对锁屏界面的按压操作,该按压操作的按压时长为3秒钟,压力传感器检测得到的该按压操作的按压力度的大小为2牛顿,终端判断该按压力度达到预设力度,所述按压时长达到预设时长,并且获知该按压操作的按压区域为预设区域,则该终端启动相机应用程序。For example, the preset strength is 2 Newtons and the preset duration is 2 seconds. The default application is the camera application. The terminal receives the pressing operation of the user for the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the pressing force of the pressing operation detected by the pressure sensor is 2 Newtons, and the terminal determines that the pressing force reaches the preset strength. When the pressing duration reaches a preset duration and it is known that the pressing area of the pressing operation is a preset area, the terminal starts the camera application.
例如,预设力度是2牛顿,预设时长为2秒钟,预设应用程序是相机应用程序。终端接收用户针对锁屏界面的按压操作,该按压操作的按压时长为3秒钟,压力传感器检测得到的该按压操作的按压力度的大小为1牛顿,终端判断该按压力度小于预设力度,所述按压时长达到预设时长,并且获知该按压操作的按压区域为预设区域,则该终端不会启动相机应用程序,继续显示锁屏界面。For example, the preset strength is 2 Newtons and the preset duration is 2 seconds. The default application is the camera application. The terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the pressing force of the pressing operation detected by the pressure sensor is 1 Newton, and the terminal determines that the pressing force is less than the preset strength. When the pressing duration reaches the preset duration and the pressing area of the pressing operation is the preset area, the terminal does not start the camera application and continues to display the lock screen interface.
通过实施本发明实施例,终端可以结合按压力度来提高检测按压操作的精准度,避免误操作。By implementing the embodiments of the present invention, the terminal can combine the pressing force to improve the accuracy of detecting the pressing operation and avoid erroneous operations.
参见图5是本发明实施例提供的另一种应用程序启动方法的流程示意图,该方法包括但不限于如下步骤S501-S505。FIG. 5 is a schematic flowchart of another application startup method according to an embodiment of the present invention, where the method includes but is not limited to the following steps S501-S505.
S501、终端接收用户针对锁屏界面的按压操作。S501. The terminal receives a pressing operation of the user for the lock screen interface.
具体的,步骤S501的相关实现可以参考图1所示实施例中的步骤S101的相关描述,此处不再赘述。For details, refer to the related description of step S101 in the embodiment shown in FIG. 1 for related implementation of step S501, and details are not described herein again.
S502、终端判断所述按压操作的按压区域的面积是否小于或等于预设面积,若是,执行步骤S503;若否,继续显示锁屏界面。S502. The terminal determines whether an area of the pressing area of the pressing operation is less than or equal to a preset area. If yes, step S503 is performed; if not, the lock screen interface is continuously displayed.
本发明实施例中,终端可以设置有压力传感器,该压力传感器可以采集到用户的按压操作,并且可以检测该按压操作的按压区域。此外,终端还可以准确的检测出按压操作的按压区域的面积。In the embodiment of the present invention, the terminal may be provided with a pressure sensor, which can collect the pressing operation of the user, and can detect the pressing area of the pressing operation. In addition, the terminal can accurately detect the area of the pressing area of the pressing operation.
预设面积可以是由终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设面积可以是1平方厘米。The preset area may be set by default by the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the preset area may be 1 square centimeter.
本发明实施例中,所述按压操作的按压区域的面积是否小于或等于预设面积是由上述终端判断的。In the embodiment of the present invention, whether the area of the pressing area of the pressing operation is less than or equal to the preset area is determined by the terminal.
S503、终端判断所述按压操作的按压区域是否为预设区域,若是,执行步骤S504;若否,继续显示锁屏界面。S503. The terminal determines whether the pressing area of the pressing operation is a preset area. If yes, step S504 is performed; if not, the lock screen interface is continuously displayed.
S504、终端判断所述按压操作的按压时长是否达到预设时长,若是,执行步骤S505;若否,继续显示锁屏界面。S504: The terminal determines whether the pressing duration of the pressing operation reaches a preset duration, and if yes, performs step S505; if not, continues to display the lock screen interface.
S505:终端启动预设应用程序。S505: The terminal starts the preset application.
如果终端检测得到的按压区域的面积小于或等于预设面积,且该按压操作的按压区域为预设区域并且该按压操作的按压时长达到预设时长,则该终端会启动预设应用程序。If the area of the pressed area detected by the terminal is less than or equal to the preset area, and the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration, the terminal starts the preset application.
预设应用程序可以是终端系统默认设置的,也可以是由终端用户自主设置的,本发明实施例不作具体限定。例如,预设应用程序是相机应用程序。The preset application may be set by default in the terminal system, or may be set by the terminal user, which is not specifically limited in the embodiment of the present invention. For example, the default application is a camera application.
或者,终端可以预先创建上述第一对应关系,根据按压操作的按压区域从第一对应关系中查找与按压区域对应的应用程序,该与按压区域对应的应用程序即为所述预设应用程 序。Alternatively, the terminal may create the foregoing first correspondence, and search for an application corresponding to the pressing area from the first correspondence according to the pressing area of the pressing operation, where the application corresponding to the pressing area is the preset application. sequence.
或者,终端可以预先创建上述第二对应关系,根据按压操作的按压时长从第二对应关系中查找与按压时长对应的应用程序,该与按压时长对应的应用程序即为所述预设应用程序。Alternatively, the terminal may create the second corresponding relationship in advance, and search for an application corresponding to the pressing duration according to the pressing duration of the pressing operation, and the application corresponding to the pressing duration is the preset application.
或者,终端可以预先创建上述第三对应关系,根据按压操作的按压区域以及按压时长从第三对应关系中查找与按压区域以及按压时长对应的应用程序,该与按压区域以及按压时长对应的应用程序即为所述预设应用程序。Alternatively, the terminal may create the third correspondence relationship in advance, and search for an application corresponding to the pressing area and the pressing duration from the third correspondence according to the pressing area of the pressing operation and the pressing duration, and the application corresponding to the pressing area and the pressing duration That is the preset application.
例如,预设面积是1平方厘米,预设时长为2秒钟,预设应用程序是相机应用程序。终端接收用户针对锁屏界面的按压操作,该按压操作的按压时长为3秒钟,终端检测得到该按压操作的按压区域的面积的大小为1平方厘米,终端判断该按压区域的面积达到预设面积,所述按压时长达到预设时长,并且获知该按压操作的按压区域为预设区域,则该终端启动相机应用程序。For example, the preset area is 1 square centimeter and the preset duration is 2 seconds. The default application is the camera application. The terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the terminal detects that the area of the pressing area of the pressing operation is 1 square centimeter, and the terminal determines that the area of the pressing area reaches the preset. The area, the pressing duration reaches a preset duration, and the pressing area of the pressing operation is a preset area, and the terminal starts the camera application.
例如,预设面积是1平方厘米,预设时长为2秒钟,预设应用程序是相机应用程序。终端接收用户针对锁屏界面的按压操作,该按压操作的按压时长为3秒钟,终端检测得到的该按压操作的按压区域的面积的大小为2平方厘米,终端判断该按压区域的面积大于预设面积,所述按压时长达到预设时长,并且获知该按压操作的按压区域为预设区域,则该终端不会启动相机应用程序,继续显示锁屏界面。For example, the preset area is 1 square centimeter and the preset duration is 2 seconds. The default application is the camera application. The terminal receives the pressing operation of the user on the lock screen interface, and the pressing time of the pressing operation is 3 seconds, and the area of the pressing area of the pressing operation obtained by the terminal detecting is 2 square centimeters, and the terminal determines that the area of the pressing area is larger than the pre- If the pressing time is up to a preset time and the pressing area of the pressing operation is a preset area, the terminal does not start the camera application and continues to display the lock screen interface.
通过实施本发明实施例,终端可以结合按压区域的面积来提高检测按压操作的精准度,避免误操作。By implementing the embodiments of the present invention, the terminal can improve the accuracy of detecting the pressing operation in combination with the area of the pressing area, thereby avoiding erroneous operations.
需要说明的是,虽然上述图1、图2、图3、图4和图5所示各实施例是分开描述的,但在具体实现中,可以将上述图1、图2、图3、图4和图5所示各实施例相互结合。It should be noted that although the foregoing embodiments shown in FIG. 1, FIG. 2, FIG. 3, FIG. 4 and FIG. 5 are separately described, in the specific implementation, the above FIG. 1, FIG. 2, FIG. 4 and the embodiments shown in Fig. 5 are combined with each other.
为了便于更好地实施本发明实施例的上述应用程序启动方法,本发明还提供了用于实现上述方法的终端。In order to facilitate the implementation of the above application startup method of the embodiment of the present invention, the present invention further provides a terminal for implementing the above method.
参见图6,是本发明实施例提供的一种终端的结构示意图。如图6所示,终端600可以包括:接收单元610、启动单元620,其中,FIG. 6 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 6, the terminal 600 may include: a receiving unit 610, a starting unit 620, where
所述接收单元610,用于接收用户针对锁屏界面的按压操作;The receiving unit 610 is configured to receive a pressing operation of the user for the lock screen interface;
所述启动单元620,用于启动预设应用程序。The startup unit 620 is configured to start a preset application.
可选的,所述终端600还包括第一创建单元和第一获取单元;Optionally, the terminal 600 further includes a first creating unit and a first acquiring unit;
第一创建单元,用于在所述接收单元610接收用户针对锁屏界面上的预设区域输入的按压操作之前,创建区域与应用程序的第一对应关系;a first creating unit, configured to create a first correspondence between the area and the application before the receiving unit 610 receives a pressing operation by the user for the preset area input on the lock screen interface;
第一获取单元,用于在所述接收单元610接收用户针对锁屏界面的按压操作之后,所述启动单元620启动预设应用程序之前,从所述第一对应关系中获取与所述预设区域对应的应用程序;a first acquiring unit, configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset application, acquiring the preset from the first correspondence relationship The application corresponding to the region;
所述启动单元620具体用于:The starting unit 620 is specifically configured to:
启动与所述预设区域对应的应用程序。Launching an application corresponding to the preset area.
可选的,所述终端600还包括第二创建单元和第二获取单元;Optionally, the terminal 600 further includes a second creating unit and a second acquiring unit;
第二创建单元,用于在所述接收单元610接收用户针对锁屏界面上的预设区域输入的 按压操作之前,创建时长与应用程序的第二对应关系;a second creating unit, configured to receive, by the receiving unit 610, a user input for a preset area on the lock screen interface Before the pressing operation, creating a second correspondence between the duration and the application;
第二获取单元,用于在所述接收单元610接收用户针对锁屏界面的按压操作之后,所述启动单元620启动预设应用程序之前,从所述第二对应关系中获取与所述按压时长对应的应用程序;a second acquiring unit, configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, the starting unit 620 acquires the pressing duration from the second correspondence relationship before starting the preset application program Corresponding application;
所述启动单元620具体用于:The starting unit 620 is specifically configured to:
启动与所述按压时长对应的应用程序。An application corresponding to the pressing duration is started.
可选的,所述终端600还包括第三获取单元和第一判断单元;Optionally, the terminal 600 further includes a third obtaining unit and a first determining unit;
第三获取单元,用于在所述接收单元610接收用户针对锁屏界面的按压操作之后,所述启动单元620启动预设应用程序之前,获取所述用户的指纹信息;a third obtaining unit, configured to: after the receiving unit 610 receives a pressing operation of the user for the lock screen interface, the startup unit 620 acquires fingerprint information of the user before starting the preset application program;
所述第一判断单元判断获取到的所述指纹信息与预设的指纹信息是否匹配;The first determining unit determines whether the acquired fingerprint information matches the preset fingerprint information;
若所述第一判断单元判断的结果为是,则触发所述启动单元620在所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,启动预设应用程序。If the result of the first determination unit is YES, the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset time length. program.
可选的,所述接收单元610,还用于在所述启动单元620启动预设应用程序后,接收关闭所述预设应用程序的指令;Optionally, the receiving unit 610 is further configured to: after the starting unit 620 starts the preset application, receive an instruction to close the preset application;
所述终端600还包括处理单元;The terminal 600 further includes a processing unit;
所述处理单元,用于根据所述指令关闭所述预设应用程序,并返回所述锁屏界面。The processing unit is configured to close the preset application according to the instruction, and return to the lock screen interface.
可选的,所述终端600还包括第二判断单元:Optionally, the terminal 600 further includes a second determining unit:
所述第二判断单元,用于在接收单元610接收用户针对锁屏界面的按压操之后,启动单元620启动所述预设应用程序之前,判断所述按压操作的按压力度是否大于或等于预设力度;The second determining unit is configured to: after the receiving unit 610 receives the pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset application, determine whether the pressing force of the pressing operation is greater than or equal to a preset. Strength
若第二判断单元判断结果为是,触发所述启动单元620在所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,启动预设应用程序。If the second determination unit determines that the result is YES, the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration.
可选的,所述终端600还包括第三判断单元:Optionally, the terminal 600 further includes a third determining unit:
所述第三判断单元,用于在接收单元610接收用户针对锁屏界面的按压操作之后,启动单元620启动所述预设程序之前,判断所述按压操作的按压区域的面积是否小于或等于预设面积;The third determining unit is configured to determine, after the receiving unit 610 receives the pressing operation of the user for the lock screen interface, before the starting unit 620 starts the preset program, whether the area of the pressing area of the pressing operation is less than or equal to the pre-predetermined Set the area;
若第三判断单元判断结果为是,触发所述启动单元620在所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,启动预设应用程序。If the determination result of the third determination unit is YES, the activation unit 620 is triggered to start the preset application when the pressing area of the pressing operation is the preset area and the pressing duration of the pressing operation reaches the preset duration.
可以理解的是,本实施例的终端600的各功能单元的功能可根据上述图1-图5所示方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It can be understood that the functions of the functional units of the terminal 600 of the present embodiment may be specifically implemented according to the method in the foregoing method embodiment shown in FIG. 1 to FIG. 5, and the specific implementation process may refer to the related description of the foregoing method embodiments. I will not repeat them here.
请参见图7,是本发明实施例提供的另一种终端的结构示意图。如图7所示的终端70包括:射频(Radio Frequency,RF)电路701、存储有一个或多个计算机程序的存储器702、输入装置703、输出装置704、传感器705、音频电路706、无线保真(Wireless Fidelity,WiFi)模块707、包括有一个或多个处理核心的处理器708、以及电源709等部件。本领域技术人员可以理解,图7中示出的终端结构并不构成对终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:FIG. 7 is a schematic structural diagram of another terminal according to an embodiment of the present invention. The terminal 70 shown in FIG. 7 includes: a radio frequency (RF) circuit 701, a memory 702 storing one or more computer programs, an input device 703, an output device 704, a sensor 705, an audio circuit 706, and wireless fidelity. (Wireless Fidelity, WiFi) module 707, processor 708 including one or more processing cores, and power supply 709 and the like. It will be understood by those skilled in the art that the terminal structure shown in FIG. 7 does not constitute a limitation to the terminal, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements. among them:
RF电路701可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下 行信息接收后,交由一个或多个处理器708处理;另外,将涉及上行的数据发送给基站。通常,RF电路701包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路701还可以通过无线通信与网络和其他终端设备进行通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 701 can be used for transmitting and receiving information or during a call, receiving and transmitting signals, in particular, going under the base station After the line information is received, it is processed by one or more processors 708; in addition, data relating to the uplink is transmitted to the base station. Generally, RF circuit 701 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, and a Low Noise Amplifier (LNA). , duplexer, etc. In addition, the RF circuit 701 can also communicate with the network and other terminal devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code). Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), E-mail, Short Messaging Service (SMS), etc.
存储器702可用于存储计算机程序以及模块,处理器708通过运行存储在存储器702的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器702可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据终端70的使用所创建的数据(比如拍摄的照片、音频数据、视频数据等)等。此外,存储器702可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器702还可以包括存储器控制器,以提供处理器708和输入装置703对存储器702的访问。The memory 702 can be used to store computer programs and modules, and the processor 708 executes various functional applications and data processing by running computer programs and modules stored in the memory 702. The memory 702 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the terminal 70 (such as photographed photos, audio data, video data, etc.) and the like. Moreover, memory 702 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 702 may also include a memory controller to provide access to memory 702 by processor 708 and input device 703.
输入装置703可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,输入装置703可包括触敏表面7031以及其他输入设备7032。触敏表面7031,也称为触摸显示面板或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面7031上或在触敏表面7031附近的按压操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面7031可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器708,并能接收处理器708发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面7031。除了触敏表面7031,输入装置703还可以包括其他输入设备7032。具体地,其他输入设备7032可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。 Input device 703 can be used to receive input numeric or character information, as well as to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls. In particular, input device 703 can include touch-sensitive surface 7031 and other input devices 7032. Touch-sensitive surface 7031, also referred to as a touch display panel or trackpad, can collect touch operations on or near the user (eg, the user uses a finger, stylus, etc., on any touch-sensitive surface 7031 or on the touch-sensitive surface 7031 The pressing operation in the vicinity of the touch-sensitive surface 7031) drives the corresponding connecting device according to a preset program. Alternatively, the touch sensitive surface 7031 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information. The processor 708 is provided and can receive commands from the processor 708 and execute them. In addition, the touch sensitive surface 7031 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch-sensitive surface 7031, the input device 703 can also include other input devices 7032. Specifically, other input devices 7032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
输出装置704可用于显示由用户输入的信息或提供给用户的信息以及终端70的各种图形用户界面,这些图形用户界面可以由图形、文本、图标、视频和其任意组合来构成。输出装置704可包括显示面板7041,可选的,显示面板7041可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置。进一步的,触敏表面7031可覆盖显示面板7041,当触敏表面7031检测到在其上或附近的触摸操作后,传送给处理器708以确定触摸事件的类型,随后处理器708根据触摸事件的类型在显示面板7041上提供相应的视觉输出。虽然在图6中,触敏表面7031与显示面板7041是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面7031与显示面板7041集成而实现输入和输出功能。 Output device 704 can be used to display information entered by the user or information provided to the user and various graphical user interfaces of terminal 70, which can be constructed from graphics, text, icons, video, and any combination thereof. The output device 704 can include a display panel 7041. Alternatively, the display panel 7041 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like. Further, the touch-sensitive surface 7031 can cover the display panel 7041, and when the touch-sensitive surface 7031 detects a touch operation thereon or nearby, it is transmitted to the processor 708 to determine the type of the touch event, and then the processor 708 is based on the touch event. The type provides a corresponding visual output on display panel 7041. Although in FIG. 6, touch-sensitive surface 7031 and display panel 7041 are implemented as two separate components to implement input and input functions, in some embodiments, touch-sensitive surface 7031 can be integrated with display panel 7041 for input. And output function.
终端70还可包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7041的亮度,接近传感器可在终端70移动到耳边时,关闭显示面板7041和/或背光等。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端70姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于终端70还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,此处不再赘述。 Terminal 70 may also include at least one type of sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 7041 according to the brightness of the ambient light, and the proximity sensor may close the display panel 7041 when the terminal 70 moves to the ear. / or backlight and so on. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the attitude of the terminal 70 (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as well as other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which can be configured in the terminal 70, here No longer.
音频电路706、扬声器7061,传声器7062可提供用户与终端70之间的音频接口。音频电路706可将接收到的音频数据转换后的电信号,传输到扬声器7061,由扬声器7061转换为声音信号输出;另一方面,传声器7062将收集的声音信号转换为电信号,由音频电路706接收后转换为音频数据,再将音频数据输出处理器708处理后,经RF电路701以发送给比如另一终端,或者将音频数据输出至存储器702以便进一步处理。音频电路706还可能包括耳塞插孔,以提供外设耳机与终端70的通信。 Audio circuit 706, speaker 7061, and microphone 7062 can provide an audio interface between the user and terminal 70. The audio circuit 706 can transmit the converted electrical data of the received audio data to the speaker 7061, and convert it into a sound signal output by the speaker 7061; on the other hand, the microphone 7062 converts the collected sound signal into an electrical signal, and the audio circuit 706 After receiving, it is converted into audio data, and then processed by the audio data output processor 708, transmitted to the terminal, for example, via the RF circuit 701, or outputted to the memory 702 for further processing. The audio circuit 706 may also include an earbud jack to provide communication of the peripheral earphones with the terminal 70.
WiFi属于短距离无线传输技术,终端70通过WiFi模块707可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块707,但是可以理解的是,其并不属于终端70的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-range wireless transmission technology, and the terminal 70 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 707, which provides wireless broadband Internet access for users. Although FIG. 7 shows the WiFi module 707, it can be understood that it does not belong to the essential configuration of the terminal 70, and may be omitted as needed within the scope of not changing the essence of the invention.
处理器708是终端70的控制中心,利用各种接口和线路连接整个终端70的各个部分,通过运行或执行存储在存储器702内的计算机程序和/或模块,以及调用存储在存储器702内的数据,执行终端70的各种功能和处理数据,从而对终端70进行整体监控。可选的,处理器708可包括一个或多个处理核心;优选的,处理器708可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器708中。 Processor 708 is the control center of terminal 70, which connects various portions of the entire terminal 70 using various interfaces and lines, by running or executing computer programs and/or modules stored in memory 702, and recalling data stored in memory 702. The various functions and processing data of the terminal 70 are executed to perform overall monitoring of the terminal 70. Optionally, the processor 708 may include one or more processing cores; preferably, the processor 708 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like. The modem processor primarily handles wireless communications. It will be appreciated that the above described modem processor may also not be integrated into the processor 708.
终端70还包括给各个部件供电的电源709(比如电池),优选的,电源可以通过电源管理系统与处理器708逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源709还可以包括一个或多个直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The terminal 70 also includes a power source 709 (such as a battery) that supplies power to the various components. Preferably, the power source can be logically coupled to the processor 708 through a power management system to manage functions such as charging, discharging, and power management through the power management system. The power supply 709 can also include any 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.
尽管未示出,终端70还可以包括摄像头、蓝牙模块等,此处不再赘述。具体在本发明实施例中,终端的输出装置704(或输入装置703)是触摸屏显示器,终端70还包括有存储器702、处理器708、以及一个或多个的计算机程序,其中一个或多个计算机程序存储于存储器702中,处理器708用于调用存储器702(非易失性存储器)中存储的程序指令,执行上述图1-图5所示的应用程序启动方法。Although not shown, the terminal 70 may further include a camera, a Bluetooth module, and the like, and details are not described herein again. Specifically, in the embodiment of the present invention, the output device 704 (or the input device 703) of the terminal is a touch screen display, and the terminal 70 further includes a memory 702, a processor 708, and one or more computer programs, wherein the one or more computers The program is stored in a memory 702, and the processor 708 is configured to call a program instruction stored in the memory 702 (non-volatile memory) to execute the application startup method shown in FIGS.
结合本发明实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件程序指令的方式来实现。软件程序指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质 中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于终端中。当然,处理器和存储介质也可以作为分立组件存在于终端设备中。The steps of the method or algorithm described in connection with the disclosure of the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software program instructions. The software program instructions may be composed of corresponding software modules, which may be stored in RAM, flash memory, ROM, Erasable Programmable ROM (EPROM), and electrically erasable programmable read only memory (Electrically EPROM). , EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art in. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in the terminal. Of course, the processor and the storage medium can also exist as discrete components in the terminal device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个程序指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should appreciate that in one or more of the above examples, the functions described in the embodiments of the present invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more program instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
以上的具体实施方式,对本发明实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明实施例的具体实施方式而已,并不用于限定本发明实施例的保护范围,凡在本发明实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明实施例的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the embodiments of the present invention. The scope of the present invention is to be construed as being limited to the scope of the embodiments of the present invention.

Claims (10)

  1. 一种应用程序启动方法,其特征在于,包括:An application startup method, comprising:
    终端接收用户针对锁屏界面的按压操作;The terminal receives a pressing operation of the user for the lock screen interface;
    若所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长,则所述终端启动预设应用程序。If the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration, the terminal starts a preset application.
  2. 根据权利要求1所述的方法,其特征在于,所述终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,还包括:The method according to claim 1, wherein the terminal further comprises: before receiving the pressing operation of the preset input area on the lock screen interface;
    所述终端创建区域与应用程序的第一对应关系;a first correspondence between the terminal creation area and an application;
    所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,还包括:After the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
    所述终端从所述第一对应关系中获取与所述预设区域对应的应用程序;The terminal acquires an application corresponding to the preset area from the first correspondence relationship;
    所述终端启动预设应用程序,包括:The terminal starts a preset application, including:
    所述终端启动与所述预设区域对应的应用程序。The terminal starts an application corresponding to the preset area.
  3. 根据权利要求1所述的方法,其特征在于,所述终端接收用户针对锁屏界面上的预设区域输入的按压操作之前,还包括:The method according to claim 1, wherein the terminal further comprises: before receiving the pressing operation of the preset input area on the lock screen interface;
    所述终端创建时长与应用程序的第二对应关系;a second correspondence between the creation duration of the terminal and the application;
    所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,还包括:After the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
    所述终端从所述第二对应关系中获取与所述按压时长对应的应用程序;Obtaining, by the terminal, an application corresponding to the pressing duration from the second correspondence relationship;
    所述终端启动预设应用程序,包括:The terminal starts a preset application, including:
    所述终端启动与所述按压时长对应的应用程序。The terminal starts an application corresponding to the pressing duration.
  4. 根据权利要求1至3任一项所述的方法,其特征在于,所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动预设应用程序之前,还包括:The method according to any one of claims 1 to 3, wherein, after the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset application, the terminal further includes:
    所述终端获取所述用户的指纹信息;The terminal acquires fingerprint information of the user;
    所述终端判断获取到的所述指纹信息与预设的指纹信息是否匹配;Determining, by the terminal, whether the obtained fingerprint information matches the preset fingerprint information;
    若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤。If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
  5. 根据权利要求1至3任一项所述的方法,其特征在于,所述终端启动预设应用程序后,还包括:The method according to any one of claims 1 to 3, wherein after the terminal starts the preset application, the method further includes:
    所述终端接收关闭所述预设应用程序的指令;The terminal receives an instruction to close the preset application;
    所述终端根据所述指令关闭所述预设应用程序,并返回所述锁屏界面。The terminal closes the preset application according to the instruction, and returns to the lock screen interface.
  6. 根据权利要求1所述的方法,其特征在于,所述终端接收用户针对锁屏界面的按压 操作之后,所述终端启动所述预设应用程序之前,还包括:The method of claim 1 wherein said terminal receives a user press against a lock screen interface After the operation, before the terminal starts the preset application, the terminal further includes:
    所述终端判断所述按压操作的按压力度是否大于或等于预设力度;Determining, by the terminal, whether the pressing force of the pressing operation is greater than or equal to a preset strength;
    若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤;If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration;
    或者,所述终端接收用户针对锁屏界面的按压操作之后,所述终端启动所述预设程序之前,还包括:Or, after the terminal receives the pressing operation of the user for the lock screen interface, before the terminal starts the preset program, the terminal further includes:
    所述终端判断所述按压操作的按压区域的面积是否小于或等于预设面积;Determining, by the terminal, whether an area of the pressing area of the pressing operation is less than or equal to a preset area;
    若是,则所述终端在确定所述按压操作的按压区域为预设区域且所述按压操作的按压时长达到预设时长时,执行所述启动预设应用程序的步骤。If yes, the terminal performs the step of starting the preset application when determining that the pressing area of the pressing operation is a preset area and the pressing duration of the pressing operation reaches a preset duration.
  7. 一种终端,其特征在于,所述终端包括用于执行权利要求1-6任一项所述的应用程序启动方法的单元。A terminal, characterized in that the terminal comprises means for performing the application launching method according to any one of claims 1-6.
  8. 一种终端,其特征在于,所述终端包括:处理器和存储器,所述存储器用于存储程序指令和/或数据,所述处理器用于调用所述存储器存储的程序指令执行权利要求1-6任一项所述的应用程序启动方法。A terminal, characterized in that the terminal comprises: a processor for storing program instructions and/or data, the processor for calling the program instructions stored in the memory to execute claims 1-6 The application launch method of any of the above.
  9. 一种计算机存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述的应用程序启动方法。A computer storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to perform any of claims 1-6 An application startup method as described.
  10. 一种计算机程序,其特征在于,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行权利要求1-6任一项所述的应用程序启动方法。 A computer program, comprising: program instructions, which, when executed by a processor, cause the processor to execute the application launching method of any of claims 1-6.
PCT/CN2017/102345 2017-09-19 2017-09-19 Application starting method, terminal, storage medium, and computer program WO2019056193A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780096918.2A CN111356976A (en) 2017-09-19 2017-09-19 Application program starting method, terminal, storage medium and computer program
PCT/CN2017/102345 WO2019056193A1 (en) 2017-09-19 2017-09-19 Application starting method, terminal, storage medium, and computer program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/102345 WO2019056193A1 (en) 2017-09-19 2017-09-19 Application starting method, terminal, storage medium, and computer program

Publications (1)

Publication Number Publication Date
WO2019056193A1 true WO2019056193A1 (en) 2019-03-28

Family

ID=65809504

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102345 WO2019056193A1 (en) 2017-09-19 2017-09-19 Application starting method, terminal, storage medium, and computer program

Country Status (2)

Country Link
CN (1) CN111356976A (en)
WO (1) WO2019056193A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566818A (en) * 2011-12-17 2012-07-11 鸿富锦精密工业(深圳)有限公司 Electronic device with touch screen and screen unlocking method
US20150042575A1 (en) * 2013-08-08 2015-02-12 Lenovo (Beijing) Co., Ltd. Information processing method and electronic device
CN105303086A (en) * 2015-10-31 2016-02-03 深圳市金立通信设备有限公司 Application starting method and terminal
CN105549781A (en) * 2015-12-11 2016-05-04 魅族科技(中国)有限公司 Application starting method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140232679A1 (en) * 2013-02-17 2014-08-21 Microsoft Corporation Systems and methods to protect against inadvertant actuation of virtual buttons on touch surfaces
CN104992097A (en) * 2015-07-07 2015-10-21 努比亚技术有限公司 Method and apparatus for quickly starting application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102566818A (en) * 2011-12-17 2012-07-11 鸿富锦精密工业(深圳)有限公司 Electronic device with touch screen and screen unlocking method
US20150042575A1 (en) * 2013-08-08 2015-02-12 Lenovo (Beijing) Co., Ltd. Information processing method and electronic device
CN105303086A (en) * 2015-10-31 2016-02-03 深圳市金立通信设备有限公司 Application starting method and terminal
CN105549781A (en) * 2015-12-11 2016-05-04 魅族科技(中国)有限公司 Application starting method and terminal device

Also Published As

Publication number Publication date
CN111356976A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
WO2017206916A1 (en) Method for determining kernel running configuration in processor and related product
WO2017008569A1 (en) Message updating method, apparatus, and terminal
WO2016119580A1 (en) Method, device and terminal for starting voice input function of terminal
WO2018161353A1 (en) Photo sharing method and device
CN106371964B (en) Method and device for prompting message
WO2018120905A1 (en) Message reminding method for terminal, and terminal
TWI522917B (en) Method and device for controlling start-up of applicantion and computer-readable storage medium
US20210352040A1 (en) Message sending method and terminal device
CN109639863B (en) Voice processing method and device
CN107786424B (en) Audio and video communication method, terminal and server
WO2019174541A1 (en) Operation method for mobile terminal and mobile terminal
WO2018049934A1 (en) Data migration method and terminals
JP2018504708A (en) Method, device, and system for managing information recommendations
JP7324949B2 (en) Application sharing method, first electronic device and computer readable storage medium
CN111124345A (en) Audio source processing method and mobile terminal
TW201541337A (en) Method, device and system for displaying messages in mobile terminal
CN107046595A (en) Announcement information processing method, device and mobile terminal
WO2015062234A1 (en) Mobile terminal resource processing method, device and apparatus
CN111562959A (en) Icon management method and electronic equipment
CN104917905A (en) Strange incoming call processing method, terminal and server
CN107734153B (en) Call control method, terminal and computer readable storage medium
CN107341032B (en) Data loading method, mobile terminal and computer readable storage medium
CN106934003B (en) File processing method and mobile terminal
CN109947617B (en) Method, terminal and readable storage medium for monitoring display content of application interface
CN111580911A (en) Operation prompting method and device for terminal, storage medium and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17926125

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17926125

Country of ref document: EP

Kind code of ref document: A1