Control method, electronic device, and readable storage medium

By pre-setting a control list in electronic devices and monitoring application status in real time, and automatically implementing restriction measures, the problem of game addiction among teenagers and young children has been solved, and intelligent control of electronic devices has been achieved.

CN118450040BActive Publication Date: 2025-12-05HONOR DEVICE CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311271174.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-26
Publication Date
2025-12-05
Estimated Expiration
2043-09-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively prevent teenagers and young children from becoming addicted to games for extended periods when using electronic devices, and the restrictions cannot be maintained once the device settings are reset.

Method used

Pre-set control lists in electronic devices, monitor application operation status in real time, and automatically execute control measures, such as displaying control windows, covering application interfaces, and restricting usage time and frequency. Update the control list through cloud servers and machine learning models to adapt to the addition of new applications.

Benefits of technology

It enables automated control over the use of electronic devices by teenagers and young children, preventing addiction, avoiding control failures caused by device parameter resets, and automatically recognizing and restricting new applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118450040B_ABST
    Figure CN118450040B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of communication, and discloses a control method, an electronic device and a readable storage medium. In the method, an electronic device is previously provided with a control list, the control list can involve various types of required controlled applications, for example, game applications that need to be controlled. When it is determined that a running application is in the control list, the current application running state and the satisfaction of the control condition are further judged, for example, the running time length and the use frequency are judged. If the running time length exceeds a first time length threshold value or the use frequency exceeds a first frequency threshold value, a control operation is performed, so that automatic control of the use of the application by a user is realized, and account following is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a control method, electronic device, and readable storage medium. Background Technology

[0002] With the increasing prevalence of electronic devices, teenagers and young children are using them more frequently. When teenagers and young children spend long periods of time playing games on electronic devices, it can have many negative impacts on their physical health, therefore, it is necessary to regulate their gaming habits.

[0003] Currently, parents can set usage conditions for game accounts within the game app or manually configure the game apps they want to control through the app management system provided by the device manufacturer. For example, parents can set the playtime limit for a specific game account within the app, or manually configure the game apps they want to control through the app management system provided by the device manufacturer, thereby limiting the gaming behavior of teenagers and young children.

[0004] However, when teenagers and young children download new games or reset the settings of their electronic devices, they will not be restricted from playing games. Summary of the Invention

[0005] To address the aforementioned problems, embodiments of this application provide a control method, an electronic device, and a readable storage medium.

[0006] In a first aspect, embodiments of this application provide a control method applied to an electronic device, the electronic device including a first application: the method includes: determining that the first application matches a control list; detecting that the first application is started and obtaining the running status of the first application; and executing control measures on the first application corresponding to the running status of the first application meeting a first control condition.

[0007] Understandably, electronic devices have pre-installed control lists, which don't need to be linked to accounts. Since the devices monitor applications matching these lists in real time, when an application matches the control list and is detected to be running, if the application's running status meets the first control condition, control can be implemented, thus automatically managing the user's application usage. This prevents users from becoming addicted to the current application and avoids the problem of unrestricted access to desired applications due to invalid parameters set by the controller in the application management settings. Even if the user downloads a new application or reinstalls an existing one (e.g., a new game), the system will automatically identify whether the new or reinstalled application is a controlled application. If it is, the user will still be restricted when using the newly installed game.

[0008] In one possible implementation of the first aspect above, the electronic device includes a second application and a first service; determining that the first application matches a control list includes: the second application determining that the first application matches a control list; the second application sending a first application control list to the first service, the application control list including an identifier of the first application; detecting that the first application has been launched and obtaining the running status of the first application includes: the first service detecting that the first application has been launched; the first service determining that the first application is a controlled application based on the first application control list; the first service sending a notification that the first application has been launched to the second application based on determining that the first application is a controlled application; and the second application obtaining the running status of the first application in response to receiving the notification.

[0009] Understandably, the second application sends a first application control list, which includes the first application, to the first service. This first application control list can be a control list with a smaller data volume, thereby improving the listening efficiency of the first service when it monitors the started application, and thus improving the control efficiency.

[0010] In one possible implementation of the first aspect above, the method further includes: installing a third application; the second application updating the first application control list based on determining that the third application matches the control list, the updated application control list including the third application; and sending the updated application control list to the first service.

[0011] Understandably, when a new application is installed, if that application matches the control list, the third application that needs to be matched will be added to the first application control list, thus avoiding the situation where a new application that needs to be controlled is installed but is not controlled.

[0012] In one possible implementation of the first aspect above, the method further includes: obtaining the control list.

[0013] Understandably, once the control list is obtained, applications can be controlled.

[0014] In one possible implementation of the first aspect above, obtaining the control list includes: obtaining the control list from a cloud server; determining the control list based on user input; and / or, identifying applications on electronic devices based on a machine learning model and determining the control list based on the identification results.

[0015] Understandably, by obtaining the control list from the cloud server, determining the control list based on user input, identifying applications on electronic devices using machine learning models, and determining the control list based on the identification results, the available means of obtaining the control list are fully considered, making the obtained control list more comprehensive.

[0016] In one possible implementation of the first aspect above, obtaining the control list from the cloud server includes: the electronic device obtaining the control list from the cloud server each time it is powered on; the electronic device obtaining the control list from the cloud server at predetermined time intervals; and the electronic device obtaining the control list from the cloud server each time a new application is installed.

[0017] Understandably, retrieving the control list from the cloud server every time the device is powered on; retrieving the control list from the cloud server at predetermined time intervals; and retrieving the control list from the cloud server every time a new application is installed can adaptively adjust the contents of the control list, making it more intelligent.

[0018] In one possible implementation of the first aspect above, determining that the first application matches the control list includes: receiving a first setting from a user, the first setting being used to specify a first type of application from multiple types of applications in the control list; and determining that the first application matches the control list based on the determination that the first type of application includes the first application.

