Application program starting method and device, electronic equipment and storage medium
By responding to click events on the lock screen interface on a mobile device, we can determine the event type and triggering method, and if the conditions are met, the application will be started in a locked state, solving the problems of cumbersome operations and information leakage, and achieving quick start and safe writing Panel access.
Patent Information
- Application Number
- CN202310747550.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2024-12-31
AI Technical Summary
Existing mobile devices start applications in lock screen state with cumbersome operation and risk of information leakage, and cannot quickly enter the writing panel, and the writing content may be seen by others after unlocking.
By responding to click events on the lock screen interface, determine the event type and triggering method. If the preset event requirements are met, the application will be started in the fast access mode when the terminal device is locked, and the application's user interface will be displayed to avoid false triggering and Information leakage.
It realizes rapid start of applications under the locked state of terminal devices, reduces the risk of information leakage, improves device performance, and simplifies operational processes.
Smart Images

Figure CN119225592A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of terminal technology, and in particular to a method, device, electronic device and storage medium for starting an application. Background Art
[0002] With the development of mobile communication technology and wireless LAN communication technology, mobile devices can be conveniently carried by users and can also be connected to the network to obtain the information they need, so they are becoming more and more popular among users.
[0003] However, current mobile devices are usually provided with an unlocking password in order to prevent accidental triggering of application programs or to prevent information leakage. Users need to enter the password to unlock the mobile device before they can perform corresponding operations on the mobile device.
[0004] Taking office equipment that provides writing functions as an example, in order to ensure data security, this type of office equipment provides a password lock screen function, that is, before entering the writing panel to write, you need to unlock it first, you cannot enter the writing quickly, and the startup of writing applications is more cumbersome; and after unlocking, the written content on the homepage may be seen by others, posing a risk of information leakage. Summary of the invention
[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for starting an application program to solve the problems in the prior art of being troublesome to start an application program in a locked screen state and causing information leakage.
[0006] In a first aspect, an embodiment of the present application provides a method for starting an application, the method being applied to a terminal device; the method comprising:
[0007] In response to a click event on the lock screen interface, determine an event type and a triggering method corresponding to the click event;
[0008] Determining, according to the event type and the triggering method, whether the click event meets a preset event requirement corresponding to starting an application program;
[0009] If the click event meets the preset event requirements, the application is started in the quick access mode and the first user interface of the application is displayed; the first user interface is the user interface of the application in the quick access mode; the quick access mode represents the application being started without unlocking the device when the terminal device is in a locked state.
[0010] In a second aspect, an embodiment of the present application provides a device for starting an application program, the device comprising:
[0011] An interaction module, for responding to a click event on the lock screen interface, and determining an event type and a triggering mode corresponding to the click event;
[0012] A determination module, used to determine whether the click event meets the preset event requirement corresponding to starting the application program according to the event type and the triggering mode;
[0013] A startup module, used to start the application in quick access mode and display the first user interface of the application if the click event meets the preset event requirements; the first user interface is the user interface of the application in the quick access mode; the quick access mode represents starting the application without unlocking the device when the terminal device is in a locked state.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor; the memory stores a computer program, and the processor is used for the computer program in the memory to execute the operations in the method for starting the above-mentioned application.
[0015] In a fourth aspect, an embodiment of the present application provides a storage medium, wherein the storage medium stores a plurality of instructions, wherein the instructions are suitable for loading by a processor to execute the steps in the method for starting the above-mentioned application.
[0016] The embodiments of the present invention provide a method, device, electronic device and storage medium for starting an application, which relate to the field of terminal technology. By responding to a click event on a lock screen interface, an event type and a triggering mode corresponding to the click event are determined. According to the event type and the triggering mode, it is determined whether the click event meets the preset event requirements corresponding to starting the application. If the click event meets the preset event requirements, the application is started in a quick access mode and a first user interface of the application is displayed. The first user interface is the user interface of the application in the quick access mode. The quick access mode represents starting the application without unlocking the device when the terminal device is in a locked state. In the embodiment of the present application, when the terminal device is in a locked state, it is determined whether the click event meets the preset event requirements corresponding to starting the application by two conditions: the event type and the triggering mode of the click event. When the click event meets the preset event requirements corresponding to starting the application, the application is started in the quick access mode. In this way, false triggering can be avoided to cause the application to be frequently started in the quick access mode, thereby improving the device performance. Moreover, the application can be quickly started without unlocking the device when the terminal device is in a locked state, while reducing the risk of information leakage caused by unlocking and entering the homepage. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 is a structural block diagram of an electronic device provided in an embodiment of the present application;
[0019] Figure 2 It is a flowchart of a method for starting an application program provided in an embodiment of the present application;
[0020] Figure 2a is a schematic diagram of the pen tip and pen tail of the stylus pen provided in an embodiment of the present application;
[0021] Figure 3 is a schematic diagram of a first user interface provided in an embodiment of the present application;
[0022] Figure 4 is a schematic diagram of writing based on the first user interface provided in an embodiment of the present application;
[0023] Figure 5 It is a schematic diagram of the storage of written content provided by an embodiment of the present application;
[0024] Figure 6 is a schematic diagram of another first user interface provided in an embodiment of the present application;
[0025] Figure 7 is a schematic diagram of a second user interface provided in an embodiment of the present application;
[0026] Figure 8 is a schematic diagram of user interface switching provided in an embodiment of the present application;
[0027] Fig. 9 is a schematic diagram of another user interface switching provided by an embodiment of the present application;
[0028] Fig.10 It is a structural diagram of a device for starting an application program provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the present invention will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0030] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present invention. However, those skilled in the art will appreciate that the technical solution of the present invention can be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known methods, devices, implementations or operations are not shown or described in detail to avoid blurring various aspects of the present invention.
[0031] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] It should be noted that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.
[0034] As described in the background technology, current office devices that provide writing functions, such as smart notebooks, e-readers, etc., provide a password lock screen function to ensure data security. Therefore, if you want to enter the writing panel to write, you need to unlock it first before you can start the application to write, which is cumbersome. In addition, if you want to use the writing panel of the office device to communicate face-to-face with others using language + writing, after unlocking, the written content on the homepage may be seen by others, and there is a risk of information leakage.
[0035] Based on this, in order to improve the cumbersome application startup operation of existing office equipment that provides writing functions and reduce the risk of information leakage, the embodiments of the present application provide a method, device, electronic device and storage medium for starting an application. When the terminal device is in a locked state, the event type and triggering method of the click event are used to determine whether the click event meets the preset event requirements corresponding to the application startup. When the click event meets the preset event requirements corresponding to the application startup, the application is started in the quick access mode. In this way, false triggering can be avoided to cause the application to be frequently started in the quick access mode, thereby improving device performance. The application can be quickly started when the terminal device is in a locked state without unlocking the device, while reducing the risk of information leakage caused by unlocking and entering the homepage.
[0036] In order to facilitate understanding of the technical solution of the present application, the method for starting an application provided in an embodiment of the present application will be introduced below in combination with actual application scenarios.
[0037] See also Figure 1 , Figure 1 The electronic device 100 may include an application startup device 10, a memory 20, a processor 30, and a communication unit 40. The memory 20 stores machine-readable instructions executable by the processor 30. When the electronic device 100 is running, the processor 30 and the memory 20 communicate via a bus, and the processor 30 executes the machine-readable instructions and executes the application startup method.
[0038] The memory 20, the processor 30 and the communication unit 40 are electrically connected to each other directly or indirectly to realize signal transmission or interaction. For example, these elements can be electrically connected to each other through one or more communication buses or signal lines. The application startup device 10 includes at least one software function module that can be stored in the memory 20 in the form of software or firmware. The processor 30 is used to execute the executable module stored in the memory 20 (for example, the software function module or computer program included in the application startup device 10).
[0039] Among them, the memory 20 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0040] In some embodiments, the processor 30 is used to perform one or more functions described in the present embodiment. In some embodiments, the processor 30 may include one or more processing cores (e.g., a single-core processor (S) or a multi-core processor (S)). By way of example only, the processor 30 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), an application specific instruction set processor (ASIP), a graphics processing unit (GPU), a physical processing unit (PPU), a digital signal processor (DSP), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a microcontroller unit, a reduced instruction set computer (RISC) or a microprocessor, or any combination thereof.
[0041] For ease of explanation, only one processor is described in the electronic device 100. However, it should be noted that the electronic device 100 in this embodiment may also include multiple processors, so the steps performed by one processor described in this embodiment may also be performed jointly or individually by multiple processors. For example, if the processor of the server executes step A and step B, it should be understood that step A and step B may also be performed jointly by two different processors or individually in one processor. For example, the processor executes step A and the second processor executes step B, or the processor and the second processor execute steps A and B together.
[0042] In this embodiment, the memory 20 is used to store programs, and the processor 30 is used to execute the programs after receiving execution instructions. The process definition method disclosed in any implementation of this embodiment can be applied to the processor 30 or implemented by the processor 30.
[0043] The communication unit 40 is used to establish a communication connection between the electronic device 100 and other devices through a network, and to send and receive data through the network.
[0044] In some embodiments, the network may be any type of wired or wireless network, or a combination thereof. By way of example only, the network may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof.
[0045] In this embodiment, the electronic device 100 may be, but is not limited to, a laptop computer, a mobile terminal, a personal computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or other electronic devices. This embodiment does not impose any restrictions on the specific type of the electronic device.
[0046] Understandably, Figure 1The structure shown is for illustration only. The electronic device 100 may also have Figure 1 More or fewer components than shown, or with Figure 1 Different configurations are shown. Figure 1 The components shown may be implemented in hardware, software or a combination thereof.
[0047] based on Figure 1 The implementation architecture of the present application provides a method for starting an application program, comprising: Figure 1 The electronic device 100 performs the following based on Figure 1 The structural diagram of the electronic device 100 shown in FIG. 1 is used to describe in detail the steps of the method for starting the application program provided in the embodiment of the present application. Figure 2 The method for starting an application provided in the embodiment of the present application includes steps S210 to S230:
[0048] Step S210, in response to a click event on the lock screen interface, determining an event type and a triggering method corresponding to the click event.
[0049] Among them, the lock screen interface refers to the unlocking interface presented when the system of the terminal device is in a locked state, wherein the method of unlocking the device may include various methods defined by the system or third-party software, including but not limited to touch sliding unlocking, touch track unlocking, and password unlocking. Among them, password unlocking includes but is not limited to voice password unlocking, character password unlocking, fingerprint unlocking, and face password unlocking. It can be understood that voice password unlocking is to obtain the voice information input by the user, extract the voiceprint feature from the voice information, compare the extracted voiceprint feature with the pre-stored reference voiceprint feature, and unlock the device when the extracted voiceprint feature is consistent with the pre-stored reference voiceprint feature; character password unlocking is to obtain the characters input by the user, compare the input characters with the pre-stored reference characters, and unlock the device when the input characters are consistent with the pre-stored reference characters; face password unlocking is to obtain the user's facial image, compare the facial image with the pre-stored reference facial image, and unlock the device if the facial image matches the pre-stored reference facial image.
[0050] In some implementations, the click event may be triggered based on an input device, where the input device may be a mouse, a stylus, etc. In some implementations, the click event may also be triggered by a user's finger touching the lock screen interface. A click event includes at least one click operation.
[0051] In some embodiments, the event type is used to characterize the click type of a click event, wherein the click type includes single click and multi-click. It is understandable that the event type includes multiple click events and single click events, wherein the multiple click event is an event that triggers two or more click operations within a preset duration, and the time difference between two adjacent click operations is less than or equal to a preset time difference threshold; a single click event can be an event that triggers one click operation within a preset duration, and a single click event can also be an event that triggers two or more click operations within a preset duration, and the time difference between two adjacent click operations is greater than a preset time difference threshold. The preset duration can be 1s, 2s, and the preset time difference threshold can be 100 milliseconds, 1s. The embodiments of the present application do not specifically limit the preset duration and the preset time difference threshold.
[0052] In some embodiments, the triggering method is used to characterize the touch source information that triggers a click event, where the touch source includes but is not limited to fingers, knuckles, stylus pen tips, stylus pen tails, etc. It can be understood that the triggering method includes but is not limited to finger triggering, knuckle triggering, pen tip triggering, and pen tail triggering.
[0053] In some embodiments, the terminal device starts an event monitoring thread, and when a click event is monitored, it responds to the click event on the lock screen interface, obtains the trigger count, trigger time, and touch source information corresponding to the click event, determines the event type corresponding to the click event based on the trigger count and trigger time, and determines the trigger method corresponding to the click event based on the touch source information.
[0054] Optionally, in order to reduce the energy consumption of the terminal device and increase the service life of the terminal device, the event monitoring thread can be turned off when the terminal device is off screen, and the event monitoring thread can be started when the terminal device responds to the screen lighting instruction. That is, the event monitoring thread is started when the screen of the terminal device is lit.
[0055] Optionally, to ensure a quick response of the terminal device, the terminal device may start an event monitoring thread after booting up and continue to monitor events.
[0056] Optionally, to ensure the rapid response of the terminal device and reduce the energy consumption of the terminal device, the terminal device can obtain the remaining power of the terminal device after it is turned on, and when the remaining power is greater than or equal to the preset power threshold, start the event monitoring thread and continue to monitor events; when the remaining power is less than the preset power threshold, close the event monitoring thread. The preset power threshold can be 10% or 5%. For example, the preset power threshold can be 5%. When the remaining power of the terminal device is less than 5%, the event monitoring thread is closed, thereby reducing the energy consumption of the terminal device.
[0057] Optionally, the click event includes at least one click operation. If the number of click operations in the click event is greater than or equal to 2 within the preset duration, it means that at least two click operations are detected within the preset duration, and the event type corresponding to the click event is determined to be a multiple click event; if the number of click operations in the click event is less than 2 within the preset duration, it means that at least two click operations are not detected within the preset duration, and the event type corresponding to the click event is determined to be a single click event. The preset duration can be 1s or 2s, and the embodiment of the present application does not specifically limit this.
[0058] It is understandable that if the number of click operations triggered in a click event within the preset time length is less than 2, it means that one click operation is responded to within the preset time length, or the terminal device responds to two click operations, but the time difference between the triggering time of the two click operations is greater than the preset time difference threshold, that is, the terminal device responds to two single-click operations.
[0059] Optionally, the click event includes at least one click operation. When the number of click operations triggered in the click event is greater than or equal to 2, and the time difference between two adjacent click operations is less than or equal to a preset time difference threshold, the event type corresponding to the click event is determined to be a multiple-click event; when the number of click operations triggered in the click event is less than 2, or the number of click operations triggered in the click event is greater than or equal to 2, and the time difference between two adjacent click operations is greater than a preset time difference threshold, the event type corresponding to the click event is determined to be a single-click event.
[0060] Optionally, the touch area of each click operation in the click event may be obtained, the touch source may be determined based on the touch area, and the triggering mode corresponding to the click event may be determined according to the touch source.
[0061] Exemplarily, a terminal device triggers a click event through a stylus pen as an example for explanation, the touch area of each click operation triggered in the click event is obtained, and the touch area is compared with a preset area threshold. If the touch area is less than or equal to the preset area threshold, it means that the touch source corresponding to the click operation is the tip of the stylus pen, and the trigger mode corresponding to the click operation is determined to be tip trigger; if the touch area is greater than the preset area threshold, it means that the touch source corresponding to the click operation is the end of the stylus pen, and the trigger mode corresponding to the click operation is determined to be end trigger; based on the trigger mode corresponding to each click operation triggered in the click event, the trigger mode corresponding to the click event is determined. For example, if the trigger mode corresponding to each click operation triggered in the click event is end trigger, the trigger mode corresponding to the click event is determined to be end trigger, and if there is at least one click operation in which the trigger mode is tip trigger in the click event, the trigger mode corresponding to the click event is determined to be non-tip trigger. It can be understood that in one example, non-tip trigger indicates that there is at least one click operation in which the trigger mode is tip trigger in the click event.
[0062] The pen head includes the tip of the stylus pen and the area centered on the tip of the stylus pen that the terminal device can respond to; the pen tail is the other end of the stylus pen opposite to the pen head, for example, Figure 2a As shown, Figure 2a It is a schematic diagram of the tip and tail of the stylus pen provided in an embodiment of the present application.
[0063] Step S220: Determine whether the click event meets the preset event requirement corresponding to starting the application program according to the event type and the triggering method.
[0064] In some embodiments, in order to avoid false triggering causing the application to be frequently started in the quick access mode and affecting the performance of the device, the preset event requirement corresponding to starting the application can be set to multiple clicks at the end of the pen. In some embodiments, if the event type of the click event is a multiple-click event, and the triggering method corresponding to the click event is an end-of-pen trigger, that is, the event type is a multiple-click event, and the triggering method of each click operation triggered in the click event is an end-of-pen trigger, then it is determined that the click event meets the preset event requirement corresponding to starting the application. If the event type of the click event is a single-click event, or the event type of the click event is a multiple-click event, and the triggering method corresponding to the click event is not an end-of-pen trigger, then it is determined that the click event does not meet the preset event requirement corresponding to the application.
[0065] In some embodiments, if the click event meets the preset event requirements corresponding to the launch of the application, step S230 is executed; if the click event does not meet the preset event requirements corresponding to the application, the launch of the application is not responded to, and a prompt message is output to remind the user to unlock the device.
[0066] Step S230: If the click event meets the preset event requirement, the application is started in the quick access mode and the first user interface of the application is displayed.
[0067] The first user interface is a user interface of the application in the quick access mode; the quick access mode indicates that the application is started without unlocking the device when the terminal device is in a locked state. For example, taking the terminal device as an office device that provides writing function as an example, Figure 3 As shown, Figure 3 is a schematic diagram of a first user interface provided in an embodiment of the present application, wherein the first user interface shown is provided with a writing area and a control area, wherein the writing area is used to capture the writing operation input by the user and display the writing content corresponding to the writing operation in the writing area; a plurality of functional controls are provided in the control area, such as Figure 3 As shown, the control area is set on the right side of the first user interface, which includes a writing and erasing control, a writing and saving control, a text recognition control, and a sharing control, etc. Among them, the writing and erasing control, the writing and saving control, the text recognition control, and the sharing control are used to implement the functions of writing and erasing, writing setting, saving, text recognition, and writing content sharing, respectively.
[0068] In some implementations, after the first user interface of the application is displayed, in response to a writing operation input based on the first user interface, written content corresponding to the writing operation is displayed in the first user interface.
[0069] Optionally, a monitoring thread of the terminal device can be started. When a writing operation based on the first user interface input is detected by the monitoring thread, the monitoring thread responds to the writing operation based on the first user interface input, captures real-time drawing data based on the writing operation input, and when a drawing end instruction is received, draws based on the captured target drawing data to generate writing content, and displays the writing content corresponding to the writing operation in the first user interface.
[0070] The target drawing data may be a collection of real-time drawing data based on the real-time drawing end instruction input by the first user interface, which is captured during the period from responding to the annotation instruction to triggering the drawing end instruction.
[0071] In some implementations, there are multiple ways to trigger the drawing end instruction, exemplary of which include:
[0072] (1) The triggering of the drawing end instruction can be achieved by responding to a triggering event based on the end option input on the first user interface.
[0073] (2) The triggering of the drawing end instruction may be realized by responding to an end triggering event based on the first user interface input. In some embodiments of the present invention, the end triggering event may be a triggering lift operation.
[0074] It should be noted that the triggering method of the above-mentioned drawing end instruction is only an exemplary description and does not constitute a limitation on the method of starting the application. The triggering method of the drawing end instruction can be determined according to the actual application scenario, such as through voice triggering, gesture recognition triggering, etc.
[0075] In some implementations, the drawing data may be input text, or may be input drawings, such as horizontal lines and underlines, or may be drawing tracks input by handwriting.
[0076] In some implementations, the drawing data may be touch point coordinates, or a drawing path composed of touch point coordinates, wherein the touch point refers to a touch control point on the first user interface.
[0077] In some implementations, the system layer of the terminal device may be called to draw the target drawing data, generate writing content, and update the first user interface based on the writing content to display the writing content corresponding to the writing operation in the first user interface.
[0078] Optionally, the terminal device calls the system layer to call the CPU and GPU to process the target drawing data to obtain a drawing path, and calls the system layer to pass the drawing path to the graphics display service (SurfaceFlinger) for layer mixing and rendering to obtain writing content, and calls the system layer to write the writing content to the hardware frame buffer (FrameBuffer), and then waits for the graphics hardware frame buffer refresh cycle signal to refresh the screen, thereby updating the first user interface to display the writing content corresponding to the writing operation in the first user interface.
[0079] For example, the multiple click events are double-click events. Figure 4 As shown, the user double-clicks the lock screen interface with the end of the stylus pen, and the terminal device responds to the click event, such as Figure 4 As shown in Figure (a) in FIG. 1 ; the device terminal starts the application in the quick access mode and displays the first user interface of the application, such as Figure 4 As shown in Figure (b), in response to a writing operation based on the first user interface input, real-time drawing data based on the writing operation input is captured, and when a drawing end instruction is received, drawing is performed based on the captured target drawing data to generate writing content, and the writing content corresponding to the writing operation is displayed in the first user interface.
[0080] The method for launching an application provided in an embodiment of the present application, when the terminal device is in a locked state, determines whether a click event meets the preset event requirements corresponding to launching the application through two conditions: the event type and the triggering method of the click event; and when the click event meets the preset event requirements corresponding to launching the application, the application is launched in the quick access mode. In this way, false triggering causing the application to be frequently launched in the quick access mode can be avoided, thereby improving device performance, and the application can be quickly launched when the terminal device is in a locked state without unlocking the device, while reducing the risk of information leakage caused by unlocking to enter the homepage.
[0081] Taking into account that the quick access mode is to start the application when the terminal device is in a locked state without unlocking the device, in order to ensure that the written content input based on the first user interface can be saved, and at the same time reduce the risk of information leakage caused by unlocking the device, in some embodiments of the present application, a writing save control can be set in the first user interface, and the writing content can be saved by responding to the trigger event of the writing save control.
[0082] In some embodiments, the written content can be saved in a storage area of the terminal device. Specifically, in response to a writing operation input based on the first user interface, the written content corresponding to the writing operation is displayed in the first user interface, and in response to a save event input based on the first user interface, the written content is saved in the storage area of the terminal device.
[0083] Optionally, the writing content corresponding to the writing operation may be displayed in the first user interface according to the above step 230, which is not described in detail in the embodiment of the present application.
[0084] Optionally, a writing save control is provided in the first user interface, and a save event is triggered by touching the writing save control. The terminal device starts a monitoring thread, and when it detects that the writing save control is touched, it triggers and responds to the save event based on the first user interface input, and saves the writing content to a storage area of the terminal device.
[0085] Optionally, the terminal device triggers a save event at a preset period interval.
[0086] Optionally, a save event can be triggered by touching a page close control set in the first user interface. The terminal device starts a monitoring thread, and when it detects that the page close control is touched, it outputs a save pop-up page in response to the user's selection operation based on the save pop-up page view input; if the selection operation is to save the written content, a save event is triggered, the written content is saved to the storage area of the terminal device, the first user interface is closed, and the lock screen interface is displayed; if the selection operation is to exit directly, the first user interface is closed and the lock screen interface is displayed. For example, Figure 5 As shown, Figure 5is a schematic diagram of saving written content provided by an embodiment of the present application, such as Figure 5 As shown in Figure (a), a page close control is set in the upper left corner of the first user interface. The user clicks the page close control, and the terminal device responds to the touch operation of the page close control and outputs a save pop-up page in the current first user interface, such as Figure 5 As shown in Figure (b) in the figure, two function controls "Save" and "Exit" are set in the save pop-up window page. The user clicks the "Save" function control to trigger a save event, save the written content to the storage area of the terminal device, close the first user interface, and display the lock screen interface, such as Figure 5 As shown in Figure (c); when the user clicks the "Exit" function control, the first user interface is closed and the lock screen interface is displayed.
[0087] Optionally, when saving the written content to the storage area of the terminal device, the terminal device responds to the save event input based on the first user interface, outputs a save setting page, obtains save setting information input by the user based on the save setting page view, and saves the written content to the storage area of the terminal device based on the save setting information. The save setting information includes but is not limited to the storage address and file name of the storage area where the written content is saved to the terminal device.
[0088] In some implementations, the written content may be saved to a user terminal that has established a communication connection with the terminal device, wherein the user terminal may be a mobile terminal, such as a mobile phone, a tablet computer, and the like.
[0089] Optionally, the device terminal responds to a communication connection request sent by the user terminal, establishes a communication channel with the user terminal, receives and responds to a data acquisition request sent by the user terminal based on the communication channel, and sends the writing content corresponding to the writing operation displayed in the first user interface to the user terminal.
[0090] In some implementations, in order to ensure data transmission security, a sharing control may be set in the first user interface, and the terminal device generates a graphic code in response to the touch operation of the sharing control, and establishes a connection with the user terminal corresponding to the scanning event in response to the scanning event of the graphic code, and sends the written content to the user terminal. The graphic code may be a QR code or a bar code, which is not specifically limited in the embodiments of the present application.
[0091] Optionally, when a touch operation of the sharing control is detected, a graphic code is generated according to a preset encoding method based on the current system time of the terminal device.
[0092] In some implementations, in order to reduce the risk of information leakage and improve the switching method between user interfaces in different modes of the application, a mode switching control can be set in the first user interface, such as Figure 6 As shown, Figure 6 : is a schematic diagram of the first user interface provided by an embodiment of the present application, wherein a toolbar is provided on the upper boundary of the first user interface, and a page closing control and a mode switching control are provided in the toolbar, wherein the mode switching control is used to switch the user interface in the current mode to the user interface in another mode, for example, to switch the first user interface of the application in the quick access mode to the second user interface of the application in the normal mode. Wherein, different from the first user interface, the second user interface is the user interface of the application in the normal mode.
[0093] For example, take the terminal device as an office device that provides writing function, such as Figure 7 As shown, Figure 7 : is a schematic diagram of the second user interface provided by an embodiment of the present application, wherein the second user interface shown is provided with a writing area, a control area and a notification bar area, wherein the writing area and the control area play the same role as the first user interface, the number and type of functional controls set in the control area are the same as those of the first user interface, the notification bar area is used to display notification information and provide a system function interface, wherein the notification information includes but is not limited to the remaining power information, time information, network type, etc. of the terminal device, and the network type includes WIFI, 4G and 5G; the system function interface includes but is not limited to a note library interface, a bookshelf interface, a setting interface, an application center interface, etc. wherein the note library interface is used to access the historical written content stored in the storage area of the terminal device, the bookshelf interface is used to access the e-books stored in the storage area of the terminal device, the setting interface is used to provide the system setting function of the terminal device, which includes but is not limited to the brightness device, the network type setting, etc., and the application center interface is used to provide the installation, update, and uninstallation functions of the application in the terminal device.
[0094] In some implementations, in order to facilitate switching of user interfaces in different modes, a mode switching control is provided in the notification bar area of the second user interface, such as Figure 7 shown.
[0095] Optionally, after the terminal device starts the application in the quick access mode and displays the first user interface of the application, in response to a triggering event of the mode switching control in the first user interface, the application is started in the normal mode, the second user interface of the application is displayed, and the current user interface is switched to Figure 7 The second user interface is shown.
[0096] Specifically, Figure 8 As shown, Figure 8 is a schematic diagram of user interface switching provided in an embodiment of the present application, such as Figure 8As shown in Figure (a) in FIG. 1 , the user clicks the mode switching control in the first user interface; the terminal device starts the application in normal mode and displays the second user interface of the application, such as Figure 8 As shown in Figure (b).
[0097] Optionally, to ensure that the written content in the first user interface is not lost due to user interface switching, the written content in the current user interface can be synchronized to the switched user interface when the user interface is switched. Exemplarily, taking the example of switching the first user interface of the application in the quick access mode to the second user interface of the application in the normal mode, after the terminal device starts the application in the quick access mode and displays the first user interface of the application, in response to the writing operation input based on the first user interface, the written content corresponding to the writing operation is displayed in the first user interface, and in response to the triggering event of the mode switching control set in the first user interface, the application is started in the normal mode, the second user interface of the application is displayed, and the written content is displayed in the second user interface. In this way, repeated input of written content is avoided.
[0098] In some implementations, to ensure data security and reduce the risk of information leakage, when the first user interface of the application in the quick access mode is switched to the second user interface of the application in the normal mode, the terminal device responds to the triggering event of the mode switching control in the first user interface, displays the lock screen interface, receives the password input based on the lock screen interface, and starts the application in the normal mode and displays the second user interface of the application when the password is consistent with the preset verification password. In this way, the device is unlocked through the lock screen interface to avoid information leakage.
[0099] Specifically, the terminal device starts the application in the quick access mode, displays the first user interface of the application, and then, in response to a writing operation input based on the first user interface, displays the writing content corresponding to the writing operation in the first user interface. In response to a trigger event of a mode switching control set in the first user interface, the lock screen interface is displayed, a password input based on the lock screen interface is received, and it is determined whether the password is consistent with a preset verification password. If the password is consistent with the preset verification password, the application is started in the normal mode, the second user interface of the application is displayed, and the writing content is displayed in the second user interface.
[0100] In some embodiments, if the password is inconsistent with a preset verification password, a prompt message indicating that the password input is incorrect is output to remind the user to re-enter the password, and the number of password input times is recorded. When the number of password input times is greater than or equal to a preset threshold, the password input function is turned off and the shutdown duration of the password input function is recorded. When the shutdown duration is greater than or equal to the preset shutdown duration, the password input function is restarted.
[0101] For example, Fig. 9 As shown, Fig. 9 is a schematic diagram of another user interface switching provided by an embodiment of the present application, such as Fig. 9 As shown in Figure (a), the user clicks the mode switching control in the first user interface; the terminal device responds to the touch event of the mode switching control set in the first user interface and displays the lock screen interface, such as Fig. 9 As shown in (b) of FIG. 1 , the password input by the user based on the lock screen interface is obtained, and the input password is compared with the pre-stored verification password. If the password is consistent with the preset verification password, the application is started in normal mode and the second user interface of the application is displayed, such as Fig. 9 As shown in Figure (c).
[0102] In some embodiments, considering that after the terminal device starts the application in the quick access mode, when the user accidentally touches the mode switching control set in the first user interface, the terminal device responds to the touch event of the mode switching control and displays the lock screen interface. If the terminal device redisplays the first user interface, it is necessary to first unlock the device based on the lock screen interface, start the application in normal mode, display the second user interface of the application, and switch the current user interface to the first user interface by clicking the mode switching control of the device in the second user interface. However, redisplaying the first user interface by clicking the mode switching control of the device in the second user interface may cause information leakage, and it is necessary to unlock the device based on the lock screen interface, which increases the complexity of different mode switching operations in the application startup method. Based on this, in order to reduce information leakage caused by accidentally touching the mode switching control and reduce the complexity of different mode switching operations in the application startup method, the terminal device responds to the touch event of the switching control and sets a mode switching control in the displayed lock screen interface, such as Fig. 9 As shown in Figure (b) in FIG. The user mistakenly clicks the mode switching control in the first user interface; the terminal device responds to the touch event of the mode switching control set in the first user interface and displays the lock screen interface, such as Fig. 9 As shown in (b) of the figure; the user clicks on the mode switching control in the lock screen interface, and the terminal device responds to the touch event based on the mode switching control set in the lock screen interface, closes the lock screen interface, and displays the first user interface. In this way, there is no need to redisplay the first user interface by clicking on the mode switching control of the device in the second user interface after unlocking the device, thereby solving the information leakage problem caused by accidentally touching the mode switching control, and simplifying the different mode switching operations in the application startup method.
[0103] In some embodiments, considering that each time the user interface switching operation between different modes is performed, it is necessary to enter a password in the lock screen interface to unlock the device, the switching operation of the user interfaces between different modes is cumbersome. For example, for the second user interface displayed after the device is unlocked, if you switch from the second user interface to the first user interface, you also need to enter a password in the lock screen interface to unlock the device, which will increase the switching operation steps of the user interfaces between different modes; and when switching from the first user interface to the second user interface, since the first user interface is the user interface displayed after the terminal device is in a locked state and the application is started without unlocking the device, in order to avoid leakage of homepage information, it is necessary to enter a password in the lock screen interface to unlock the device before displaying the second user interface.
[0104] Based on this, in order to avoid leakage of homepage information and simplify the switching operation of user interfaces in different modes, the current user interface can be identified and the type of the current user interface can be determined when responding to the triggering event of the mode switching control. If the type of the current user interface is the first user interface, that is, when switching from the first user interface to the second user interface, in order to avoid leakage of homepage information, the lock screen interface is displayed, and a password input based on the lock screen interface is received to determine whether the password is consistent with a preset verification password. If the password is consistent with the preset verification password, the application is started in normal mode and the second user interface of the application is displayed. If the current user type is the second user interface, that is, when switching from the second user interface to the first user interface, in order to simplify the switching operation of user interfaces in different modes, the lock screen interface is not displayed, and the current user interface is directly replaced with the first user interface.
[0105] In this way, different mode switching operations are adapted based on the interface type of the user interface, which avoids the leakage of homepage information and simplifies the switching operations of the user interfaces in different modes. Among them, the type of the current user interface includes a first user interface and a second user interface.
[0106] Optionally, resource data of the current user interface may be obtained, and the resource data may be identified to determine the type of the current user interface. Resource data is data that the current user interface needs to rely on to display, including but not limited to programs, dependent files, configuration files, and the like.
[0107] In some embodiments, when switching between user interfaces in different modes frequently, if the device needs to be unlocked on the lock screen interface each time the device is switched from the first user interface to the second user interface, the switching time of the user interfaces in different modes will be increased, affecting the writing efficiency. Based on this, in order to simplify the switching operation of the user interfaces in different modes and reduce the switching time of the user interfaces in different modes, it can be determined whether the device has been unlocked within the preset past time when responding to the trigger event of the mode switching control. If the device has been unlocked within the preset past time, the current user interface is directly switched to the target user interface; if the device has not been unlocked within the preset past time, the lock screen interface is displayed, and a password input based on the lock screen interface is received. When the password is consistent with the preset verification password, the current user interface is switched to the target user interface. The current user interface can be any one of the first user interface and the second user interface, and the target user interface is another user interface other than the current user interface. For example, when the current user interface is the first user interface, the target user interface can be the second user interface, and when the current user interface is the second user interface, the target user interface can be the first user interface. In this way, by determining whether the device has been unlocked within a preset period of time, the number of times the device is unlocked can be reduced in scenarios where the user interfaces in different modes are frequently switched, thereby simplifying the switching operations of the user interfaces in different modes and reducing the switching time of the user interfaces in different modes.
[0108] Exemplarily, taking the current user interface as the first user interface as an example, the terminal device responds to the trigger event of the mode switching control of the device in the current user interface, obtains the system log data of the terminal device, and determines whether the device has been unlocked within a preset past time based on the system log data. If the device has been unlocked within the preset past time, the current user interface is directly switched to the second user interface; if the device has not been unlocked within the preset past time, the lock screen interface is displayed, and the password entered based on the lock screen interface is received to determine whether the password is consistent with the preset verification password. When the password is consistent with the preset verification password, the current user interface is switched to the second user interface.
[0109] Optionally, when switching between user interfaces in different modes is frequently performed, in order to further simplify the switching operation of user interfaces in different modes and reduce the switching time of user interfaces in different modes, when responding to the triggering event of the mode switching control, it is possible to determine whether to directly switch the current user interface to the target user interface based on the type of the current user interface and whether the device has been unlocked within a preset elapsed time. In this way, only when the type of the current user interface is the first user interface and the device has not been unlocked within a preset elapsed time, the user interface switching is performed after the password is entered on the lock screen interface to unlock the device, thereby further reducing the number of times the device is unlocked, simplifying the switching operation of user interfaces in different modes, and reducing the switching time of user interfaces in different modes.
[0110] Specifically, the terminal device responds to the trigger event of the mode switching control of the device in the current user interface, determines the type of the current user interface, and if the type of the current user interface is the first user interface, obtains the system log data of the terminal device, and determines whether the device has been unlocked within a preset past time based on the system log data; if the device has been unlocked within the preset past time, directly switches the current user interface to the second user interface; if the device has not been unlocked within the preset past time, displays the lock screen interface, receives the password input based on the lock screen interface, determines whether the password is consistent with the preset verification password, and when the password is consistent with the preset verification password, switches the current user interface to the second user interface; if the type of the current user interface is the second user interface, directly switches the current user interface to the first user interface.
[0111] The method for launching an application provided in an embodiment of the present application, when the terminal device is in a locked state, determines whether a click event meets the preset event requirements corresponding to launching the application through two conditions: the event type and the triggering method of the click event; and when the click event meets the preset event requirements corresponding to launching the application, the application is launched in the quick access mode. In this way, false triggering causing the application to be frequently launched in the quick access mode can be avoided, thereby improving device performance, and the application can be quickly launched when the terminal device is in a locked state without unlocking the device, while reducing the risk of information leakage caused by unlocking to enter the homepage.
[0112] Based on the same invention concept, please refer to Fig.10 The present application also provides an application startup device 10, which is used for Figure 1 , each functional module of the application startup device 10 provided in the embodiment of the present application can be stored in the memory of the computer device in the form of software or firmware, such as Fig.10 As shown, the application startup device 10 includes an interaction module 11 , a determination module 12 and a startup module 13 .
[0113] The interactive module 11 is used to respond to a click event on the lock screen interface and determine the event type and triggering method corresponding to the click event;
[0114] The determination module 12 is used to determine whether the click event meets the preset event requirement corresponding to the start of the application program according to the event type and the triggering mode;
[0115] The startup module 13 is used to start the application in the quick access mode and display the first user interface of the application if the click event meets the preset event requirements; the first user interface is the user interface of the application in the quick access mode; the quick access mode represents starting the application without unlocking the device when the terminal device is in a locked state.
[0116] In some implementations, the application startup device 10 further includes:
[0117] A writing module 14, configured to display writing content corresponding to the writing operation in the first user interface in response to the writing operation input based on the first user interface;
[0118] The switching module 15 is used to respond to the triggering event of the mode switching control set in the first user interface, start the application in normal mode, display the second user interface of the application, and display the written content in the second user interface; the second user interface is the user interface of the application in normal mode.
[0119] In some implementations, the switching module 15 is configured to:
[0120] In response to a touch event of a mode switching control set in the first user interface, displaying a lock screen interface;
[0121] Receive a password input based on the lock screen interface, and determine whether the password is consistent with a preset verification password;
[0122] If the password is consistent with the preset verification password, the step of starting the application in a normal mode and displaying the second user interface of the application is executed.
[0123] In some implementations, a sharing control is provided in the first user interface, and the application startup device 10 further includes:
[0124] The sharing module 16 is used to generate a graphic code in response to a touch operation of the sharing control; in response to a scanning event of the graphic code, establish a connection with a user terminal corresponding to the scanning event, and send the written content to the user terminal.
[0125] In some implementations, the application startup device 10 further includes:
[0126] The saving module 17 is used to save the written content into the storage area of the terminal device in response to a saving event based on the first user interface input.
[0127] In some implementations, the click event includes at least one click operation, and the interaction module 11 is used to:
[0128] Determine the number of click operations triggered in a click event and the touch area of each triggered operation;
[0129] Based on the number of click operations triggered in the click event, determine the event type corresponding to the click event within a preset duration;
[0130] The triggering mode corresponding to the click event is determined according to the touch area of each triggered click operation.
[0131] In some embodiments, the interaction module 11 is used to:
[0132] When the number of click operations triggered in the click event is greater than or equal to 2, and the time difference between two adjacent click operations is less than or equal to a preset time difference threshold, it is determined that the event type corresponding to the click event is a multiple click event;
[0133] When the number of click operations triggered in a click event is less than 2, or the number of click operations triggered in a click event is greater than or equal to 2, and the time difference between two adjacent click operations is greater than a preset time difference threshold, the event type corresponding to the click event is determined to be a single-click event.
[0134] In some implementations, the terminal device triggers a click event through a stylus, and the interaction module 11 is used to:
[0135] If the touch area of each click operation triggered is greater than the preset area threshold, it is determined that the triggering mode corresponding to the click event is pen tail triggering;
[0136] If there is at least one click operation in the click event whose touch area is less than or equal to the preset area threshold, it is determined that the triggering mode corresponding to the click event is non-pen tail triggering.
[0137] In some embodiments, the click event includes at least one click operation, and the terminal device triggers the click event through a stylus, and the triggering modes include non-pen-end triggering and pen-end triggering, and the non-pen-end triggering indicates that there is at least one click operation in the click event that is triggered by the pen tip;
[0138] The discrimination module 12 is used for:
[0139] If the event type is a multiple click event, and the triggering mode corresponding to the click event is pen end triggering, it is determined that the click event meets the preset event requirements corresponding to starting the application program;
[0140] If the event type is a single-click event, or the event type is a multiple-click event and the triggering mode of the click event is non-pen-end triggering, it is determined that the click event does not meet the preset event requirements corresponding to the application.
[0141] The application startup device provided in the embodiment of the present application, when the terminal device is in a locked state, determines whether a click event meets the preset event requirements corresponding to the application startup through two conditions: the event type and the triggering method of the click event, and when the click event meets the preset event requirements corresponding to the application startup, the application is started in the quick access mode. In this way, false triggering causing the application to be frequently started in the quick access mode can be avoided, thereby improving device performance, and the application can be quickly started when the terminal device is in a locked state without unlocking the device, while reducing the risk of information leakage caused by unlocking to enter the homepage.
[0142] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the application startup device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0143] Based on the above, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method for starting an application described in any of the aforementioned embodiments.
[0144] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0145] Based on the above, an embodiment of the present invention provides a storage medium, which stores a computer program. When the computer program is executed by a processor, a method for starting an application program of any of the above-described implementation methods is implemented.
[0146] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the storage medium described above can refer to the corresponding process in the aforementioned method, and will not be described in detail here.
[0147] In summary, the application startup method, device, electronic device and storage medium provided by the embodiments of the present invention, when the terminal device is in a locked state, determine whether a click event meets the preset event requirements corresponding to the startup application through the two conditions of the event type and the triggering method of the click event, and when the click event meets the preset event requirements corresponding to the startup application, the application is started in the quick access mode. In this way, false triggering causing the application to be frequently started in the quick access mode can be avoided, thereby improving device performance, and the application can be quickly started when the terminal device is in a locked state without unlocking the device, while reducing the risk of information leakage caused by unlocking to enter the homepage.
[0148] The above are only various embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for starting an application, characterized in that: The method is applied to a terminal device; the method comprises: In response to a click event on the lock screen interface, determine an event type and a triggering method corresponding to the click event; Determining, according to the event type and the triggering method, whether the click event meets a preset event requirement corresponding to starting an application program; If the click event meets the preset event requirements, the application is started in the quick access mode and the first user interface of the application is displayed; the first user interface is the user interface of the application in the quick access mode; the quick access mode represents the application being started without unlocking the device when the terminal device is in a locked state.
2. The method according to claim 1, characterized in that: After starting the application in the quick access mode and displaying the first user interface of the application, the method further includes: In response to a writing operation input based on the first user interface, displaying writing content corresponding to the writing operation in the first user interface; In response to a triggering event of a mode switching control set in the first user interface, the application is started in a normal mode and a second user interface of the application is displayed; the second user interface is a user interface of the application in the normal mode; The written content is displayed in the second user interface.
3. The method according to claim 2, characterized in that Before starting the application in a normal mode and displaying the second user interface of the application, the method further includes: In response to a touch event of a mode switching control set in the first user interface, displaying the lock screen interface; Receiving a password input based on the lock screen interface, and determining whether the password is consistent with a preset verification password; If the password is consistent with the preset verification password, the step of starting the application in a normal mode and displaying the second user interface of the application is executed.
4. The method according to claim 2, characterized in that: A sharing control is provided in the first user interface; After displaying the written content corresponding to the writing operation in the first user interface, the method further includes: generating a graphic code in response to a touch operation of the sharing control; In response to a scanning event of the graphic code, a connection is established with a user terminal corresponding to the scanning event, and the written content is sent to the user terminal.
5. The method according to claim 2, characterized in that: After displaying the written content corresponding to the writing operation in the first user interface, the method further includes: In response to a save event based on the first user interface input, the written content is saved in a storage area of the terminal device.
6. The method according to claim 1, characterized in that The click event includes at least one click operation, and the determining of the event type and triggering method corresponding to the click event includes: Determine the number of times the click operation is triggered in the click event, and the touch area of each click operation triggered; Determining an event type corresponding to the click event based on the number of times the click operation in the click event is triggered; The triggering mode corresponding to the click event is determined according to the touch area of each click operation triggered.
7. The method according to claim 6, characterized in that The determining the event type corresponding to the click event based on the number of triggering times of the click operation in the click event includes: When the number of click operations in the click event is greater than or equal to 2, and the time difference between two adjacent click operations is less than or equal to a preset time difference threshold, determining that the event type corresponding to the click event is a multiple click event; When the number of click operations triggered in the click event is less than 2, or the number of click operations triggered in the click event is greater than or equal to 2, and the time difference between two adjacent click operations is greater than a preset time difference threshold, the event type corresponding to the click event is determined to be a single-click event.
8. The method according to claim 6, characterized in that The terminal device triggers a click event via a stylus; The determining, according to the touch area of each triggered click operation, the triggering mode corresponding to the click event includes: If the touch area of each click operation triggered is greater than the preset area threshold, it is determined that the triggering mode corresponding to the click event is pen tail triggering; If there is at least one click operation in the click event whose touch area is less than or equal to the preset area threshold, it is determined that the triggering mode corresponding to the click event is non-pen tail triggering.
9. The method according to any one of claims 1 to 8, characterized in that: The click event includes at least one click operation, the terminal device triggers the click event through the stylus, and the triggering mode includes non-tip triggering and pen tip triggering; the event type includes multiple click events and single click events; the non-tip triggering indicates that there is at least one click operation in the click event that is triggered by the pen tip; The determining, according to the event type and the triggering mode, whether the click event meets a preset event requirement corresponding to starting the application program includes: If the event type is a multiple click event, and the triggering mode corresponding to the click event is pen end triggering, then determining that the click event meets the preset event requirement corresponding to starting the application program; If the event type is a single-click event, or the event type is a multiple-click event and the triggering mode of the click event is non-pen end triggering, it is determined that the click event does not meet the preset event requirement corresponding to the application.
10. A device for starting an application, characterized in that: The equipment includes: An interaction module, for responding to a click event on the lock screen interface, and determining an event type and a triggering mode corresponding to the click event; A determination module, used to determine whether the click event meets the preset event requirement corresponding to starting the application program according to the event type and the triggering mode; A startup module, used for starting the application in a quick access mode and displaying a first user interface of the application if the click event meets the preset event requirements; the first user interface is the user interface of the application in the quick access mode; the quick access mode represents starting the application without unlocking the device when the terminal device is in a locked state.
11. An electronic device, characterized in that: The electronic device includes a memory and a processor; the memory stores a computer program, and the processor is used for the computer program in the memory to execute the operations in the method for starting the application program according to any one of claims 1 to 9.
12. A storage medium, characterized in that: The storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to execute the steps in the method for starting an application program according to any one of claims 1 to 9.
