Application program starting method and device, electronic equipment and storage medium
By setting up fingerprint sensors on the side border of the electronic device, selecting applications and authenticating them with sliding operations, the problem that fingerprint sensors in the prior art cannot be used for application selection and private information verification at the same time, and improving the efficiency of application selection and security.
Patent Information
- Application Number
- CN202411375299.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-01-07
AI Technical Summary
In existing electronic devices, fingerprint sensors are only used to collect fingerprints and cannot be used for both application selection switching and authentication of private information, making it difficult to balance operation efficiency and security.
By setting a fingerprint sensor on the side border of the electronic device, receiving a sliding operation to select an application, and authenticating based on the collected fingerprint information, if successful, the application will be enabled to improve the security of application selection and private information access.
Improves application selection efficiency and access security, and users can complete application selection and identity authentication through a single swipe operation.
Smart Images

Figure CN119271302A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic devices, and more specifically, to a method and device for opening an application, an electronic device, and a storage medium. Background Art
[0002] Currently, electronic devices generally support fingerprint recognition. Usually, a mounting hole is opened on the front or back of the electronic device, and the fingerprint sensor is installed in the mounting hole. When in use, the user's finger touches the fingerprint sensor to collect the fingerprint, and then completes the fingerprint recognition function. However, in this way, the fingerprint sensor is only used to collect fingerprints, the usage is monotonous, and it is impossible to balance the operation efficiency and access security. Summary of the invention
[0003] In view of the above problems, the present application proposes a method, device, electronic device and storage medium for opening an application to solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides a method for opening an application, the method comprising: receiving a sliding operation of a fingerprint sensor acting on an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device; determining a current application that the sliding operation indicates to be opened, and obtaining fingerprint information collected by the fingerprint sensor; if it is determined that the current application involves private information, performing identity authentication based on the fingerprint information; if the identity authentication is successful, opening the current application.
[0005] In a second aspect, an embodiment of the present application provides a device for opening an application, the device comprising: a sliding operation receiving module, used to receive a sliding operation acting on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device; a fingerprint information acquisition module, used to determine the current application indicated to be opened by the sliding operation, and obtain the fingerprint information collected by the fingerprint sensor; an identity authentication module, used to perform identity authentication based on the fingerprint information if it is determined that the current application involves private information; and an application opening module, used to open the current application if the identity authentication is successful.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory and a processor, wherein the memory is coupled to the processor, the memory stores instructions, and when the instructions are executed by the processor, the processor executes the above method.
[0007] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, and the program code can be called by a processor to execute the above method.
[0008] The application opening method, device, electronic device and storage medium provided in the embodiments of the present application receive a sliding operation of a fingerprint sensor acting on the electronic device, wherein the fingerprint sensor is arranged on the side frame of the electronic device, determines the current application indicated to be opened by the sliding operation, and obtains the fingerprint information collected by the fingerprint sensor. If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information. If the identity authentication is successful, the current application is opened, so that the fingerprint sensor arranged on the side frame can realize the selection of the application and the identity authentication of the application involving private information through the sliding operation acting on the fingerprint sensor, thereby improving the efficiency of application selection and the security of access. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0010] Figure 1 A schematic diagram showing a flow chart of a method for opening an application program provided in an embodiment of the present application;
[0011] Figure 2 A schematic diagram showing a flow chart of a method for opening an application program provided in an embodiment of the present application;
[0012] Figure 3 A schematic diagram of an interface of an electronic device provided in an embodiment of the present application is shown;
[0013] Figure 4 A schematic diagram showing a flow chart of a method for opening an application program provided in an embodiment of the present application;
[0014] Figure 5 This application shows Figure 4 A flowchart of step S390 of the method for opening an application program is shown;
[0015] Figure 6 A schematic diagram showing a flow chart of a method for opening an application program provided in an embodiment of the present application;
[0016] Figure 7 A schematic diagram showing a flow chart of a method for opening an application program provided in an embodiment of the present application;
[0017] Figure 8 A module block diagram of a device for opening an application provided by an embodiment of the present application is shown;
[0018] Fig. 9 A block diagram of an electronic device according to an embodiment of the present application for executing a method for opening an application according to an embodiment of the present application is shown;
[0019] Fig.10 A storage unit for storing or carrying program codes for implementing a method for opening an application according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0021] Among them, current electronic devices are generally equipped with fingerprint sensors, and the fingerprint sensors are generally set on the front or back of the electronic device to collect the user's fingerprint for fingerprint recognition. However, in this way, the fingerprint sensor is only used to collect fingerprints, that is, it is impossible to use the fingerprint sensor to collect fingerprints and complete other operations (such as selecting and switching applications) at the same time. The usage is monotonous and cannot balance operational efficiency and access security.
[0022] In view of the above problems, the inventor has discovered after long-term research and proposed a method, device, electronic device and storage medium for opening an application provided in an embodiment of the present application, which realizes the selection of an application and the identity authentication of an application involving private information by sliding operation on the fingerprint sensor, thereby improving the efficiency of application selection and the security of access. The specific method for opening an application is described in detail in the subsequent embodiments.
[0023] See also Figure 1 , Figure 1 The flowchart of the method for opening an application provided by an embodiment of the present application is shown. The method is used for a fingerprint sensor set on a side frame to select an application and authenticate the application involving private information by sliding the fingerprint sensor, thereby improving the efficiency of selecting the application and the security of access. In a specific embodiment, the method for opening the application is applied to Figure 8 The application opening device 200 and the electronic device 100 equipped with the application opening device 200 are shown. Fig. 9 ). The following will take an electronic device as an example to illustrate the specific process of this embodiment. Of course, it can be understood that the electronic device used in this embodiment may include a smart phone, a tablet computer, a wearable electronic device, etc., which is not limited here. Figure 1 The process shown is described in detail, and the method for opening the application may specifically include the following steps:
[0024] Step S110: receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device.
[0025] In this embodiment, the side frame of the electronic device may be provided with a fingerprint sensor. The fingerprint sensor provided on the side frame may receive a user's touch operation, such as a sliding operation, a clicking operation, a pressing operation, etc., and collect the user's fingerprint information during the touch operation, and trigger corresponding operations based on the touch operation, such as application switching selection, etc., which are not limited here. Based on this, both the operating efficiency and the access security may be improved.
[0026] Optionally, the fingerprint sensor can be set on the right side frame of the electronic device, or can be set on the left side frame of the electronic device; the fingerprint sensor can be flush with the side frame of the electronic device, or can protrude from the side frame of the electronic device, which is not limited here.
[0027] In some implementations, the electronic device may support switching and selecting applications by sliding operations on the fingerprint sensor. In this embodiment, if the user wants to open an application of the electronic device, it can be achieved by sliding operations on the fingerprint sensor, and accordingly, the electronic device can receive the sliding operations on the fingerprint sensor of the electronic device.
[0028] Step S120: Determine the current application opened by the sliding operation instruction, and obtain the fingerprint information collected by the fingerprint sensor.
[0029] In this embodiment, when the electronic device receives a sliding operation on the fingerprint sensor, it can determine the current application that is opened by the sliding operation and obtain the fingerprint information collected by the fingerprint sensor during the sliding operation.
[0030] As a method, the electronic device may be installed with multiple applications. When a sliding operation acting on the fingerprint sensor is received, the current application indicated to be opened may be determined from the multiple installed applications based on the sliding operation.
[0031] As another way, the multitasking interface of the electronic device may include application interfaces of multiple applications. When a sliding operation acting on the fingerprint sensor is received, the current application indicated to be opened can be determined from the multiple applications corresponding to the multitasking interface based on the sliding operation.
[0032] As another way, the electronic device may be preset with multiple applications, and optionally, the multiple applications preset by the electronic device may include applications that are not running, and may also include applications running in the background. When a sliding operation acting on the fingerprint sensor is received, the current application indicated to be opened may be determined from the preset multiple applications based on the sliding operation.
[0033] As another way, the electronic device may pre-establish a first mapping relationship between multiple sliding operations and multiple applications, for example, pre-establishing sliding distance 1 corresponding to application 1, sliding distance 2 corresponding to application 2, sliding distance 3 and sliding direction 1 corresponding to application 3, sliding distance 4 and sliding direction 2 corresponding to application 4, etc. When a sliding operation acting on the fingerprint sensor is received, the current application indicated to be opened by the sliding operation may be determined from the multiple applications based on the first mapping relationship.
[0034] In some embodiments, when the electronic device detects a sliding operation acting on the fingerprint sensor, the fingerprint image can be collected through the fingerprint sensor. Optionally, the fingerprint sensor may include a capacitive fingerprint sensor, an optical fingerprint sensor, or an ultrasonic fingerprint sensor. When the fingerprint sensor is a capacitive fingerprint sensor, the user's finger contact will cause the capacitor array on the fingerprint sensor to produce a charge change, so that the concave and convex lines of the fingerprint can be recorded; when the fingerprint sensor is an optical fingerprint sensor, the fingerprint image is captured by reflecting light; when the fingerprint sensor is an ultrasonic fingerprint sensor, the fingerprint image is captured by transmitting and receiving ultrasonic waves. Afterwards, the fingerprint sensor generates a fingerprint image based on the collected data. In this process, the collected data can be amplified, filtered, etc., which is not limited here. In the case of obtaining a fingerprint image, feature data in the fingerprint image can be extracted through an algorithm to obtain fingerprint information. The extracted feature data may include the fingerprint pattern, core point, number of lines, etc., which are not limited here.
[0035] Step S130: If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information.
[0036] In this embodiment, when the current application is determined, it can be determined whether the current application involves private information. If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information; if it is determined that the current application does not involve private information, identity authentication is not performed based on the fingerprint information, and the current application is directly opened.
[0037] In some implementations, when the current application is determined, it can be determined whether the current application is set with access restrictions. If it is determined that the current application is set with access restrictions, it is determined that the current application involves private information. Optionally, if the current application requires identity authentication before it can be opened, it can be determined that the current application is set with access restrictions.
[0038] In some implementations, when the current application is determined, it can be determined whether the current application records sensitive information. If it is determined that the current application records sensitive information, it is determined that the current application involves private information. Alternatively, if it is determined that the current application records identity card information, search records, etc., it can be determined that the current application records sensitive information.
[0039] In some implementations, the electronic device may pre-collect and record fingerprint information of a legitimate user as standard fingerprint information. Based on this, identity authentication based on fingerprint information may include: matching the fingerprint information collected by the fingerprint sensor with the standard fingerprint information, wherein if the fingerprint information collected by the fingerprint sensor matches the standard fingerprint information, it may be determined that the identity authentication is successful; if the fingerprint information collected by the fingerprint sensor does not match the standard fingerprint information, it may be determined that the identity authentication is unsuccessful.
[0040] Step S140: If the identity authentication is successful, the current application is opened.
[0041] In this embodiment, if the identity authentication is successful, it can be determined that the user who instructs to open the current application is a legitimate user and has the permission to open the current application, so the current application is opened; if the identity authentication fails, it can be determined that the user who instructs to open the current application is not a legitimate user and does not have the permission to open the current application, so the current application is not opened.
[0042] It can be understood that the fingerprint sensor in the side frame is provided in this embodiment so that the user can complete the application selection and identity authentication at the same time through a single sliding operation on the fingerprint sensor, which can improve the application selection efficiency and access security.
[0043] A method for opening an application provided by an embodiment of the present application receives a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device, determines the current application to be opened indicated by the sliding operation, and obtains fingerprint information collected by the fingerprint sensor. If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information. If the identity authentication is successful, the current application is opened, so that the fingerprint sensor arranged on the side frame can realize the selection of the application and the identity authentication of the application involving private information through the sliding operation acting on the fingerprint sensor, thereby improving the efficiency of application selection and the security of access.
[0044] See also Figure 2 , Figure 2 The flowchart of the method for opening an application provided by an embodiment of the present application is shown in FIG. Figure 2 The process shown is described in detail, and the method for opening the application may specifically include the following steps:
[0045] Step S210: receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device.
[0046] The specific description of step S210 can be found in step S110 and will not be repeated here.
[0047] Step S220: In response to the sliding operation, switching to display multiple applications.
[0048] Among them, the multiple applications can be multiple applications installed on the above-mentioned electronic device, can be applications corresponding to multiple application interfaces included in the multi-tasking interface of the electronic device, can be multiple applications preset by the electronic device, etc., and are not limited here.
[0049] In this embodiment, when the electronic device receives a sliding operation on the fingerprint sensor, it can switch to display multiple applications in response to the sliding operation.
[0050] Optionally, switching to display multiple applications may represent switching to display the identifiers corresponding to the multiple applications, for example, switching to display the icons corresponding to the multiple applications, switching to display the interface thumbnails corresponding to the multiple applications, switching to display the names corresponding to the multiple applications, switching to display the windows of the multiple applications, etc., which are not limited here. Figure 3 , Figure 3 A schematic diagram of an interface of an electronic device provided in an embodiment of the present application is shown. Figure 3As shown, the current interface of the electronic device displays a multitasking interface, and a window corresponding to an application is displayed in the multitasking interface, and windows corresponding to other applications are completely hidden or partially hidden. During this process, windows corresponding to multiple applications can be switched based on a sliding operation acting on the fingerprint sensor A.
[0051] Optionally, multiple applications can be randomly switched and displayed based on the sliding operation; multiple applications can be switched and displayed according to a preset switching order corresponding to the multiple applications; multiple applications can be switched and displayed in order of usage frequency from high to low; multiple applications can be switched and displayed in order of priority from high to low, etc., and there is no limitation here.
[0052] In some embodiments, when the electronic device receives a sliding operation acting on the fingerprint sensor, it can respond to the sliding operation, determine the sliding direction corresponding to the sliding operation, and switch to display multiple applications based on the sliding direction. Optionally, the sliding direction may include a direction parallel to the side frame, that is, a downward sliding direction from the top to the bottom of the electronic device, or an upward sliding direction from the bottom to the top of the electronic device; the sliding direction may include a direction perpendicular to the side frame, that is, a left sliding direction from the screen side to the back shell side of the electronic device, or a right sliding direction from the back shell side to the screen side of the electronic device, etc., which is not limited here.
[0053] As an implementable method, when the electronic device receives a sliding operation acting on the fingerprint sensor, it can continuously collect fingerprint images (the collection interval can be within 20-30ms), and then determine the sliding direction corresponding to the sliding operation by the positions of the pixels occupied by the fingerprint images collected before and after.
[0054] As an example, if the sliding direction is the upward sliding direction, you can switch to display the next application; if the sliding direction is the downward sliding direction, you can switch to display the previous application; if the sliding direction is the left sliding direction, you can switch to display the previous application; if the sliding direction is the right sliding direction, you can switch to display the next application, etc., there is no limitation here.
[0055] Step S230: Determine the current application indicated to be opened from the multiple applications.
[0056] In this embodiment, during the process of switching and displaying a plurality of application programs, a current application program indicated to be opened may be determined from the plurality of application programs.
[0057] In some implementations, during the process of switching and displaying multiple applications, the application that stays displayed based on the sliding operation can be determined, and the application that stays displayed can be determined as the current application indicated to be turned on. As an example, assuming that the multiple applications include application 1, application 2, and application 3, during the process of switching and displaying application 1, application 2, and application 3, if application 2 stays displayed in the interface of the electronic device based on the sliding operation, application 2 can be determined as the current application.
[0058] Furthermore, in the case of determining an application that stays displayed based on a sliding operation, the duration of the stay displayed application may be determined. If it is determined that the stay display duration reaches a duration threshold, it may be determined that the user desires to open the application, and the stay displayed application may be determined as the current application; if it is determined that the stay display duration does not reach the duration threshold, it may be determined that the user may continue to switch applications, and the stay displayed application may not be determined as the current application.
[0059] In some embodiments, during the process of switching and displaying multiple applications, a current application corresponding to the click operation can be determined from the multiple applications in response to a click operation on the fingerprint sensor. As an example, assuming that the multiple applications include application 1, application 2, and application 3, during the process of switching and displaying application 1, application 2, and application 3, if a click operation on the fingerprint sensor is detected when the display is switched to application 2, application 2 can be determined as the current application corresponding to the click operation.
[0060] Step S240: Acquire fingerprint information collected by the fingerprint sensor.
[0061] Step S250: If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information.
[0062] Step S260: If the identity authentication is successful, the current application is opened.
[0063] For the detailed description of step S240 to step S260, please refer to step S120 to step S140, which will not be repeated here.
[0064] An embodiment of the present application provides a method for opening an application, receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device, and in response to the sliding operation, switching to display multiple applications, determining the current application indicated to be opened from the multiple applications, obtaining fingerprint information collected by the fingerprint sensor, and if it is determined that the current application involves private information, performing identity authentication based on the fingerprint information, and if the identity authentication is successful, opening the current application. Compared to Figure 1 The method for opening the application shown in the figure, this embodiment also switches to display multiple applications in response to a sliding operation, and determines the current application indicated to be opened from the multiple applications, which can improve the efficiency of application selection and enhance the user experience.
[0065] See also Figure 4 , Figure 4 The flowchart of the method for opening an application provided by an embodiment of the present application is shown in FIG. Figure 4 The process shown is described in detail, and the method for opening the application may specifically include the following steps:
[0066] Step S310: receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device.
[0067] The specific description of step S310 can be found in step S110 , which will not be repeated here.
[0068] Step S320: In response to the sliding operation, switching to display multiple applications.
[0069] Step S330: Determine the current application indicated to be opened from the multiple applications.
[0070] For the detailed description of step S320 to step S330, please refer to step S220 to step S230, which will not be repeated here.
[0071] Step S340: and obtaining fingerprint information collected by the fingerprint sensor.
[0072] Step S350: If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information.
[0073] Step S360: If the identity authentication is successful, the current application is opened.
[0074] For the detailed description of step S340 to step S360, please refer to step S120 to step S140, which will not be repeated here.
[0075] Step S370: In response to a touch operation on the fingerprint sensor, determine a touch mode corresponding to the touch operation.
[0076] Optionally, the current application may have multiple functions, such as payment function, ride function, food delivery function, shopping function, recharge function, etc., which are not limited here. It is understandable that when the electronic device opens the current application, it generally enters the homepage of the current application, and then the user chooses to open different functions of the current application. In this embodiment, the user can choose to open different functions of the current application through the fingerprint sensor.
[0077] In some embodiments, when the current application is turned on, the electronic device can detect the touch operation acting on the fingerprint sensor, wherein if the touch operation acting on the fingerprint sensor is detected, the touch mode corresponding to the touch operation can be determined. Optionally, the touch mode corresponding to the touch operation may include: click mode, press mode, slide mode. Among them, the click mode may include: single click mode, multiple click mode (two click mode, three click mode...), etc., the press mode may include: short time press, long time press, small area press, large area press, etc., and the slide mode may include: up slide mode, down slide mode, left slide mode, right slide mode, short distance slide mode, long distance slide mode, etc., which are not limited here.
[0078] Among them, the electronic device can detect the touch operation on the fingerprint sensor in real time; can detect the touch operation on the fingerprint sensor at a preset time interval; can detect the touch operation on the fingerprint sensor at a preset time point; can detect the touch operation on the fingerprint sensor according to other preset rules, etc., which are not limited here.
[0079] Step S380: Based on the touch mode, determine the current application function of the current application to be opened.
[0080] In this embodiment, when the touch mode corresponding to the touch operation is determined, the current application function of the current application program to be opened can be determined based on the touch mode.
[0081] In some implementations, the electronic device may pre-establish a second mapping relationship between multiple touch modes and multiple application functions, for example, pre-establishing that touch mode 1 corresponds to application function 1, touch mode 2 corresponds to application function 2, touch mode 3 corresponds to application function 3, etc. When determining the touch mode corresponding to the touch operation, the current application function of the current application program opened by the touch mode corresponding to the touch operation may be determined based on the second mapping relationship. For example, if it is determined that the touch mode corresponding to the touch operation is touch mode 2, application function 3 of the current application program may be determined as the current application function based on the second mapping relationship.
[0082] Step S390: Enable the current application function.
[0083] In some embodiments, when the current application function of the current application is determined, the current application function can be enabled, so that the application function can be quickly selected and enabled through the fingerprint sensor set on the side frame of the electronic device, thereby improving efficiency.
[0084] See also Figure 5 , Figure 5 This application shows Figure 4 The flowchart of step S390 of the method for opening an application program shown in FIG. Figure 5 The process shown is described in detail, and the method may specifically include the following steps:
[0085] Step S391: If it is determined that the current application function is a private function, the fingerprint information is collected again through the fingerprint sensor, and identity authentication is performed based on the re-collected fingerprint information.
[0086] Optionally, the current application function may be a private function or a non-private function. For example, if the current application function is a payment function or a recharge function, the current application function may be considered a private function; if the current application function is a takeaway function or a shopping function, the current application function may be considered a non-private function.
[0087] In some implementations, when the current application function is determined, it may be detected whether the current application function is a private function or a non-private function.
[0088] As a method, when determining the current application function, it can be determined whether the current application function is set with access restrictions. If it is determined that the current application function is set with access restrictions, it is determined that the current application function is a private function; if the current application function is not set with access restrictions, it is determined that the current application function is a non-private function. Optionally, if the current application function requires identity authentication to be opened, it can be determined that the current application function is set with access restrictions.
[0089] As another way, when determining the current application function, it can be determined whether the current application function records sensitive information. If it is determined that the current application function records sensitive information, the current application function is determined to be a private function; if it is determined that the current application function does not record sensitive information, the current application function is determined to be a non-private function. Optionally, if it is determined that the current application function records identity card information, search records, etc., it can be determined that the current application function records sensitive information.
[0090] As another way, when determining the current application function, it can be determined whether the current application function involves payment behavior. If it is determined that the current application function involves payment behavior, the current application function is determined to be a private function; if it is determined that the current application function does not involve payment behavior, the current application function is determined to be a non-private function. Optionally, if it is determined that the current application function is to display a payment code, it can be determined that the current application function involves payment behavior.
[0091] Among them, considering that some time has passed since the fingerprint information was collected when the current application was opened according to the sliding operation instruction, during this period, the electronic device may have been used by a different user. Therefore, if it is determined that the current application function involves a private function, and in order to further protect the information security of the private function, the fingerprint information can be collected again through the fingerprint sensor, and identity authentication can be performed based on the re-collected fingerprint information.
[0092] In some embodiments, if it is determined that the current application function involves a private function, a touch operation acting on the fingerprint sensor can be detected, wherein if a touch operation acting on the fingerprint sensor is detected, fingerprint information can be re-collected through the fingerprint sensor based on the touch operation; if no touch operation acting on the fingerprint sensor is detected, a prompt message can be output, wherein the prompt message can be used to prompt the user to place a finger on the fingerprint sensor.
[0093] Among them, if it is determined that the current application function does not involve private functions, in order to improve the efficiency of opening the current application function, the current application function can be directly opened.
[0094] Step S392: If the identity authentication is successful, the current application function is enabled.
[0095] In this embodiment, if the identity authentication is successful, it can be determined that the user who instructs to enable the current application function is a legitimate user and has the permission to enable the current application function, so the current application function is enabled; if the identity authentication fails, it can be determined that the user who instructs to enable the current application function is not a legitimate user and does not have the permission to enable the current application function, so the current application function is not enabled.
[0096] In this embodiment, if the identity authentication is unsuccessful, an alternative application function may be enabled, wherein the alternative application function is a non-private function.
[0097] In some implementations, if identity authentication is unsuccessful, an alternative application function for the current application function may be obtained, wherein the alternative application function is obtained by hiding or deleting private information in the current application function, the alternative application function is determined as an alternative application function, and the alternative application function is enabled.
[0098] In some implementations, if identity authentication is unsuccessful, an approximate application function similar to the current application function may be obtained, wherein the approximate application function is a non-private function, and the approximate application function is determined as an alternative application function and enabled.
[0099] As an implementable manner, if the identity authentication is unsuccessful, a first prompt message is output, wherein the first prompt message is used to prompt the user to select to enable the alternative application function, or to select to give up enabling the application function. Optionally, if a selection instruction to enable the alternative application function is received, the alternative application function can be enabled; if a selection instruction to give up enabling the application function is received, the current application function and the alternative application function are not enabled.
[0100] An embodiment of the present application provides a method for opening an application, which receives a sliding operation of a fingerprint sensor on an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device, and in response to the sliding operation, switches to display multiple applications, determines the current application indicated to be opened from the multiple applications, obtains fingerprint information collected by the fingerprint sensor, and if it is determined that the current application involves private information, performs identity authentication based on the fingerprint information, and if the identity authentication is successful, opens the current application, responds to a touch operation on the fingerprint sensor, determines a touch mode corresponding to the touch operation, determines the current application function of the current application indicated to be opened based on the touch mode, and opens the current application function. Compared to Figure 1 In the method for opening an application shown in the figure, this embodiment also switches and displays multiple applications in response to a sliding operation, and determines the current application to be opened from multiple applications, which can improve the efficiency of selecting applications and improve the user experience. In addition, this embodiment also indicates the current application function of the current application to be opened by a touch operation acting on the fingerprint sensor, thereby improving the efficiency of switching and opening application functions and improving the user experience.
[0101] See also Figure 6 , Figure 6 The flowchart of the method for opening an application provided by an embodiment of the present application is shown in FIG. Figure 6The process shown is described in detail, and the method for opening the application may specifically include the following steps:
[0102] Step S410: receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device.
[0103] Step S420: Determine the current application opened by the sliding operation instruction, and obtain the fingerprint information collected by the fingerprint sensor.
[0104] For the detailed description of step S410 to step S420, please refer to step S110 to step S120, which will not be repeated here.
[0105] Step S430: If it is determined that the current application involves private information, then determine the privacy level corresponding to the current application.
[0106] In this embodiment, when the current application is determined, it can be determined whether the current application involves private information. If it is determined that the current application involves private information, the privacy level corresponding to the current application can be determined.
[0107] In some embodiments, the electronic device may be pre-set with multiple privacy levels, so if it is determined that the current application involves private information, the privacy level corresponding to the current application may be determined from the pre-set multiple privacy levels. As an example, assuming that the pre-set multiple privacy levels include a low privacy level, a medium privacy level, and a high privacy level, then if it is determined that the current application involves private information, the privacy level corresponding to the current application may be determined from the pre-set low privacy level, the medium privacy level, and the high privacy level.
[0108] As an implementable manner, the electronic device may pre-establish a third mapping relationship between multiple applications and multiple privacy levels, for example, pre-establishing application 1 corresponding to privacy level 1, application 2 corresponding to privacy level 2, application 3 corresponding to privacy level 3, etc. When it is determined that the current application involves private information, the privacy level corresponding to the current application may be determined from the multiple privacy levels based on the third mapping relationship.
[0109] Step S440: If the privacy level does not reach the privacy level threshold, identity authentication is performed based on the fingerprint information.
[0110] In some implementations, the electronic device may pre-set and store a privacy level threshold, wherein the privacy level threshold is used as a basis for determining the privacy level corresponding to the current application. Therefore, in this embodiment, when determining the privacy level corresponding to the current application, the privacy level corresponding to the current application may be compared with the privacy level threshold to determine whether the privacy level corresponding to the current application reaches the privacy level threshold.
[0111] Optionally, if the multiple privacy levels include a low privacy level, a medium privacy level, and a high privacy level, the privacy level threshold can be set to the medium privacy level. Then, if the privacy level corresponding to the current application is the medium privacy level or the high privacy level, it can be determined that the privacy level corresponding to the current application reaches the privacy level threshold; if the privacy level corresponding to the current application is the third privacy level, it can be determined that the privacy level corresponding to the current application does not reach the privacy level threshold.
[0112] Among them, if it is determined that the privacy level of the current application does not reach the privacy level threshold, it indicates that the privacy level of the current application is low, and the identity authentication of the current application can be set more loosely. Therefore, identity authentication can be performed through the fingerprint information collected when the current application was opened according to the sliding operation instruction.
[0113] Step S450: If the privacy level reaches the privacy level threshold, the fingerprint information is collected again through the fingerprint sensor, and identity authentication is performed based on the re-collected fingerprint information.
[0114] Among them, if it is determined that the privacy level of the current application reaches the privacy level threshold, it indicates that the privacy level of the current application is high, and the identity authentication of the current application can be set more strictly. Considering that some time has passed since the fingerprint information was collected when the current application was opened according to the sliding operation instruction, during this period, the electronic device may have been used by a different user. Therefore, in order to further protect the information security of the current application, the fingerprint information can be re-collected through the fingerprint sensor, and identity authentication can be performed based on the re-collected fingerprint information.
[0115] In some embodiments, if it is determined that the privacy level of the current application reaches a privacy level threshold, a touch operation acting on the fingerprint sensor can be detected, wherein, if a touch operation acting on the fingerprint sensor is detected, fingerprint information can be re-collected through the fingerprint sensor based on the touch operation; if the touch operation acting on the fingerprint sensor is not detected, a prompt message can be output, wherein the prompt message can be used to prompt the user to place a finger on the fingerprint sensor.
[0116] Step S460: If the identity authentication is successful, the current application is opened.
[0117] For the detailed description of step S460, please refer to step S140, which will not be repeated here.
[0118] An embodiment of the present application provides a method for opening an application, which receives a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device, determines the current application indicated by the sliding operation to be opened, and obtains the fingerprint information collected by the fingerprint sensor. If it is determined that the current application involves private information, the privacy level corresponding to the current application is determined. If the privacy level does not reach the privacy level threshold, identity authentication is performed based on the fingerprint information. If the privacy level reaches the privacy level threshold, the fingerprint information is collected again through the fingerprint sensor, and identity authentication is performed based on the re-collected fingerprint information. If the identity authentication is successful, the current application is opened. Compared to Figure 1 The method for opening an application shown in the figure, this embodiment also divides the current application indicated to be opened into privacy levels, and performs different identity authentications according to different privacy levels, so as to further improve the security of user information.
[0119] See also Figure 7 , Figure 7 The flowchart of the method for opening an application provided by an embodiment of the present application is shown in FIG. Figure 7 The process shown is described in detail, and the method for opening the application may specifically include the following steps:
[0120] Step S510: receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device.
[0121] Step S520: Determine the current application opened by the sliding operation instruction, and obtain the fingerprint information collected by the fingerprint sensor.
[0122] Step S530: If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information.
[0123] Step S540: If the identity authentication is successful, the current application is opened.
[0124] For the detailed description of step S510 to step S540, please refer to step S110 to step S140, which will not be repeated here.
[0125] Step S550: If the identity authentication is unsuccessful, an alternative application is started, wherein the alternative application does not involve private information.
[0126] In this embodiment, if the identity authentication is unsuccessful, an alternative application may be opened, wherein the alternative application does not involve private information.
[0127] In some implementations, if identity authentication is unsuccessful, an alternative application for the current application may be obtained, wherein the alternative application is obtained by hiding or deleting private information in the current application, the alternative application is determined as an alternative application, and the alternative application is opened.
[0128] In some implementations, if identity authentication is unsuccessful, an approximate application with similar functionality to the current application may be obtained, wherein the approximate application does not involve private information, the approximate application is determined as an alternative application, and the alternative application is opened.
[0129] As an implementable manner, if the identity authentication is unsuccessful, a second prompt message is output, wherein the second prompt message is used to prompt the user to select to open an alternative application, or to select to give up opening the application. Optionally, if a selection instruction to open an alternative application is received, the alternative application can be opened; if a selection instruction to give up opening the application is received, the current application and the alternative application are not opened.
[0130] An embodiment of the present application provides a method for opening an application, receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device, determining the current application to be opened indicated by the sliding operation, and obtaining fingerprint information collected by the fingerprint sensor. If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information. If the identity authentication is successful, the current application is opened. If the identity authentication is unsuccessful, an alternative application that does not involve private information is opened. Compared to Figure 1 The method for opening the application shown in the figure, this embodiment also opens an alternative application that does not involve private information when the identity authentication fails, so as to respond to the user interaction in a timely manner and improve the user experience.
[0131] See also Figure 8 , Figure 8 The module block diagram of the device for opening an application provided by an embodiment of the present application is shown. Figure 8 As shown in the block diagram, the application opening device 200 may include: a sliding operation receiving module 210, a fingerprint information acquisition module 220, an identity authentication module 230 and an application opening module 240, wherein:
[0132] The sliding operation receiving module 210 is used to receive a sliding operation acting on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device.
[0133] The fingerprint information acquisition module 220 is used to determine the current application opened by the sliding operation instruction and obtain the fingerprint information collected by the fingerprint sensor.
[0134] Furthermore, the fingerprint information acquisition module 220 includes: an application switching display submodule and a current application determination submodule, wherein:
[0135] The application switching display submodule is used to switch and display multiple applications in response to the sliding operation.
[0136] Furthermore, the application switching display submodule includes: a sliding direction determination unit and an application switching display unit, wherein:
[0137] The sliding direction determining unit is used to determine the sliding direction corresponding to the sliding operation in response to the sliding operation.
[0138] The application switching display unit is used to switch and display the multiple applications based on the sliding direction.
[0139] The current application determining submodule is used to determine the current application indicated to be opened from the multiple applications.
[0140] Further, the current application determination submodule includes: a current application determination unit, wherein:
[0141] The current application determining unit is used to respond to a click operation applied to the fingerprint sensor during the process of switching and displaying the multiple applications, and determine the current application corresponding to the click operation from the multiple applications.
[0142] The identity authentication module 230 is configured to perform identity authentication based on the fingerprint information if it is determined that the current application involves private information.
[0143] Furthermore, the identity verification module 230 includes: a privacy level determination submodule, a first identity verification submodule and a second identity verification submodule, wherein:
[0144] The privacy level determination submodule is used to determine the privacy level corresponding to the current application if it is determined that the current application involves private information.
[0145] The first identity authentication submodule is configured to perform identity authentication based on the fingerprint information if the privacy level does not reach a privacy level threshold.
[0146] The second identity authentication submodule is configured to re-collect fingerprint information through the fingerprint sensor if the privacy level reaches the privacy level threshold, and perform identity authentication based on the re-collected fingerprint information.
[0147] The application opening module 240 is used to open the current application if the identity authentication is successful.
[0148] Furthermore, the application opening device 200 further includes: a touch mode determination module, a current application function determination module and a current application function opening module, wherein:
[0149] The touch mode determination module is used to respond to a touch operation on the fingerprint sensor and determine a touch mode corresponding to the touch operation.
[0150] The current application function determination module is used to determine the current application function of the current application program to be opened based on the touch mode.
[0151] The current application function activation module is used to activate the current application function.
[0152] Further, the current application function activation module includes: a first re-collection submodule and a current application function activation submodule, wherein:
[0153] The first re-collection submodule is used to re-collect fingerprint information through the fingerprint sensor if it is determined that the current application function is a private function, and perform identity authentication based on the re-collected fingerprint information.
[0154] The current application function activation submodule is used to activate the current application function if the identity authentication is successful.
[0155] Furthermore, the application opening device 200 further includes: an alternative function opening module, wherein:
[0156] The alternative function activation module is used to activate an alternative application if the identity authentication fails, wherein the alternative application does not involve private information.
[0157] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0158] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0159] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.
[0160] See also Fig. 9 , which shows a structural block diagram of an electronic device 100 provided in an embodiment of the present application. The electronic device 100 may be an electronic device capable of running applications, such as a smart phone, a tablet computer, an e-book, etc. The electronic device 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and one or more applications, wherein the one or more applications may be stored in the memory 120 and configured to be executed by one or more processors 110, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0161] Among them, the processor 110 may include one or more processing cores. The processor 110 uses various interfaces and lines to connect various parts of the entire electronic device 100, and executes various functions and processes data of the electronic device 100 by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. Optionally, the processor 110 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 110 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 110, but may be implemented separately through a communication chip.
[0162] The memory 120 may include a random access memory (RAM) or a read-only memory (ROM). The memory 120 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing functions (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the electronic device 100 during use.
[0163] In some embodiments, the electronic device 100 may further include a touch screen, wherein the touch screen is used to display information input by a user, information provided to a user, and various graphical user interfaces of the electronic device 100, and these graphical user interfaces may be composed of graphics, text, icons, numbers, videos, and any combination thereof. In one example, the touch screen may be a liquid crystal display (LCD) or an organic light-emitting diode (OLED), which is not limited here.
[0164] In some embodiments, the electronic device 100 may further include a sensor, wherein the sensor may include a temperature sensor for detecting the temperature of the electronic device, such as for detecting the shell temperature of the electronic device, and the sensor may include a light sensor, which may be used to turn off the display of the touch screen when an object approaches the touch screen, such as when the main body of the electronic device moves to the ear. The sensor may include a pressure sensor, which may be used to detect the pressure generated by pressing on the electronic device, that is, the pressure sensor may detect the pressure generated by the contact or pressing between the user and the electronic device, such as the pressure generated by the contact or pressing between the user's ear or finger and the electronic device. The sensor may include a gravity sensor for detecting the magnitude of acceleration in each direction (generally three axes), and the magnitude and direction of gravity may be detected when stationary, which may be used for applications that recognize the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device may also be equipped with other sensors such as gyroscopes, barometers, and hygrometers, which are not limited here.
[0165] Of course, the electronic device may also include many other components, which will not be described in detail here.
[0166] See also Fig.10, which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 300 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.
[0167] The computer readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 that performs any method steps in the above method. These program codes can be read from or written to one or more computer program products. The program code 310 can be compressed, for example, in an appropriate form.
[0168] In summary, the application opening method, device, electronic device and storage medium provided in the embodiments of the present application receive a sliding operation of a fingerprint sensor acting on an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device, determines the current application indicated to be opened by the sliding operation, and obtains fingerprint information collected by the fingerprint sensor. If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information. If the identity authentication is successful, the current application is opened, so that the fingerprint sensor arranged on the side frame can realize the selection of the application and the identity authentication of the application involving private information through the sliding operation acting on the fingerprint sensor, thereby improving the efficiency of application selection and the security of access.
[0169] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for opening an application, characterized in that: The method comprises: Receiving a sliding operation on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is disposed on a side frame of the electronic device; Determine the current application opened by the sliding operation instruction, and obtain the fingerprint information collected by the fingerprint sensor; If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information; If the identity authentication is successful, the current application is opened.
2. The method according to claim 1, characterized in that The determining the current application program opened by the sliding operation instruction includes: In response to the sliding operation, switching and displaying a plurality of application programs; The current application indicated to be opened is determined from among the plurality of applications.
3. The method according to claim 2, characterized in that The step of determining the current application indicated to be opened from the plurality of applications comprises: In the process of switching and displaying the plurality of applications, in response to a click operation applied to the fingerprint sensor, the current application corresponding to the click operation is determined from among the plurality of applications.
4. The method according to claim 2, characterized in that: After the current application is started, the method further includes: In response to a touch operation on the fingerprint sensor, determining a touch mode corresponding to the touch operation; Based on the touch mode, determining a current application function of the current application program indicated to be opened; Enable the current application function.
5. The method according to claim 4, characterized in that The opening of the current application function includes: If it is determined that the current application function is a private function, re-collecting fingerprint information through the fingerprint sensor, and performing identity authentication based on the re-collected fingerprint information; If the identity authentication is successful, the current application function is enabled.
6. The method according to claim 2, characterized in that In response to the sliding operation, switching and displaying a plurality of applications comprises: In response to the sliding operation, determining a sliding direction corresponding to the sliding operation; Based on the sliding direction, the plurality of applications are switched and displayed.
7. The method according to any one of claims 1 to 6, characterized in that: If it is determined that the current application involves private information, identity authentication is performed based on the fingerprint information, including: If it is determined that the current application involves private information, determining a privacy level corresponding to the current application; If the privacy level does not reach the privacy level threshold, performing identity authentication based on the fingerprint information; or If the privacy level reaches the privacy level threshold, fingerprint information is collected again through the fingerprint sensor, and identity authentication is performed based on the re-collected fingerprint information.
8. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: If the identity authentication fails, an alternative application is started, wherein the alternative application does not involve private information.
9. A device for opening an application, characterized in that: The device comprises: A sliding operation receiving module, used to receive a sliding operation acting on a fingerprint sensor of an electronic device, wherein the fingerprint sensor is arranged on a side frame of the electronic device; A fingerprint information acquisition module, used to determine the current application opened by the sliding operation instruction, and obtain the fingerprint information collected by the fingerprint sensor; An identity authentication module, configured to perform identity authentication based on the fingerprint information if it is determined that the current application involves private information; The application program opening module is used to open the current application program if the identity authentication is successful.
10. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory is coupled to the processor, and the memory stores instructions. When the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 8.