[0019] Understandably, based on user settings, the types of applications that need to be matched in the control list can be determined, and it can quickly determine whether the first application matches the control list. Furthermore, users can freely configure these settings to meet their needs.

[0020] In one possible implementation of the first aspect above, the multiple application types include at least one of the following types of applications: games, social networking, video, audio, communication, shopping, and novels.

[0021] Understandably, this takes into full consideration the application types related to the application.

[0022] In one possible implementation of the first aspect above, the first control condition includes one or more of the following: the runtime of the application is greater than or equal to a first duration threshold; the usage frequency of the application is greater than or equal to a first frequency threshold;

[0023] Understandably, the runtime and frequency of an application are important indicators of a user's engagement with the application they are currently using, and these metrics can effectively assess a user's usage.

[0024] In one possible implementation of the first aspect above, implementing control measures on the first application includes: displaying a first control window on the display screen of an electronic device, and the first control window at least partially covering the display interface of the first application.

[0025] Understandably, displaying a control window on the screen of an electronic device, and having the control window at least partially cover the display interface of the first application, can effectively restrict the user's use of the current application.

[0026] In one possible implementation of the first aspect above, the method includes: determining that the first application matches a first sublist in the control list; detecting that the first application has been launched, and executing control measures on the first application.

[0027] Understandably, the system determines that the first application matches the first sublist in the control list; when the first application is detected to be launched, control measures are implemented on the first application, which can quickly restrict the user's use.

[0028] In one possible implementation of the first aspect above, the first sublist includes: pornographic apps, gambling apps, fraudulent apps, and high-risk apps.

[0029] Understandably, the first sublist includes pornographic apps, gambling apps, fraudulent apps, and high-risk apps, which helps prevent users from using unhealthy apps.

[0030] Secondly, embodiments of this application provide an electronic device, including: one or more processors; one or more memories; the one or more memories storing one or more programs, which, when executed by one or more processors, cause the electronic device to perform any of the control methods described in the first aspect and various implementations thereof.

[0031] Thirdly, embodiments of this application provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform any of the control methods described in the first aspect and various implementations thereof.

[0032] Fourthly, embodiments of this application provide a computer program product, which includes instructions that, when executed, cause a computer to perform any of the control methods described in the first aspect and various implementations thereof.

[0033] The beneficial effects of the second to fourth aspects can be referred to the beneficial effects of the first aspect, and will not be repeated here. Attached Figure Description

[0034] Figure 1 According to some embodiments of this application, a schematic diagram of a scene of children playing games is shown;

[0035] Figure 2A According to some embodiments of this application, a schematic diagram is shown illustrating the runtime of game account A1 in the settings interface 001 of game application A1.

[0036] Figure 2B According to some embodiments of this application, a schematic diagram of a system application settings interface 002 for application management is shown;

[0037] Figure 2C According to some embodiments of this application, a schematic diagram of a control window pop-up is shown;

[0038] Figure 3 According to some embodiments of this application, a process schematic diagram of a control method is shown;

[0039] Figure 4 According to some embodiments of this application, a schematic diagram of a software structure is shown;

[0040] Figure 5A According to some embodiments of this application, a flowchart of another control method is shown;

[0041] Figure 5B According to some embodiments of this application, a mobile phone interface 003 relating to the launch of a game manager is shown;

[0042] Figure 5C According to some embodiments of this application, a mobile phone interface 004 relating to the activation of children's mode is shown;

[0043] Figure 5D According to some embodiments of this application, a mobile phone interface 005 involving parental password settings is shown;

[0044] Figure 5E According to some embodiments of this application, a mobile phone interface 006 relating to anti-addiction time settings is shown;

[0045] Figure 5FAccording to some embodiments of this application, a mobile phone interface 007 relating to the setting of anti-addiction application types is shown;

[0046] Figure 5G According to some embodiments of this application, a mobile phone interface with a control window pop-up is shown;

[0047] Figure 6 According to some embodiments of this application, a schematic diagram of another control method process is shown;

[0048] Figure 7 According to some embodiments of this application, a system block diagram is shown;

[0049] Figure 8 According to some embodiments of this application, a schematic diagram of the interaction process between various functions during the execution of a control method is shown;

[0050] Figure 9A According to an embodiment of this application, a schematic diagram of a control method based on face recognition is shown;

[0051] Figure 9B According to an embodiment of this application, a schematic diagram of the hardware structure of a mobile phone 100 is shown. Detailed Implementation

[0052] The illustrative embodiments of this application include, but are not limited to, a control method, an electronic device, and a readable storage medium.

[0053] The technical solutions of the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0054] Figure 1 According to some embodiments of this application, a schematic diagram of a scene of children playing games is shown. Figure 1 As shown, child K is using mobile phone 100 to operate the game application A1.

[0055] Understandably, to prevent children K from playing the game application A1 for extended periods, in some embodiments, parents can set usage conditions for game account 1 in the game application A1. For example, such as... Figure 2A As shown, parents can set the playtime of game account 1 in the settings interface 001 of game application A1. For example, the playtime after the parent sets it is 2 hours, as shown in bar x11, thereby limiting the child K's gaming time.

[0056] In other embodiments, parents can also manually set permissions for game applications through the application management provided by the mobile phone 100. For example... Figure 2BThe system application settings interface 002 for application management is shown. In this interface, parents can manually set usage permissions for some or all applications on the phone 100. For example, ... Figure 2B The system application settings interface 002 shown allows parents to manually add game application A1 as a restricted application by clicking on bar x21, and to manually set the usage time of game application A1 by clicking on bar x22. For example... Figure 2B As indicated by the dotted box "Game App A1 Restricted" in bar x21, parents have already set permissions for Game App A1. Furthermore, as shown by the dotted box "Weekdays: Monday to Friday, 30 minutes; Weekends: Saturday and Sunday, 2 hours" in bar x22, the specific time limit for Game App A1's use is shown, thus restricting children's extended use of Game App A1.

