Terminal control method, electronic device and computer-readable storage medium
By managing application usage time on electronic devices through a linkage mechanism, the problem of users struggling to allocate application time reasonably is solved, leading to healthy digital lifestyle habits and good usage habits, and improving the user experience.
Patent Information
- Application Number
- PCT/CN2025/080773
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-08-02
- Filing Date
- 2025-03-05
- Publication Date
- 2026-02-05
AI Technical Summary
The lack of effective methods in existing technologies to guide users to reasonably allocate and manage their time using various applications on electronic devices makes it difficult for users to form healthy digital lifestyle habits, and the restrictive measures of related technologies are not very effective.
By obtaining the usage time of applications of type 1, and controlling the application to enter a locked state or use a preset interference method when the first usage time exceeds the first available time, the first available time is correlated with the usage time of applications of type 2, encouraging users to spend more time on beneficial applications to obtain more entertainment time.
It achieves a balanced allocation of time for users to use for entertainment, learning, or exercise, promotes healthy digital lifestyle habits, improves user experience, avoids excessive addiction, mobilizes users' initiative, and helps users use electronic products rationally.
Smart Images

Figure CN2025080773_05022026_PF_FP_ABST
Abstract
Description
Terminal control methods, electronic devices and computer-readable storage media
[0001] Related applications
[0002] This application claims priority to Chinese patent application No. 202411058657.3, filed on August 2, 2024, the entire contents of which are incorporated herein by reference. Technical Field
[0003] This application relates to the field of communication technology, and in particular to terminal control methods, electronic devices, and computer-readable storage media. Background Technology
[0004] With the rapid development of electronic and information technology, smartphones, tablets, and other electronic devices have become indispensable tools for modern life and work, profoundly impacting people's daily activities. These devices greatly facilitate information access, work collaboration, learning, and leisure; however, their widespread use has also brought a series of negative impacts that cannot be ignored. Entertainment functions such as games, short videos, and news browsing on electronic devices easily lead to users overusing their phones for extended periods. On the other hand, users generally show low enthusiasm for learning or exercise software applications on electronic devices. This results in the inability to reasonably manage the usage time of various applications on electronic devices, making it difficult for users to develop healthy and balanced digital lifestyle habits. Related technologies mainly include limiting the usage time of specific applications and setting permissions for application use within specified time periods. However, these methods often employ rather rigid restrictions, resulting in poor implementation effects. In other words, there is currently no effective technology to guide users in rationally allocating and managing the usage time of various applications on electronic devices, lacking a scientific and humane solution. Summary of the Invention
[0005] The main objective of this application is to provide a terminal control method, an electronic device, and a computer-readable storage medium.
[0006] To achieve the above objectives, this application provides a terminal control method, comprising: obtaining a first usage duration of an application of a first type; when the first usage duration is greater than a first available duration, controlling the application of the first type to enter a locked state, or interfering with the operation of the application of the first type through a preset interference method; wherein, the first available duration and the second usage duration of an application of a second type have a first correlation relationship.
[0007] In addition, to achieve the above objectives, this application also provides an electronic device, which includes: a memory, a processor, and a terminal control program stored in the memory and executable on the processor. When the terminal control program is executed by the processor, it implements the terminal control method as described above.
[0008] In addition, to achieve the above objectives, this application also provides a computer-readable storage medium storing a terminal control program, which, when executed by a processor, implements the terminal control method as described above.
[0009] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a terminal control program. When the terminal control program is executed by a processor, it implements the steps of the terminal control method described above. Attached Figure Description
[0010] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0011] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0012] Figure 1 is a flowchart of the terminal control method according to Embodiment 1 of this application;
[0013] Figure 2 is a flowchart of the terminal control method according to Embodiment 3 of this application;
[0014] Figure 3 is a flowchart of the terminal control method according to Embodiment 4 of this application;
[0015] Figure 4 is a flowchart of the terminal control method according to Embodiment 5 of this application;
[0016] Figure 5 is a flowchart provided in a specific embodiment of this application;
[0017] Figure 6 is a flowchart illustrating the large model identification application type provided in a specific embodiment of this application;
[0018] Figure 7 is a schematic diagram of usage time calculation provided in a specific embodiment of this application;
[0019] Figure 8 is a schematic diagram of the modules provided in a specific embodiment of this application;
[0020] Figure 9 is a schematic diagram of the hardware operating environment involved in the terminal control method in this application.
[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0023] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0024] Currently, there is no effective method in related technologies to guide users to reasonably allocate and manage the usage time of various applications on electronic devices, and there is a lack of a solution that is both scientific and user-friendly.
[0025] The main solution of this application is: to obtain the first usage time of an application of type 1; when the first usage time is greater than the first available time, to control the application of type 1 to enter a locked state, or to interfere with the operation of the application of type 1 through a preset interference method; wherein, there is a first correlation between the first available time and the second usage time of an application of type 2.
[0026] This application does not rigidly restrict the usage time of a specific application or type of application. Instead, it guides users to use electronic devices rationally through a correlation mechanism. Compared to related technologies that directly restrict the usage time of specific applications or set permissions for application use within a specified time period, this application's embodiments more effectively encourage users to develop good electronic product usage habits and lifestyles. It fully mobilizes users' initiative, encouraging them to use electronic products rationally with a positive attitude, which is beneficial to users' physical and mental health. This application's embodiments correlate the available time of various applications. Users can use this correlation to set various beneficial rules to help them rationally allocate their usage time for various applications, avoiding various contradictions and problems caused by excessive addiction to a certain type of application. This improves the user experience and effectively guides users to rationally allocate and manage their usage time for various applications on their electronic devices.
[0027] The executing entity of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs (Televisions), desktop computers, etc., or any terminal device capable of performing the above functions. This application does not specifically limit this. The following uses a terminal device as an example to describe the following embodiments of this application.
[0028] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0029] Please refer to Figure 1, which is a flowchart of the terminal control method according to Embodiment 1 of this application.
[0030] This application proposes a terminal control method according to a first embodiment, including steps S100 to S200:
[0031] Step S100: Obtain the first usage duration of the application with the first application type.
[0032] In this embodiment, the applications in the terminal device are pre-divided into multiple different application types, which include at least a first type and a second type.
[0033] Usage duration refers to the duration of use. In this embodiment, the first usage duration refers to the total usage duration of all applications of the first type on the terminal device, also known as the total usage duration of the first type.
[0034] In this embodiment, the terminal device pre-classifies the installed applications into different application types and counts the total usage time of each application type to obtain the first usage time, thereby providing an accurate data basis for subsequent control.
[0035] In this embodiment, the terminal device can accurately record the usage time of each application and then summarize it according to the application type to obtain the total usage time of each application type. Alternatively, instead of separately counting the usage time of a specific application, the device can count the runtime of the application when it runs on the terminal and add it to the total usage time of the application type to which the application belongs, thereby obtaining the total usage time of each application type.
[0036] For example, in one feasible implementation, the first type of application is an entertainment application, and the second type of application is an educational application or a sports application.
[0037] Entertainment apps refer to applications that provide entertainment services, such as game apps and animation apps. Learning apps refer to applications that provide learning resources and services, such as online course apps and language learning apps. Sports apps refer to applications that provide exercise guidance, fitness plans, or health tracking, such as running apps and gymnastics apps.
[0038] In this embodiment, the terminal device classifies entertainment applications such as game applications and animation applications into the first type of applications, and learning applications such as online course applications and language learning applications, or sports applications such as running applications and gymnastics applications into the second type of applications. The total usage time of the first type and the total usage time of the second type are counted respectively, that is, the total usage time of entertainment applications and the total usage time of learning applications or sports applications are counted respectively.
[0039] In one example, a terminal device has three applications installed: game application A, animation application B, and running application C. Game application A and animation application B are applications of type 1, while running application C is an application of type 2. The terminal device can separately record the usage time of game application A, animation application B, and running application C, and then summarize them by application type. The total usage time for type 1 is the sum of the usage time of game application A and animation application B, and the total usage time for type 2 is the usage time of running application C. The terminal can also record the runtime of game application A when it is running and add it to the total usage time for type 1; record the runtime of animation application B when it is running and add it to the total usage time for type 1; and record the runtime of running application C when it is running and add it to the total usage time for type 2.
[0040] In addition to classifying entertainment apps as the first type and learning or sports apps as the second type, other types of apps (such as work apps) can also be classified as the first or second type based on actual needs.
[0041] Step S200: If the first usage duration is longer than the first available duration, control the first type of application to enter a locked state, or interfere with the operation of the first type of application through a preset interference method.
[0042] There is a first correlation between the first available time and the second usage time of the application of the second type.
[0043] A locked state is a restriction imposed by a terminal device on an application, preventing users from accessing or using the application after certain usage conditions are met. In this state, the application is prohibited from starting or is suspended until the conditions for unlocking are met. In other words, an application in the locked state cannot run, and only after exiting the locked state can the application run normally.
[0044] In addition, preset interference methods are pre-set methods used to interfere with the normal operation of applications and prompt users to allocate their time reasonably, including but not limited to pop-up interference, notification sound interference, screen brightness reduction interference, or screen lock interference.
[0045] Available time is the duration that can be used. In this embodiment, the first available time refers to the total available time of all applications of type 1 on the terminal device, also known as the total available time of type 1. The second usage time is the total usage time of all applications of type 2 on the terminal device, also known as the total usage time of type 2.
[0046] In this embodiment, instead of setting an available duration for individual applications, the total available duration for each application type can be set. That is, before the total usage time of application type A exceeds the total available duration of application type A, the application of application type A will not enter a locked state, nor will it be interfered with by the preset interference method, and can be used normally.
[0047] Furthermore, a correlation refers to the logical connection or mutual influence between two or more variables. In this embodiment, the first correlation refers to the correlation between the first available duration and the second usage duration.
[0048] In this embodiment, after obtaining the first usage time, it is detected whether the first usage time is greater than the first available time. The first available time can be determined by the second usage time and the first correlation relationship. That is, the terminal device will count the total usage time of the second type of application, determine the second usage time, and combine it with the first correlation relationship between the first available time and the second usage time to determine the first available time.
[0049] For example, in one feasible implementation, the first association is a positive correlation.
[0050] In this embodiment, there is a positive correlation between the first available time and the second usage time; that is, the longer the second usage time, the longer the first available time.
[0051] Through this positive correlation, this embodiment can classify entertainment applications into a first type and learning or sports applications into a second type, thereby encouraging users to spend more time on learning or sports in order to obtain more entertainment time, thus balancing the time allocation between entertainment and learning or sports and promoting healthier digital lifestyle habits.
[0052] For example, in one feasible implementation, the first association relationship includes one of the following: when the second usage time reaches a preset duration threshold, the first available time is triggered to recover to the first duration value, and the second usage time is reset to zero and the statistics are restarted every time a new time period is entered; or, every time the second usage time increases by a second duration value, the first available time is triggered to increase by a third duration value.
[0053] In this embodiment, the preset duration threshold, first duration value, second duration value, third duration value, and time period can be preset by the user or the system. The preset duration threshold is used to trigger the terminal device to restore the first available duration to the first duration value when the second usage duration is detected to have reached the preset duration threshold. The first duration value is the maximum value of the first available duration that can be reached within a time period; that is, within a time period, the user can have a maximum of the first available duration value for using the first type of application. The second duration value refers to the amount of additional usage time the user spends on the second type of application, and is used to measure the incremental unit of time spent by the user on the second type of application. The third duration value refers to the amount of time the first available duration increases correspondingly when the second usage duration increases by the second duration value, and is used to measure the increase in available duration of the first type of application. The time period is the time interval used to evaluate the second usage duration and reset the statistics.
[0054] In one example, the preset duration threshold can be 3 hours, the first duration value can be 2 hours, and the time period can be one day. In this case, the first correlation can be: when the second usage duration is detected to reach 3 hours, the terminal device is triggered to restore the first duration value to 2 hours, and the second usage duration is reset to zero every other day, restarting the counting of the second usage duration. Every other day, the first available duration can be reset to zero, or the first available duration of the previous day can be subtracted from the first usage duration of the previous day to obtain the unused duration of the first available duration of the previous day, which is used as the initial value of the first available duration of the new day. It is easy to understand that every other day, the first usage duration is also reset to zero and the counting restarts.
[0055] In another example, the second duration value can be 3 hours, and the third duration value can be 1 hour. In this case, the first association can be: for every 3 hours the second usage duration increases, the terminal device is triggered to increase the first available duration by 1 hour.
[0056] In this embodiment, the first correlation can be either of the two mentioned above, or a combination of both. Before the second usage time reaches a preset time threshold, each increase in the second usage time triggers an increase in the first available time by a third time value. After the second usage time reaches the preset time threshold, the first available time is restored to its first time value, ensuring that the first available time does not exceed the first time value. Furthermore, at the beginning of each new time period, the first and second usage times are reset to zero, and statistics restart. Simultaneously, the first available time is reset to zero, or the difference between the first available time and the first usage time at the end of the previous time period is used as the initial value of the first available time at the beginning of the new time period. When this difference is negative, the initial value is zero.
[0057] This implementation encourages users to spend more time on beneficial applications by reasonably setting the first association relationship, thereby gaining extra entertainment time. This helps to balance the allocation of time for entertainment and study / work, allowing users to manage their time well while enjoying entertainment and avoiding the negative impacts that may result from overuse.
[0058] In this embodiment, the first association can also be a negative association.
[0059] For example, when the first type of application is a game application and the second type of application is an animation application, users can set a negative correlation between the first and second types of applications according to their actual needs. This will result in the longer the second type of application is used, the shorter the first type of application is available. This will help users reasonably control the time spent on entertainment applications and prevent them from becoming addicted to entertainment.
[0060] In this embodiment, if the first usage time is detected to be greater than the first available time (including the first usage time being equal to the first available time), it is determined that the user has been using the first type of application for too long. Therefore, the first type of application is locked, or the operation of the first type of application is interfered with through a preset interference method to remind the user to allocate time reasonably, develop quantitative electronic device usage habits, and avoid excessive addiction to the first type of application.
[0061] In one example, when the detected first usage time exceeds the first available time, the terminal device controls the first type of application to enter a locked state, preventing the user from launching the first type of application and pausing the currently running first type of application until the user obtains more first available time, making the first usage time less than the first available time.
[0062] In another example, when the detected first usage time exceeds the first available time, the terminal device interferes with the operation of the first type of application using a preset interference method. For example, when the user is running the first type of application, a prompt box “Insufficient available time, please XX” pops up every minute (where XX can be “learning” if the second type of application is a learning application, and “exercise” if the second type of application is a sports application; those skilled in the art can pre-set the specific information content of the prompt box according to the actual situation), until the user stops running the first type of application, or the user obtains more first available time, making the first usage time less than the first available time. Another example is that when the user is running the first type of application, a prompt sound “Current time period available time has been used up, please wait YY” is played every 5 minutes (where YY can be the time from the current moment to the next time period; for example, in a 24-hour time period, when the current moment is 2 PM, YY is 10 hours), until the user stops running the first type of application, or the user obtains more first available time, making the first usage time less than the first available time.
[0063] This embodiment obtains the first usage time of an application of type 1. If the first usage time exceeds the first available time, the application of type 1 is locked, or its operation is interfered with by a preset interference method. There is a first correlation between the first available time and the second usage time of an application of type 2, thus making the available time of various application types correlated. This correlation can be reflected by setting correlation rules. For example, the longer the usage time of sports or learning applications, the longer the available time of entertainment applications. This fully mobilizes users' enthusiasm for using learning and sports software, thereby guiding users to reasonably allocate the usage time of various applications, develop good usage habits, and help users reasonably allocate the usage time of various applications according to their own needs.
[0064] This embodiment does not rigidly restrict the usage time of a specific application or type of application. Instead, it guides users to use electronic devices rationally through an association mechanism. Compared to related technologies that directly restrict the usage time of specific applications or set permissions for application use within a specified time period, this embodiment more effectively encourages users to develop good electronic product usage habits and lifestyle habits. It fully mobilizes users' initiative and encourages them to use electronic products rationally with a positive attitude, which is beneficial to users' physical and mental health. This embodiment associates the available time of various applications. Users can set various beneficial rules through this association to help them rationally allocate their usage time for various applications, avoiding various conflicts and problems caused by excessive addiction to a certain type of application. This improves the user experience and effectively guides users to rationally allocate and manage their usage time for various applications on their electronic devices.
[0065] Furthermore, this embodiment manages time based on application type rather than application type, which better meets the user's actual needs. For example, if a user sets a reserved usage time for a game application to one hour, their true intention is to only play for one hour. However, if many games are installed on the phone, each with a reserved time of one hour, the user could play one game after another indefinitely, which clearly violates their true intention. This embodiment manages time based on application type. For instance, if a game application has a available time of one hour, then regardless of which game the user plays or how long they play each game, the total gaming time is controlled within one hour, aligning with the user's true intention.
[0066] Based on the first embodiment described above, a terminal control method according to the second embodiment of this application is proposed.
[0067] In the second embodiment of this application, the same or similar content as in the above embodiments can be referred to the above description, and will not be repeated hereafter.
[0068] Please refer to Figure 2, which is a flowchart of the terminal control method according to Embodiment 2 of this application.
[0069] In this embodiment, before obtaining the first usage time of an application of the first type, the method further includes step S10:
[0070] Step S10: Determine the application type of the application currently running on the terminal device.
[0071] The method for determining the application type of the application currently running on the terminal device includes one of the following: querying the application type of the application currently running on the terminal device based on a preset application type mapping relationship; or identifying the application type of the application currently running on the terminal device based on a pre-trained application type recognition AI model.
[0072] Application type mapping refers to the mapping relationship established between all applications installed on a terminal device and the preset application types. This application type mapping relationship can be stored in the form of a mapping table.
[0073] In one feasible implementation, the application type mapping relationship is customized based on preset UI interaction operations.
[0074] UI (User Interface) interaction refers to the interactive behavior between the user and the application interface, including but not limited to key input, physical touch screen input, and auxiliary operations such as clicking, swiping, long pressing, and dragging.
[0075] In this embodiment, a mapping table storing application type mapping relationships and a corresponding UI interface can be preset in the terminal device. Then, the user can customize the application type mapping relationship in the UI interface through preset UI interaction operations, including but not limited to adding, modifying and deleting application type mapping relationships.
[0076] This implementation allows users to customize the application type mapping relationship through preset UI interaction operations, enabling users to adjust the application types of different applications according to their own needs, realize a more personalized management strategy, and thus help users manage their time allocation on different applications more effectively.
[0077] Furthermore, the application type recognition AI (Artificial Intelligence) model is an artificial intelligence model trained using machine learning or deep learning techniques to automatically identify the application type of an application running on a terminal device. By learning from a large amount of training data on known applications and their types, this application type recognition AI model can be trained to identify the corresponding application type based on the application's name, based on the application's runtime data, or based on the application's display interface.
[0078] In this embodiment, the application name or application ID (Identity) of the application currently running on the terminal device can be obtained. Then, based on the preset application type mapping relationship, the application type of the application currently running on the terminal device can be queried. Alternatively, the running data, display interface, or application name of the application currently running on the terminal device can be obtained. Then, a pre-trained application type recognition AI model can be input to predict the application type of the application currently running on the terminal device.
[0079] In this embodiment, the method of determining the application type based on the preset application type mapping relationship can ensure high accuracy, and the process of querying the application type mapping relationship is particularly fast, requiring almost no additional computing resources and having a very fast response speed.
[0080] In this embodiment, the application type recognition AI model is used to determine the application type. By learning and training on a large amount of training data of known applications and their application types, the model is more adaptable and can handle various different applications. It can even identify new or unseen applications with high recognition accuracy, accurately identifying the application type. Furthermore, the application type recognition AI model can continuously improve its performance and recognition accuracy as it is trained with more data.
[0081] In addition, the two methods for determining application types mentioned above can be used separately, one at a time, or in combination to ensure the accuracy of application type identification.
[0082] For example, in one feasible implementation, the method further includes steps S11 to S12:
[0083] Step S11: If the application currently running on the terminal device is detected to be a target type application, the application type of the application currently running on the terminal device is identified based on the pre-trained application type recognition AI model.
[0084] In this embodiment, the target application refers to an application that has the same or similar functions as applications of multiple application types, and is not limited to a single application type.
[0085] For example, when the first type of application is an entertainment application and the second type of application is an educational application, the target application can refer to an application that can be used to learn knowledge and has the same or similar functions as an educational application, and can also be used for entertainment games and has the same or similar functions as an entertainment application. This target application cannot be simply classified as an entertainment application or an educational application, and has the characteristics of cross-application type (i.e., the target application is a comprehensive application).
[0086] In this embodiment, since target applications have the characteristic of being cross-application types, when it is determined that the application currently running on the terminal device is a target application, the user may be using the entertainment function of the target application or the learning function of the target application. This embodiment determines the application type to which the target application belongs by periodically detecting the functions used by the user when the terminal device is running the target application.
[0087] For example, when it is determined that the application currently running on the terminal device is a target type application, the terminal device detects the functions used by the user when the terminal device is running the target type application every minute. If it is detected that the user is using the entertainment function of the target type application, it will be determined that the target type application is temporarily classified as an entertainment application for one minute between the current detection and the next detection, and the usage time of this one minute will be accumulated into the usage time corresponding to the entertainment application. For example, when the entertainment application is a first type of application, the first usage time will be increased by one minute.
[0088] In one embodiment, the application type can be identified by marking the target application. The system can then detect whether the application currently running on the terminal device is marked as a target application to determine if it is. If the application currently running on the terminal device is marked as a target application, the system determines that the application currently running on the terminal device is a target application. At regular intervals, the system uses a pre-trained application type recognition AI model to detect which function of the target application the user is currently using, thereby identifying the application type of the application currently running on the terminal device during the time interval between the current detection and the next detection.
[0089] Specifically, in one feasible implementation, based on a pre-trained application type recognition AI model, the application type of the application currently running on the terminal device is identified, including steps A10 to A20:
[0090] Step A10: Obtain the current application running data generated within a preset time period of the application currently running on the terminal device, wherein the current application running data includes at least one of image data, audio data, and language text data.
[0091] The preset duration is a time length pre-set by the user or system to collect operational data generated by the currently running applications on the terminal device within a certain time period. This ensures that the application type recognition AI model has sufficient data input to identify the application type of the currently running applications on the terminal device. Current application operational data refers to the operational data generated by the currently running applications on the terminal device within this preset duration.
[0092] In this embodiment, the current application running data can be obtained through operating system APIs (Application Programming Interfaces), screen recording technology, audio capture technology, text recognition technology, and other methods.
[0093] This implementation method acquires the current application running data generated within a preset time period of the application currently running on the terminal device, covering one or more types of data generated during application operation, to ensure that it can accurately reflect the functions currently used by the user and improve the accuracy of application type identification.
[0094] Step A20: Based on the pre-trained application type recognition AI model, identify the application type of the application currently running on the terminal device by analyzing the acquired application running data.
[0095] In this embodiment, when identifying the application type of the application currently running on the terminal device, the current application running data generated within a preset time period of the application currently running on the terminal device is first obtained, and the current application running data is input into a pre-trained application type recognition AI model. The obtained current application running data is recognized to obtain the prediction result output by the application type recognition AI model, and the application type of the application currently running on the terminal device is identified based on the prediction result.
[0096] This implementation method, when it is determined that the application currently running on the terminal device is a target type application, periodically obtains the current application running data of the target type application and identifies the application type through an AI model. In this way, it dynamically adjusts the application type of the target type application according to the user's current actual usage, thereby more accurately managing and controlling the usage time of the application and helping the user to more reasonably allocate the usage time of the terminal device for different sub-application modules of the target type application.
[0097] Step S12, or, if it is detected that the application currently running on the terminal device is not the target type application, the application type of the application currently running on the terminal device is obtained by querying based on the preset application type mapping relationship.
[0098] In one embodiment, if it is detected that the application currently running on the terminal device is not identified as a target type application, it is determined that the application currently running on the terminal device is not a target type application. The application type can be accurately identified through a preset application type mapping relationship. Therefore, the application type of the application currently running on the terminal device can be obtained by means of faster response speed and less consumption of terminal device computing resources, that is, by means of a preset application type mapping relationship.
[0099] In addition, in this embodiment, besides identifying target applications separately and determining whether an application is a target application by detecting whether it is identified as a target application, the application type of target applications can also be divided into target categories, and corresponding application type mapping relationships can be set. Then, by querying the application type mapping relationship, it can be determined whether it is a target application. If it is determined to be a target application, the application type of the application currently running on the terminal device can be identified based on a pre-trained application type recognition AI model. If it is determined not to be a target application, the application type of the application currently running on the terminal device can be obtained by querying based on the preset application type mapping relationship.
[0100] In the absence of an application type mapping relationship for the target application, this embodiment can determine whether an application is a target application by detecting whether it is identified as such. In the absence of an application type mapping relationship for the target application, this embodiment can determine whether an application is a target application by querying the application type mapping relationship.
[0101] Furthermore, in one feasible implementation, the method further includes steps S300 to S400:
[0102] Step S300: Based on the preset authentication method, authenticate the identity of the current user of the terminal device.
[0103] As those skilled in the art will recognize, authentication refers to the process of verifying a user's identity, that is, confirming whether the identity claimed by the user is legitimate. Authentication methods refer to pre-defined identity verification methods used to verify a user's identity and confirm its legitimacy, i.e., to authenticate the user.
[0104] The authentication methods include, but are not limited to, password verification, gesture recognition verification, and biometric verification. Specifically, biometric verification can include one or more combinations of facial recognition, fingerprint recognition, palm print recognition, voiceprint recognition, iris recognition, and iris recognition.
[0105] In this embodiment, the user can select one of several preset authentication methods to authenticate their identity, i.e., the current user of the terminal device, and determine whether the user's identity is legitimate. If the user's identity is determined to be legitimate, the authentication result is successful; otherwise, the authentication result is unsuccessful.
[0106] Step S400: If the authentication result is successful, control the terminal device to enter administrator mode.
[0107] The administrator mode is authorized to at least one of the following: be authorized to set the application type mapping relationship; or be authorized to edit or modify at least one of the first usage duration, the first available duration, and the second usage duration; or be authorized to set the first association relationship.
[0108] In this embodiment, administrator mode refers to a special mode on the terminal device that requires authentication to access. In administrator mode, users can set or modify application type mapping relationships, first usage duration, first available duration, second usage duration, or first association relationships.
[0109] In this embodiment, if the authentication result is successful, the terminal device is controlled to enter the administrator mode, ensuring that only users who have passed the authentication and are successfully authenticated can enter the administrator mode, thereby improving the security of the system.
[0110] This implementation allows users to adjust the application type, usage duration, availability, or association of different applications according to their needs after the control terminal device enters administrator mode, in order to adapt to different usage scenarios and achieve more personalized management strategies.
[0111] In this implementation, after entering administrator mode, the user can configure application type mapping relationships, including but not limited to adding, modifying, and deleting application type mapping relationships. Alternatively, the user can edit or modify at least one of the first usage duration, the first available duration, and the second usage duration, including but not limited to modifying the first usage duration, the first available duration, and the second usage duration. Furthermore, the user can configure the first correlation, including but not limited to changing the first correlation from positive to negative, changing the first correlation from negative to positive, and modifying the degree of correlation of the first correlation.
[0112] Based on the first embodiment described above, a terminal control method according to a third embodiment of this application is proposed.
[0113] In the third embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter.
[0114] Please refer to Figure 2, which is a flowchart of the terminal control method according to Embodiment 3 of this application.
[0115] In this embodiment, obtaining the first usage duration of an application of type 1 includes steps S110 to S120:
[0116] Step S110: Calculate the first usage time of applications of type 1.
[0117] In this embodiment, the terminal device continuously counts the first usage time of applications of the first type. Specifically, when it is detected that the application currently running on the terminal device is an application of the first type, the first usage time is accumulated, and when it is detected that the application currently running on the terminal device is not an application of the first type, the accumulation of the first usage time is stopped.
[0118] In this embodiment, the usage time of each first type of application in the terminal device can be counted and finally accumulated to obtain the first usage time. Alternatively, the usage time of each first type of application running on the terminal device can be counted and accumulated into the first usage time.
[0119] In one feasible implementation, the first usage time of applications of type 1 is counted, including step S111:
[0120] Step S111: Periodically count the first usage time of applications of type 1. Each time a new statistical period for the first usage time begins, the first usage time is reset to zero and counted again.
[0121] In this embodiment, the statistical period for the first usage duration is preset by the user or the system, and is used to periodically count the first usage duration of applications of the first type.
[0122] In this embodiment, within a statistical period of a first usage duration, the terminal device continuously counts the first usage duration of applications of the first type. When a statistical period of a first usage duration ends and a new statistical period of a first usage duration begins, the terminal device automatically resets the first usage duration to zero, so that in the new statistical period of a first usage duration, it restarts the counting of the first usage duration of applications of the first type.
[0123] This implementation allows users to flexibly set the statistical period for the first usage duration according to their own needs, so as to adapt to different usage scenarios and personal preferences, and help users better manage their time allocation in various applications.
[0124] When a new statistical period for the first usage duration begins, the first usage duration is reset to zero and recalculated. To allow users to continue using the first type of application in this new statistical period, and to prevent the second usage duration and the first available duration from accumulating and becoming unable to exceed the first available duration after the first usage duration is reset in subsequent statistical periods, this implementation simultaneously or nearly simultaneously resets the second usage duration and the first available duration to zero when the first usage duration is reset in a new statistical period. Alternatively, the first available duration at the end of the previous statistical period can be subtracted from the first usage duration, and the difference can be used as the initial value of the first available duration at the start of a new statistical period. This embodiment does not impose specific limitations on this.
[0125] The statistical period can be one day or 12 hours; this embodiment does not impose any specific restrictions on it.
[0126] Furthermore, in one feasible implementation, the method further includes steps S500 to S600:
[0127] Step S500: If the first usage duration is detected to be greater than a preset upper limit duration threshold, control the first type of application to enter a locked state, or interfere with the operation of the first type of application through a preset interference method.
[0128] In this embodiment, the upper limit time threshold is preset by the user or the system, representing the maximum allowed usage time of the first type of application within a statistical period of a first usage duration. That is, within a statistical period of a first usage duration, once the first usage duration is greater than or equal to the preset upper limit time threshold, regardless of whether the first usage duration is greater than the first available time, the first type of application will be locked (or its operation will be interfered with through a preset interference method), thereby ensuring that the user's time using the first type of application within a statistical period of a first usage duration will not be excessive, preventing the user from becoming addicted to the first type of application.
[0129] The upper limit time threshold can also be set to the maximum value of the first available time, that is, the value of the first available time cannot exceed the upper limit time threshold, thereby ensuring that the first available time will not be too long within a statistical period of the first usage time, thus ensuring that the first usage time will not be too long, thereby helping users to allocate time reasonably.
[0130] In addition, while controlling the first type of application to enter a locked state or interfering with the operation of the first type of application through a preset interference method, a preset prompt message can be output.
[0131] In this embodiment, the preset prompt information is used to remind the user that the first usage time has reached the preset upper limit threshold within the current first usage time statistical period, or to remind the user that the first type of application can no longer be used within the current first usage time statistical period.
[0132] This embodiment, after obtaining a unified first usage duration, detects whether the first usage duration exceeds a preset upper limit threshold. If the first usage duration exceeds the preset upper limit threshold, it controls the first type of application to enter a locked state, or interferes with the operation of the first type of application through a preset interference method. This controls the user's usage time of the first type of application within a statistical period of the first usage duration, preventing users from becoming addicted to the first type of application for extended periods, encouraging users to take a break or switch to other types of applications, and helping users develop healthy electronic product usage habits. Furthermore, while controlling the first type of application to enter a locked state or interfering with its operation through a preset interference method when the first usage duration exceeds the preset upper limit threshold, this embodiment can also output preset prompt information to inform the user of the reason why the first type of application is locked, or the reason why its operation is being interfered with by the preset interference method. This lets the user understand that within the current statistical period of the first usage duration, the usage time of the first type of application cannot be extended normally, and the user must wait until the next statistical period of the first usage duration to be allowed to use the first type of application again.
[0133] Step S120: Obtain the first usage duration statistics once every first preset time interval; or, if an application of type 1 is detected to be running, obtain the first usage duration statistics in real time.
[0134] The first preset time interval is a time interval preset by the user or the system, used to periodically obtain the first usage duration for statistics.
[0135] In this embodiment, the terminal device can acquire a statistical first usage duration at a first preset time interval, thereby periodically detecting whether the first usage duration is greater than the first available duration to determine whether it is necessary to control the first type of application to enter a locked state, or to interfere with the operation of the first type of application through a preset interference method. Alternatively, when it is detected that an application of the first type is running, the terminal device can acquire the statistical first usage duration in real time and detect whether the first usage duration is greater than the first available duration in real time. When the first usage duration is detected to be greater than the first available duration, the terminal device can immediately control the first type of application to enter a locked state, or interfere with the operation of the first type of application through a preset interference method.
[0136] In this embodiment, periodically acquiring the first usage duration consumes fewer computing resources, has less impact on user privacy, and allows users to choose a preset time interval, such as every hour, every half hour, or every three minutes, to adapt to different usage scenarios and personal preferences, offering greater flexibility. Real-time acquisition of the first usage duration provides immediate response, detecting when the first usage duration exceeds the first available time and immediately taking control measures to prevent users from overusing the first type of application, helping users strictly control their usage time. Furthermore, real-time acquisition of the first usage duration has higher accuracy, enabling more precise tracking of the first usage duration and reducing false alarms and missed alarms.
[0137] In this embodiment, the user can choose either of the two methods described above, or combine the two methods to obtain the first usage time, according to their own needs. If the two methods are combined to obtain the first usage time, the first usage time is obtained in real time when an application of type 1 is detected running, and the first usage time is obtained once every first preset time interval when an application of type 2 is detected running.
[0138] Based on the first embodiment described above, a terminal control method according to the fourth embodiment of this application is proposed.
[0139] In the fourth embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter.
[0140] Please refer to Figure 3, which is a flowchart of the terminal control method according to Embodiment 4 of this application.
[0141] In this embodiment, after obtaining the first usage duration of an application of type 1, the method further includes steps S20 to S30:
[0142] Step S20: Obtain the second usage duration of the application of the second type, and the first association relationship;
[0143] In this embodiment, after obtaining the first usage time of an application of type 1, in order to detect whether the first usage time is greater than the first available time, and to determine whether it is necessary to control the application of type 1 to enter a locked state, or to interfere with the operation of the application of type 1 through a preset interference method, it is necessary to first determine the first available time.
[0144] Since there is a first correlation between the first available time and the second usage time of the application of the second type, the first available time can be determined by the second usage time and the first correlation. Therefore, after obtaining the first usage time of the application of the first type, this embodiment needs to first obtain the second usage time of the application of the second type, as well as the first correlation between the first available time and the second usage time, so as to determine the first available time based on the second usage time and the first correlation.
[0145] For example, in one feasible implementation, obtaining the second usage duration of an application of type two includes steps S21 to S22:
[0146] Step S21: Calculate the second usage duration of applications of type 2.
[0147] In this embodiment, the terminal device continuously counts the second usage time of applications of the second type. Specifically, when it is detected that the application currently running on the terminal device is a second type application, the second usage time is accumulated, and when it is detected that the application currently running on the terminal device is not a second type application, the accumulation of the second usage time is stopped.
[0148] In this embodiment, the usage time of each second type of application on the terminal device can be counted and finally accumulated to obtain the second usage time. Alternatively, the usage time of each second type of application running on the terminal device can be counted and accumulated into the second usage time.
[0149] In one feasible implementation, the second usage duration of applications of type two is counted, including step B10:
[0150] Step B10: Periodically count the second usage time of applications of type 2. Each time a new statistical period for the second usage time begins, the second usage time is reset to zero and counted again.
[0151] In this embodiment, the statistical period for the second usage duration is preset by the user or the system, and is used to periodically count the second usage duration of applications of the second type.
[0152] In this embodiment, within a statistical period of a second usage duration, the terminal device continuously counts the second usage duration of applications of the second type. When a statistical period of a second usage duration ends and a new statistical period of a second usage duration begins, the terminal device automatically resets the second usage duration to zero, so that in the new statistical period of a second usage duration, it restarts the counting of the second usage duration of applications of the second type.
[0153] This implementation allows users to flexibly set the statistical period for the second usage duration according to their own needs, so as to adapt to different usage scenarios and personal preferences, and help users better manage their time allocation in various applications.
[0154] When a new second usage time statistical period begins, the second usage time is reset to zero and recalculated. To allow users to continue using the second type of application in the new second usage time statistical period, the first usage time and the first available time can be reset simultaneously or nearly simultaneously. Alternatively, the first available time at the end of the previous second usage time statistical period can be subtracted from the first usage time, and the difference can be used as the initial value of the first available time at the start of the new first usage time statistical period. This avoids the first usage time accumulating continuously, and the first available time, due to the reset and recalculation of the second usage time, consistently being less than the first usage time when determining the first available time through the first correlation, thus preventing users from using the first type of application.
[0155] When the first correlation is: the second usage time reaches a preset time threshold, the first available time is triggered to recover to the first time value, and the second usage time is reset to zero and the statistics start again each time a new time period begins. At this time, if the first usage time is not reset simultaneously with the second usage time, the first usage time will continuously accumulate, and the first available time will at most recover to the first time value. Therefore, in this embodiment, when the second usage time is reset, the first usage time is reset synchronously or nearly synchronously, and the first available time is adjusted. That is, the statistical period of the first usage time in the previous embodiment can be synchronized or nearly synchronized with the statistical period of the second usage time in this embodiment, thereby ensuring that the first and second usage times are reset synchronously or nearly synchronously in each statistical period.
[0156] When the first association is: for every increase of the second usage time by a second duration value, the first available usage time is triggered to increase by a third duration value. In this case, no statistical period needs to be set, meaning that the first and second usage times will not be reset to zero, but will continue to accumulate.
[0157] Step S22: Obtain the second usage duration statistics once every second preset time interval; or, if an application of type 2 is detected to be running, obtain the second usage duration statistics in real time.
[0158] The second preset time interval is a user- or system-preset time interval used to periodically obtain the statistical second usage duration. This second preset time interval can be synchronized or nearly synchronized with the first preset time interval. That is, the terminal device synchronously or nearly synchronously obtains the statistical first and second usage durations at the same or nearly the same time intervals, keeping the first and second usage durations obtained at nearly the same frequency. This ensures that when detecting whether the first usage duration is greater than the first available duration, the latest obtained second usage duration is used to determine the latest first available duration, and the detection is performed in conjunction with the obtained first usage duration to ensure the accuracy of the detection results. This achieves precise application time management and avoids misjudgments that could cause the first type of application to enter a locked state prematurely or delayed, or be interfered with by preset interference methods prematurely or delayed.
[0159] In this embodiment, periodically acquiring the second usage duration consumes fewer computing resources, has less impact on user privacy, and allows users to choose a second preset time interval, such as every hour, every half hour, or every three minutes, to adapt to different usage scenarios and personal preferences, offering greater flexibility. Real-time acquisition of the second usage duration provides immediate response, detecting the first usage duration exceeding the first available duration immediately and taking immediate control measures to prevent users from overusing the first type of application, helping users strictly control their usage time. Furthermore, real-time acquisition of the second usage duration has higher accuracy, enabling more precise tracking of the second usage duration and reducing false alarms and missed alarms.
[0160] In this embodiment, users can choose either of the two methods described above, or combine both methods to obtain the second usage time, according to their own needs. If the two methods are combined to obtain the second usage time, the second usage time is obtained in real time when an application of type 2 is detected running, and the second usage time is obtained once every second preset time interval when an application of type 3 is detected running.
[0161] Step S30: Determine the first available time based on the obtained second usage time and the first association relationship.
[0162] In this embodiment, after obtaining the second usage duration and the first correlation, it is necessary to combine the relevant parameters and rules preset by the user or the system in order to accurately calculate the first available duration.
[0163] For example, if the user or system pre-sets the first and second usage durations to be periodically reset and recalculated, and the first available duration is reset synchronously, and the first correlation is: each time the second usage duration increases by a second duration value, it triggers the first available duration to increase by a third duration value, then the number of second duration values obtained for the second usage duration can be calculated first, and then multiplied by the third duration value to determine the first available duration. For example, if the obtained second usage duration is 10 hours, the second duration value is 3 hours, and the third duration value is 2 hours, then the first available duration is 6 hours. It is easy to understand that if the user or system sets the first and second usage durations to be periodically reset and recalculated, the first available duration is not reset synchronously, but has an initial value, which is the difference between the first available duration and the first usage duration in the previous statistical period. Then, this initial value is added to the 6-hour base. If the difference is negative, then the initial value can be 0. The initial available time can be capped to prevent the initial available time from accumulating in subsequent statistical periods, which could lead to users having an excessively long initial available time in a later statistical period and becoming addicted to the first type of application.
[0164] In another example, if the user or system does not set a statistical period, that is, the first usage time and the second usage time will not be cleared, but will be continuously accumulated, and the first correlation is: the first available time is equal to half of the second usage time, then the half of the obtained second usage time is directly determined as the first available time.
[0165] This embodiment dynamically determines the first available time by linking the second usage duration with the first correlation relationship. It links the usage time of the first type of application with the usage time of the second type of application, thereby guiding users to rationally allocate their usage time across different applications, cultivating good usage habits, and helping users effectively allocate their time according to their needs. For example, the correlation mechanism can be set so that the longer the usage time of sports or learning applications, the longer the available time for entertainment applications, thus fully mobilizing users' enthusiasm for using learning and sports software. In this embodiment, users can set various beneficial rules through this correlation to help them rationally allocate their usage time across different applications, avoiding various contradictions and problems caused by excessive addiction to a certain type of application, and improving the user experience.
[0166] Based on the first embodiment described above, a terminal control method according to the fourth embodiment of this application is proposed.
[0167] In the fourth embodiment of this application, the same or similar content as the above embodiments can be referred to the above description, and will not be repeated hereafter.
[0168] Please refer to Figure 4, which is a flowchart of the terminal control method according to Embodiment 4 of this application.
[0169] In this embodiment, the method further includes steps S700 to S800:
[0170] Step S700: Obtain the third usage duration of the application with the third application type.
[0171] In this embodiment, the applications in the terminal device are pre-divided into multiple different application types, which include at least a first type, a second type, and a third type.
[0172] In this embodiment, the third usage time refers to the total usage time of all applications of the third type in the terminal device, also known as the total usage time of the third type.
[0173] In this embodiment, the terminal device pre-classifies the installed applications into different application types and counts the total usage time of each application type to obtain the third usage time, thereby providing an accurate data basis for subsequent control.
[0174] For example, in one feasible implementation, the first type of application is a learning application, the second type of application is a sports application, and the third type of application is an entertainment application.
[0175] Step S800: If the third usage duration is longer than the second available duration, control the third type of application to enter a locked state, or interfere with the operation of the third type of application through a preset interference method.
[0176] There is a second correlation between the second available time and the first usage time of the application of the first type.
[0177] In this embodiment, the second available time refers to the total available time of all applications of the third type on the terminal device, also known as the total available time of the third type. The second association refers to the association between the second available time and the first usage time.
[0178] In this embodiment, after obtaining the third usage time, it is detected whether the third usage time is greater than the second available time. The second available time can be determined through the first usage time and the second correlation relationship. That is, the terminal device will count the total usage time of the first type of application, determine the first usage time, and combine the second available time with the second correlation relationship between the first usage time and the second available time to determine the second available time.
[0179] For example, in one feasible implementation, the second association is a positive correlation.
[0180] In this embodiment, there is a positive correlation between the second available time and the first usage time; that is, the longer the first usage time, the longer the second available time.
[0181] Through this positive correlation, this embodiment can classify learning applications into a first type, sports applications into a second type, and entertainment applications into a third type, thereby encouraging users to spend more time on learning and sports applications to obtain more entertainment time, thus balancing the time allocation between entertainment, learning, and exercise and promoting healthier digital lifestyle habits.
[0182] In another feasible implementation, the second correlation is a negative correlation. That is, the longer the first usage time, the shorter the second available time.
[0183] By leveraging this negative correlation, this embodiment can classify instant messaging applications (such as QQ) into a first type, short video applications into a second type, and game applications into a third type. This avoids users spending too much time on both short video and game applications simultaneously, thereby balancing the time allocation among various entertainment applications, protecting users' eyesight, and promoting healthier digital lifestyles.
[0184] Furthermore, in one feasible implementation, the method further includes steps S910 to S920:
[0185] Step S910: Based on the preset authentication method, authenticate the identity of the current user of the terminal device.
[0186] Step S920: If the authentication result is successful, control the terminal device to enter administrator mode. The administrator mode is authorized to at least one of the following: authorized to set the second association relationship; or authorized to edit or modify at least one of the first usage duration, the first available duration, the second usage duration, the third usage duration, and the second available duration; or authorized to set the first association relationship.
[0187] In this embodiment, the administrator mode can set or modify the first usage duration, the first available duration, the second usage duration, the second available duration, the third usage duration, the first association relationship, or the second association relationship.
[0188] In this embodiment, after authentication, the terminal device enters administrator mode. Users can configure the first association relationship according to their needs, including but not limited to changing the first association relationship from positive to negative, from negative to positive, and modifying the degree of association. Alternatively, users can configure the second association relationship, including but not limited to changing the second association relationship from positive to negative, from negative to positive, and modifying the degree of association. They can also edit at least one of the first usage duration, first available duration, second usage duration, second available duration, and third usage duration, including but not limited to modifying the first usage duration, first available duration, second usage duration, second available duration, and third usage duration. Through this administrator mode, users can adjust the association relationships between different application types, as well as the usage duration and available duration of different application types, to adapt to different usage scenarios and achieve more personalized management strategies.
[0189] To facilitate understanding of the technical concept or principle of the terminal control method of this application as described above, a specific embodiment is given.
[0190] This specific embodiment establishes a correlation between the available time of various applications. This correlation can be reflected by setting correlation rules. The rules can be rewarding, such as allowing longer use of learning applications, which in turn allows longer use of entertainment applications. They can also be restrictive, such as prohibiting the use of entertainment applications if the time spent using learning applications does not reach a predetermined time. Other rules can also be used. Any method that can reflect the correlation between the usage time of various applications falls within the protection scope of this specific embodiment.
[0191] In this specific embodiment, users can set various beneficial incentive rules through this correlation to help them reasonably allocate their time for using various applications, avoid various contradictions and problems caused by excessive addiction to a certain type of application, and improve user experience.
[0192] As shown in Figure 5, the process of this specific embodiment is as follows:
[0193] Step S101: The user categorizes the applications.
[0194] In this specific embodiment, users categorize applications on their devices according to their purpose, such as entertainment, learning, sports, shopping, etc. Applications with clearly defined purposes are directly categorized. For comprehensive applications (i.e., target-type applications), such as reading software and video software, applications whose category cannot be directly determined are classified as comprehensive. Applications that do not require time management, such as ride-hailing software, map software, and weather software, do not need to be categorized.
[0195] In this specific embodiment, the user's operation method for categorizing applications (i.e., the preset UI interaction operation) includes: dragging an application icon into a folder and naming the folder "Entertainment" to indicate that the application belongs to the entertainment category. Similarly, the user can drag another application into the "Entertainment" folder, and all applications in this folder belong to the entertainment category. In this way, the user can also create application type folders such as "Learning" and "Sports".
[0196] In addition, users can change the category of an application. For example, a user can drag an application icon from the "Entertainment" folder to the "Learning" folder, thus changing the application's category from entertainment to learning.
[0197] In another embodiment of this specific example, the user can long-press the application icon to bring up a text editing box. The user can enter "entertainment" to indicate that the application belongs to the entertainment category. Similarly, the user can classify or modify the type of other applications.
[0198] In this specific embodiment, for applications downloaded and installed on the device for the first time, they are categorized into the corresponding application type according to their classification in the app store by default. Users can later manually change the application type.
[0199] Besides these, there are other ways to classify applications, which will not be limited here.
[0200] In one implementation, when a user categorizes applications, they may be required to undergo identity verification measures such as password verification, fingerprint verification, or facial recognition. Only after successful identity verification can an application be categorized or its type modified. That is, based on a preset authentication method, the current user's identity on the terminal device is authenticated. If the authentication result is successful, the terminal device is controlled to enter administrator mode. In administrator mode, at least one of the following is authorized: the user is authorized to set application type mapping relationships.
[0201] After classifying the applications as described above, an application classification table is generated and saved to the device's database. In other words, the application type mapping relationship is stored in the form of a mapping table.
[0202] Step S102: Users set incentive rules for the usage time of various applications;
[0203] As a feasible implementation of this specific embodiment, the usage time of each type of application can include three attribute values: available time (e.g., first available time and second available time), used time (e.g., first usage time, second usage time and third usage time), and time limit (e.g., upper limit time threshold). The time value is an integer greater than or equal to 0, and the unit is seconds. The initial value of each time value is 0.
[0204] Specifically, in this specific embodiment, the available time is -1, indicating that the available time is unlimited; the time limit is -1, indicating that the time limit is unlimited.
[0205] In this specific embodiment, users categorize applications by type. For example, first-level applications (i.e., applications of the second type) are learning applications, and second-level applications (i.e., applications of the first type) are entertainment applications. Users must first use applications of the first-level type, that is, after the usage time of applications of the first-level type is greater than 0, they can use applications of the second-level type. In other words, there is a first correlation between the first available time and the second usage time of applications of the second type; only after the second usage time is greater than 0 will the first available time be greater than 0.
[0206] In this specific embodiment, if a user does need to use the second-level application first, they can manually modify the elapsed duration of the first-level application to be greater than 0, and then they can use the second-level application. That is, the second usage duration can be edited and modified through administrator mode.
[0207] In this specific embodiment, authentication is required before manually modifying the application duration value; modification is only permitted after successful authentication. That is, based on a preset authentication method, the current user's identity on the terminal device is authenticated. If the authentication result is successful, the terminal device is controlled to enter administrator mode, where the administrator is authorized to edit and modify the second usage duration.
[0208] In this embodiment, the user sets incentive rules (i.e., associations, such as a first association and a second association) for the usage time of applications at each level. For example, the usage time of the first-level application is twice the available time of the second-level application, or the usage time of the first-level application is 30 minutes longer than the available time of the second-level application, or for every 40 minutes of use of the first-level application, the available time of the second-level application is 10 minutes (that is, for every increase in the second usage time, the first available time is triggered to increase by a third time), and so on.
[0209] In this specific embodiment, identity verification is required before setting incentive rules; settings can only be made after successful identity verification. That is, based on a preset authentication method, the current user's identity on the terminal device is authenticated. If the authentication result is successful, the terminal device is controlled to enter administrator mode. In administrator mode, the user is authorized to set either the first association relationship or the second association relationship.
[0210] Similarly, in this specific embodiment, the user can set multiple incentive rules and save the set incentive rules to the device's database.
[0211] In this specific embodiment, the user can set multiple levels (more than two levels) of incentives. For example, the first level application is a sports application, the second level application is a learning application, and the third level application is an entertainment application. That is, the first type of application is a learning application, the second type of application is a sports application, and the third type of application is an entertainment application. There is a first correlation between the first available time and the second usage time, and a second correlation between the second available time and the first usage time.
[0212] In this specific embodiment, the user can set an upper limit (i.e., upper limit time threshold) for the usage time of various applications within a period (i.e., a statistical period, such as the statistical period of the first usage time and the statistical period of the second usage time). For example, the upper limit for the usage time of entertainment applications in a day can be set to 3 hours.
[0213] Step S103: The user uses the application.
[0214] In this specific embodiment, the user can use the application continuously or intermittently. Simultaneously, the system cyclically detects the user's application usage at fixed time intervals, such as setting a 60-second timer to periodically detect user usage, and can also detect user usage at the moment the user opens the application. That is, a first usage duration is obtained at a first preset time interval, or, if an application of type 1 is detected running, the first usage duration is obtained in real time; and a second usage duration is obtained at a second preset time interval, or, if an application of type 2 is detected running, the second usage duration is obtained in real time.
[0215] Step S104: Determine the category to which the application belongs.
[0216] In this specific embodiment, the system obtains the currently running foreground application (i.e., the application currently running on the terminal device), and searches for the application's category by referring to the application classification table. In other words, based on a preset application type mapping relationship, the system queries to obtain the application type of the application currently running on the terminal device.
[0217] Step S105: For comprehensive applications, the large model determines the application category to which the content belongs.
[0218] In this specific embodiment, if the application belongs to the comprehensive application category, the system acquires data from the device's display screen and audio DSP (Digital Signal Processing) data as the content for large-scale model recognition. This includes the current device screen's image, text information, and playing sound. The large-scale model (i.e., the pre-trained application type recognition AI model) determines whether the current content (i.e., the current application running data) belongs to the application types at each level of the incentive rules. If it does, the corresponding application type is output; otherwise, another type is output, thus classifying the current application into the corresponding type. In other words, when the application currently running on the terminal device is detected as a target application, the system acquires the current application running data generated within a preset time period. This current application running data includes at least one of image data, audio data, and spoken text data. Then, based on the pre-trained application type recognition AI model, the system identifies the acquired current application running data to determine the application type of the application currently running on the terminal device.
[0219] As shown in Figure 6, the identification steps for comprehensive applications are as follows:
[0220] Step T10: Input the data displayed on the screen and the data from the audio DSP.
[0221] In this specific embodiment, the data from the display screen and the audio DSP are input to the large model. The data duration (i.e., the preset duration) can be 3 seconds or other durations. It is easy to understand that an excessively long duration will result in too much data, affecting system performance and the recognition speed of the large model. Therefore, an appropriate duration should be selected to ensure that the large model has a high recognition accuracy.
[0222] Step T20: Large model identifies content.
[0223] In this specific embodiment, the large model is pre-trained using a training set made up of a large amount of application operation data (i.e., display screen data and / or audio DSP data) labeled with application types at various levels in the incentive rules. Therefore, when using it, you only need to input the display screen data and / or audio DSP data into the large model as the content to be identified, and the large model will identify its application type.
[0224] Step T30: Does it belong to a type in the incentive rules?
[0225] In this specific embodiment, the large model analyzes the display screen data and / or audio data, compares them with the application types at each level in the incentive rules, and determines whether the display screen data and audio data belong to a certain application type in the incentive rules.
[0226] Step T40, output other types.
[0227] In this specific embodiment, if the large model identifies that the input display data and / or audio data does not belong to any of the application types in the incentive rules, it outputs "Other".
[0228] Step T50: Output the application type.
[0229] In this specific embodiment, if the large model identifies that the input display data and / or audio data belongs to a certain application type in the incentive rule, the large model outputs the application type, such as "learning" or "entertainment".
[0230] Step S106: Calculate the usage time of various applications.
[0231] In this specific embodiment, the system obtains the application type of the user's current application based on the above steps, and after determining that the application type is one of the types involved in the incentive rules, calculates the usage time value (available time, used time) of each application type according to the incentive rules.
[0232] As shown in Figure 7, the usage time data for each application type is calculated as follows:
[0233] When a user uses an application of the first-level application type (i.e., the second type), the available time 1 (i.e., the total available time of the second type) remains unchanged, the used time 1 (i.e., the second usage time, i.e., the total usage time of the second type) increases, the time limit 1 (i.e., the upper limit time threshold of the second type) remains unchanged, the available time 2 (i.e., the first available time, i.e., the total available time of the first type) is calculated according to the rules (referring to the first association relationship), the used time 2 (i.e., the first usage time, i.e., the total usage time of the first type) remains unchanged, and the time limit 2 (i.e., the upper limit time threshold of the first type) remains unchanged.
[0234] When a user uses an application of the second-level application type (i.e., the first type), the available time 2 (i.e., the first available time, i.e. the total available time of the first type) remains unchanged, the used time 2 (i.e., the first usage time, i.e. the total usage time of the first type) increases, the time limit 2 (i.e. the upper limit time threshold of the first type) remains unchanged, the available time 3 (i.e., the second available time, i.e. the total available time of the third type) is calculated according to the rules (referring to the second association relationship), the used time 3 (i.e., the third usage time, i.e. the total usage time of the third type) remains unchanged, and the time limit 3 (i.e. the upper limit time threshold of the third type) remains unchanged.
[0235] When a user uses an application of the third-level application type (i.e., the third type), the available time 3 (i.e., the second available time, i.e., the total available time of the third type) remains unchanged, the used time 3 (i.e., the third usage time, i.e., the total usage time of the third type) increases, the time limit 3 (i.e., the upper limit time threshold of the third type) remains unchanged, the available time 4 (i.e., the total available time of the fourth type) is calculated according to the rules (referring to the third correlation relationship), the used time 4 (i.e., the total usage time of the fourth type) remains unchanged, and the time limit 4 (i.e., the upper limit time threshold of the fourth type) remains unchanged. There is a third correlation relationship between the total available time of the fourth type and the total usage time of the third type.
[0236] In this specific implementation, the available time for the first-level application type in the incentive rules is recorded as available time 1, the used time is recorded as used time 1, and the time limit is recorded as time limit 1; the available time for the second-level application type is recorded as available time 2, the used time is recorded as used time 2, and the time limit is recorded as time limit 2; the available time for the third-level application type is recorded as available time 3, the used time is recorded as used time 3, and the time limit is recorded as time limit 3, and so on.
[0237] In this specific implementation, the initial value of each duration value is 0. When the available duration is -1, it means that the available duration is unlimited; when the maximum duration is -1, it means that the maximum duration is unlimited.
[0238] In this specific implementation, after the user sets the incentive rules, the available time of the first-level application type changes from 1 to -1. If the user sets a time limit for a certain level of application type, the time limit value is the value set by the user; otherwise, the time limit changes to -1.
[0239] In this specific embodiment, the system detects when a timer for the user's application usage expires and calculates the usage duration.
[0240] During a user's use of an application of the first-level application type (e.g., a sports application) and the second-level application type (e.g., a learning application), the incentive rule is that the time spent in the first-level application is half the available time in the second-level application, and the timer duration is 60 seconds. The usage time is calculated as follows: Available time 1 remains unchanged, spent time 1 increases by 60 seconds, and the time limit 1 remains unchanged; Available time 2 increases by 120 seconds, spent time 2 remains unchanged, and the time limit 2 remains unchanged. This process continues, with usage time being calculated periodically as the timer expires.
[0241] In another feasible implementation of this specific embodiment, the system itself also records the runtime of the application, and the runtime of all applications in the first-level application type is added together to obtain the elapsed time 1. Besides this, there are other methods for calculating runtime, which are not limited to this specific embodiment.
[0242] During a user's use of a second-level application (e.g., an educational application) and a third-level application (e.g., entertainment), if the incentive rule is that the time spent on the second-level application is twice the available time on the third-level application, then when the timer expires, the usage time is calculated as follows: Available time 2 remains unchanged, spent time 2 increases by 60, and the maximum time limit 2 remains unchanged; Available time 3 increases by 30, spent time 3 remains unchanged, and the maximum time limit 3 remains unchanged. This process continues, with usage time being calculated periodically as the timer expires.
[0243] Similarly, the available time is calculated as 3, the used time is 3, the time limit is 3, the available time is 4, the used time is 4, and the time limit is 4.
[0244] If the third-level application is the last-level application, the system will not calculate the usage time of 4 (that is, it will not calculate the available time of 4, the used time of 4, and the time limit of 4).
[0245] Usage duration data for each application type can be stored on non-volatile memory. If the device restarts, this data can be read from the non-volatile memory again, preventing the usage duration data from being cleared due to the device restart.
[0246] Step S107: Determine that the current application has used more than or equal to the available time.
[0247] In this specific embodiment, it is determined whether the elapsed time of the current application type is greater than or equal to the available time of that application type. That is, it is detected whether the first elapsed time is greater than the first available time, or whether the third elapsed time is greater than the second available time.
[0248] In this specific embodiment, if the user sets a usage time limit for this application type within a period, it is then determined whether the used time is greater than or equal to the usage time limit. That is, it checks whether the first usage time is greater than the preset upper limit time threshold.
[0249] Step S108: Prompt the user and exit the application.
[0250] In this specific embodiment, if the used time of the current application type is detected to be greater than or equal to the available time, or the used time is greater than or equal to the usage time limit, the user is prompted and the application is exited. That is, if the first usage time exceeds the first available time, the application of the first type is locked, or its operation is interfered with through a preset interference method; or, if the third usage time exceeds the second available time, the application of the third type is locked, or its operation is interfered with through a preset interference method. Furthermore, while locking the application of the first type or interfering with its operation through a preset interference method, a preset prompt message can be output.
[0251] In this specific embodiment, the user may be prompted by a pop-up notification box or by a notification sound.
[0252] In one example, if the elapsed time is greater than or equal to the available time, the prompt will be "The current application has exceeded its available time, please XX first," where "XX" refers to the parent application type of the current application. For example, if the current application type is "Entertainment," and the parent application type of "Entertainment" is "Learning," then "XX" will be displayed as "Learning," prompting the user to use a learning application first before using the current application.
[0253] In another example, if the elapsed time is greater than or equal to the time limit, the prompt message will be "The current application has exceeded the time limit, please wait for YY". Here, "YY" refers to the time remaining until the next statistical period. For example, if the time limit for using entertainment applications in a day is set to 3 hours, and the user has used entertainment applications for a total of 3 hours by 10 pm that day, then "YY" will be displayed as "2 hours", prompting the user to use the current application again the next day.
[0254] The prompt word refers to the content displayed in the prompt box or the content announced by the prompt sound.
[0255] In one embodiment, specifically in this embodiment, the user can set a statistical period (e.g., a statistical period for the first usage duration and a statistical period for the second usage duration), such as one day or one week. At the end of a statistical period, the usage duration values for all applications are reset to zero. That is, the first usage duration and the second usage duration share the same statistical period.
[0256] In one example, the device's structural modules in this specific embodiment are shown in Figure 8, including a touch display module, an image processing module, a communication module, a fingerprint recognition module, a processor, an audio module, and a storage module. The fingerprint recognition module is used for authentication; the image processing module and the audio module are used to acquire data from the display screen and the audio DSP, i.e., the current application running data. The storage module stores association relationships and application type mapping relationships; the touch display module allows users to customize the application type mapping relationships through preset UI interactions; and the processor is used to implement the relevant logic calculations of the terminal control method in this specific embodiment.
[0257] In addition, please refer to Figure 9, which is a schematic diagram of the device structure of the hardware operating environment involved in the terminal control method in the embodiments of this application.
[0258] This application also provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the terminal control method in the above embodiments.
[0259] Referring now to Figure 9, a schematic diagram of an electronic device suitable for implementing embodiments of this application is shown. The electronic device in embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs (Televisions), desktop computers, etc., or any terminal device capable of performing the above functions. The electronic device shown in Figure 9 is merely an example and should not impose any limitations on the functions and scope of use of embodiments of this application.
[0260] As shown in Figure 9, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figure, it is not required to implement or have all of the systems shown; alternatively, more or fewer systems may be implemented or have.
[0261] According to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0262] The electronic device provided in this application, employing the terminal control method described in the above embodiments, can solve the technical problem in related technologies where there is no effective way to guide users to reasonably allocate and manage the usage time of various applications on electronic devices. Compared with the prior art, the beneficial effects of the electronic device provided in this application are the same as those of the terminal control method provided in the above embodiments, and other technical features of the electronic device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0263] The various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0264] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0265] In addition, this application also provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the terminal control method in the above embodiments.
[0266] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0267] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.
[0268] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by an electronic device, the electronic device causes the electronic device to: obtain a first usage duration of an application of the first type; and, if the first usage duration is greater than a first available duration, control the application of the first type to enter a locked state, or interfere with the operation of the application of the first type through a preset interference method; wherein, there is a first correlation between the first available duration and the second usage duration of an application of the second type.
[0269] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0270] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0271] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0272] The computer-readable storage medium provided in this application stores computer-readable program instructions (i.e., a computer program) for executing the aforementioned terminal control method, which can solve the technical problem in the related art of not having an effective way to guide users to reasonably allocate and manage the usage time of various applications on electronic devices. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as the beneficial effects of the terminal control method provided in the above embodiments, and will not be repeated here.
[0273] Furthermore, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the terminal control method as described in the above embodiments.
[0274] The computer program product provided in this application can solve the technical problem in the related technology that there is no effective way to guide users to reasonably allocate and manage the usage time of various applications on electronic devices. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this application are the same as the beneficial effects of the terminal control method provided in the above embodiments, and will not be repeated here.
[0275] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.
Claims
1. A terminal control method, comprising: obtaining a first usage duration of an application of a first type; in a case where the first usage duration is greater than a first available duration, controlling the application of the first type to enter a locked state, or interfering with the running of the application of the first type through a preset interference manner; wherein the first available duration and a second usage duration of an application of a second type have a first correlation.
2. The terminal control method according to claim 1, wherein The first correlation is a positive correlation.
3. The terminal control method according to Claim 1, wherein Before the step of obtaining the first usage duration of the application of the first type, the method further comprises: determining an application type of an application currently running on a terminal device; The method of determining the application type of the application currently running on the terminal device comprises one of the following: obtaining the application type of the application currently running on the terminal device based on a preset application type mapping relationship; or identifying the application type of the application currently running on the terminal device based on a pre-trained application type recognition AI model.
4. The terminal control method according to Claim 3, wherein The method further comprises: in a case where it is detected that the application currently running on the terminal device is a target class application, identifying the application type of the application currently running on the terminal device based on the pre-trained application type recognition AI model; or in a case where it is detected that the application currently running on the terminal device is not the target class application, obtaining the application type of the application currently running on the terminal device based on the preset application type mapping relationship.
5. The terminal control method according to claim 3 or 4, wherein The application type mapping relationship is customized based on a preset UI interaction operation.
6. The terminal control method according to claim 3 or 4, wherein The method of identifying the application type of the application currently running on the terminal device based on the pre-trained application type recognition AI model comprises: obtaining current application running data generated within a preset time duration of the application currently running on the terminal device, wherein the current application running data comprises at least one of image data, audio data, and language text data; identifying the obtained current application running data based on the pre-trained application type recognition AI model to identify the application type of the application currently running on the terminal device.
7. The terminal control method according to claim 3 or 4, wherein The method further comprises: authenticating a current user identity of the terminal device based on a preset authentication manner; in a case where the authentication result is authentication success, controlling the terminal device to enter an administrator mode; wherein the administrator mode is authorized to at least one of the following: authorized to set the application type mapping relationship; or authorized to edit and modify at least one of the first usage duration, the first available duration, and the second usage duration; or authorized to set the first correlation.
8. The terminal control method of claim 1, wherein, The first correlation comprises one of the following: in a case where the second usage duration reaches a preset time threshold, triggering the first available duration to return to a first time value, and the second usage duration is reset to zero and starts to be counted again every time a new time period is entered; or in a case where the second usage duration increases by a second time value, triggering the first available duration to increase by a third time value.
9. The terminal control method of claim 1, wherein, The step of obtaining the first usage duration of the application of the first type comprises: statistically acquire a first usage duration of an application of a first type; acquire the first usage duration of the application of the first type periodically, or acquire the first usage duration of the application of the first type in real time when it is detected that the application of the first type is running.
10. The terminal control method according to Claim 9, wherein The method further includes: acquire a second usage duration of an application of a second type and the first correlation relationship; 11. The terminal control method according to Claim 10, wherein determine a first available duration according to the acquired second usage duration and the first correlation relationship. The method further includes:
12. The terminal control method of claim 1, wherein, acquire a second usage duration of an application of a second type and the first correlation relationship; determine a first available duration according to the acquired second usage duration and the first correlation relationship. The method further includes:
13. The terminal control method according to Claim 12, wherein acquire a second usage duration of an application of a second type and the first correlation relationship; determine a first available duration according to the acquired second usage duration and the first correlation relationship. The method further includes:
14. The terminal control method according to Claim 13, wherein acquire a second usage duration of an application of a second type and the first correlation relationship; determine a first available duration according to the acquired second usage duration and the first correlation relationship.
15. The terminal control method of claim 1, wherein, The method further includes:
16. The terminal control method of claim 1, wherein, acquire a third usage duration of an application of a third type; control the application of the third type to enter a locked state or interfere with the running of the application of the third type by a preset interference mode when the third usage duration is greater than a second available duration; wherein the second available duration and the first usage duration of the application of the first type have a second correlation relationship. The method further includes:
17. The terminal control method of claim 16, wherein, authenticate a current user identity of the terminal device based on a preset authentication mode; control the terminal device to enter an administrator mode when the authentication result is successful; wherein the administrator mode is authorized to at least one of: be authorized to set the second correlation relationship; or be authorized to edit and modify at least one of the first usage duration, the first available duration, the second usage duration, the third usage duration and the second available duration; or be authorized to set the first correlation relationship. The first type of application is a learning application, the second type of application is a sports application, and the third type of application is an entertainment application.
18. The terminal control method of claim 16, wherein, 19. An electronic device comprising: A memory, a processor, and a terminal control program stored on the memory and executable on the processor, the terminal control program, when executed by the processor, implementing the terminal control method according to any one of claims 1 to 18.
20. A computer readable storage medium, wherein, The computer readable storage medium stores a terminal control program, the terminal control program, when executed by a processor, implementing the terminal control method according to any one of claims 1 to 18.
21. A computer program product, wherein, The computer program product comprises a terminal control program, the terminal control program, when executed by a processor, implementing the steps of the terminal control method according to any one of claims 1 to 18.
Citation Information
Patent Citations
Method for controlling use of device, device, terminal device and storage medium
CN109040451A
Application program management method, application program management device and server
CN111198801A
Display method and device and electronic equipment
CN111857476A
Terminal control method, electronic equipment and computer readable storage medium
CN119071387A
Display method and apparatus, and electronic device
US20230168785A1