Application management method, electronic equipment, chip system and readable storage medium
By displaying the password input area when the usage time of the Learning Space application exceeds the limit, the user enters the correct password and triggers the application exit process. This solves the problem of the system being unable to return to normal display after the Learning Space application is killed, and achieves effective application management and control. Improvement of performance and user experience.
Patent Information
- Application Number
- CN202411199004.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-08-29
AI Technical Summary
When the existing technology is used to manage and control learning space applications, the system cannot be restored to a normally displayed desktop after the application is killed, resulting in a problem of ineffective management and control.
By displaying the password input area when the usage time of the learning space application exceeds the limit, the user enters the correct password and triggers the application exit process to avoid directly killing the application, thereby restoring the normal desktop interface.
It effectively avoids the failure of management and control of learning space applications, ensures that the system can be restored to the normally displayed desktop, improves the user experience, and avoids the problem of function blocking caused by the application being killed.
Smart Images

Figure CN118708282A
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an application management method, an electronic device, a chip system and a readable storage medium. Background Art
[0002] The learning space application provides a learning space, which is an educational desktop for children to learn. In the learning space, electronic devices block some functions and applications that are not related to learning, thus creating a learning environment.
[0003] During the application process, the electronic device can control the learning space application and limit the usage time of the learning space application. When the usage time of the learning space application exceeds the usable time, the learning space application is usually killed.
[0004] However, after killing the learning space application, the electronic device cannot be restored to the normal display desktop, resulting in the failure of the control of the learning space application. Summary of the invention
[0005] The present application provides an application management method, an electronic device, a chip system and a readable storage medium, which can solve the problem of failure of learning space application management and control in related technologies. The technical solution is as follows: In a first aspect, an application management method is provided, which is applied to an electronic device, and the method includes: Display a first interface, the first interface including a first control and a second control; in response to a first operation, start a first application; after the first application is started, display a second interface, the second interface including the first control but not the second control; if the usage time of the first application exceeds the first time, display a third interface, the third interface including a password input area; receive input password information based on the password input area; in response to the input password information being correct, exit the first application and resume display of the first interface.
[0006] As an example, the first interface may be a desktop interface, or may be other interfaces under normal system display conditions, such as a display interface of a notification center.
[0007] The first control and the second control may be application icons or function controls, for example, the first control is a calculator application icon and the second control is a game application icon. For another example, the first control is a flashlight control in the control center and the second control is a player control.
[0008] The first operation may be a start operation of the first application, such as a click operation on the application icon of the first application.
[0009] As an example of the present application, the first application is also called a learning space application, and of course it can also be called other names.
[0010] The second interface may be the main interface of the learning space application. The third interface is a control prompt interface including a password input area.
[0011] In this way, after the control time of the first application is reached, by displaying the password input area, when the user enters the correct password, the first application is triggered to execute the exit process, avoiding the problem of directly killing the first application and causing the control of the first application to become invalid.
[0012] As an example of the present application, when the usage time of the first application exceeds the first time period, the third interface is displayed, including: in response to the usage time of the first application exceeding the first time period, the fourth interface is displayed, and the fourth interface is a control prompt interface for prompting the user that the first application is controlled; after receiving the second operation based on the fourth interface, the third interface is displayed.
[0013] The fourth interface is a control prompt interface that does not display the password input area.
[0014] As an example, the second operation may be a slide operation on the fourth interface, or the second operation may also be a trigger operation on a third control in the fourth interface, such as the third control being a “Got it” control displayed in the fourth interface.
[0015] When the control prompt interface is displayed, the user can trigger the electronic device to display the password input area through the second operation to avoid directly killing the first application, thereby avoiding the problem that the system cannot be restored to the first interface after killing the first application.
[0016] As an example of the present application, after receiving the second operation based on the fourth interface, the third interface is displayed, including: after receiving the second operation based on the fourth interface, querying the application information corresponding to the fourth interface; when the application information corresponding to the fourth interface is the application information of the first application, displaying the third interface.
[0017] In this way, for the management and control of the first application, the password input interface is first displayed, and when the password information entered is correct, the first application is triggered to execute the exit process, thereby avoiding directly killing the first application and causing the management and control of the first application to become invalid.
[0018] Optionally, when the application information corresponding to the fourth interface is not the application information of the first application, the first application can be directly killed.
[0019] As an example of the present application, in response to the password information being entered being correct, the first application is exited and the first interface is restored to display, including: in response to the password information being entered being correct, the second application sends first flag information to the first application, the second application is used to manage the first application, and the first flag information is used to instruct the first application to execute an exit process; after the first application receives the first flag information, it executes the exit process to allow the electronic device to restore display of the first interface.
[0020] Exemplarily, the second application may be called a healthy use tablet application.
[0021] In this way, when the input password information is correct, the second application triggers the first application to execute the exit process by sending the first flag information to the first application, so that the electronic device can restore the normal desktop.
[0022] As an example of the present application, the method also includes: when the first application is started, querying the control information of the first application based on the application information of the first application; when the control information indicates that the first application is not allowed to run, stopping the startup process; when the control information indicates that the first application is allowed to run, continuing to start the first application.
[0023] In this way, by checking whether the first application is allowed to start, if the first application is not allowed to start, the startup process is stopped, avoiding the phenomenon of requiring the user to enter password information during the startup process of the learning space application, thereby avoiding the problem of the display effect being inconsistent with the interface experience that the user should see. In addition, the problem of the electronic device continuously displaying the control prompt interface during the startup process can be avoided.
[0024] As an example of the present application, when the first application is started, the control information of the first application is queried according to the application information of the first application, including: when the first application is started, the first application queries the control information of the first application from a target list in the database of the second application based on the application information of the first application, and the target list is used to record the control information of all applications controlled by the second application.
[0025] In this way, whether the first application is allowed to be started is determined by querying the target list in the database corresponding to the second application, thereby improving the efficiency of determination.
[0026] As an example of the present application, when the control information of the first application is the second flag information, it is used to indicate that the first application is not prohibited from starting and the usage time of the first application within the second time period does not exceed the first time period; when the control information of the first application is the third flag information, it is used to indicate that the first application is prohibited from starting and / or the usage time of the first application within the second time period exceeds the first time period.
[0027] Exemplarily, the second flag information is "0" and the third flag information is "1".
[0028] In this way, by determining whether the first application is prohibited from starting and determining the usage time of the first application within the second time period, the first application can be effectively managed and controlled.
[0029] As an example of the present application, the method further includes: when the first application is started, if the control information of the first application indicates that the first application is allowed to run, then the fourth interface is not displayed, and the fourth interface is a control prompt interface for prompting the user that the first application is controlled. In this way, it can be avoided that the first application cannot be started normally due to the display of the fourth interface.
[0030] As an example of the present application, the method also includes: when the first application is started, if the control information of the first application indicates that the first application is not allowed to run, a fourth interface is displayed, and the fourth interface is a control prompt interface for prompting the user that the first application is controlled; in response to a third operation on the fourth interface, the first application is killed.
[0031] The third operation may be the same as the second operation.
[0032] Thus, when the first application is not allowed to start, the fourth interface is displayed so that the user can know that the first application is restricted. When the third operation is received, the first application is killed, and the system can be restored to the first interface, so as not to affect the user's use of other functions.
[0033] As an example of the present application, the method further includes: receiving a fourth operation through the second application, the fourth operation is used to set a first duration corresponding to the first application, and the second application is used to control the first application. In this way, by receiving the fourth operation in the second application and setting the control duration corresponding to the first application, the control of the first application is achieved.
[0034] In a second aspect, an electronic device is provided, comprising: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the application management method as described in any one of the first aspects.
[0035] In a third aspect, a chip system is provided, which is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the application management method as described in any one of the first aspects.
[0036] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes instructions, and when the instructions are executed on an electronic device, the electronic device executes the application management method as described in any one of the first aspects.
[0037] In a fifth aspect, a computer program product comprising instructions is provided, which, when executed on a computer, enables the computer to execute the application management method described in the first aspect.
[0038] The technical effects obtained by the above-mentioned second, third, fourth and fifth aspects are similar to the technical effects obtained by the corresponding technical means in the above-mentioned first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 is a schematic diagram of a setting flow of application management according to an exemplary embodiment; Figure 2 is a schematic diagram of a management and control prompt interface according to an exemplary embodiment; Figure 3 is a schematic diagram of a framework of a software system of an electronic device according to an exemplary embodiment; Figure 4 is a flowchart of an application management method according to an exemplary embodiment; Figure 5 is a schematic diagram of an interface of a learning space application startup process according to an exemplary embodiment; Figure 6 is a schematic diagram of an interface of a learning space application startup process according to another exemplary embodiment; Figure 7 is a schematic diagram of a third interface according to an exemplary embodiment; Figure 8 is a flowchart of an application management method according to another exemplary embodiment; Fig. 9 The diagram is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0040] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.
[0041] It should be understood that the "multiple" mentioned in this application refers to two or more. In the description of this application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in order to facilitate the clear description of the technical solution of this application, the words "first" and "second" are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not limit them to be different.
[0042] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0044] Electronic devices such as tablet computers have gradually become indispensable products in people's daily lives. Electronic devices can be installed with various applications to provide users with various types of services. For example, electronic devices can be installed with learning space applications, which can provide learning spaces. In the learning space, certain options can be set (either by default on the electronic device or by the user) to make certain applications and functions in the system invisible. For example, after the learning space application is started, the learning space application can trigger the system to block some applications and functions that are not related to learning, so as to control applications and functions that are not related to learning, thereby creating a learning environment.
[0045] In order to prevent users (such as children) from being addicted to electronic devices for a long time, electronic devices also provide an application control function, which can limit the usage time of applications. When the usage time of a controlled application exceeds the usable time, the electronic device will display a control prompt interface, making it impossible for the user to continue to use the controlled application.
[0046] As an example, let's take the example of controlling the learning space application through the application control function. Figure 1 When the user wants to control the learning space application, he can trigger the electronic device to open the settings application and display the following Figure 1 The setting application interface S1 shown in (a) includes a first area S11. The first area S11 includes multiple setting items, such as the "Healthy Use of Tablet Applications" setting item 10, and also includes "Battery", "Storage", "Security" and other setting items. Among them, when the "Healthy Use of Tablet Applications" setting item 10 is selected, the setting application interface S1 also includes a second area S12. The second area S12 can be used to trigger the setting of relevant parameters of the application management function. For example, the second area S12 includes a "Select User" setting item 11. The user can trigger the electronic device to set a child usage mode for the child to use the electronic device based on the "Select User" setting item 11. In the child usage mode, the second area S12 also includes an "Application Limit" setting item 12. In response to the user's click operation on the "Application Limit" setting item 12, see Figure 1 In (b), the electronic device displays an application control setting interface S2, and the application control setting interface S2 can be used to trigger the electronic device to set parameters such as the available time of the application to be controlled. The application control setting interface S2 includes multiple application icons, and any application icon of the multiple application icons corresponds to a triggerable control. For example, the multiple application icons include an application icon of a learning space application, and the triggerable control corresponding to the application icon of the learning space application is control 13. When the user wants to make control settings for the learning space application, the user can click on the triggerable control 13 corresponding to the application icon of the learning control application. In response to the user's click operation on the triggerable control 13 corresponding to the application icon of the learning space application, see Figure 1 In (c), the electronic device displays a time setting window 14 in the application management setting interface S2 , so that the user can trigger the electronic device to set the usable time of the learning space application based on the time setting window 14 .
[0047] For example, when the user sets the usable time to 30 minutes, after triggering the "OK" control 15 in the time setting window 14, during the use of the learning space application, when the use time of the learning space application exceeds the set usable time (i.e. 30 minutes), the electronic device will display the control prompt interface S3 and no longer display the interface of the learning space application. Figure 2 As shown, the control prompt interface S3 displays the prompt information "Healthy use of tablet applications" and "The "learning space" has been prohibited from use", so that the user knows that the learning space application is prohibited from use by the application control function. In addition, the control prompt interface S3 also includes an "Got it" control 21, and the user can click the "Got it" control 21 in the control prompt interface S3, or the user can slide (including left or right) the control prompt interface S3. In response to this operation of the user, the electronic device will kill the learning space application, thereby realizing the control of the learning space application.
[0048] However, after the learning space application was killed, the learning space application failed to promptly notify the system to cancel the blocking of the applications and functions controlled by the learning space application, resulting in the failure of the control of the learning space application. That is, after the learning space application was killed, the electronic device would still block the applications and functions controlled by the learning space application, causing the system to fail to restore to the normal display desktop.
[0049] It can be seen that when the learning space application is controlled by the application control function, it is easy to cause the control of the learning space application itself to fail. To this end, the embodiment of the present application provides an application management method, which can make the learning space application exit normally when the learning space application is controlled by the application control function, so that the system can be restored to the desktop with normal display, avoiding the failure of the control of the learning space application itself.
[0050] Before explaining the application management method provided in the embodiment of the present application in detail, the electronic device involved in the embodiment of the present application is first explained. The electronic device can be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook computer, a vehicle-mounted device, an ultra-mobile personal computer (UMPC), a netbook, etc., and the embodiment of the present application does not limit this.
[0051] The software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software system of the electronic device.
[0052] Figure 3 is a block diagram of a software system of an electronic device provided in an embodiment of the present application. Figure 3 The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: application layer (application layer, App layer), application framework layer (application framework layer, FWK layer), Android runtime (Androidruntime) and system layer, and kernel layer (kernel kayer).
[0053] The application layer can include a series of application packages. Figure 3 As shown, the application package may include applications such as learning space, healthy use of tablet, etc. In addition, the application package may also include games, email, music, calculator, camera, weather, settings, gallery, etc. (not shown in the figure). In one example, the function of the healthy use of tablet application can be integrated into the settings application.
[0054] These applications can be used to interact directly with users. These applications can be system built-in applications or non-system level applications. And these applications can have icons and application interfaces, or have application interfaces without icons, or have neither icons nor application interfaces.
[0055] The application framework layer provides application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions. Figure 3 As shown in the figure, the application framework layer can include the activity manager service (AMS), etc. AMS is mainly used to uniformly schedule various applications in the application layer. In the Android system, when an application wants to start a new activity, it must report to AMS, and AMS internally records all applications. Since AMS has records of all activities, AMS can schedule these activities and automatically kill background activities according to the status of the activity and system memory.
[0056] In addition, the application framework layer also includes window managers, content providers, view systems, resource managers, etc.
[0057] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0058] Content providers are used to store and retrieve data and make it accessible to applications. These data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0059] The view system includes visual controls, such as controls for displaying text and controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0060] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0061] The system library can include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), window system (SurfaceFlinger), etc.
[0062] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0063] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0064] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0065] A 2D graphics engine is a drawing engine for 2D drawings.
[0066] The window system (SurfaceFlinger) is a service responsible for compositing screen display content.
[0067] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver. These drivers can drive the display screen, front / rear camera, audio player, sensor, etc.
[0068] exist Figure 3 Based on the embodiment, the application management method provided by the embodiment of the present application is introduced below. Figure 4 , Figure 4is a flowchart of an application management method according to an exemplary embodiment. As an example but not a limitation, the method can be applied to Figure 3 In the electronic device shown, the electronic device is implemented by interaction of multiple modules, and the method may include part or all of the following contents: S401: The learning space application receives a start operation.
[0069] See also Figure 5 In (a), the desktop of the electronic device provides an application icon of the learning space application. When the user wants to use the learning space application, the user can click the application icon of the learning space application. Accordingly, the electronic device receives a start operation for the learning space application.
[0070] S402: The learning space application calls the first method of the AMS.
[0071] Typically, the startup process of a learning space application includes: 1. displaying a startup page; 2. displaying a main interface.
[0072] The startup page may include one or more.
[0073] When displaying any interface (such as the startup page or the main interface), the learning space application will call the first method of AMS to request to start a new activity. For example, the first method is startactivity(), that is, the learning space application calls the startactivity() method of AMS to request AMS to start a new activity.
[0074] In one example, startactivity() carries application information of the learning space application. The application information is used to uniquely identify the learning space application. For example, the application information may be an application package name, an application ID, etc., which is not limited in the present embodiment of the application.
[0075] S403: The AMS transmits application information of the learning space application to the health use tablet application.
[0076] After the learning space application calls the first method of the AMS, the AMS transmits the application information of the learning space application to the healthy tablet application so that the healthy tablet application knows which application is currently started. Among them, the AMS can obtain the application information of the learning space application from the startactivity() method.
[0077] In one example, the AMS can transmit the application information of the learning space application to the health tablet application by calling the second method in the IActivityNotifierListener function. For example, the second method is onResume(), which carries the application information of the learning space application. Optionally, the onResume() method can also carry information such as a class name, where the class name is the name of the activity.
[0078] S404: The healthy use tablet application determines whether the learning space application is allowed to be started according to the application information.
[0079] In one example, a target list is stored in the database corresponding to the healthy tablet application, and the target list is used to record the control information of all applications controlled by the healthy tablet application. As an example, when the control information is "1", it means that the application corresponding to the control information is not allowed to start, that is, the application is restricted from starting; when the control information is "0", it means that the application corresponding to the control information is allowed to start, that is, the application is not restricted from starting.
[0080] Exemplarily, the target list is shown in Table 1.
[0081] Table 1
[0082] In this way, after receiving the application information of the learning space application transmitted by the AMS, the healthy use tablet application can read the target list in the database, query the control information corresponding to the application information of the learning space application from the target list, and determine whether the learning space application is allowed to start or run according to the read control information. For example, if the read control information is "1", it is determined that the learning space application is not allowed to start, and if the read control information is "0", it is determined that the learning space application is not allowed to start.
[0083] As an example, the healthy use tablet application can maintain the control information of each application in the target list according to the settings and usage of each application. Figure 1 In (c), a switch 16 corresponding to the "prohibit use" setting item is provided in the time setting window 14. In one possible case, the user triggers the switch 16 corresponding to the "prohibit use" setting item to be in an off state. In this case, the learning space application is not allowed to start, and the healthy use tablet application will set the control information corresponding to the learning space application in the target list to "1".
[0084] In another possible case, the user triggers the switch 16 corresponding to the "prohibit use" setting item to the on state. In this case, the healthy use of the tablet application can further set the control information corresponding to the learning space application in the target list according to the usage of the learning space application. Specifically, the healthy use of the tablet application can count the usage time of the learning space application within the second time period. If the usage time exceeds the usable time, the control information corresponding to the learning space application in the target list is set to "1". Otherwise, if the usage time of the healthy use of the tablet application within the second time period does not exceed the usable time, the control information corresponding to the learning space application in the target list is set to "0".
[0085] Among them, the second duration can be set according to needs, for example, the second duration can be 1 day. That is, when the switch 16 corresponding to the "prohibit use" setting item is in the on state, the healthy use of the tablet application can count the usage time of the learning space application in one day. If the usage time of the learning space application in 1 day exceeds the usable time (for example, 30 minutes), the healthy use of the tablet application sets the control information corresponding to the learning space application in the target list to "1", otherwise, if the usage time of the learning space application in 1 day does not exceed 30 minutes, the healthy use of the tablet application sets the control information corresponding to the learning space application in the target list to "0".
[0086] It can be seen that the conditions for allowing the learning space application to be started include that the learning space application is not prohibited from being started, and the usage time of the learning space application in the second duration does not exceed the set usable time (such as the first duration). It can be understood that the conditions for not allowing the learning space to be started include that the learning space application is prohibited from being started, and / or the usage time of the learning space application in the second duration exceeds the first duration.
[0087] It is worth mentioning that the healthy use tablet application maintains a target list in the database according to the settings and usage of the learning space application, so that when it is necessary to query whether the learning space application is allowed to start, it can be judged directly by querying the target list in the database, thereby improving the judgment efficiency.
[0088] Of course, the embodiment of the present application is to illustrate the example of a healthy tablet application maintaining a target list in a database and making a judgment by querying the target list when necessary. In another example, the healthy tablet application can also make a real-time judgment based on the settings and usage of the learning space application, which is not limited in the embodiment of the present application.
[0089] It should be noted that the embodiment of the present application is described by taking the control information as "1" indicating that the corresponding application is not allowed to start, and the control information as "0" indicating that the corresponding application is allowed to start as an example. In another example, the control information can also be identified by other flag information, for example, when the control information is "true", it can indicate that the corresponding application is allowed to start, and when the control information is "false", it indicates that the corresponding application is not allowed to start, and the embodiment of the present application does not limit this.
[0090] S405: When it is determined that the learning space application is allowed to start, the healthy use of the tablet application does not pull up the management and control prompt interface.
[0091] If the learning space application is allowed to start, if the healthy tablet application pulls up the control prompt interface, then after the user slides the control prompt interface or clicks the "Got it" control in the control prompt interface, if the healthy tablet application has not completed the startup, the healthy tablet application will trigger the electronic device to kill the learning space application, resulting in the learning space application being unable to start normally. For this reason, in an embodiment of the present application, when the healthy tablet application determines that the learning space application is allowed to start, it does not pull up the control prompt interface, that is, does not display the control prompt interface, which can avoid the problem that the learning space application cannot start normally due to pulling up the control prompt interface.
[0092] It should be noted that the embodiment of the present application is described by taking the learning space application being allowed to start as an example. In another example, if the learning space application is not allowed to start, for example, the control information of the learning space application recorded in the target list is "1", the healthy use tablet application pulls up the control prompt interface.
[0093] S406: After calling the first method, the learning space application queries the healthy tablet application side whether the learning space application is allowed to be started.
[0094] As an example, after the learning space application calls AMS's startactivity(), AMS calls the activity's onCreate() method. This method is part of the activity life cycle, and its main functions include initializing the interface, initializing some necessary data (such as setting the initial value of variables, loading data, etc.), binding views, and other initialization operations. In short, the onCreate() method is the starting point of the activity life cycle, responsible for completing the basic settings and initialization work required by the activity to provide users with a complete interface and interactive experience.
[0095] After calling the onCreat() method, AMS can trigger the learning space application to execute the onCreat() method through a third method. During the execution of the onCreat() method, the learning space application can query the database corresponding to the healthy use of the tablet application, read the target list in the database, and query whether the learning space application is allowed to start according to the target list. For example, if the control information corresponding to the learning space application is "1", it is determined that the learning space application is not allowed to start. If the control information corresponding to the learning space application is "0", it is determined that the learning space application is allowed to start.
[0096] As an example, the learning space application and the health use tablet application can interact through inter-process communication.
[0097] It should be noted that the operations of S406 and S403 to S405 can be executed in parallel, and there is no strict execution order between them.
[0098] S407: When it is determined that the learning space application is allowed to be started, the learning space application continues to execute the startup operation and displays the main interface of the learning space application.
[0099] If it is determined that the learning space application is allowed to start, the learning space application continues to perform the startup operation to start the learning space application normally. According to S405, if the learning space application is allowed to start, the healthy use of the tablet application will not pull up the control prompt interface, so refer to Figure 5 In (b) and (c), during the startup process, the learning space application first displays the startup page, and then displays the main interface of the learning space application. At this point, the electronic device enters the learning space. After that, the operation of S409 below is entered.
[0100] Of course, here, the example is taken that the learning space application determines that the learning space application is allowed to start by querying the target list in the database of the healthy use tablet application side. In another example, the learning space application determines that the learning space application is not allowed to start by querying the target list in the database of the healthy use tablet application side. In this case, the learning space application performs the following operation S408.
[0101] S408: When it is determined that the learning space application is not allowed to be started, the learning space application stops the starting process.
[0102] That is, if it is determined that the learning space application is not allowed to start, the learning space application will not continue to execute the startup process, but will stop executing the startup process, that is, the learning space application will not complete the startup. In this case, since the healthy use of the tablet application side will display the control prompt interface when it is determined that the learning space is not allowed to start, the user can slide the control prompt interface or click the "Got it" control in the control prompt interface. After that, the healthy use of the tablet application will trigger the electronic device to kill the learning space application. That is, when the learning space application has not completed the startup, when the user's side-swiping operation on the control prompt interface is detected or the user's triggering operation on the "Got it" control in the control prompt interface is detected, since the control of the learning space application has not taken effect, even if the learning space application is killed, it will not cause the system to be unable to restore to the normally displayed desktop. Therefore, the healthy use of the tablet application triggers the electronic device to directly kill the learning space application.
[0103] It is worth explaining that if during the startup process of the learning space application, it is not determined whether the learning space application is allowed to start, but the startup process is executed normally, then since two interfaces will be pulled up during the startup process of the learning space application, namely the startup page and the main interface, when the learning space application is restricted from starting, each interface will trigger the healthy tablet application to display a control prompt interface during the process of pulling up, that is, the AMS startactivity() method will be called during the process of pulling up each interface, so that AMS triggers the healthy tablet application to display a control prompt interface. Therefore, when the learning space application is restricted from starting, that is, it is not allowed to start, the control prompt interface will be displayed twice in succession after the learning space application is clicked to start, and each control prompt interface pulled up will cover the interface that was originally to be displayed during the startup of the learning space application. For example, see Figure 6 After the learning space application is clicked to start, during the startup process, the healthy tablet application will display the control prompt interface twice in a row, as shown below: Figure 6 (a) and Figure 6 As shown in (b), Figure 6 The control prompt interface shown in (a) covers the startup page that was originally to be displayed, that is, Figure 6 The control prompt interface shown in (b) covers the main interface that was originally to be displayed, resulting in a poor user experience. In the embodiment of the present application, during the startup of the learning space application, by determining whether the learning space application is allowed to start, if the learning space application is not allowed to start, the startup process is stopped. Since the healthy tablet application is triggered to display the control prompt interface only once during the process of pulling up the startup page, the healthy tablet application will not be triggered again to pull up the control prompt interface because the main interface is not pulled up. Therefore, the problem of the control prompt interface being displayed multiple times in a row during the startup of the learning space application when the learning space application is restricted from starting is solved.
[0104] As an example, the key steps from S401 to S409 can be seen in the following pseudo code logic: If (Execute Startup Page) { Ask for information on health-related tablet application control; If (Learning Space Application is Controlled) { Stop the startup process; } else { Continue with the startup process and set up control capabilities; }} S409: The healthy use tablet application counts the usage time of the learning space application through a timer.
[0105] As an example, different applications managed by the healthy use tablet application correspond to different timers.
[0106] In one example, after the learning space application is started, the healthy tablet application can count the usage time of the learning space application within the second time period through a timer. For example, if this startup is the first startup of the learning space application within the second time period, the healthy tablet application starts counting from 0 to count the usage time of the learning space application. If this startup is not the first startup of the learning space application within the second time period, the healthy tablet application continues to count the usage time of the learning space application based on the usage time.
[0107] For example, if the Learning Space app is launched for the first time within a day, the Healthy Usage Tablet app will start counting the usage time of the Learning Space app from 0. If the Learning Space app has been used for 10 minutes in the morning of a day, and this launch is the second launch within a day, the Monitoring Tablet will start from 10 minutes and continue counting the usage time of the Learning Space app.
[0108] S410: When the usage time of the learning space application exceeds the first time, the healthy use tablet application pulls up a management and control prompt interface.
[0109] If the usage time of the learning space application exceeds the first time, it means that the learning space application needs to be restricted. In this case, the healthy use tablet application pulls up the control prompt interface. For example, the control prompt interface is as follows: Figure 2 shown.
[0110] Of course, if the usage time of the learning space application does not exceed the first time, the healthy usage tablet application continues to count the usage time of the learning space application through the timer.
[0111] S411: After receiving a trigger operation of the user on the currently displayed control prompt interface, the healthy use tablet application determines whether the currently displayed control prompt interface is the control prompt interface of the learning space application.
[0112] After the control prompt interface is displayed on the display screen, the user can slide the currently displayed control prompt interface, or click the "Got it" control in the currently displayed control prompt interface. Accordingly, the electronic device receives the user's trigger operation on the currently displayed control prompt interface. Afterwards, the healthy use tablet application can determine whether the currently displayed control prompt interface is a control prompt interface for the learning space application.
[0113] In one example, when displaying the control prompt interface, the healthy tablet application can associate the currently displayed control prompt interface with the application information of the learning space application. In this way, after receiving the user's trigger operation on the currently displayed control prompt interface, it can query whether the application information associated with the currently displayed control prompt interface is the application information of the learning space application, thereby determining whether the currently displayed control prompt interface is the control prompt interface of the learning space application.
[0114] If the currently displayed control prompt interface is the control prompt interface of the learning space application, the following operation S412 is performed. Otherwise, if the currently displayed control prompt interface is not the control prompt interface of the learning space application, the following operation S416 is performed.
[0115] S412: The health tablet application displays a password input area in the management and control prompt interface.
[0116] In response to a user's swiping operation on the control prompt interface, or in response to a user's triggering operation on the "Got it" control in the control prompt interface, see Figure 7 The healthy tablet application can display a password input area 70 in the management prompt interface, and the password input area 70 includes a prompt message of "Enter the healthy tablet application password" to prompt the user to enter the password information corresponding to the healthy tablet application based on the password input area 70. The password information corresponding to the healthy tablet application can be set by the user in the healthy tablet application and can be stored in the healthy tablet application.
[0117] Optionally, the password input area 70 may also include a "Cancel" control and a "Forgot Password" control. The "Cancel" control can be used to trigger the healthy usage tablet application to cancel displaying the password input area 70, and the "Forgot Password" control can be used for the user to trigger the electronic device to retrieve the password when the user forgets the password.
[0118] S413: The health tablet application receives the password information input by the user in the password input area, and verifies the password information input by the user.
[0119] After the password input area is displayed, the user can enter the password information corresponding to the Healthy Use Tablet Application in the password input area. In one example, after the Healthy Use Tablet Application receives the password information entered by the user, the password information entered by the user can be compared with the password information corresponding to the Healthy Use Tablet Application. If the password information entered by the user is the same as the password information corresponding to the Healthy Use Tablet Application, it is determined that the verification is passed, that is, the password information entered by the user is correct; if the password information entered by the user is different from the password information corresponding to the Healthy Use Tablet Application, it is determined that the verification has not passed, that is, the password information entered by the user is incorrect.
[0120] S414: When the input password information is correct, the health tablet application transmits a target field to the learning space application, where the target field includes the first flag information.
[0121] The first flag information in the target field is used to notify the learning space application to execute the return process.
[0122] In one example, when the input password information is incorrect, a password input error prompt message may be displayed in the password input area 70 to prompt the user that the password information input is incorrect and needs to be re-entered.
[0123] It should be noted that the embodiment of the present application is described by taking the password information corresponding to the healthy use tablet application pre-set by the user as an example. In another example, if the user does not set the password information corresponding to the healthy use tablet application, after the healthy use tablet application receives the user's trigger operation on the control prompt interface, if it is determined that the currently displayed control prompt interface is the control prompt interface of the learning space application, it can directly transmit the target field carrying the first flag information to the learning space application to instruct the learning space application to execute the exit process.
[0124] S415: The learning space application executes an exit process, cancels its own control function, and causes the electronic device to resume displaying the desktop interface.
[0125] In one example, after receiving the target field, the learning space application can trigger the system to cancel the shielding of the controlled applications and functions when determining that the exit process needs to be executed according to the first flag information, so that the electronic device resumes displaying the desktop. In addition, the learning space application exits operation.
[0126] S416: Healthy use of tablet applications to kill applications.
[0127] That is, when the currently displayed control prompt interface is not the control prompt interface of the learning space application, the healthy use tablet application directly triggers the electronic device to kill the application corresponding to the control prompt interface. For example, the healthy use tablet application can kill the application through the froceStopPackage function. In addition, the healthy use tablet application destroys its own control prompt interface.
[0128] As an example, the key steps from S409 to S416 can be seen in the following pseudo code logic: If (the controlled application is a learning space application) { If (currently in the learning space) { If (is the password set) { Display the password input area, and notify the learning space application to exit after the password verification is successful; } else { Notify the learning space to exit the application; } } else { Kill the app; Destroy its own interface; }} It is worth noting that if during the startup process, the learning space application does not determine whether it is restricted by the healthy use tablet application, but performs the startup operation normally, then after displaying two control prompt interfaces in succession, the learning space application will enter the main interface, that is, although the control prompt interface is displayed on the display screen, the learning space application has actually completed the startup in the background. When the learning space application is completed, according to the application management method provided in the embodiment of the present application, after the user slides the control prompt interface or clicks the "Got it" control in the control prompt interface, in order to avoid the failure of the control of the learning space application, the healthy use tablet application will display the password input area in the control prompt interface, allowing the user to enter the password information, thereby causing the phenomenon that the user is required to enter the password information during the startup of the learning space application, which is inconsistent with the interface experience that the user should see. In the embodiment of the present application, during the startup process, the learning space application determines whether it is restricted from startup by the healthy tablet use application. If it is restricted from startup, the learning space application stops the startup process and will not enter the main interface of the learning space application, that is, the startup will not be completed. Therefore, when the healthy tablet use application displays the control prompt interface, after the user slides the control prompt interface or clicks the "Got it" control in the control prompt interface, the healthy tablet use application directly kills the learning space application, and the user will not be required to enter password information during the startup process of the learning space application, thereby avoiding affecting the user experience.
[0129] In an embodiment of the present application, a desktop interface is displayed, and after receiving a start operation for a learning space application, the learning space application is started. After starting the learning space application, the main interface of the learning space application is displayed, in which some applications and functions are blocked. In a case where the usage time of the learning space application exceeds the first time length, a management and control prompt interface is displayed, and a password input area is displayed in the management and control prompt interface. Based on the password input area, the input password information is received, and when the input password information is correct, the learning space application is triggered to execute the exit process, so that the learning space application exits normally and restores the display of the regular desktop interface. In this way, after the control time of the learning space application is reached, the password input area is displayed, and when the user enters the password correctly, the learning space application is triggered to execute the exit process, thereby avoiding the problem of directly killing the learning space application and causing the control of the learning space application to fail.
[0130] For ease of understanding, the application management method provided by the embodiment of the present application is introduced below in combination with specific application scenarios. Figure 8 , Figure 8 This is a flowchart of an application management method according to another exemplary embodiment. As an example but not a limitation, the present application embodiment takes the method applied to a tablet computer as an example for explanation. The method may include part or all of the following contents.
[0131] S801: The tablet computer displays the first interface.
[0132] The first interface may be a desktop interface of a tablet computer. Figure 5 In (a), the first interface includes application icons of learning space applications.
[0133] In one example, the first interface also displays a game application icon, a calculator application icon, etc. The user triggers different application icons in the first interface to trigger the tablet computer to start the corresponding application. For example, when the user clicks the game application icon, the tablet computer starts the game application and enters the game application interface. When the user clicks the calculator application icon, the tablet computer starts the calculator application and enters the calculator application interface.
[0134] In another example, after the user slides down on the right side of the top of the tablet computer, in response to the user's operation, the tablet computer displays the control center, which includes controls such as a player, a flashlight, and a screenshot. When the user triggers different controls in the control center, the tablet computer will trigger the corresponding function. For example, after the user clicks on the player, the tablet computer starts the player; after the user clicks on the flashlight control, the tablet computer turns on the flashlight; after the user clicks on the screenshot control, the tablet computer performs a screenshot operation.
[0135] S802: receiving a click operation of the user on the application icon of the learning space application in the first interface, and the tablet computer queries whether the learning space application is allowed to be started.
[0136] S803: When the learning space application is allowed to start, the tablet computer displays the start page and the second interface in sequence, and the second interface is the main interface of the learning space application.
[0137] During the process of displaying the startup page and the second interface, the tablet computer does not display the control prompt interface. After the second interface is displayed, the learning space application completes the startup operation.
[0138] For the specific implementation of S802 to S803, please refer to Figure 4 S401 to S407 in the embodiment.
[0139] In one example, the second interface includes a calculator application icon but does not include a game application icon, that is, the learning space application trigger system blocks the game application icon. At this time, after the user clicks the calculator application icon, the tablet computer can normally start the calculator application and enter the calculator application interface.
[0140] In another example, after the user slides down on the right side of the top of the tablet computer, in response to the user's operation, the tablet computer displays the control center, which may include a flashlight and a screenshot control, but not a player. That is, in the learning space, the tablet computer shields the player control. Similarly, after the user clicks the flashlight control, the tablet computer turns on the flashlight; after the user clicks the screenshot control, the tablet computer performs a screenshot operation.
[0141] That is, unblocked applications and functions can be used normally.
[0142] It should be noted that the above blocking of game application icons and player controls after the learning space application is started is only exemplary. In another example, the learning space application can trigger the tablet computer to block certain applications and functions as needed. For example, the control center, setting menu, notification bar, search item, sidebar application list, etc. can be controlled.
[0143] For example, you can remove the smart interconnection card, YOYO suggestions, player, and settings menu entry in the control center, retain the WLAN, Bluetooth, brightness adjustment, volume adjustment and other controls in the control center, and display the automatic rotation, Honor sharing, screen recording, eye protection mode, wireless screen projection, low power mode, dark mode, flight mode, location information and other function items in the control center. Of course, if the product does not support certain function items, these function items will not be displayed in the notification center.
[0144] For example, you can remove or hide the following items in the settings menu: Desktop and Wallpaper, Storage, Notifications, Applications, Battery, Security, Privacy, Healthy Tablet Use, Smart Assistant, Accessibility, System and Updates, Accounts, etc.
[0145] For example, only the applications on the learning space application control whitelist can be displayed in the sidebar application list; when the whitelist is updated, the sidebar application list will synchronously update the application display and hiding.
[0146] S804: 30 minutes after the learning space application is started, the tablet computer displays a control prompt interface and displays a password input area in the control prompt interface.
[0147] S805: After the user enters password information based on the password input area, if the entered password information is correct, the tablet computer exits the learning space application and redisplays the first interface.
[0148] For the specific implementation of S804 to S805, please refer to Figure 4 S409 to S415 in the embodiment.
[0149] That is, after the learning space application executes the exit process, the tablet computer redisplays the first interface, and resumes displaying the game application icon, etc. in the first interface. And when the user slides down on the right side of the top of the tablet computer, in response to the user's operation, the tablet computer displays the control center, and the control center resumes displaying the hidden player and other controls, that is, the applications and functions controlled by the learning space application return to normal.
[0150] In an embodiment of the present application, a first interface is displayed, and after receiving a start operation for a learning space application, the learning space application is started. After starting the learning space application, a second interface of the learning space application is displayed, and some applications and functions are blocked in the second interface. When the usage time of the learning space application exceeds the first time, a management and control prompt interface is displayed, and a password input area is displayed in the management and control prompt interface. Based on the password input area, the input password information is received, and when the input password information is correct, the learning space application is triggered to execute the exit process, so that the learning space application exits normally and restores the display of the regular desktop interface. In this way, after the control time of the learning space application is reached, the password input area is displayed, and when the user enters the password correctly, the learning space application is triggered to execute the exit process, thereby avoiding the problem of directly killing the learning space application and causing the control of the learning space application to fail.
[0151] Fig. 9 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig. 9The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0152] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0153] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0154] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0155] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0156] In some embodiments, the processor 110 may include one or more interfaces, such as an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0157] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device 100 through the power management module 141.
[0158] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193 and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0159] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0160] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0161] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode or an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is an integer greater than 1.
[0162] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0163] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is an integer greater than 1.
[0164] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0165] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0166] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created by the electronic device 100 during use (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0167] The electronic device 100 can implement audio functions, such as music playback, recording, etc., through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D and the application processor.
[0168] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor 180K can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0169] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0170] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. Touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects. Different application scenarios (such as: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0171] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0172] An embodiment of the present application also provides a chip system, which is applied to an electronic device. The chip system includes one or more processors, and the one or more processors are used to call computer instructions to enable the electronic device to execute the methods described in the above embodiments.
[0173] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (such as: coaxial cable, optical fiber, data subscriber line (Digital Subscriber Line, DSL)) or wireless (such as: infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access, or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a digital versatile disc (DVD)), or a semiconductor medium (such as a solid state disk (SSD)).
[0174] The above are optional embodiments provided for the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the technical scope disclosed in the present application shall be included in the protection scope of the present application.
Claims
1. An application management method, characterized in that: Applied to electronic equipment, the method comprises: Display a first interface, wherein the first interface includes a first control and a second control; In response to the first operation, starting the first application; After the first application is started, a second interface is displayed, where the second interface includes the first control but does not include the second control; When the usage time of the first application exceeds the first time period, displaying a third interface, wherein the third interface includes a password input area; receiving input password information based on the password input area; In response to the password information being entered being correct, exiting the first application and resuming display of the first interface.
2. The method according to claim 1, characterized in that The displaying of the third interface when the usage time of the first application exceeds the first time period includes: In response to the usage time of the first application exceeding the first time, displaying a fourth interface, wherein the fourth interface is a control prompt interface for prompting the user that the first application is controlled; After receiving the second operation based on the fourth interface, the third interface is displayed.
3. The method according to claim 2, characterized in that After receiving the second operation based on the fourth interface, displaying the third interface includes: After receiving the second operation based on the fourth interface, querying application information corresponding to the fourth interface; When the application information corresponding to the fourth interface is the application information of the first application, the third interface is displayed.
4. The method according to any one of claims 1 to 3, characterized in that In response to the input password information being correct, exiting the first application and resuming display of the first interface includes: In response to the password information being entered being correct, the second application sends first flag information to the first application, the second application being used to control the first application, and the first flag information being used to instruct the first application to execute an exit process; After receiving the first flag information, the first application executes an exit process to enable the electronic device to resume displaying the first interface.
5. The method according to any one of claims 1 to 3, characterized in that The method further comprises: When the first application is started, querying the management and control information of the first application according to the application information of the first application; If the control information indicates that the first application is not allowed to run, stop the startup process; When the control information indicates that the first application is allowed to run, continue to start the first application.
6. The method according to claim 5, characterized in that The querying of the management and control information of the first application according to the application information of the first application when the first application is started includes: When the first application is started, the first application queries the control information of the first application from the target list in the database of the second application based on the application information of the first application, the second application is used to control the first application, and the target list is used to record the control information of all applications controlled by the second application.
7. The method according to claim 5, characterized in that When the control information of the first application is the second flag information, it is used to indicate that the first application is not prohibited from starting and the usage time of the first application within the second time period does not exceed the first time period; when the control information of the first application is the third flag information, it is used to indicate that the first application is prohibited from starting and / or the usage time of the first application within the second time period exceeds the first time period.
8. The method according to claim 5, characterized in that The method further comprises: When the first application is started, if the control information of the first application indicates that the first application is allowed to run, the fourth interface is not displayed. The fourth interface is a control prompt interface for prompting the user that the first application is controlled.
9. The method according to claim 5, characterized in that The method further comprises: When the first application is started, if the control information of the first application indicates that the first application is not allowed to run, a fourth interface is displayed, where the fourth interface is a control prompt interface for prompting a user that the first application is controlled; In response to a third operation on the fourth interface, killing the first application.
10. The method according to claim 2 or 3, characterized in that: The second operation is a slide operation on the fourth interface, or the second operation is a trigger operation on a third control in the fourth interface.
11. The method according to any one of claims 1 to 3, characterized in that The method further comprises: A fourth operation is received through the second application, where the fourth operation is used to set the first duration corresponding to the first application, and the second application is used to control the first application.
12. An electronic device, characterized in that: The electronic device comprises: one or more processors, and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code comprises computer instructions, and the one or more processors call the computer instructions so that the electronic device executes the method as described in any one of claims 1-11.
13. A chip system, characterized in that: The chip system is applied to an electronic device, and the chip system includes one or more processors, and the one or more processors are used to call computer instructions so that the electronic device executes the method as described in any one of claims 1-11.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Mobile device child share
CN104584607A
Method and device for enabling multiple users to use intelligent terminal and medium
CN110995934A
Control method and device for student to use electronic equipment and electronic equipment
CN111125657A
Mobile terminal control method and device and storage medium
CN111125673A
Application program running method and electronic equipment
CN113946810A