[0057] However, when child K can no longer play the game, they will download a new one. Since the child can register a new account and the parents haven't manually changed the game settings in the app management, the child can play the game without restriction. Furthermore, when the phone's settings are reset, the parents' previous manual settings in the app management may become invalid, making it impossible to control the game, allowing the child to continue playing without restriction.

[0058] Therefore, to address the aforementioned issues, this application proposes a control method in which an electronic device pre-installs a control list (e.g., the control list includes game applications that need to be controlled), storing the applications that need to be controlled. The electronic device can identify controlled applications that match the control list. After detecting a controlled application, it determines whether at least one of the control conditions is met (e.g., runtime exceeds a first duration threshold, usage frequency exceeds a first frequency threshold, etc.). If at least one of the control conditions is met, i.e., the first control condition is met, the current user's use of the application is restricted.

[0059] For example, if child K is currently using game application A1, phone 100 will match game application A1 with its built-in game control list. If the match is successful, it will determine that the first control condition is met. If it is detected that the time spent by child K using game application A1 exceeds the first time threshold, a pop-up will appear on the phone 100's screen. Figure 2C The control window c1 shown restricts child K from continuing to operate the game application A1.

[0060] Understandably, electronic devices have pre-installed control lists, eliminating the need for account tracking. Since the device monitors applications matching the control list, it implements control measures on applications that meet the first control condition during operation, thus automatically managing the user's application usage. This prevents users from becoming addicted to a particular application and avoids the problem of unrestricted access to desired applications due to invalid parameters set by the controller in the application management settings. Even if the user (such as a child or teenager mentioned above) downloads (installs) a new application or reinstalls an existing one—for example, a new game or a reinstalled game—the system will automatically identify whether the new or reinstalled application is a controlled application. If it is, the user will still be restricted when using the newly downloaded game.

[0061] Understandably, the control method proposed in this application can be applied not only to the management of game applications, but also to social applications that are prone to addiction (e.g., Applications such as video applications (e.g.) Applications that need to be restricted in use, such as audio, communication, shopping, and novels, are all subject to the control methods of this application, and no restrictions are imposed here.

[0062] Understandably, in some embodiments, the control list can be obtained from a cloud server. For example, if the cloud stores the most popular game applications, the most popular game applications can be obtained from the cloud and added to the control list.

[0063] In some embodiments, a control list is determined based on the applications that the user (i.e., the controller) wants to control. For example, the controller receives the applications that the user has set to be controlled on their mobile phone 100 and adds the set applications to the control list. It is understood that the ability for the user to set the applications to be controlled further satisfies the user's needs.

[0064] Furthermore, in some embodiments, applications on electronic devices can be identified using machine learning models, and a control list can be determined based on the identification results. For example, a machine learning model can be used to search for applications with certain game-like characteristics on the local device, and the found applications can be added to the control list of game applications that require control. It is understandable that by identifying applications of the corresponding required categories using machine learning models, the list of applications requiring control can be supplemented, making the control more stringent.

[0065] Understandably, in some embodiments, the control list can be obtained at a first preset time interval (e.g., the control list can be obtained from the cloud server every hour); the control list can also be obtained after the local machine is detected to be powered on (e.g., the control list can be obtained from the cloud server after each power-on); in addition, the control list can also be obtained from the cloud server after each new application is installed, and the specific timing of obtaining the control list is not limited here.

[0066] It is understood that the electronic devices used in this application, in addition to the mobile phone 100 mentioned above, include, but are not limited to, tablet computers, in-vehicle devices, augmented reality (AR) / virtual reality (VR) devices, ultra-mobile personal computers (UMPCs), netbooks, personal digital assistants (PDAs), servers, etc., and the embodiments of the present invention do not impose any limitations here.

[0067] Figure 3 According to some embodiments of this application, a process schematic diagram of a control method is shown. It can be understood that... Figure 3 The execution subject of each step in the process shown can be an electronic device; the following explanation uses a mobile phone 100 as an example. The specific implementation process may include:

[0068] S301, Obtain the controlled list.

[0069] Understandably, the control list can include various categories of applications that need to be controlled, such as games, social networking, video, audio, communication, shopping, and novels.

[0070] S302, determine if the first application matches the control list.

[0071] In some embodiments, the first application can be directly matched against the control list. When it is determined that the first application is included in the control list, the first application is considered to match the control list. For example, if the same identifier is matched against the control list based on the first application's identifier (such as the first application's package name), the first application is considered to match the control list.

[0072] In other instances, a user first setting may be received, which specifies a first type of application from multiple types of applications in the control list; when it is determined that the first type of application includes the first application, it is determined that the first application matches the control list.

[0073] For example, if the user's first setting is to manage games, then the device can be scanned, and each application on the device can be matched against a management list. If the first application is a game application in the management list, then the first application is determined to match the management list.

[0074] S303, The first application has been detected to be running, and the running status of the first application is obtained.

[0075] In some embodiments, the launched application is monitored, and when the first application is detected to be launched, its running status is obtained. The running status may include runtime, usage frequency, etc.

[0076] S304. Determine whether the running status of the first application meets at least one of the control conditions. If at least one of the control conditions is met, i.e., the first control condition is met, proceed to step S305 to perform control measures on the first application. Otherwise, proceed to step S306 and do not perform any processing.

[0077] In some embodiments, the control conditions may include at least: runtime greater than or equal to a first duration threshold, or usage frequency greater than or equal to a first frequency threshold.

[0078] Understandably, if any of the control conditions are not met, it is considered that the first control condition is not met, and the process proceeds to step S306 without further action.

