Application program starting method and device, electronic equipment and storage medium
By combining attitude sensors and pressure sensors on electronic devices, detecting the pressure value and angle of the back of the device and automatically starting the application, the cumbersome problem of users manually starting the application in the prior art is solved, and the user experience and the efficiency of the device in bracket mode is improved.
Patent Information
- Application Number
- CN202411999885.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-04-11
AI Technical Summary
Existing electronic devices require user manual participation when starting the application, resulting in poor user experience and inability to accurately determine whether they are in stand mode, resulting in unmet demand for automatically starting the application.
By setting the attitude sensor and pressure sensor on the electronic device, the pressure value and angle on the back of the device are detected. If the pressure value increases to a threshold value and the angle meets the specified angle, the preset application will be automatically started.
It realizes automatic start of the application when the bracket mode is detected, avoids manual operation by users, improves user experience, and improves the efficiency of the device in bracket mode.
Smart Images

Figure CN119806680A_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 starting an application, an electronic device, and a storage medium. Background Art
[0002] Currently, electronic devices are loaded with multiple applications, and each application needs human intervention to start. Therefore, it takes time for users to find applications, start applications, and start using applications. The entire experience is completely unintelligent, resulting in poor user experience. Summary of the invention
[0003] In view of the above problems, the present application proposes a method, device, electronic device and storage medium for starting an application to solve the above problems.
[0004] In a first aspect, an embodiment of the present application provides a method for starting an application, which is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. The method comprises: obtaining a pressure value of the back of the electronic device detected by the pressure sensor; if the pressure value increases to a pressure threshold within a preset time, obtaining the angle of the electronic device detected by the posture sensor; if the angle satisfies a specified angle, starting a preset application.
[0005] In a second aspect, an embodiment of the present application provides an application startup device, which is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back thereof, the device comprising: a pressure value acquisition module, for acquiring the pressure value of the back of the electronic device detected by the pressure sensor; an angle acquisition module, for acquiring the angle of the electronic device detected by the posture sensor if the pressure value increases to a pressure threshold within a preset time; and an application startup module, for starting a preset application if the angle meets a specified angle.
[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 startup method, device, electronic device and storage medium provided in the embodiments of the present application first obtain the pressure value of the back of the electronic device detected by the pressure sensor set on the back of the electronic device, and then if the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor set inside the electronic device is obtained, and finally if the angle meets the specified angle, the preset application is started, so as to determine whether the electronic device is in the stand mode by detecting the pressure value on the back of the electronic device and the angle of the electronic device, and automatically start the adapted application when it is determined that the electronic device is in the stand mode, so as to avoid the user from performing tedious manual operations and improve the user experience. 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 starting an application program provided in an embodiment of the present application;
[0011] Figure 2 A schematic diagram showing an electronic device provided by an embodiment of the present application in a stand mode is shown;
[0012] Figure 3 A schematic diagram showing a flow chart of a method for starting an application program provided in an embodiment of the present application;
[0013] Figure 4 A schematic diagram showing a flow chart of a method for starting an application program provided in an embodiment of the present application;
[0014] Figure 5 A schematic diagram showing a flow chart of a method for starting an application program provided in an embodiment of the present application;
[0015] Figure 6 A schematic diagram showing a flow chart of a method for starting 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 starting an application program provided in an embodiment of the present application;
[0017] Figure 8 A schematic diagram showing a flow chart of a method for starting an application program provided in an embodiment of the present application;
[0018] Fig. 9A module block diagram of a device for starting an application program provided by an embodiment of the present application is shown;
[0019] Fig.10 A block diagram of an electronic device according to an embodiment of the present application for executing a method for starting an application according to an embodiment of the present application is shown;
[0020] Fig.11 A storage unit for storing or carrying program codes for implementing a method for starting an application program according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0021] 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.
[0022] Among them, the electronic device is installed with multiple applications, and the startup of each application requires human participation. For example, when a user uses the navigation application of an electronic device while driving, he needs to take out the electronic device, unlock it with a password, open the navigation application, enter the destination, start the navigation, and adsorb the electronic device on the bracket. The entire manual operation process is cumbersome and the user experience is poor. In addition, the current electronic devices support the bracket mode. The bracket mode of the electronic device is a separate accessory that supports the back of the electronic device. The electronic device cannot accurately determine whether there is a bracket to determine whether to enter the bracket mode. Therefore, even if the electronic device is placed on the bracket, the user is required to manually start the desired application, resulting in a poor user experience.
[0023] In view of the above problems, the inventor has discovered after long-term research and proposed the application startup method, device, electronic device and storage medium provided in the embodiments of the present application, which determines whether the electronic device is in the stand mode by detecting the pressure value of the back of the electronic device and the angle of the electronic device, and automatically starts the adapted application when it is determined that the electronic device is in the stand mode, so as to avoid tedious manual operations by the user and improve the user experience. Among them, the specific application startup method is described in detail in the subsequent embodiments.
[0024] See also Figure 1 , Figure 1 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method for starting an application is used to determine whether the electronic device is in the stand mode by detecting the pressure value of the back of the electronic device and the angle of the electronic device, and automatically start the adapted application when it is determined that the electronic device is in the stand mode, so as to avoid the user from performing tedious manual operations and improve the user's experience. In a specific embodiment, the method for starting an application is applied to Fig. 9 The application launching device 200 and the electronic device 100 equipped with the application launching device 200 are shown. Fig.10 ). 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, etc., which is not limited here. In this embodiment, the electronic device is provided with a posture sensor inside and a pressure sensor on the back. Figure 1 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0025] Step S110: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0026] In this embodiment, a posture sensor may be provided inside the electronic device. Optionally, the posture sensor may include a gyroscope, an acceleration sensor, etc., which is not limited here.
[0027] Among them, the gyroscope is an angular velocity sensor, and its working principle is based on the law of conservation of angular momentum. When an object rotates in a certain direction, it will have an angular momentum vector perpendicular to the axis of rotation. This angular momentum vector will remain unchanged when the object is subjected to external force, that is, angular momentum conservation. Therefore, when an electronic device with a built-in gyroscope rotates, the rotor inside the gyroscope will maintain its original rotation direction and speed, so that the rotation state of the electronic device can be sensed and measured to determine the angle of the electronic device.
[0028] Among them, the accelerometer is a sensor that can measure the acceleration of an object. The accelerometer usually contains key parts such as mass block, damper, elastic element, sensitive element and adaptive circuit. When the sensor is subjected to acceleration, the mass block will be affected by the inertial force and produce displacement or deformation. Its working principle is based on Newton's second law, that is, the acceleration of an object is proportional to the force. By measuring the components of gravity acceleration on the X-axis and Y-axis, the inclination angle of the built-in accelerometer is calculated, that is, the angle of the electronic device is determined.
[0029] In this embodiment, a pressure sensor may be provided on the back of the electronic device to detect the pressure value of the back of the electronic device. Optionally, the pressure sensor may include a capacitive pressure sensor, a resistive pressure sensor, etc., which are not limited here. When the back of the electronic device is subjected to force, a slight deformation will occur, and the deformation of the material can drive the deformation of the pressure sensor. The deformation of the pressure sensor causes the voltage of the pressure sensor to change, and the pressure value of the back of the electronic device can be obtained through the algorithm.
[0030] In some embodiments, the pressure sensor may be disposed at a preset position on the back of the electronic device, wherein the preset position may be a position where the bracket contacts the back of the electronic device when the electronic device is in a bracket mode.
[0031] In this embodiment, the pressure value of the back of the electronic device may be detected by a pressure sensor, and the pressure value of the back of the electronic device detected by the pressure sensor may be acquired.
[0032] In some embodiments, the pressure value of the back of the electronic device detected by the pressure sensor can be acquired in real time; the pressure value of the back of the electronic device detected by the pressure sensor can be acquired at preset time intervals; the pressure value of the back of the electronic device detected by the pressure sensor can be acquired at preset time points; the pressure value of the back of the electronic device detected by the pressure sensor can also be acquired according to other preset conditions, etc., which are not limited here.
[0033] As an implementable manner, if the pressure sensor is disposed at a preset position on the back of the electronic device, the pressure value of the preset position on the back of the electronic device detected by the pressure sensor can be obtained.
[0034] Step S120: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0035] In some embodiments, the electronic device may be pre-set and store a preset time and a pressure threshold, wherein the preset time may be used as a basis for determining the pressure value of the back of the electronic device continuously obtained, and the pressure threshold may be used as a basis for determining the pressure value of the back of the electronic device. Therefore, in this embodiment, the pressure value of the back of the electronic device may be continuously obtained within a preset time, and the pressure value of the back of the electronic device continuously obtained within the preset time may be compared with the pressure threshold to determine whether the pressure value of the back of the electronic device increases to the pressure threshold within a preset time. Optionally, the pressure threshold may be a pressure value when the back of the electronic device is in contact with the stand when the electronic device is in stand mode.
[0036] Among them, if it is detected that the pressure value on the back of the electronic device increases to the pressure threshold within a preset time, it can be considered that the back of the electronic device (such as a preset position on the back of the electronic device) is subjected to greater pressure in a short period of time, satisfying the condition that the back of the electronic device is in contact with the bracket. Therefore, the angle of the electronic device detected by the posture sensor can be obtained.
[0037] Among them, if it is detected that the pressure value on the back of the electronic device does not increase to the pressure threshold within the preset time, it can be considered that the back of the electronic device (such as the preset position on the back of the electronic device) has not been subjected to a large pressure in a short time, and the condition that the back of the electronic device is in contact with the bracket is not met. Therefore, the preset application may not be automatically started.
[0038] Step S130: If the angle satisfies the specified angle, a preset application is started.
[0039] In some implementations, the electronic device may be pre-set and store a specified angle, wherein the specified angle is used as a determination angle of the angle at which the electronic device is located. Therefore, in this embodiment, when the angle at which the electronic device is located detected by the posture sensor is obtained, the angle at which the electronic device is located may be compared with the specified angle to determine whether the angle at which the electronic device is located reaches the specified angle.
[0040] Optionally, if the angle at which the electronic device is located is completely consistent with the specified angle, it can be determined that the angle at which the electronic device is located satisfies the specified angle.
[0041] Optionally, if the angle difference between the angle at which the electronic device is located and the specified angle is less than a difference threshold, it can be determined that the angle at which the electronic device is located satisfies the specified angle.
[0042] If the angle of the electronic device does not meet the specified angle, it can be considered that the current posture of the electronic device does not meet the posture of the electronic device placed on the bracket, and therefore, the preset application may not be started.
[0043] If it is determined that the angle of the electronic device satisfies the specified angle, it can be considered that the current posture of the electronic device satisfies the posture of the electronic device placed on the bracket, and therefore, the preset application can be started.
[0044] Optionally, the preset application may be an application that is set as a default for the electronic device, for example, a video application, a navigation application, etc. that is set as a default for the electronic device, which is not limited here.
[0045] Optionally, the preset application may be an application manually selected by the user, for example, a video application, a navigation application, an instant messaging application, etc. manually selected by the user, which is not limited here.
[0046] As an implementable manner, if it is determined that the angle of the electronic device meets the specified angle, a preset application can be started and the target function of the preset application can be entered. As an example, if the preset application is an instant messaging application, the instant messaging application can be started and the video chat function of the instant messaging application can be entered, and a video chat with a preset contact can be directly established, or a video chat with a frequently used contact can be directly established, etc., which is not limited here.
[0047] As another practicable manner, if it is determined that the angle of the electronic device satisfies the specified angle, a preset application may be started, and the state of the electronic device may be determined, and the corresponding target function of the preset application may be entered based on the state of the electronic device. As an example, if the preset application is an instant messaging application, it may be determined whether the state of the electronic device is a horizontal screen state or a vertical screen state, wherein if it is determined that the state of the electronic device is a vertical screen state, the instant messaging application may be started, and the video chat function of the instant messaging application may be entered.
[0048] In some embodiments, during the running of a preset application, the pressure value on the back of the electronic device can continue to be detected by the pressure sensor. If the pressure value on the back of the electronic device is detected to be very small (such as less than a pressure threshold), it can be considered that the electronic device has exited the stand mode. At this time, the preset application can be exited or the preset application can continue to run, etc., which is not limited here.
[0049] See also Figure 2 , Figure 2 FIG. 1 is a schematic diagram showing an electronic device provided by an embodiment of the present application in a stand mode. Figure 2 As shown, when the electronic device is in the stand mode, the back of the electronic device is in contact with the stand. At this time, the pressure value on the back of the electronic device reaches the pressure value threshold, and the angle of the electronic device meets the specified angle.
[0050] A method for starting an application provided in an embodiment of the present application first obtains a pressure value of the back of an electronic device detected by a pressure sensor provided on the back of the electronic device, and then if the pressure value increases to a pressure threshold within a preset time, obtains the angle of the electronic device detected by a posture sensor provided inside the electronic device, and finally starts a preset application if the angle meets a specified angle, thereby determining whether the electronic device is in a stand mode by detecting the pressure value of the back of the electronic device and the angle of the electronic device, and automatically starting an adapted application when it is determined that the electronic device is in the stand mode, so as to avoid tedious manual operations by the user and improve the user experience.
[0051] See also Figure 3 , Figure 3 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 3 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0052] Step S210: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0053] Step S220: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0054] For the detailed description of step S210 to step S220, please refer to step S110 to step S120, which will not be repeated here.
[0055] Step S230: If the angle satisfies the specified angle, a video application is started, and the volume and / or backlight brightness of the electronic device is adjusted.
[0056] Optionally, the preset application may include a video application.
[0057] As an implementable manner, if the electronic device has only one video application installed, then when the angle meets the specified angle, the video application is directly started, and the volume and / or backlight brightness of the electronic device is adjusted.
[0058] As another feasible manner, if the electronic device has multiple video applications installed, the user can select a video application from the multiple video applications in advance as a target video application. Then, when the angle meets the specified angle, the target video application can be started and the volume and / or backlight brightness of the electronic device can be adjusted.
[0059] As another feasible method, if the electronic device has multiple video applications installed, the electronic device can automatically select one video application from the multiple video applications as the target video application. If the angle meets the specified angle, the target video application can be started, and the volume and / or backlight brightness of the electronic device can be adjusted. Optionally, the electronic device can automatically select the most used video application from multiple video applications as the target video application; can automatically select the most recently used video application from multiple video applications as the target video application; can automatically select the highest rated video application from multiple video applications as the target video application; can automatically select a video application with unfinished videos in the playback record from multiple video applications as the target video application, etc., without limitation here.
[0060] In some embodiments, the volume of the electronic device can be automatically adjusted when a video application is launched; the backlight brightness of the electronic device can be automatically adjusted when a video application is launched; or the volume and backlight brightness of the electronic device can be automatically adjusted when a video application is launched.
[0061] As an implementable manner, when a video application is started, the volume of the electronic device can be automatically adjusted to a preset volume, and / or the backlight brightness of the electronic device can be automatically adjusted to a preset backlight brightness.
[0062] As another practicable method, when starting a video application, a target volume and a target backlight brightness can be determined according to the current time. Based on this, the volume of the electronic device can be automatically adjusted to the target volume, and / or the backlight brightness of the electronic device can be automatically adjusted to the target backlight brightness. Optionally, if the current time is daytime, the target volume can be set to a higher volume and the target backlight brightness can be set to a higher backlight brightness. If the current time is nighttime, the target volume can be set to a lower volume and the target backlight brightness can be set to a lower backlight brightness.
[0063] As another practicable manner, when starting a video application, a target volume and a target backlight brightness can be determined according to the current environment. Based on this, the volume of the electronic device can be automatically adjusted to the target volume, and / or the backlight brightness of the electronic device can be automatically adjusted to the target backlight brightness. Optionally, if the current environment is characterized by a large number of people around, the target volume can be set to a higher volume and the target backlight brightness can be set to a higher backlight brightness. If the current environment is characterized by a small number of people around, the target volume can be set to a lower volume and the target backlight brightness can be set to a lower backlight brightness.
[0064] As another practicable manner, when starting a video application, a target volume and a target backlight brightness can be determined according to the current position. Based on this, the volume of the electronic device can be automatically adjusted to the target volume, and / or the backlight brightness of the electronic device can be automatically adjusted to the target backlight brightness. Optionally, if the current position indicates that the user is outdoors, the target volume can be set to a higher volume and the target backlight brightness can be set to a higher backlight brightness. If the current position indicates that the user is indoors, the target volume can be set to a lower volume and the target backlight brightness can be set to a lower backlight brightness.
[0065] The method for starting an application provided by an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor set on the back of the electronic device. If the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor set inside the electronic device is obtained. Finally, if the angle meets the specified angle, the video application is started and the volume and / or backlight brightness of the electronic device are adjusted. Compared with Figure 1 The method for starting the application shown in the figure, this embodiment also starts the video application and adjusts the volume and / or backlight brightness of the electronic device when the electronic device is in the stand mode, so as to automatically enter the video application in the stand mode and adjust the adapted audio playback parameters to enhance the user experience.
[0066] See also Figure 4 , Figure 4 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 4 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0067] Step S310: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0068] Step S320: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0069] For the detailed description of step S310 to step S320, please refer to step S110 to step S120, which will not be repeated here.
[0070] Step S330: If the angle satisfies the specified angle, a navigation application is started, and a destination of the navigation application is set to the address most frequently used by the electronic device.
[0071] Optionally, the preset application may include a navigation application.
[0072] As an implementable manner, if the electronic device has only one navigation application installed, then when the angle meets the specified angle, the navigation application is directly started, and the destination of the navigation application is set to the address most frequently used on the electronic device.
[0073] As another feasible manner, if the electronic device has multiple navigation applications installed, the user can select a navigation application from the multiple navigation applications in advance as the target navigation application. Then, when the angle meets the specified angle, the target navigation application can be started, and the destination of the navigation application can be set to the address most frequently used in the electronic device.
[0074] As another feasible method, if an electronic device has multiple navigation applications installed, the electronic device may automatically select one navigation application from the multiple navigation applications as a target navigation application. If the angle satisfies the specified angle, the target navigation application may be started, and the destination of the navigation application may be set to the address most frequently used on the electronic device. Optionally, the electronic device may automatically select the most used navigation application from multiple navigation applications as the target navigation application; may automatically select the most recently used navigation application from multiple navigation applications as the target navigation application; may automatically select the highest-rated navigation application from multiple navigation applications as the target navigation application; may automatically select a navigation application with unfinished navigation in the navigation record from multiple navigation applications as the target navigation application, etc., without limitation here.
[0075] In some embodiments, if the number of most frequently used addresses on the electronic device is one, the destination of the navigation application can be directly set to the most frequently used address; if the number of most frequently used addresses on the electronic device is multiple, selection information for multiple addresses can be output for the user to select a target address from the multiple addresses and the destination of the navigation application can be set to the target address, etc., without limitation here.
[0076] The method for starting an application provided by an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor set on the back of the electronic device. If the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor set inside the electronic device is obtained. Finally, if the angle meets the specified angle, the navigation application is started and the destination of the navigation application is set to the address with the highest frequency of use of the electronic device. Compared with Figure 1The method for starting the application shown in the figure, this embodiment also starts the navigation application and automatically sets the frequently used addresses when the electronic device is in the stand mode, so as to automatically enter the navigation application in the stand mode and use the frequently used addresses for navigation, thereby improving the user experience.
[0077] See also Figure 5 , Figure 5 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 5 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0078] Step S410: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0079] Step S420: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0080] For the detailed description of step S410 to step S420, please refer to step S110 to step S120, which will not be repeated here.
[0081] Step S430: If the angle satisfies the specified angle, the position of the electronic device is determined.
[0082] In this embodiment, if it is determined that the angle of the electronic device meets the specified angle, it can be considered that the current posture of the electronic device meets the posture of the electronic device placed on the bracket, and the position of the electronic device can be determined.
[0083] Optionally, determining the location of the electronic device may include: determining a static location of the electronic device, or determining a dynamic change of the location of the electronic device.
[0084] In some implementations, the electronic device may have a built-in positioning module. When the angle of the electronic device meets a specified angle, the position of the electronic device may be determined by the built-in positioning module.
[0085] In some embodiments, if it is determined that the angle of the electronic device meets the specified angle, the position of the electronic device can be determined in real time, the position of the electronic device can be determined at a preset time interval, the position of the electronic device can be determined at a preset time point, the position of the electronic device can be determined according to other preset conditions, etc., which are not limited here.
[0086] Step S440: Start a preset application corresponding to the location.
[0087] In this embodiment, when the location of the electronic device is determined, a preset application corresponding to the location can be launched, so that the launched preset application is adapted to the location of the electronic device, thereby improving the startup adaptability of the preset application and improving the user experience.
[0088] In some implementations, the electronic device may be pre-set and store a first mapping relationship, wherein the first mapping relationship may include multiple locations, multiple preset applications, and a correspondence between multiple locations and multiple preset applications, wherein the correspondence between multiple locations and multiple preset applications may include: one location corresponds to one preset application, multiple locations correspond to one preset application, etc., which are not limited here. Based on this, when determining the location of the electronic device, the preset application corresponding to the location of the electronic device may be determined based on the first mapping relationship, and the preset application corresponding to the location of the electronic device may be started.
[0089] As an example, if the location of the electronic device represents that the electronic device is indoors, it can be considered that the user desires to watch a video through the electronic device, and a preset video application can be started; if the location of the electronic device represents that the electronic device is outdoors, it can be considered that the user desires to navigate through the electronic device, and a preset navigation application can be started.
[0090] The method for starting an application provided by an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor. If the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained. If the angle meets the specified angle, the position of the electronic device is determined, and the preset application corresponding to the position is started. Figure 1 The method for starting an application shown in the figure, this embodiment also automatically starts an application corresponding to the position of the electronic device when the electronic device is in the stand mode, thereby ensuring the adaptability of the started application and improving the user experience.
[0091] See also Figure 6 , Figure 6 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 6 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0092] Step S510: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0093] Step S520: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0094] For the detailed description of step S510 to step S520, please refer to step S110 to step S120, which will not be repeated here.
[0095] Step S530: If the angle satisfies the specified angle, the motion state of the electronic device is determined.
[0096] In this embodiment, if it is determined that the angle of the electronic device satisfies the specified angle, it can be considered that the current posture of the electronic device satisfies the posture of the electronic device placed on the bracket, and the motion state of the electronic device can be determined. Optionally, the motion state of the electronic device can include being in a moving state or being in a stationary state.
[0097] As an implementable manner, the electronic device may be equipped with a built-in positioning module. When the angle of the electronic device satisfies a specified angle, the built-in positioning module may be used to determine the motion state of the electronic device. Optionally, if the position of the electronic device determined by the positioning module does not change within a specified time period, the motion state of the electronic device may be determined to be a stationary state; if the position of the electronic device determined by the positioning module changes within a specified time period, the motion state of the electronic device may be determined to be a moving state.
[0098] As another practicable manner, the electronic device may be equipped with a built-in speed sensor. When the angle of the electronic device satisfies a specified angle, the built-in speed sensor may be used to determine the motion state of the electronic device. Optionally, if the speed of the electronic device is determined to be 0 based on the speed sensor, the motion state of the electronic device may be determined to be a stationary state; if the speed of the electronic device is determined to be not 0 based on the speed sensor, the motion state of the electronic device may be determined to be a moving state.
[0099] In some embodiments, if it is determined that the angle of the electronic device meets the specified angle, the motion state of the electronic device can be determined in real time, the motion state of the electronic device can be determined at a preset time interval, the motion state of the electronic device can be determined at a preset time point, the motion state of the electronic device can be determined according to other preset conditions, etc., which are not limited here.
[0100] Step S540: starting a preset application corresponding to the motion state.
[0101] In this embodiment, when the motion state of the electronic device is determined, a preset application corresponding to the motion state can be started, so that the started preset application is adapted to the motion state of the electronic device, thereby improving the startup adaptability of the preset application and improving the user experience.
[0102] In some embodiments, the electronic device may be pre-set and store a second mapping relationship, wherein the second mapping relationship may include multiple motion states, multiple preset applications, and correspondences between multiple motion states and multiple preset applications, wherein the correspondences between multiple motion states and multiple preset applications may include: one motion state corresponds to one preset application, multiple motion states correspond to one preset application, etc., which are not limited here. Based on this, when determining the motion state of the electronic device, the preset application corresponding to the motion state of the electronic device may be determined based on the second mapping relationship, and the preset application corresponding to the motion state of the electronic device may be started.
[0103] As an example, if the motion state of the electronic device represents that the electronic device is in a stationary state, it can be considered that the user desires to watch a video through the electronic device, and a preset video application can be started; if the motion state of the electronic device represents that the electronic device is in a moving state, it can be considered that the user desires to navigate through the electronic device, and a preset navigation application can be started.
[0104] The method for starting an application provided in an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor. If the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained. If the angle meets the specified angle, the motion state of the electronic device is determined, and the preset application corresponding to the motion state is started. Figure 1 The method for starting an application shown in the figure, this embodiment also automatically starts an application corresponding to the motion state of the electronic device when the electronic device is in the stand mode, thereby ensuring the adaptability of the started application and improving the user experience.
[0105] See also Figure 7 , Figure 7 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 7 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0106] Step S610: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0107] For the detailed description of step S610 , please refer to step S110 , which will not be repeated here.
[0108] Step S620: If the pressure value increases to a pressure threshold within a preset time, the state information of the electronic device is determined, wherein the state information includes being in a gripping state or being in a non-gripping state.
[0109] Among them, when the electronic device is in the stand mode, that is, the back of the electronic device is in contact with the stand, the pressure value of the back of the electronic device will increase to the pressure threshold within a preset time, or when the electronic device is in the holding mode, that is, the back of the electronic device is in contact with the user's finger, the pressure value of the back of the electronic device may also increase to the pressure threshold within a preset time. Therefore, when it is determined that the pressure value of the back of the electronic device increases to the pressure threshold within the preset time, it can be further determined whether it is due to the contact between the back of the electronic device and the stand or the contact between the back of the electronic device and the finger.
[0110] In this embodiment, if it is determined that the pressure value on the back of the electronic device increases to the pressure threshold within a preset time, the state information of the electronic device can be determined. Optionally, the state information of the electronic device can include being in a gripping state or being in a non-gripping state.
[0111] As an implementable manner, the electronic device may be provided with a touch sensor. If it is determined that the pressure value on the back of the electronic device increases to a pressure threshold within a preset time, the touch sensor may detect the touch data acting on the electronic device, and compare the detected touch data with the specified touch data when the electronic device is in a gripping state to determine whether the detected touch data matches the specified touch data. If they match, it may be determined that the state information of the electronic device is in a gripping state; if they do not match, it may be determined that the state information of the electronic device is in a non-gripping state.
[0112] As another practicable manner, a pressure sensor may be provided on one side of the touch screen of the electronic device, and if it is determined that the pressure value of the back of the electronic device increases to a pressure threshold within a preset time, the pressure value of the touch screen may be detected by the pressure sensor provided on one side of the touch screen. If the pressure sensor provided on one side of the touch screen detects that there is a touch operation on the touch screen, it may be determined that the state information of the electronic device is in a gripping state; if the pressure sensor provided on one side of the touch screen detects that there is no touch operation on the touch screen, it may be determined that the state information of the electronic device is in a non-gripping state.
[0113] Step S630: If it is determined based on the state information that the electronic device is in a non-held state, then the angle of the electronic device detected by the posture sensor is obtained.
[0114] Among them, if it is determined that the electronic device is in a non-holding state based on the status information of the electronic device, it can be considered that the pressure value on the back of the electronic device increases to the pressure threshold within the preset time due to the contact between the back of the electronic device and the bracket. Therefore, the angle of the electronic device detected by the posture sensor can be obtained to further determine whether the electronic device is in the bracket mode.
[0115] Among them, if it is determined based on the status information of the electronic device that the electronic device is in a holding state, it can be considered that the pressure value on the back of the electronic device increases to the pressure threshold within the preset time due to the contact between the back of the electronic device and the finger. Therefore, the preset application can be not started.
[0116] Step S640: If the angle satisfies the specified angle, a preset application is started.
[0117] For the detailed description of step S640, please refer to step S130, which will not be repeated here.
[0118] The method for starting an application provided by an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor. If the pressure value increases to the pressure threshold within a preset time, the state information of the electronic device is determined, wherein the state information includes being in a gripping state or being in a non-gripping state. If the electronic device is determined to be in a non-gripping state based on the state information, the angle of the electronic device detected by the posture sensor is obtained. If the angle meets the specified angle, the preset application is started. Compared with Figure 1 The method for starting the application shown in the figure, this embodiment also automatically starts the application when the electronic device is in a non-held state, avoiding the erroneous judgment that it is in the stand mode in the held state, and improving the judgment accuracy of the stand model.
[0119] See also Figure 8 , Figure 8 The flowchart of the method for starting an application provided by an embodiment of the present application is shown. The method is applied to an electronic device, wherein a posture sensor is provided inside the electronic device and a pressure sensor is provided on the back. Figure 8 The process shown is described in detail, and the method for starting the application may specifically include the following steps:
[0120] Step S710: Acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0121] Step S720: If the pressure value increases to a pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained.
[0122] For the detailed description of step S710 to step S720, please refer to step S110 to step S120, which will not be repeated here.
[0123] Step S730: If the angle satisfies the specified angle, the front camera of the electronic device is controlled to capture an image, and the image captured by the front camera is obtained.
[0124] Optionally, the electronic device may include a front camera, and may capture images through the front camera.
[0125] The front camera may be an always-on device built into the electronic device, wherein the always-on device may be a low-power image acquisition device and a sound acquisition device that can be always-on. Alternatively, the front camera may be turned off by default and may be turned on based on a control instruction, for example, when the angle of the electronic device meets a specified angle, the front camera may be turned on in response to a control instruction.
[0126] In this embodiment, if it is determined that the angle at which the electronic device is located satisfies the specified angle, the front camera of the electronic device may be controlled to capture an image, and the image captured by the front camera may be acquired.
[0127] In some embodiments, the front camera can be controlled to capture images in real time; the front camera can be controlled to capture images at preset time intervals; the front camera can be controlled to capture images at preset time points; the front camera can be controlled to capture images based on operating instructions; the front camera can be controlled to capture images according to other preset rules, etc., which are not limited here.
[0128] Step S740: If the image includes a face, start the preset application.
[0129] In this embodiment, when an image captured by the front camera is obtained, it can be detected whether the image includes a human face. If it is detected that the image includes a human face, it can be considered that the user is paying attention to the content displayed by the electronic device, and a preset application can be started to improve the user experience; if it is detected that the image does not include a human face, it can be considered that the user is not paying attention to the content displayed by the electronic device, and the preset application can be not started to reduce the power consumption of the electronic device.
[0130] In some embodiments, when an image captured by a front camera is acquired, a face detection algorithm may be used to detect whether the image includes a face. Optionally, the face detection algorithm may include a knowledge rule-based method, an invariant feature-based method, a template matching-based method, a statistical model-based method, etc., which are not limited here.
[0131] In some embodiments, if it is determined that the image captured by the front camera includes a face, the gaze point position corresponding to the face can be determined, and if the gaze point position is located within the screen of the electronic device, a preset application is started. Among them, even if the image captured by the front camera includes a face, it cannot be determined that the user corresponding to the face is paying attention to the content displayed by the electronic device. Therefore, it can be further determined whether the user is paying attention to the content displayed by the electronic device by whether the gaze point position is located within the screen. Optionally, if the gaze point position is located within the screen of the electronic device, it can be determined that the user is paying attention to the content displayed by the electronic device, and the preset application can be started to improve the user experience; if the gaze point position is not located within the screen of the electronic device, it can be determined that the user is not paying attention to the content displayed by the electronic device, and the preset application can be not started to reduce the power consumption of the electronic device.
[0132] As an implementable method, a neural network model can be obtained in advance, and the neural network model can be used to detect the gaze point position. In one embodiment, after acquiring an image including a face, the image including the face can be input into the neural network model to obtain information output by the neural network model.
[0133] In some embodiments, the neural network model can be stored in the electronic device after being trained by the electronic device, or it can be stored in the electronic device after being trained by other devices or servers, etc., which is not limited here. Among them, in the case where the neural network model is stored locally in the electronic device, after acquiring the image including the face, the neural network model can be directly called locally in the electronic device. For example, an instruction can be directly sent to the neural network model to instruct the neural network model to read the image including the face in the target storage area, or the electronic device can directly input the image including the face into the neural network model stored locally, thereby effectively avoiding the influence of network factors to reduce the speed of inputting the image including the face into the neural network model, so as to improve the speed of the neural network model to acquire the image including the face and improve the user experience.
[0134] In some embodiments, the neural network model can be stored on a server after training by an electronic device, or it can be stored on a server after training by other devices or servers, etc., which is not limited here. Wherein, in the case where the neural network model is stored on a server, after acquiring an image including a face, an instruction can be sent to the neural network model stored on the server through the network to instruct the neural network model to read the face image captured by the camera of the electronic device through the network, or the electronic device can send the image including the face to the neural network model stored on the server through the network, thereby reducing the storage space occupied by the electronic device and reducing the impact on the normal operation of the electronic device by storing the neural network model on the server.
[0135] In one embodiment of the present application, since the neural network model can be used to detect the gaze point position, when the neural network model detects that an image including a face includes an eye image, the information output by the neural network model may include the gaze point position of the eyeball, which will not be described in detail here.
[0136] When it is determined that the information output by the neural network model includes the gaze point position of the eyeball, it is possible to determine whether the gaze point is within the screen based on the gaze point position and the distance between the gaze point position and the camera. For example, when the gaze point position is within the position area corresponding to the screen, it can be determined that the gaze point is within the screen, and when the gaze point position is not within the position area corresponding to the screen, it can be determined that the gaze point is not within the screen.
[0137] In some embodiments, if the preset application involves private information, the face identity is authenticated, and if the identity authentication is passed, the preset application is started. The preset application may or may not involve private information. For example, if the preset application is a payment application, a banking application, or an instant messaging application, it can be determined that the preset application involves private information; if the preset application is a navigation application or a video application, it can be determined that the preset application does not involve private information. In addition, the information security of the electronic device can be guaranteed, and whether the preset application involves private information can be detected, and if it is detected that the preset application involves private information, the user is authenticated, and the preset application is started if the identity authentication is passed; if it is detected that the preset application does not involve private information, the user can be authenticated without being authenticated, and the preset application can be directly started.
[0138] As an implementable method, identity authentication can be performed based on the face in the image previously captured by the front camera. Specifically, the electronic device can pre-capture the face of a legitimate user as a preset face and store it. In the case of a face in the image captured by the front camera, the face can be compared with the preset face to determine whether the face matches the preset face. If the face matches the preset face, it can be determined that the identity authentication is passed; if the face does not match the preset face, it can be determined that the identity authentication is not passed.
[0139] The method for starting an application provided in an embodiment of the present application obtains the pressure value of the back of the electronic device detected by the pressure sensor. If the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor is obtained. If the angle meets the specified angle, the front camera of the electronic device is controlled to capture an image, and the image captured by the front camera is obtained. If the image includes a face, the preset application is started. Figure 1 The method for starting the application shown in the figure also starts the application when it is determined that the electronic device is in the stand mode and a face is captured, so as to balance the user's usage experience and the power consumption of the electronic device.
[0140] See also Fig. 9 , Fig. 9 The module block diagram of the application startup device provided by an embodiment of the present application is shown. The application startup device 200 is applied to the above electronic device, which is provided with a posture sensor inside and a pressure sensor on the back. Fig. 9 The block diagram shown in the figure is used to illustrate that the application startup device 200 includes: a pressure value acquisition module 210, an angle acquisition module 220 and an application startup module 230, wherein:
[0141] The pressure value acquisition module 210 is used to acquire the pressure value of the back of the electronic device detected by the pressure sensor.
[0142] The angle acquisition module 220 is configured to acquire the angle of the electronic device detected by the posture sensor if the pressure value increases to a pressure threshold within a preset time.
[0143] Furthermore, the angle acquisition module 220 includes: a state information determination submodule and an angle acquisition submodule, wherein:
[0144] The state information determination submodule is used to determine the state information of the electronic device if the pressure value increases to the pressure threshold within a preset time, wherein the state information includes being in a holding state or being in a non-holding state.
[0145] The angle acquisition submodule is used to acquire the angle of the electronic device detected by the posture sensor if it is determined that the electronic device is in a non-holding state based on the state information.
[0146] The application launching module 230 is configured to launch a preset application if the angle satisfies a specified angle.
[0147] Furthermore, the application program startup module 230 includes: a video application program startup submodule, wherein:
[0148] The video application startup submodule is used to start the video application and adjust the volume and / or backlight brightness of the electronic device.
[0149] Furthermore, the application startup module 230 includes: a navigation application startup submodule, wherein:
[0150] The navigation application startup submodule is used to start the navigation application and set the destination of the navigation application to the address most frequently used by the electronic device.
[0151] Furthermore, the application startup module 230 includes: a location determination submodule and a first application startup submodule, wherein:
[0152] The location determination submodule is used to determine the location of the electronic device.
[0153] The first application program launching submodule is configured to launch a preset application program corresponding to the location.
[0154] Furthermore, the application startup module 230 includes: a motion state determination submodule and a second application startup submodule, wherein:
[0155] The motion state determination submodule is used to determine the motion state of the electronic device.
[0156] The second application program starting submodule is used to start a preset application program corresponding to the motion state.
[0157] Furthermore, the application startup module 230 includes: an image acquisition submodule and a third application startup submodule, wherein:
[0158] The image acquisition submodule is used to control the front camera of the electronic device to acquire images and obtain the images acquired by the front camera.
[0159] The third application launching submodule is used to launch the preset application if the image includes a face.
[0160] Further, the third application startup submodule includes: a gaze point position determination unit and a first application startup unit, wherein:
[0161] A gaze point position determining unit is used to determine the gaze point position corresponding to the face if the image includes the face.
[0162] The first application program starting unit is used to start the preset application program if the gaze point is located within the screen of the electronic device.
[0163] Furthermore, the third application startup submodule includes: an identity authentication unit and a second application startup unit, wherein:
[0164] The identity verification unit is used to verify the identity of the human face if the preset application involves private information.
[0165] The second application program starting unit is used to start the preset application program if the identity authentication is passed.
[0166] 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.
[0167] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.
[0168] 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.
[0169] See also Fig.10 , 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.
[0170] 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.
[0171] 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 at least one function (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.
[0172] See also Fig.11 , 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.
[0173] 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.
[0174] In summary, the application startup method, device, electronic device and storage medium provided in the embodiments of the present application first obtain the pressure value of the back of the electronic device detected by the pressure sensor set on the back of the electronic device, and then if the pressure value increases to the pressure threshold within a preset time, the angle of the electronic device detected by the posture sensor set inside the electronic device is obtained, and finally if the angle meets the specified angle, the preset application is started, so as to determine whether the electronic device is in the stand mode by detecting the pressure value on the back of the electronic device and the angle of the electronic device, and automatically start the adapted application when it is determined that the electronic device is in the stand mode, so as to avoid the user from performing tedious manual operations and improve the user experience.
[0175] 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 starting an application, characterized in that: Applied to an electronic device, wherein a posture sensor is disposed inside the electronic device and a pressure sensor is disposed on the back thereof, the method comprising: Acquire a pressure value of the back of the electronic device detected by the pressure sensor; If the pressure value increases to a pressure threshold within a preset time, acquiring the angle of the electronic device detected by the posture sensor; If the angle satisfies the specified angle, a preset application is started.
2. The method according to claim 1, characterized in that The starting of the preset application comprises: A video application is launched, and the volume and / or backlight brightness of the electronic device is adjusted.
3. The method according to claim 1, characterized in that The starting of the preset application comprises: A navigation application is started, and a destination of the navigation application is set to an address most frequently used by the electronic device.
4. The method according to any one of claims 1 to 3, characterized in that: The starting of the preset application comprises: Determining the location of the electronic device; A preset application corresponding to the location is launched.
5. The method according to any one of claims 1 to 3, characterized in that: The starting of the preset application comprises: Determining a motion state of the electronic device; A preset application corresponding to the motion state is started.
6. The method according to any one of claims 1 to 3, characterized in that: If the pressure value increases to a pressure threshold within a preset time, acquiring the angle of the electronic device detected by the posture sensor includes: If the pressure value increases to a pressure threshold within a preset time, determining the state information of the electronic device, wherein the state information includes being in a gripping state or being in a non-gripping state; If it is determined based on the state information that the electronic device is in a non-holding state, the angle of the electronic device detected by the posture sensor is acquired.
7. The method according to any one of claims 1 to 3, characterized in that: The starting of the preset application comprises: Controlling the front camera of the electronic device to collect images, and obtaining the images collected by the front camera; If the image includes a human face, the preset application is started.
8. The method according to claim 7, characterized in that If the image includes a face, starting the preset application includes: If the image includes the human face, determining a gaze point position corresponding to the human face; If the gaze point is located within the screen of the electronic device, the preset application is started.
9. The method according to claim 7, characterized in that: The starting of the preset application comprises: If the preset application involves private information, performing identity authentication on the face; If the identity authentication is passed, the preset application is started.
10. A device for starting an application, characterized in that: Applied to electronic equipment, the electronic equipment is provided with a posture sensor inside and a pressure sensor on the back, the device comprises: A pressure value acquisition module, used to acquire the pressure value of the back of the electronic device detected by the pressure sensor; An angle acquisition module, configured to acquire the angle of the electronic device detected by the posture sensor if the pressure value increases to a pressure threshold within a preset time; The application program starting module is used to start a preset application program if the angle meets the specified angle.
11. An electronic device, characterized in that: The method comprises 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 method according to any one of claims 1 to 9.
12. 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 9.