[0079] For example, if the runtime of the current first application is detected to be greater than or equal to a first duration threshold, then the first control condition is considered met, and the process proceeds to step S305. For example, if the usage frequency of the current first application is detected to be greater than or equal to a first frequency threshold, then the first control condition is considered met, and the process proceeds to step S305. As another example, if the runtime of the current first application is detected to be greater than or equal to a first duration threshold, and the usage frequency of the current first application is also greater than or equal to a first frequency threshold, then the first control condition is considered met, and the process proceeds to step S305.

[0080] S305 performs control over the first application.

[0081] In some embodiments, a control window may be displayed on the display screen, and the control window may be overlaid on the display screen.

[0082] For example, such as Figure 2C The control window c1 is displayed on the screen, at least partially covering the currently used application interface, restricting child K from continuing to operate the game application A1.

[0083] S306, no processing required.

[0084] It is understood that the execution order of steps S301 to S306 above is only an illustration. In other embodiments, other execution orders may be used, and some steps may be split or combined. This is not limited here.

[0085] Understandably, in step S302 above, after a newly installed application is detected, it will be confirmed whether the newly installed application matches the control list. If it matches the control list, the control of the newly installed application will be executed after the newly installed application meets the first control condition.

[0086] Understandably, in some embodiments, the control list also includes a blacklist (as a first sublist). If a first application is determined to match the first sublist in the control list, and the first application is detected to be running, control measures are implemented for the first application. It is understood that blacklisted applications include those that violate public order and good morals, laws and regulations, such as pornographic applications, gambling applications, fraudulent applications, and high-risk applications. In this case, once the first application is determined to be on the blacklist, control measures are implemented whenever the first application is detected running, thereby preventing any impact on the health of children or adolescents.

[0087] Understandably, Mobile100 can automatically monitor the devices used by users, such as children or teenagers, through a control list. It determines whether an application's operation meets any of the control conditions, or detects that the device is running on a blacklist, thus preventing users from becoming addicted to applications. Furthermore, even if a user downloads a new application (such as a game), as long as the newly downloaded application matches the control list, the system can still control the application downloaded by the current user, such as a child or teenager.

[0088] Furthermore, to facilitate a deeper understanding of the technical solutions provided in the embodiments of this application, Figure 4 According to some embodiments of this application, a schematic diagram of the software structure of a mobile phone 100 that can implement the control scheme of this application is shown. For example... Figure 4 As shown, the software structure of mobile phone 100 is a multi-layer structure, consisting of application layer 41, application framework layer 42, system library 43, and kernel layer 44 from top to bottom.

[0089] The application layer 41 may include a series of application packages. For example... Figure 4As shown, the application layer 41 includes applications such as an app store 410, music 411, game manager 412, system window 413, and game application 414. In some embodiments of this application, the app store 410 can provide applications that need to be downloaded. The game manager 412 provides the controller (e.g., a parent) with the permission to set control over applications and can determine whether the current application's running status meets at least one of the control conditions. If the first control condition is met, control over the application is executed. Upon receiving confirmation that the first control condition is met, the system window 413 pops up a control window. This control window is a system window with higher priority than ordinary windows, and it at least partially covers the currently running application interface, disappearing only after the controller unlocks it.

[0090] The application framework layer 42 provides an application programming interface (API) and programming framework for the applications in the application layer 41. The application framework layer includes some predefined functions. The application framework layer 42 includes a notification manager 420, a view system 421, a content provider 422, a system service (SystemServer) 423, a package manager service (PMS) 424, etc. In some embodiments of this application, the system service 423 can monitor running applications, listening to all window switching on the mobile phone 100. If an application matching the control list is detected, the game manager 412 is invoked.

[0091] System library 43 is the core of the mobile phone 100 software system, and can provide services to applications in application layer 41 through application framework layer 42. System library 43 includes media library 430, graphics processor 431, surface management library 432, voice wake-up library 434, and Android runtime, etc.

[0092] The kernel layer 44 includes display driver 440, camera driver 441, network card driver 442, audio driver 443, and sensor driver 444, etc.

[0093] Understandable. Figure 4 The software architecture shown for mobile phone 100 is merely an example. In other embodiments, the software architecture may include more or fewer modules, which can be combined. Furthermore, mobile phone 100 may also employ other forms of software architecture, such as iOS. TM HarmonyOS TM Tizen TM The embodiments in this application are not limited to these.

[0094] Figure 5AAccording to some embodiments of this application, a flowchart of another control method is shown. The flowchart uses the interaction process between the game manager 412, system service 423, and system window 413 in mobile phone 100 as an example for specific illustration. Furthermore, it uses parental control of children's or teenagers playing game applications as an example for illustration. The specific process is as follows:

[0095] S501, parents can perform the following settings: ① Set a parent password and bind a mobile phone number; ② Activate the control switch and select "game" as the control category.

[0096] In some embodiments, parents can enable control switches in system settings (e.g., enable child mode in game manager) to set the applications that need to be controlled. After setting, they can begin to control children's or teenagers' use of games.

[0097] For example, Figures 5B-5F The diagram illustrates the process of parents setting up control settings. Specifically, parents access the settings through the phone's system settings, such as... Figure 5B The mobile phone interface 003 shown here allows parents to activate the "Game Manager" control x31, at which point the Game Manager application 412 can begin operation. Furthermore, the mobile phone interface 003 can display text to help users understand the Game Manager application, such as the text shown in the dotted box x31': "Provides auxiliary services for applications added to the Game Manager. Within the application or game, it can quickly activate game mode, do-not-disturb services, etc. Swipe from left to right within the hotspot area of ​​the side bar to bring up the Game Manager; tapping a blank area will collapse it."

[0098] Parents can select the "Kids Mode" control x31 to enter the mode as follows: Figure 5C The mobile phone interface shown is 004. (Reference) Figure 5C The "Kids Mode" control x41 shown indicates that Kids Mode is now enabled. At this time, text assisting the user in understanding Kids Mode can be displayed on the phone's interface 004, such as the dotted box x41': "Kids Mode adds a control mode for adults to help children manage their game playtime."

[0099] Understandably, parents can... Figure 5C The mobile interface shown in screen 004 allows parents to set the password used when lifting control restrictions, the first duration threshold in the control conditions, and the types of applications to be controlled. Specifically, parents can... Figure 5C In the mobile interface shown in 004, select the "Parental Password Settings" control x42. At this point, you will be redirected to... Figure 5D The mobile phone interface shown (005) allows you to set a parental password. For example... Figure 5DAs shown, parents can choose 6 uppercase numbers from the 10 uppercase numbers displayed in the "Parental Password Settings" box (x51) as their password. This password can be used to unlock the game application after the control window pops up, indicating that the game application's runtime has met the first duration threshold in the control conditions.

[0100] Parents can, for example Figure 5C In the mobile interface shown in 004, selecting the "Anti-Addiction Time" control x43 will redirect to the following screen: Figure 5E The mobile phone interface shown (006) sets the first duration threshold. For example... Figure 5E As shown, parents can set specific anti-addiction time limits in the "Anti-Addiction Time" box (x61). Figure 5E In the settings, users can slide in the "Anti-addiction Time" box (x61) to set the first allowed time threshold, such as setting it to "30" minutes.

[0101] Parents can, for example Figure 5C In the mobile interface shown in 004, selecting the "Anti-Addiction Application" control x44 will redirect you to the following... Figure 5F The mobile interface shown (007) allows you to configure the application types that require control. For example... Figure 5F As shown, parents can select specific application types to control from the "Anti-Addiction Applications" box x71. Figure 5F In the "Anti-Addiction Applications" box (x71), users can select "Games" to specify the type of application to be controlled as games.

[0102] Understandably, after parents perform the settings operation in step S501, the game manager 412, system service 423, and system window 413 can execute the following interactive process from step S502 to step S510.

[0103] S502, Game Manager 412 scans the applications installed on the machine and identifies games that match the control list, thus obtaining the game control list.

[0104] In some embodiments, the game manager 412 detects that the user has set the application type to be managed as games. The game manager 412 scans the applications already installed on the device and matches them with the applications in the management list that need to be managed. It then filters out the games present in the management list, thus obtaining the game applications on the device that need to be managed, thereby generating a game management list. Understandably, this application management list includes the identifiers of each application that needs to be managed, such as package names.

[0105] For example, if Game Manager 412 detects that parents have set up restrictions on game apps, it will scan the installed apps on the device, such as game app A1, game app A2, and social app 1. Then, it will match the scanned apps with the game apps in the control list, filtering out those that match. For example, if game app A1 and game app A2 are in the control list, Game app A1 and game app A2 will be selected to obtain the game control list.

[0106] S503, Game Manager 412 synchronizes the game control list corresponding to the local machine to System Service 423.

[0107] In some embodiments, the game manager 412 sends a list of games controlled on the local machine to the system service 423.

[0108] S504, System Service 423 is monitoring application startup.

[0109] In some embodiments, system service 423 receives a game control list sent by game manager 412 and listens for launched applications.

[0110] In step S505, system service 423 checks whether the launched application is a game application within the game control list. If it is, proceeds to step S506; otherwise, the process ends.

[0111] For example, if system service 423 detects game application A1, it will match the application identifier (such as package name) of game application A1 with the application identifier (such as package name) in the game management list. If it is determined that game application A1 is an application in the game management list, it will proceed to S506; otherwise, no processing will be performed.

[0112] S506, System Service 423 starts the Game Manager process.

[0113] In some embodiments, system service 423 calls game manager 412 to start the game manager 412 process.

[0114] S507, Game Manager 412 determines whether at least one of the control conditions is met. If at least one of the control conditions is met, i.e., the first control condition is met, proceed to step S508; otherwise, proceed to step S510.

[0115] For example, Game Manager 412 determines that the current runtime of game application A1 exceeds a first runtime threshold. Figure 5C If the 30-minute time limit is set, it is determined that the current running status of game application A1 meets the first control condition, and the process proceeds to step S508.

[0116] Understandably, control conditions may also include other situations, which will not be specified here.

[0117] S508, Game Manager 412 brings up a system window to remind children or teenagers to take a break.

[0118] S509, System window 413 pops up a management window, prompting children or teenagers to rest.

[0119] In some embodiments, system window 413 pops up a management window, which overlays the interface of the game application A1 on the mobile phone 100, thereby prompting the user to take a break.

[0120] For example, such as Figure 5G As shown, system window 413 pops up a control window c2, which overlays the interface of the game application A1. This control window c2 displays the message "Child Mode Reminder: Dear user, your playtime has reached 30 minutes. Please close the game and take a break," to remind the child not to continue playing. At this time, the child can only remove the overlay control window c2 by selecting the "Exit Game" control c21 within the dotted box, thus preventing the child from continuing to play. Furthermore, the control window c2 also provides an unlocking function, such as the "I am a parent, unlock" control c22 within the dotted box. When the parent selects the "I am a parent, unlock" control c22, the parent can then input... Figure 5D The password set in the middle will then disappear from the control window c2, allowing you to continue playing the game.

[0121] S510, Game Manager 412 does not process it.

[0122] It is understood that the execution order of steps S501 to S510 above is only an illustration. In other embodiments, other execution orders may be used, and some steps may be split or combined. This is not limited here.

[0123] Understandably, controllers (such as parents) can set the categories of applications they want to control according to their own ideas, making the control scenarios more diverse. Game Manager 412 can scan the applications installed on the device and determine the applications that match the control list, thus obtaining an accurate list. At this time, system service 423 listens for the applications that are launched based on the accurate list. Since the number of applications in the accurate list is relatively small, the listening efficiency can be improved, thereby improving the control efficiency.

[0124] Figure 6According to some embodiments of this application, a schematic diagram of another control method process is shown. This control process is illustrated using the management of a game application as an example. It is understood that the executing entity in this process is the mobile phone 100. Furthermore, the diagram shows the modules corresponding to the specific steps performed by the mobile phone 100. Figure 6 As shown, the specific process is as follows.

[0125] Box 01: Launch the game application on the phone.

[0126] Box 02: Mobile 100 monitors application launches. After detecting a game application launching, Mobile 100 will determine whether the detected launching application is an application in the game control list.

[0127] Box 03: Determine if the currently launched game application is on the game management list. If it is, proceed to Box 04 and launch Game Manager. Otherwise, end the process without further action.

[0128] Box 04: Launch Game Manager. After Game Manager is launched, you will enter Box 05.

[0129] Box 05: Determine if at least one of the control conditions is met. If the running status of the currently launched application meets at least one of the control conditions, proceed to Box 07 to display the control window. If the control conditions are not met, proceed to Box 06 to continue playing normally.

[0130] Box 06: Normal gameplay.

[0131] Box 07: Display control window.

[0132] Understandably, box 01 corresponds to game application 414; boxes 02 and 03 correspond to system service 423; and boxes 04, 05, and 07 correspond to game manager 412. In box 07, game manager 412 can notify the system window to display the management window.

[0133] Figure 7 According to some embodiments of this application, a system block diagram is shown. This block diagram illustrates an example of a game manager 412 obtaining a controlled list of game applications.

[0134] Understandably, Game Manager 412 includes a Game Manager dynamic identification module 412a, used to restrict controlled applications. Specifically, the Game Manager dynamic identification module 412a has a control list, which includes a cloud-based database (such as...). Figure 7 The Top6000 library shown is an application library downloaded from a cloud server and stored thereafter, and the native game library (e.g., including user-set, pre-stored, and natively identified applications).

[0135] In some implementations, the Game Manager dynamic identification module 412a can download the Top6000 library from the Game Center Cloud M1. The Game Center Cloud M1 can obtain the required applications from the third-party market cloud M2 through methods such as web crawling. For example, the Game Center Cloud M1 can obtain games that are not in its own game library from the third-party market cloud M2.

[0136] In some other implementations, the game manager dynamic identification module 412a can also obtain the required controlled application set in the game manager and store it in the local game library (i.e., the manager settings shown in the figure require adding application 11).

[0137] Furthermore, in some implementations, the mobile phone 100 can also identify applications on the mobile phone 100 based on machine learning models, such as identifying applications with certain game application characteristics. The game manager's dynamic identification module 412a adds the applications identified by the machine learning model to the local game library (i.e., the Iware special library 13 shown in the figure obtains at least one game engine 14 after game identification, and this method can also serve as a query interface for adding applications to the game manager's control list).

[0138] Understandably, after receiving the boot broadcast 12, Game Manager 412 will scan for installed applications on the device and then send them to the cloud server (such as...). Figure 7 The list of game applications in the Game Center Cloud M1 synchronization management list (e.g., the list of game applications in the game center cloud M1 synchronization management list) Figure 7 The system scans the local application library (Top6000) and caches the synchronized Top6000 library in the local database, making it the local Top6000 library. Then, the game manager 412 scans the local applications, filters out games that are on the control list, obtains the corresponding local game control list, and synchronizes this list with the system service 423, enabling the system service 423 to perform subsequent monitoring. When the phone launches an application, the system service 423 checks if the application is on the game control list; if so, it launches the game manager.

[0139] Understandably, Game Manager 412 can listen for application installation broadcast 10 or application uninstallation broadcast (not shown in the diagram). When it receives the corresponding broadcast, it needs to determine whether the application being installed or uninstalled is a game. If so, it needs to update the game control list, add or remove the game from the game control list, and call the interface to synchronize the updated game control list to system service 423.

[0140] Figure 8According to some embodiments of this application, a schematic diagram of the interaction process between various functional modules during the execution of a control method is shown. The specific interaction process between the game application 414, package management service 424, game manager 414, system service 423, and cloud-side M0 is as follows:

[0141] S801, Game Manager 414 sends a request to the cloud side M0 to synchronize the list of game applications.

[0142] For example, Game Manager 414 synchronizes the list of game applications, Top6000 library, with the Game Center Cloud M1 in the cloud side M0.

[0143] S802, the cloud-side M0 responds to Game Manager 414 by sending a list of game applications.

[0144] For example, the cloud-side M0 responds to the synchronization request sent by Game Manager 414 and sends a list of game applications to Game Manager 414.

[0145] S803, Game Manager 414 performs local storage.

[0146] For example, Game Manager 414 stores a list of game applications (such as the Top6000 library) locally.

[0147] S804, Game Manager 414 scans local applications, matches the game applications on the local machine, and obtains a game control list.

[0148] In some embodiments, Game Manager 414 scans local applications, matches the game applications on the local machine with the game applications in the control list, and uses the matched game applications on the local machine as the game control list.

[0149] S805, Game Manager 414 synchronizes the game control list.

[0150] S806, the application marketplace 410 sends an application installation message to the package management service 424.

[0151] In some embodiments, the application marketplace 410 detects that a new application needs to be installed and sends an application installation message to the package management service 424.

[0152] S807, Package Management Service 424 broadcasts the installation of Game Manager 414.

[0153] In some embodiments, after the package management service 424 is installed, the installation of the game manager 414 is broadcast.

[0154] In step S808, Game Manager step 414 checks if the installed application is a game. If it is, proceed to step S809; otherwise, end the process.

[0155] Understandably, in some embodiments, the game manager 414 determines whether the installed application is a game application in the control list. If the installed application matches a game application in the control list, then proceed to S809.

[0156] Understandably, in some other embodiments, the game manager 414 determines whether the installed application matches a game application in the control list. If it is not in the control list and the application is determined to have game application characteristics, it adds it to the control list and proceeds to S809.

[0157] S809, Game Manager 414 sends a message to System Service 423 to add the installed application to the game management list.

[0158] Understandably, after Game Manager 414 sends a message to System Service 423 to add the installed application to the game control list, System Service 423 will update the game control list upon receiving the message, thereby enabling the control of newly installed game applications and avoiding omissions.

[0159] S810, the application market 410 sends a message to the package management service 424 to uninstall the application.

[0160] In some embodiments, the application marketplace 410 detects that an application needs to be uninstalled and sends an uninstall application message to the package management service 424.

[0161] S811, Package Management Service 424 broadcasts an uninstallation message to Game Manager 414.

[0162] In some embodiments, after the package management service 424 is uninstalled, an uninstallation broadcast is sent to the game manager 414.

[0163] In step S812, Game Manager step 414 determines whether the uninstalled application is a game. If it is, proceed to step S813; otherwise, end the process.

[0164] 813, Game Manager 414 sends a message to System Service 423 to remove the uninstalled application from the game management list.

[0165] Understandably, since the storage space corresponding to system service 423 is limited, after game manager 414 sends a message to system service 423 to remove the uninstalled application from the game management list, system service 423 will update the game management list after receiving the message, thereby improving the utilization efficiency of storage resources.

[0166] S814, System service 423 detected that a game application has been launched.

[0167] S815, System Service 423 launched Game Manager 414.

[0168] Game Manager 414 will subsequently determine the running status, as described above. Figure 5A Steps S507-S510 are shown in the diagram and will not be described in detail here.

[0169] Understandably, the specific interaction process between the aforementioned game application 414, package management service 424, game manager 414, system service 423, and cloud-side M0 can be divided into four parts. ① Cloud-synchronized game application list: such as... Figure 8 Steps S801-S803 are shown in the diagram. ② Local synchronization part: such as... Figure 8 Steps S804-S805 are shown below. ③ Install / uninstall game synchronization part: as shown below. Figure 8 Steps S806-S813 are shown below. ④ Launch the game application and open the game manager section: as shown below. Figure 8 Steps S814 and S815 shown illustrate the installation portion.

[0170] It is understood that the execution order of steps S801 to S815 above is only an illustration. In other embodiments, other execution orders may be used, and some steps may be split or combined. This is not limited here.

[0171] Figure 9A According to some embodiments of this application, a control method using facial recognition is illustrated. Taking a mobile phone with 100 execution entities as an example, the specific process is as follows:

[0172] S901, the account holder logs in and applies for an external account.

[0173] In some embodiments, mobile phone 100 detects that the account holder has logged in and requests an external account.

[0174] S902, borrowed account, obtained facial photos.

[0175] S903, retrieve facial age photos.

[0176] As can be understood, after the mobile phone 100 obtains the facial age photo, it can determine whether the person is not subject to anti-addiction measures (i.e., not subject to control) based on the facial age photo, which is step S904; or, it can determine whether the person is subject to anti-addiction measures (i.e., subject to control), which is step S908.

[0177] S904 is tentatively determined to be an object that does not require anti-addiction measures.

[0178] S905, after 3 hours online, the face photo was verified again.

[0179] Understandably, the face photo will be verified again after the phone has been online for 3 hours. If the verification is successful, it will proceed to S906; if the verification fails, it will proceed to S907.

[0180] S906, Login successful.

[0181] S907, Logout.

[0182] S908 has been temporarily identified as a target for anti-addiction measures.

[0183] S909, after being online for 3 hours, verified the face photo again.

[0184] Understandably, the phone will be online for 3 hours before the face photo is verified again. If the verification is successful, it will enter S910; if the verification fails, it will enter S911.

[0185] S910, login successful.

[0186] S911, log out.

[0187] It is understood that the execution order of steps S901 to S911 above is only an illustration. In other embodiments, other execution orders may be used, and some steps may be split or combined. This is not limited here.

[0188] Understandably, facial recognition is used to manage current users, which requires a large amount of facial data and facial recognition access. The control method mentioned above, based on a managed list, does not require large amounts of data for machine learning, nor does it require facial recognition access, and it is more effective.

[0189] Figure 9B According to an embodiment of this application, a schematic diagram of the hardware structure of a mobile phone 100 is shown. Figure 9B The hardware structure diagram of the mobile phone 100 shown can be a hardware structure diagram of the mobile phone 100.

[0190] Mobile phone 100 is capable of executing the control method provided in the embodiments of this application. Figure 9B In this context, similar components share the same reference numerals. For example... Figure 9BAs shown, the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, buttons 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0191] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100. In other embodiments of this application, the mobile phone 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0192] The processor 110 may include one or more processing units, such as processing modules or circuits including a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), a micro-programmed control unit (MCU), an AI (Artificial Intelligence) processor, or a programmable gate array (FPGA). Different processing units may be independent devices or integrated into one or more processors. The processor 110 can execute the control methods proposed in this application, such as... Figure 3 and Figure 6 The control method shown, and give as Figure 4 The module shown executes as follows Figure 5A , Figure 8 The interactive process shown provides a carrier.

[0193] The memory can be used to store data, software programs, and modules. It can be volatile memory, such as random-access memory (RAM); or non-volatile memory, such as read-only memory (ROM), flash memory, hard disk drive (HDD), or solid-state drive (SSD); or a combination of the above types of memory; or it can be a removable storage medium, such as a secure digital storage (SD) card. Instructions stored in the memory can include instructions that, when executed by at least one of the processors, cause the mobile phone 100 to implement the control method provided in the embodiments of this application.

[0194] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone 100. In other embodiments of this application, the mobile phone 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0195] It should be noted that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method embodiments can be completed by the integrated logic circuitry in the processor's hardware or by instructions or program code in software form. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly embodied in the execution of a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0196] According to the method provided in the embodiments of this application, this application also provides a computer program product, which includes: computer program code or instructions, which, when the computer program code or instructions are run on a computer, cause the computer to perform the steps executed by the electronic device in any of the above embodiments.

[0197] According to the method provided in the embodiments of this application, this application also provides a computer-readable medium storing instructions that, when executed on a computer, cause the computer to perform the steps executed by the electronic device in any of the above embodiments.

[0198] The various embodiments of the mechanisms disclosed in this application can be implemented in hardware, software, firmware, or a combination of these implementation methods. Embodiments of this application can be implemented as computer programs or program code executable on a programmable system, the programmable system including at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device.

[0199] Program code can be applied to input instructions to execute the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, the processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application-specific integrated circuit (ASIC), or a microprocessor.

[0200] The program code can be implemented using a high-level procedural language or an object-oriented programming language to communicate with the processing system. Assembly language or machine language can also be used when needed. In fact, the mechanisms described in this application are not limited to any particular programming language. In either case, the language can be a compiled language or an interpreted language.

[0201] In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented as instructions carried or stored thereon on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors. For example, the instructions may be distributed via a network or through other computer-readable media. Therefore, machine-readable media may include any mechanism for storing or transmitting information in a machine-readable (e.g., computer-readable) form, including but not limited to floppy disks, optical disks, CD-ROMs, magneto-optical disks, read-only memory (ROM), random access memory (RAM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable storage for transmitting information (e.g., carrier waves, infrared signals, digital signals, etc.) using the Internet in the form of electrical, optical, acoustic, or other propagation signals. Therefore, machine-readable media include any type of machine-readable medium suitable for storing or transmitting electronic instructions or information in a machine-readable (e.g., computer-readable) form.

[0202] In the accompanying drawings, some structural or methodological features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be necessary. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the illustrative drawings. Furthermore, the inclusion of structural or methodological features in a particular figure does not imply that such features are required in all embodiments, and in some embodiments, these features may be omitted or may be combined with other features.

[0203] It should be noted that all units / modules mentioned in the device embodiments of this application are logical units / modules. Physically, a logical unit / module can be a physical unit / module, a part of a physical unit / module, or a combination of multiple physical units / modules. The physical implementation of these logical units / modules themselves is not the most important factor; the combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed in this application. Furthermore, to highlight the innovative aspects of this application, the above-described device embodiments of this application have not introduced units / modules that are not closely related to solving the technical problems proposed in this application. This does not mean that the above-described device embodiments do not contain other units / modules.

[0204] It should be noted that in the examples and description of this patent, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one" does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0205] Although this application has been illustrated and described with reference to certain preferred embodiments thereof, those skilled in the art should understand that various changes in form and detail may be made thereto without departing from the spirit and scope of this application.

Claims

1. A control method applied to electronic devices, characterized in that, The electronic device includes a first application, a second application, and a first service; the method includes: The second application detects that the electronic device is powered on and retrieves the control list from the cloud server; The second application matches the applications in the electronic device with the control list to obtain a first application control list, wherein the applications in the first application control list are the applications in the electronic device that match the control list; The second application sends the first application control list to the first service, and the first application control list includes the identifier of the first application; The first service detected that the first application was launched; The first service determines that the first application is a controlled application based on the fact that the first application matches the first application management list; The first service, based on determining that the first application is a managed application, sends a notification to the second application that the first application has been launched; The second application obtains the running status of the first application; The second application, corresponding to the first application, meets the first control condition in its running state, and then executes control measures on the first application; Install a third-party application; The second application updates the first application control list based on the determination that the third application matches the control list, and the updated application control list includes the third application; Send the updated application control list to the first service.

2. The method according to claim 1, characterized in that, The second application matches the applications in the electronic device with the control list to obtain a first application control list, including: The second application receives a first setting from the user, the first setting being used to specify a first type of application from among multiple types of applications in the controlled list; The second application is based on determining that the first type of application includes the first application, and determining that the first application matches the control list.

3. The method according to claim 2, characterized in that, The multiple application types include at least one of the following types of applications: Games, social networking, video, audio, communication, shopping, and novels.

4. The method according to claim 1, characterized in that, The first control condition includes one or more of the following: The application's runtime is greater than or equal to the first duration threshold; The frequency of application usage is greater than or equal to the first frequency threshold.

5. The method according to any one of claims 1-4, characterized in that, The execution of control measures on the first application includes: A first control window is displayed on the display screen of the electronic device, and the first control window at least partially covers the display interface of the first application.

6. The method according to claim 1, characterized in that, include: Determine that the first application matches the first sublist in the control list; Upon detecting that the first application has been launched, control measures are implemented for the first application.

7. The method according to claim 6, characterized in that, The first sublist includes: pornographic apps, gambling apps, fraudulent apps, and high-risk apps.

8. An electronic device, characterized in that, include: One or more processors; One or more memories; the one or more memories storing one or more programs, which, when executed by the one or more processors, cause the electronic device to perform the control method of any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The storage medium stores instructions that, when executed on a computer, cause the computer to perform the control method according to any one of claims 1 to 7.

10. A computer program product, characterized in that, The computer program product includes instructions that, when executed, cause the computer to perform the control method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Anti-addiction method and device based on memory, electronic equipment and storage medium

    CN114416334A