WO2024179391A1 - Application management and control method and related apparatus - Google Patents
Application management and control method and related apparatus Download PDFInfo
- Publication number
- WO2024179391A1 WO2024179391A1 PCT/CN2024/078463 CN2024078463W WO2024179391A1 WO 2024179391 A1 WO2024179391 A1 WO 2024179391A1 CN 2024078463 W CN2024078463 W CN 2024078463W WO 2024179391 A1 WO2024179391 A1 WO 2024179391A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control
- application
- interface
- electronic device
- mini
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Definitions
- the present application relates to the field of terminal technology, and in particular to an application management method and related devices.
- terminals can provide users with a variety of entertainment services and other convenient services in daily life. While entertainment services provide users with happiness, they are also more likely to make users addicted to entertainment, affecting their normal lives. In particular, when the user is a child, being addicted to entertainment can also affect the child's physical and mental health. Therefore, it is necessary to limit the entertainment services provided by the terminal.
- the terminal can control the applications installed on the terminal and prohibit the controlled applications from running.
- the terminal can receive and respond to the user's operation of turning on the youth mode and prohibit the running of entertainment applications such as video applications and game applications.
- the terminal cannot provide users with entertainment services such as video playback through controlled applications
- the terminal can provide users with services such as video playback through other uncontrolled applications (such as chat applications, call applications, etc.). Therefore, with the above-mentioned application control method, there will be a situation of missed control, and the control effect cannot be achieved.
- the present application provides an application management method and related devices, which realizes refined management of different controls in different applications and avoids the occurrence of missed management events.
- the present application provides an application management method, including: in response to an operation on a first icon, displaying a first interface of a first application, the first interface including a first control and a second control; in response to a first operation on the first control, displaying a second interface of the first application; in response to a second operation on the second control, displaying a third interface of the first application; after turning on the management mode, in response to the operation on the first icon, displaying the second control normally on the area where the second control is located; in response to a third operation on the area where the first control is located, not displaying the second interface; in response to a fourth operation on the area where the second control is located, displaying the third interface.
- the first control in the first application can be controlled without affecting the function of the second control.
- the method further includes: overlaying and displaying control prompt information on the area where the first control is located, where the control prompt information is used to prompt the user that the first control is controlled.
- the first control can be controlled by shielding the first control through the control prompt information (such as the control prompt window).
- the method further includes: in response to a third operation on the area where the first control is located, displaying a management and control interface, where the management and control interface is used to prompt a user that the first control is being managed.
- control interface can be displayed after receiving the user's operation on the first control, thereby achieving the purpose of controlling the first control.
- the usage duration of the first application does not reach the first threshold or the usage period of the first application is not within the control period.
- the first control in the first application can also be controlled without affecting the normal use of other controls in the first application.
- the method further includes: after the management and control mode is turned on, in response to an operation on the first icon, not displaying the first control in the area where the first control is located.
- the purpose of controlling the first control can be achieved by not displaying the first control.
- the first control is a web view control
- the second interface includes one or more entries. Can be used to trigger the display of the corresponding web page.
- the webview control in the first application can be managed.
- the first control is a mini-program entry control
- the second interface includes one or more mini-program entries
- the mini-program entries are used to trigger the display of the interface of the corresponding mini-program.
- the first control is a mini-program entry or a mini-program application icon
- the second interface is an interface of the mini-program corresponding to the first control
- mini-program type controls in the first application (such as mini-program entry controls, mini-program application icons, mini-program entries, etc.).
- the first control is used to trigger the playing of the media file
- the second interface is a playing interface of the media file corresponding to the first control
- the media call control in the first application can be managed, and the media call control is used to trigger the playback of the media file.
- the method further includes:
- a preset control strategy is obtained, where the control strategy includes identification information of the first control, and the identification information of the first control is used to determine the area where the first control is located.
- the method further includes:
- page information of the first control is obtained, and the page information of the first control includes the display content of the first control on the first interface and/or the display content of the second interface; based on the page information of the first control and a preset decision model, the control of the first control is determined.
- control strategies stored in the electronic device can be reduced, and the storage pressure can be reduced.
- control strategy can be determined in real time based on the acquired page information, and the probability of missed control events can be reduced.
- the present application provides an electronic device, comprising one or more processors and one or more memories.
- the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the application management method in any possible implementation of any of the above aspects.
- an embodiment of the present application provides a computer storage medium, including computer instructions, which, when executed on an electronic device, enables the electronic device to execute an application management method in any possible implementation of any of the above aspects.
- an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute an application management and control method in any possible implementation of any of the above aspects.
- the beneficial effects of the second to fourth aspects may refer to the beneficial effects of the first aspect.
- FIG1 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application.
- 2A-2I are schematic diagrams of a group of interfaces for managing and controlling a web view (webview) control in a first application, provided in an embodiment of the present application;
- 4A-4D are schematic diagrams of a group of interfaces for managing and controlling a media call control in a first application provided in an embodiment of the present application;
- 5A-5E are schematic diagrams of a group of interfaces for controlling controls in a first application in different control modes provided in an embodiment of the present application;
- 6A-6C are schematic diagrams of a group of interfaces for managing content displayed in a first application, provided in an embodiment of the present application;
- 7A-7E are another set of interface schematic diagrams for managing and controlling media call controls in a first application provided by an embodiment of the present application;
- FIG8 is a schematic diagram of a module interaction flow of an application management and control method provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a support vector machine algorithm model provided in an embodiment of the present application.
- FIG10 is a schematic diagram of a module interaction flow of another application management method provided in an embodiment of the present application.
- FIG11 is a flow chart of an application management method provided in an embodiment of the present application.
- first and second are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated.
- a feature defined as “first” or “second” may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, “multiple” means two or more.
- GUI graphical user interface
- Webview can be regarded as an embedded browser that can be embedded in the mobile terminal to realize hybrid development of the front end. Most hybrid development frameworks are based on the webview mode for secondary development. Webview is just a visual component. As the visual part of the application, the content displayed by webview does not need to be stored locally and can be obtained directly from the server. In the following embodiments of this application, the webview control is a control used by the mobile terminal to load web pages.
- Mini programs are applications that can be used without downloading or installing. Users can open the application by scanning or searching, which also embodies the concept of "use it and leave it". Users do not need to worry about whether to install too many applications. Applications will be everywhere and available at any time, but there is no need to install or uninstall them.
- the media calling control is a control in an application that can be used to trigger an electronic device to call a media service.
- Support vector machines are a binary classification model. Its basic model is a linear classifier with the largest margin defined in the feature space. The largest margin distinguishes it from the perceptron. SVM also includes kernel techniques, which makes it a nonlinear classifier in essence.
- the learning strategy of SVM is to maximize the margin, which can be formalized as a problem of solving convex quadratic programming, which is equivalent to the problem of minimizing the regularized hinge loss function.
- the learning algorithm of SVM is the optimization algorithm for solving convex quadratic programming. SVM is to solve the separating hyperplane that can correctly divide the training data set and has the largest geometric margin.
- FIG. 1 shows a schematic diagram of the hardware structure of an electronic device 100 .
- the electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and/or a smart city device.
- PDA personal digital assistant
- AR augmented reality
- VR virtual reality
- AI artificial intelligence
- wearable device an in-vehicle device
- smart home device a smart home device and/or a smart city device.
- the electronic device 100 may include a processor 110, 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 audio module 170, a sensor module 180, and a display screen 194.
- the electronic device 100 may also include any one or more of the following: an external memory interface 120, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a button 190, a motor 191, an indicator 192, etc.
- the sensor module 180 may include a touch sensor. Sensor 180K.
- the sensor module 180 may also include one or more other sensors, such as a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.
- sensors such as a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.
- the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100.
- the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently.
- the components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
- the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc.
- AP application processor
- GPU graphics processor
- ISP image signal processor
- DSP digital signal processor
- NPU neural-network processing unit
- Different processing units may be independent devices or integrated into one or more processors.
- the controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
- the processor 110 may also be provided with a memory for storing instructions and data.
- the memory in the processor 110 is a cache memory.
- the memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
- the processor 110 may include one or more interfaces.
- the interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
- I2C inter-integrated circuit
- I2S inter-integrated circuit sound
- PCM pulse code modulation
- UART universal asynchronous receiver/transmitter
- MIPI mobile industry processor interface
- GPIO general-purpose input/output
- SIM subscriber identity module
- USB universal serial bus
- the charging management module 140 is used to receive charging input from a charger.
- the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
- the power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, and the wireless communication module 160.
- the electronic device 100 may also have a wireless communication function.
- the wireless communication function of the electronic device 100 may be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
- the electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor.
- the GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor.
- the GPU is used to perform mathematical and geometric calculations for graphics rendering.
- the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
- the display screen 194 is used to display images, videos, etc.
- the display screen 194 includes a display panel.
- the display panel can be a liquid crystal display (LCD), and the display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc.
- the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
- the internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM).
- the random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, such as the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.;
- the non-volatile memory may include a disk storage device and a flash memory.
- the random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store user and application data, etc.
- the non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
- the external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100.
- the external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, music, videos, etc.
- the files are stored in external non-volatile memory.
- the electronic device 100 can implement audio functions such as video playback and audio playback through the audio module 170 (such as a speaker, a receiver, a microphone, an earphone interface, etc.) and an application processor, etc.
- audio module 170 such as a speaker, a receiver, a microphone, an earphone interface, etc.
- application processor etc.
- the touch sensor 180K is also called a "touch control device”.
- the touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen”.
- the touch sensor 180K is used to detect touch operations acting on or near it.
- the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
- Visual output related to the touch operation can be provided through the display screen 194.
- the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
- the key 190 includes a power key, a volume key, etc.
- the key 190 may be a mechanical key or a touch key.
- the electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
- Motor 191 can generate vibration prompts.
- Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
- the embodiment of the present application provides an application control method.
- One or more applications are installed on the electronic device 100, and the one or more applications may include a first application.
- the electronic device 100 determines the control strategy of the first application when detecting the user's operation on the first icon (for example, the operation of opening the first application, the operation of requesting to call the media service, or the operation of a specific control in the first application, etc.), and the control strategy includes the identification information of the control control.
- the electronic device 100 can control the control control in the first application based on the identification information of the control control (for example, covering the display of the control prompt information in the area where the control control is located, not displaying the control control, triggering the display of the control interface, etc.), so that the electronic device 100 cannot execute the response corresponding to the operation when receiving the operation on the area where the control control is located, and does not affect the normal function of the non-control control in the first application.
- the control control is a control that needs to be controlled, and the type of the control control may include one or more of the types of webview control, applet class control (also written as applet control), media service call control, etc.
- a first application (e.g., an input method application, etc.) is installed in the electronic device 100, and the first application includes a webview control, which can be used to trigger the electronic device 100 to display a web page in the interface of the first application to provide web browsing services to the user.
- the electronic device 100 turns on the control mode, if the electronic device 100 determines that the control strategy of the first application includes the identification information of the webview control, the electronic device 100 can cover the webview control on the interface of the first application when displaying the interface of the first application, and not display the webview control, or display the control prompt (e.g., the control interface) when receiving an operation on the webview control.
- the identification information of the webview control can be the type and subclass of the webview, such as android.webkit.Webview and its subclasses, com.android.webview and its subclasses, or com.smtt.sdk.WebView and its subclasses.
- the control mode can include any one or more of the following: normal control mode, youth mode, elderly mode, etc.
- the electronic device 100 may display a desktop 200, in which a page with application icons is displayed, and the page includes multiple application icons (e.g., weather application icon, setting application icon 204, browser application icon, chat application icon 205, information application icon 206, video application icon 207, etc.).
- a page indicator 202 is also displayed below the page with application icons to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages.
- the desktop 200 may include three pages, and the black dot in the page indicator is located at the first position from the left, which may indicate that the currently displayed page is the first page from the left of the three pages.
- a status bar 201 is also displayed above the page with application icons, and the status bar 201 may include information such as the strength indicator of the communication signal, the battery value, and the time.
- the dock area 203 may include one or more tray icons (for example, a dial application icon, a message application icon, an address book application icon, a camera application icon, etc.), and one or more tray icons in the dock area may remain displayed when the page is switched.
- the electronic device 100 can receive and respond to the user's operation of sliding the desktop 200 to the right, and display the negative one screen interface 210 as shown in FIG. 2B .
- the negative one-screen interface 210 may include a search box 211, a search control 216, a shortcut area 212, and one or more service numbers (e.g., sports health service number 213, schedule service number 214, weather service number 215, etc.) wherein: the search box 211 may be used to display the user's input, and may also be used to trigger the electronic device 100 to display an input method window.
- the shortcut area 212 may display one or more shortcut controls (e.g., a QR code control, a scan control, a payment code control, more application controls, etc.).
- the one or more service numbers may be used to display the services provided by the service number.
- the sports health service number 213 may be used to display the number of steps and calories consumed by the user on the day, etc.
- the schedule service number 214 may be used to display the user's schedule for the recent period of time (a week, two weeks, or a month, etc.).
- the weather service number 215 may be used to display the user's current location and the weather in the area, etc.
- the electronic device 100 may receive and respond to user input to the search box 211 , triggering the electronic device 100 to display the negative one screen search interface 220 as shown in FIG. 2C , and display an input method window 225 in the negative one screen search interface 220 .
- the negative one screen search interface 220 may include a search box 221, a search control 222, a common application area 223, a search history area 224, and an input method window 225.
- the common application area 223 may display application icons of multiple applications with the highest running frequency of one or more electronic devices 100 (for example, weather application icons, stock application icons, mail application icons, and video application icons, etc.).
- the search history area 224 may display the search history of the electronic device 100 in the negative one screen search interface 220, for example, the characters "World Cup", "Pet", "Schedule", etc.
- the input method window 225 may include a function control 226 and a keyboard 227. The function control 226 can be used to trigger the electronic device 100 to turn off the display keyboard 227 and display one or more auxiliary controls.
- the electronic device 100 can receive and respond to user input to the function control 226 , as shown in FIG. 2D , and switch the keyboard 227 in the negative one-screen search interface 220 to the auxiliary control area 228 .
- auxiliary controls may be displayed in the auxiliary control area 228.
- the one or more auxiliary controls may include an input method control, a slide-up input control, a skin control 228a, a thesaurus control 228b, and the like.
- the thesaurus control 228b is a webview control, and the thesaurus control 228b can be used to trigger the electronic device 100 to open the input method application and display a web page in the input method application.
- the skin control 228a may also be a webview control, and may also be used to trigger the electronic device 100 to display a web page including multiple skin thumbnails in the input method application.
- the electronic device 100 may receive and, in response to a user input to the thesaurus control 228 b , display a web page interface 230 as shown in FIG. 2E .
- the web page interface 230 may include one or more entries, a search box 234, a search control 235, and a bottom control area 236.
- the one or more entries may include entry 231, entry 232, and entry 233, etc.
- Each entry may include a title, a picture, and a brief introduction to introduce the content of the entry.
- the title 231a of entry 231 may be "Pet Raising Trend”
- the brief introduction 231b may be "Young people are increasingly inclined to choose a pet to accompany themselves"
- the picture may be a dog picture 231c as shown in FIG. 2E .
- Each entry can be used to trigger the electronic device 100 to display the web page corresponding to the entry.
- the bottom control area 236 may display one or more controls, which may include a skin control 237, an expression control 238, a word library control 239, etc. Each control can be used to trigger the electronic device 100 to display a different web page.
- the web page interface 230 displayed by the electronic device 100 is the web page corresponding to the word library control 239.
- the skin control 237 can trigger the electronic device 100 to display a web page corresponding to the skin control 237, and the web page can include one or more skin thumbnails.
- the web page can be used to switch the skin currently used by the input method.
- the user can browse the web through the webview control (eg, skin control 228a, vocabulary control 228b) in the input method application.
- the webview control eg, skin control 228a, vocabulary control 228b
- the electronic device 100 When the electronic device 100 turns on the control mode and determines that the control policy of the input method application includes identification information of the webview control (for example, the skin control 228a and the vocabulary control 228b), after obtaining the control policy of the input method application, the electronic device 100 can overlay and display a control prompt window on the above-mentioned webview control based on the control policy, prompting the user that the above-mentioned webview control is controlled.
- identification information of the webview control for example, the skin control 228a and the vocabulary control 228b
- the electronic device 100 can receive and respond to the user's input to the function control 226 in the input method window 225 shown in FIG. 2C, as shown in FIG. 2F, the keyboard 227 in the negative one-screen search interface 220 is switched to the auxiliary control area 228, and the control prompt window is covered and displayed on the area where the skin control 228a and the area where the word library control 228b are located, respectively.
- the display size of the control prompt window can be the same as or similar to the display size of the control it covers.
- the control prompt window can be used to prompt the user that the skin control 228a and the word library control 228b are controlled.
- one or more auxiliary controls and one or more control prompt windows may be displayed in the auxiliary control area 228, for example, the control prompt window 229a and the control prompt window 229b.
- Text prompts may be displayed in the control prompt window 229a and the control prompt window 229b.
- the text prompts may be “Healthy use of mobile phone control” or “Control controls”, etc.
- the present application does not limit the specific content of the text prompts.
- the display area of the control prompt window 229a is area 1
- the display area of the control prompt window 229b is area 2. Both areas 1 and 2 are There are multiple layers displayed. The positional relationship between the layers in area 1 and the display content of each layer are introduced below in conjunction with the embodiment shown in FIG. 2G .
- FIG. 2G shows the positional relationship of multiple layers in area 1 and the display content of each layer.
- area 1 may display two layers, including layer 1 displayed on the top layer and layer 2 displayed on the bottom layer.
- Layer 1 may display a control prompt window 229a
- layer 2 may display a skin control 228a.
- the display size of the control prompt window 229a may be the same as or similar to the display size of the skin control 228a. Since the skin control 228a is covered by the control prompt window 229a, when the user operates the area where the skin control 228a is located, the electronic device 100 cannot execute the response corresponding to the operation, thereby achieving the purpose of controlling the skin control 228a.
- the positional relationship of the multiple layers displayed in the area 2 where the control prompt window 229b is located can also refer to the relevant description in the embodiment shown in FIG. 2G , and in the area 2, the vocabulary control 228b can be displayed in the bottom layer. In this way, since the vocabulary control 228b is covered by the control prompt window 229b, the function of the vocabulary control 228b cannot be used normally, thereby achieving the purpose of controlling the vocabulary control 228b.
- control prompt window may also use text prompts different from those in the embodiment shown in Figure 2F, or may use prompts such as pictures or animations, which are not limited in this application.
- display size of the control prompt window may also be the display size obtained by enlarging the display size of the webview control at a preset ratio (for example, 1:1.2, or 1:1.05), which is not limited in this application.
- the electronic device 100 may not cover the webview control but may not display the webview control.
- the electronic device 100 can receive and respond to the user's input to the function control 226 in the input method window 225 shown in Figure 2C, determine that the management control includes a skin control and a vocabulary control, and as shown in Figure 2H, switch the keyboard 227 in the negative one-screen search interface 220 to the auxiliary control area 240, and the auxiliary control area 240 does not include the management control.
- one or more auxiliary controls may be displayed in the auxiliary control area 240, and the one or more auxiliary controls may include an input mode control, a slide-up input control, a floating keyboard control, a more setting control, an edit control, and an adjustment keyboard control.
- the one or more auxiliary controls may include auxiliary controls other than the skin control 228a and the thesaurus control 228b in the auxiliary control area 228 shown in FIG2D . That is, compared with the auxiliary control area 228, the skin control 228a and the thesaurus control 228b are not displayed in the auxiliary control area 240.
- the electronic device 100 may also display a management interface after receiving the user's operation on the controlled webview control, and the management interface is used to prompt the user that the page corresponding to the webview control is in a managed state.
- the electronic device 100 may receive and respond to a user's click operation on the vocabulary control 228b shown in FIG. 2D , and display a management interface 250 as shown in FIG. 2I .
- the control interface 250 may include a control page 251, on which text prompts may be displayed, such as “Healthy use of mobile phones” and “This page has risks outside the control and cannot be used!”.
- the control page 251 can be used to prompt the user that the interface triggered by the vocabulary control 228b (i.e., the web page interface 230 shown in FIG. 2E above) is in a control state.
- the control page 251 may also include a return control 252, which may be used to trigger the electronic device 100 to display the previous interface, i.e., the negative one-screen search interface 220 shown in FIG. 2D .
- a countdown (e.g., 5 seconds) may also be displayed on the return control 252, and when the countdown is zero, the electronic device 100 may be triggered to redisplay the previous interface, i.e., the negative one-screen search interface 220 shown in FIG. 2D .
- control interface 250 displayed by the electronic device 100 may include a single layer, and the control page 251 is displayed on the layer; in another possible implementation, the control interface 250 displayed by the electronic device 100 may also include multiple layers, and the layer at the top layer may be used to display the control page 251, and the layer at the bottom layer may be used to display the interface triggered by the word library control 228b, that is, the web page interface 230 shown in FIG. 2E .
- This application is not limited here.
- the embodiments shown in FIG. 2A to FIG. 2I are only exemplary.
- the control control in the first application includes a webview control
- the electronic device 100 can control the webview control by covering the control prompt window, not displaying the webview control, or displaying the control interface after receiving an operation on the webview control, so as to achieve the control effect of prohibiting the first application from providing web browsing services to the user.
- the first application can also be other applications besides the input method application, which is not limited in the present application.
- the electronic device 100 can also achieve refined control, such as allowing learning or popular science applications to provide web browsing services, prohibiting social applications from providing web browsing services, etc.
- the interface of the first application may include a mini-program control, which may include a mini-program application icon, a mini-program entry, and other controls for triggering the electronic device 100 to open the mini-program application, and may also include a mini-program entry control and other controls for triggering the electronic device 100 to display one or more mini-program entries or mini-program application icons.
- the control mode is turned on, if the electronic device 100 determines that the identification information of the control control includes the identification information of the mini-program control (for example, the label, name, category of the mini-program, keyword miniprogram, etc. of the mini-program control), the electronic device 100 may overlay the control prompt window on the mini-program control of the first application, or the electronic device 100 may not display the mini-program control.
- the electronic device 100 may display a desktop 200 , and the specific description of the desktop 200 may refer to the desktop 200 shown in FIG. 2A above.
- the electronic device 100 may receive and respond to a user's click operation on the chat application icon 205 to display a chat application interface 300 as shown in FIG. 3B .
- the chat application interface 300 may include a top topic bar 301, one or more chat items 302, and a bottom control area 303.
- the top topic bar 301 may display an interface theme for prompting the theme of the current interface.
- the interface theme of the chat application interface 300 shown in FIG3B may be "chat".
- the top topic bar 301 may also include one or more auxiliary controls, such as a search control 304 and more controls 305, and so on.
- One or more switching controls may be displayed in the bottom control area 303, which may be used to trigger the electronic device 100 to switch the current interface.
- the one or more switching controls may include a chat control 306, an address book control, a discovery control 307, and a me control, and so on.
- the display color of the chat control 306 is different from the display color of other controls, which is used to indicate that the currently displayed chat application interface 300 is the interface corresponding to the chat control 306.
- the electronic device 100 may receive and respond to user input to the discovery control 307, and display a discovery interface 310 as shown in FIG. 3C.
- the discovery interface 310 may include a top theme bar 311, one or more controls, and a bottom control area 313.
- the top theme bar 311 may display an interface theme, namely "Discovery".
- the rest of the description of the top theme bar 311 can refer to the top theme bar 301 shown in Figure 3B above.
- the one or more controls may include a mini-program entry control 312, and the mini-program entry control 312 can trigger the electronic device 100 to display one or more mini-program application icons.
- the specific description of the bottom control area 313 can refer to the bottom control area 303 shown in Figure 3B above.
- the difference is that in the bottom control area 313, the display color of the discovery control 314 is different from the display color of other controls, which is used to indicate that the currently displayed discovery interface 310 is the interface corresponding to the discovery control 314.
- the electronic device 100 can receive and respond to user input to the mini-program entry control 312, and display the mini-program entry interface 320 as shown in Figure 3D.
- the applet entry interface 320 may include a top theme bar 321 and one or more applet entries 324.
- the applet entry interface 320 may also include one or more other controls, such as a nearby applet control 322 and a my applet control 323.
- the top theme bar 321 may display the theme of the current interface, i.e., "applet”.
- a search control 325 may also be displayed in the top theme bar 321, and other controls may also be displayed. The search control 325 may be used to find the corresponding applet application based on the user's input.
- the nearby applet control 322 may be used to trigger the electronic device 100 to display one or more application icons of nearby applet, and the nearby applet application refers to an applet application that can be used within a range less than a certain distance (e.g., 2 kilometers) from the current location of the electronic device 100.
- the my applet control 323 may be used to trigger the electronic device 100 to display one or more application icons of my applet.
- My applet refers to the applet application that the electronic device 100 receives and responds to the user's save operation, and is opened and saved through the chat application.
- the one or more mini-program entries 324 may be entries of mini-program applications opened by the electronic device 100 within a certain time range (e.g., within a week or a month).
- each mini-program entry may be used to trigger the electronic device 100 to open the mini-program application corresponding to the mini-program entry.
- the Entertainment 1 entry may be used to trigger the electronic device 100 to open the mini-program application corresponding to the mini-program entry.
- Sub-device 100 opens a small program application named "Entertainment 1".
- the electronic device 100 When the electronic device 100 turns on the management mode and determines that the management strategy of the chat application includes the identification information of the mini-program type control (for example, the mini-program entry control), after the electronic device 100 detects the user's operation of opening the chat application, the electronic device 100 can manage the mini-program type control in the chat application interface, that is, the electronic device 100 can obtain the location of the mini-program type control and overlay a management prompt window on the mini-program type control to prompt the user that the mini-program type control is under management.
- the mini-program type control for example, the mini-program entry control
- the electronic device 100 can receive and respond to the user's input on the discovery control 307 in the chat application interface 300 shown in Figure 3B, obtain the location of the mini-program entry control 312, and as shown in Figure 3E, the electronic device 100 can overlay the display of the management prompt window 315 on the mini-program entry control 312 in the discovery interface 310.
- the electronic device 100 displays a discovery interface 310.
- the specific content of the discovery interface 310 can refer to the discovery interface 310 shown in FIG3C above.
- the electronic device 100 can cover and display a control prompt window 315 on the mini-program entry control 312 shown in FIG3C .
- a text prompt can also be displayed in the control prompt window 315.
- the text prompt can be "Healthy use of mobile phone control”, and the text prompt can also be other text content, such as "Control control, prohibited use during control period", etc.
- the display size of the control prompt window 315 can be the same as the display size of the mini-program entry control 312.
- control prompt window may also use text prompts different from those in the embodiment shown in FIG. 3E, or may use prompts such as pictures or animations, which are not limited in this application.
- display size of the control prompt window may also be the display size obtained by enlarging the display size of the mini-program item at a preset ratio (e.g., 1:1.2, or 1:1.05), which is not limited in this application.
- the electronic device 100 may not cover the mini-program type control but may not display the mini-program type control.
- the electronic device 100 may receive and respond to the user's input to the discovery control 307 in the chat application interface 300 shown in FIG. 3B , and display the discovery interface 330 shown in FIG. 3F , and the discovery interface 330 is different from the discovery interface 310 shown in FIG. 3C in that the discovery interface 330 does not include the mini-program entry control 312.
- the discovery interface 330 does not include the mini-program entry control 312.
- the user since the mini-program entry control 312 is covered with a control prompt window, the user cannot open the mini-program entry interface 320 through the mini-program entry control 312, and cannot open the mini-program application.
- the mini-program entry control 312 since the mini-program entry control 312 is not displayed in the discovery interface 330, the user cannot enter the mini-program entry interface 320 and cannot open the mini-program application through the chat application. In the above two embodiments, the user cannot open the mini-program application through the chat application, which can prevent the electronic device 100 from providing entertainment and other services to the user through the mini-program in the chat application.
- the electronic device 100 may also determine the mini-program entries (or mini-program application icons) that need to be managed based on the management and control policy after receiving the user's input on the mini-program entry control, and display the mini-program entry interface.
- a management and control prompt window is displayed over the managed mini-program entry (or mini-program application icon).
- the electronic device 100 may receive and respond to user input to the mini-program entry control 312 shown in FIG. 3C . After determining that Entertainment 1, Games 2, and Puzzle 3 are mini-programs that need to be managed, the electronic device 100 may display the mini-program entry interface 340 as shown in FIG. 3G .
- the relevant description of the mini-program entry interface 340 can refer to the relevant description of the mini-program entry interface 320 shown in FIG3D above.
- the difference from the mini-program entry interface 320 shown in FIG3D is that one or more control prompt windows are also displayed in the mini-program entry interface 340, for example, a control prompt window 341, a control prompt window 342, and a control prompt window 343.
- each control prompt window can be displayed over a mini-program entry to prompt the user that the mini-program entry is controlled.
- the electronic device 100 may also determine the mini-program entry (or mini-program application icon) that needs to be managed based on the management and control policy after receiving the user's input on the mini-program entry control, and display the mini-program entry interface, which does not include the managed mini-program entry (or mini-program application icon).
- the electronic device 100 may receive and respond to user input to the mini-program entry control 312 shown in FIG. 3C , and after determining that Entertainment 1, Game 2, and Puzzle 3 are mini-programs that need to be managed, the electronic device 100 may display the mini-program entry interface 350 as shown in FIG. 3H .
- the description of the mini-program entry interface 350 can refer to the description of the mini-program entry interface 320 shown in FIG3D .
- the difference from the mini-program entry interface 320 shown in FIG3D is that the mini-program entry interface 350 does not include the managed mini-program items, for example, the entertainment 1 item, the game 2 item, and the puzzle 3 item displayed in the mini-program entry interface 320, etc.
- the electronic device 100 may receive and respond to a user's operation on the mini-program entry control 312 shown in FIG. 3C , and display the management interface 360 shown in FIG. 3I .
- the control interface 360 may display a control page 361, and a return control 362 may be displayed on the control page 361.
- the return control 362 may be used to trigger the electronic device 100 to redisplay the previous interface, i.e., the discovery interface 310 shown in FIG3C .
- the control interface 360 may also include one or more layers.
- the layer may be used to display the control page 361; when the control interface 360 includes multiple layers, the layer at the top layer may be used to display the control page 361, and the layer at the bottom layer may be used to display the interface triggered by the mini-program entry control 312, i.e., the mini-program entry interface 320 shown in FIG3D .
- the electronic device 100 may also receive and respond to the user's operation on the mini-program entry (eg, Entertainment 1) shown in FIG. 3D , and display the management interface 360 shown in FIG. 3I above, which will not be described in detail in this application.
- the mini-program entry eg, Entertainment 1
- FIG. 3I the management interface 360 shown in FIG. 3I above, which will not be described in detail in this application.
- the electronic device 100 can display the control interface. In the above embodiments, the electronic device 100 cannot open the mini-program corresponding to the controlled mini-program control. In this way, by setting the mini-program entries corresponding to mini-programs such as entertainment and games as control controls, it is possible to prevent the electronic device 100 from providing entertainment and other services to users through mini-programs in chat applications.
- the electronic device 100 determines based on the control strategy that there are small program-type controls in the first application that need to be controlled, the electronic device 100 can use a control prompt window to cover it, or use a method of not displaying the small program-type controls, to achieve the control effect of prohibiting the first application from providing small program services to users.
- the electronic device 100 can also use a control prompt window to cover the display, or use a method of not displaying the controlled small program entry or small program application icon, to prevent the electronic device 100 from opening the controlled small program through the first application.
- the first application may also be an application other than a chat application, which is not limited in this application.
- the electronic device 100 may also receive and respond to a specific user input (such as a swipe down operation) to the electronic device 100, and display one or more application icons of the mini-programs.
- the application icons of the mini-programs may also be used to trigger the electronic device 100 to open the corresponding mini-programs.
- the electronic device 100 may also respond to the user's specific input to the electronic device 100.
- the application icon corresponding to the mini-program to be controlled (or the application icon of the mini-program to be controlled) is covered and displayed, or the application icon corresponding to the mini-program to be controlled is not displayed. In this way, the electronic device 100 can also be prevented from opening the mini-program to be controlled through the first application.
- the electronic device 100 can also implement refined control over different applets (or applet entries, applet application icons, etc.), for example, allowing the electronic device 100 to open learning or science applets through the first application, and prohibiting the first application from opening game or video applets, etc.
- the first application may include a media call control, which can be used to trigger the electronic device 100 to play the media file corresponding to the media call file (such as an audio file, a video file, etc.).
- the control mode is turned on, if the electronic device 100 determines that the control policy of the first application includes identification information of the media call control (such as the tag of the audio file (i.e., the ⁇ audio> tag), the tag of the video file (i.e., the ⁇ video> tag), etc.), the electronic device 100 may overlay the display of the control prompt window on the media call control, or the electronic device 100 may not display the media call control.
- the electronic device 100 may display a desktop 200 , and the specific description of the desktop 200 may refer to the desktop 200 shown in FIG. 2A above.
- the electronic device 100 can receive a user's click operation on the information application icon 206.
- the electronic device 100 can display the information application interface 400 as shown in Figure 4B.
- the information application interface 400 may include a search box 411, a search control 412, an option bar 413, and a content display area 414.
- the search box 411 can be used to trigger the electronic device 100 to display the user's input.
- the search control 412 can be used to trigger the electronic device 100 to search for the user's input and display the search results in the content display area 414.
- the option bar 413 may include one or more options, such as attention options, recommendation options, daily options, discovery options, hot list options, video options, short video options, entertainment options, etc. The option can be used to trigger the electronic device 100 to display the content corresponding to the option in the content display area 414.
- the option bar 413 may also include an indicator 413a for indicating the option corresponding to the content displayed in the current content display area 414.
- the content display area 414 may include one or more graphic content (e.g., graphic content 415, graphic content 416) and one or more media call controls (e.g., media call control 417).
- the media call control 417 can be used to trigger the electronic device 100 to call a media service and play the video file corresponding to the media call control 417.
- a thumbnail of the video file can be displayed on the media call control 417, or the image of the video file can also be played on the media call control 417, and so on.
- a user can watch video files through information applications or other non-video applications.
- the electronic device 100 When the electronic device 100 turns on the control mode and determines that the control policy of the information application includes the identification information of the media call control (for example, the media call control 417), after the electronic device 100 detects the user's operation of opening the information application, the electronic device 100 can determine the media call control that needs to be controlled based on the control policy, and overlay a control prompt window on the media call control to prompt the user that the media call control is controlled.
- the control policy of the information application for example, the media call control 417
- the electronic device 100 may receive and respond to the user's input for the information application icon 206 in the desktop 200 shown in FIG. 4A, and determine that the media call control that needs to be controlled includes the media call control 417. As shown in FIG. 3E, the electronic device 100 may cover the display control prompt window 418 on the media call control 417 in the information application interface 400.
- the display size of the control prompt window 418 may be the same as the display size of the media call control 417, or slightly larger than the display size of the media call control 417.
- Text prompts may also be displayed in the control prompt window 418, and the text prompts may include "Healthy use of mobile phones" and "This page has risks outside the control and cannot be used!.
- the text prompt may also be other text content, which is not limited in this application.
- control prompt window may also use text prompts different from those in the embodiment shown in FIG. 4C, or may use prompts such as pictures or animations, which are not limited in this application.
- display size of the control prompt window may also be the display size obtained by enlarging the display size of the mini-program item by a preset ratio (e.g., 1:1.2, or 1:1.05), which is not limited in this application.
- the electronic device 100 may also display an information application interface in response to the user's operation of opening the information application, and the media call control is not displayed in the information application interface.
- a media call control e.g., media call control 417
- the electronic device 100 may receive and respond to a user input for the information application icon 206 in the desktop 200 shown in FIG. 4A .
- the information application interface 420 shown in FIG. 4D is displayed, and the information application interface 420 does not include the media call control 417.
- the specific content of the information application interface 420 can refer to the relevant description of the information application interface 400 shown in FIG. 4B, which will not be repeated here.
- the electronic device 100 can also display one or more graphic content, such as graphic content 421 and graphic content 422, in the information application interface 420 at the same position as the display position of the media call control 417 in the information application interface 400 shown in FIG. 4B.
- the one or more graphic content can be the graphic content whose display position in the original information application interface 400 is below the display position of the media call control 417.
- the embodiments shown in Figures 4A to 4D are only exemplary. If the electronic device 100 determines that there is a media call control that needs to be controlled in the first application based on the control strategy, the electronic device 100 can use a control prompt window to cover it, or use a method of not displaying the media call control to achieve the control effect of prohibiting the first application from providing media services to the user.
- the first application can also be other applications other than the information application, such as a video application, a call application, or a setting application, etc., which is not limited in the present application.
- the electronic device 100 can also set different control strategies for one or more media call controls in different applications to achieve refined control, such as allowing the electronic device 100 to play learning or popular science media files through the first application, prohibiting the first application from playing entertainment media files, etc.
- the electronic device 100 when the electronic device 100 detects different control modes of the electronic device 100 (such as normal control mode, youth mode, elderly mode, etc.), it can also determine the control strategy of the first application according to different control modes and control the controls that need to be controlled.
- different control modes of the electronic device 100 such as normal control mode, youth mode, elderly mode, etc.
- the electronic device 100 may also receive and respond to the user's operation of opening the first application, and obtain the control strategy of the first application in the youth mode. After determining the control that needs to be controlled (i.e., the control control) based on the control strategy, the electronic device 100 may display the interface of the first application, and the interface of the first application does not include the controlled control, or, in the interface of the first application displayed by the electronic device 100, the controlled control is covered with a control prompt window.
- the control control the electronic device 100 may display the interface of the first application, and the interface of the first application does not include the controlled control, or, in the interface of the first application displayed by the electronic device 100, the controlled control is covered with a control prompt window.
- the electronic device 100 displays a desktop 200 .
- the specific description of the desktop 200 may refer to the relevant description in the embodiment shown in FIG. 2A above, which will not be repeated here.
- the electronic device 100 may receive and respond to a user's click operation on the settings application icon 204 to display a settings main interface 500 as shown in FIG. 5B .
- the main settings interface 500 may include one or more settings items (e.g., WLAN settings items, Bluetooth settings items, mobile network settings items, more connection settings items, desktop and wallpaper settings items, display and brightness settings items, sound and vibration settings items, notification settings items, healthy use of mobile phone settings items 501, smart assistant settings items, and auxiliary function settings items, etc.).
- the settings items may be used to trigger the electronic device 100 to display the settings interface corresponding to the settings items.
- the electronic device 100 may receive and respond to a user's click operation on the healthy use of the phone setting item 501 , and display a healthy use of the phone interface 510 as shown in FIG. 5C .
- the healthy use of mobile phone interface 510 may include a mobile phone usage display bar 511, one or more setting items, and a close control 512.
- the mobile phone usage display bar 511 can be used to display the usage of the electronic device 100, for example, the usage time of different types of applications today, the total usage time of the mobile phone today, etc.
- the mobile phone usage display bar 511 may include an application usage time distribution chart to prompt the user the usage time of different applications today, and the proportion of different application usage time to the total usage time of the mobile phone, etc.
- One or more setting items may include an available time setting item 513, an application limit setting item 514, a downtime setting item 515, and a hearing protection setting item 516, etc.
- the available time setting item 513 can be used to trigger the electronic device 100 to set the total screen usage time.
- the application limit setting item 514 can be used to trigger the electronic device 100 to set the usage time of different applications, or a specific usable time period, etc.
- the downtime setting item 515 can be used to trigger the electronic device 100 to set the unusable time period of the screen (for example, 10 pm to 6 am the next day).
- the hearing protection setting entry 516 can be used to trigger the electronic device 100 to set a hearing protection reminder, that is, the electronic device 100 outputs a hearing protection reminder when it detects that the headphone volume reaches a preset volume, reminding the user to lower the volume to protect hearing.
- the close control 512 can be used to trigger the electronic device 100 to turn off the healthy use of mobile phone mode.
- the healthy use of mobile phone interface 510 can also include a password switch control 517.
- the password switch control 517 can be used to trigger the electronic device 100 to turn on or off the password of the healthy use of mobile phone mode
- the electronic device 100 can receive a user's click operation on the healthy use of mobile phone setting item 501 in the embodiment shown in Figure 5B, and display a youth healthy use of mobile phone interface 520 as shown in Figure 5D, in which a control prompt window is displayed.
- the interface 520 for healthy use of mobile phones by teenagers may include a display bar 521 for mobile phone usage, one or more setting items, one or more control prompt windows, and a close control 522.
- the specific contents of the display bar 521 for mobile phone usage, the one or more setting items, and the close control 522 may refer to the relevant description in the healthy use of mobile phone interface 510 shown in FIG5C .
- the interface 520 for healthy use of mobile phones by teenagers also displays one or more control prompt windows, such as a control prompt window 523, a control prompt window 524, and a control prompt window 525.
- the control prompt window 523 may be displayed over the available time setting item 513, the application limit setting item 514, and the downtime setting item 515, and the display size of the control prompt window 523 may be equal to the sum of the display sizes of the available time setting item 513, the application limit setting item 514, and the downtime setting item 515.
- the control prompt window 524 can be displayed over the hearing protection setting item 516, and the display size of the control prompt window 524 can be the same as the display size of the hearing protection setting item 516.
- the control prompt window 525 can be displayed over the password switch control 517, and the display size of the control prompt window 525 can be the same as the display size of the password switch control 517.
- each control prompt window can also display a text prompt, for example, the control prompt window 523 can display the text "Healthy use of mobile phone control". It can be understood that other texts can also be displayed on the control prompt window to remind the user that the control (or setting item) covered by the control prompt window is in a controlled state.
- the available time setting entry 513, the application limit setting entry 514, and the downtime setting entry 515 can each be covered with a control prompt window with the same display size as the setting entry, and the present application does not limit this.
- the display size of the control prompt window may also be a size close to the display size of the control or setting item that it covers and controls.
- the display size of the control prompt window may be a display size obtained by enlarging the display size of the controlled control at a fixed ratio (e.g., 1:1.2). The present application does not limit the specific display size of the control prompt window.
- the electronic device 100 can receive a user's click operation on the healthy use of mobile phone setting item 501 in the embodiment shown in Figure 5B, and display the healthy use of mobile phone by youth interface 530 as shown in Figure 5E.
- the healthy use of mobile phone by youth interface 530 does not include the setting items (or controlled controls) that are controlled in the youth mode.
- the interface 530 for healthy use of mobile phones by teenagers may include a display bar 531 for mobile phone usage and a close control 532.
- the specific contents of the display bar 531 for mobile phone usage and the close control 532 can refer to the relevant description in the interface 510 for healthy use of mobile phones shown in FIG5C , which will not be repeated here.
- the interface 530 for healthy use of mobile phones by teenagers does not include an available time setting entry 513, an application limit setting entry 514, an inactivity time setting entry 515, a hearing protection setting entry 516, and a password switch control 517. That is, the above-mentioned multiple setting entries and the password switch control 517 are the setting entries and controls that are controlled in the youth mode.
- Figures 5A to 5E are merely illustrative of how the electronic device 100 in youth mode can control one or more controls in the first application.
- the first application may also be an application different from the embodiments shown in Figures 5A to 5E, and the control controls in the first application may also be different from the control controls shown in Figures 5D or 5E, and the present application does not limit this.
- control mode of the electronic device 100 may also include other control modes such as the elderly mode, and in other control modes, the electronic device 100 may also control one or more controls in the first application based on the control strategy of the first application under the current control mode (for example, the elderly mode), which is not limited in this application.
- the electronic device 100 may also control the graphic content, terms or web links displayed in the interface of the first application based on the control strategy of the first application (for example, an input method application, etc.).
- the electronic device 100 displays a negative one screen search interface 220 including an input method window.
- a negative one screen search interface 220 including an input method window.
- the electronic device 100 can receive and respond to the user's input to the vocabulary control 228b, and display the web page interface 600 shown in FIG. 6B in the input method application.
- the web page interface 600 may include one or more entries, such as entry 601, entry 602, and entry 603, etc.
- the web page interface 600 may also include a search box 604, a search control 605, and a bottom control area 606.
- the specific contents of the entry, search box 604, search control 605, and bottom control area 606 can refer to the web page interface 230 shown in Figure 2E above, and will not be repeated here.
- the difference from the web page interface 230 is that a control prompt window 607 is also displayed in the web page interface 600, and the control prompt window 607 is displayed over the entry 601, and the display size is the same or similar to the display size of the entry 601.
- the specific description of the control prompt window 607 can also refer to the specific description of the control prompt window in the above embodiment, which will not be repeated here.
- the electronic device 100 may receive and respond to the user's request for the word
- the input of the library control 228b displays a web page interface 610 as shown in FIG. 6C in the input method application.
- web page interface 610 can refer to web page interface 600 shown in FIG6B , and the difference from web page interface 600 is that web page interface 610 does not display the controlled entry 601 in web page interface 600. That is, in the embodiment shown in FIG6B , the controlled entry 601 is controlled by covering the control prompt window, while in the embodiment shown in FIG6C , the controlled entry 601 is not displayed.
- the first application may also be an application other than the input method application
- the controlled content may also be other content other than the entry, such as graphic content, web links, etc., which is not limited in the present application.
- the electronic device 100 can control the content displayed in the first application, and can achieve refined control over different contents in the application.
- the media call control can be used to trigger the electronic device 100 to play the first media file.
- the electronic device 100 can also receive and respond to the user's operation on the media call control, obtain the page information of the first media file corresponding to the media call control, and determine whether to control the first media file based on the page information of the first media file. If it is determined that the first media file is to be controlled, the electronic device 100 can output a control prompt; if it is determined that the first media file is not to be controlled, the electronic device 100 can play the first media file.
- the page information of the first media file can be the identification information of the first media file.
- the page information of the first media file can also include any one or more of the following: the title, cover image, comments, keywords, and the like of the first media file.
- the electronic device 100 displays a desktop 200
- the specific description of the desktop 200 may refer to the related description of the desktop 200 shown in FIG. 2A above.
- the electronic device 100 may receive and respond to the user's input on the video application icon 207 by displaying a video application interface 700 as shown in FIG. 7B .
- the video application interface 700 may include a search box 701, a search control 702, an option bar 703, and one or more media call controls.
- the specific functional descriptions of the search box 701, the search control 702, and the option bar 703 may refer to the descriptions of the similar controls in the embodiment shown in Fig. 4B above, and will not be repeated here.
- the one or more media call controls may include a media call control 704, a media call control 705, and a media call control 706, etc.
- Each media call control may be used to trigger the electronic device 100 to play a media file corresponding to the media call control.
- the media file corresponding to the media call control 704 may be an aerospace knowledge video
- the media file corresponding to the media call control 705 may be a pet video
- the media file corresponding to the media call control 706 may be a mathematics teaching video.
- the electronic device 100 may receive and respond to the user's input to the media call control 705, and obtain the identification information of the pet video corresponding to the media call control 705, and the identification information may include any one or more of the following: the pet video's tag, title, cover image, comment, etc. After determining that the pet video needs to be managed based on the identification information of the pet video, the electronic device 100 may display the management interface 710 shown in FIG. 7C.
- a control prompt window 711 may be displayed in the control interface 710.
- Control prompt text may be displayed in the control prompt window 711, for example, "Healthy use of mobile phone” and "This page has risks outside the control and cannot be used!.
- a return control 712 may also be displayed in the control prompt window 711, and the return control 712 may be used to trigger the electronic device 100 to return to the previous interface, that is, to display the video application interface 700 shown in FIG7D.
- the electronic device 100 displays the control interface 710, and after the display time reaches a fixed time (for example, 3 seconds, 5 seconds, etc.), the electronic device 100 may also return to the previous interface and display the video application interface 700 shown in FIG7D.
- the electronic device 100 can receive and respond to the user's input on the return control 712 to display the video application interface 700 as shown in FIG. 7D .
- a management prompt window 707 is displayed overlaid on the media call control 705 in the video application interface 700 .
- the specific content in the video application interface 700 can refer to the specific description of the video application interface 700 shown in Figure 7B above, which will not be repeated here.
- the media call control 705 can be covered with a control prompt window 707 to prompt the user that the pet video corresponding to the media call control 705 is in a controlled state.
- Text prompts can be displayed in the control prompt window 707, such as "Healthy mobile phone use control", or other different text prompts.
- the display size of the control prompt window 707 can be the same or similar to that of the media call control 705.
- the specific display size can refer to the relevant description of the control prompt window in the above embodiment.
- the electronic device 100 can receive and respond to the user's input to the media call control 706 in the video application interface 700 shown in FIG. 7D, and when it is determined that the mathematics teaching video does not need to be controlled based on the identification information of the mathematics teaching video corresponding to the media call control 706, the display is as follows:
- the video playback interface 720 shown in FIG. 7E may be used to play mathematics teaching videos.
- the video playback interface 720 may include a video title 721, a video playback window 722, a play pause control 723, a progress bar 724, and a comment area 725.
- the video title 721 is used to indicate the title of the video played in the video playback interface 720, such as "Advanced Mathematics”.
- the video playback window 722 is used to play the math teaching video.
- the play pause control 723 can be used to play or pause the math teaching video in the video playback window 722.
- the progress bar 724 can be used to prompt the playback progress of the math teaching video.
- One or more comments can be displayed in the comment area 725, such as user A's comment "The teacher is really good!, user B's comment “I love blackboard writing, ppt flips too fast! and user C's comment "Teacher, you are my calculus savior, woo woo woo”.
- the electronic device 100 can also determine whether to control the media file based on the page information of the media file corresponding to the media call control after receiving the user's input for the media call control in the first application.
- the first application can also be other applications different from the video application, and the first application can also include more or fewer media call controls, and the media file corresponding to the media call control can also be a video file different from the above embodiment, and the present application does not limit this.
- the electronic device 100 can determine in real time whether to control one or more media call controls in the first application, thereby achieving refined control of different types of media files.
- the electronic device 100 can determine in real time whether to control based on the identification information of the media call controls, without having to store the control policy of each media call control, thereby reducing the storage pressure of the electronic device 100.
- the following is a schematic diagram of the module interaction process of an application management method provided in an embodiment of the present application.
- the electronic device 100 may include a view module 11, a policy management module 12, and a control module 13.
- the specific process of the electronic device 100 executing the application control method provided in the embodiment of the present application may include the following steps:
- the view module 11 sends a policy acquisition request to the policy management module 12 , requesting the policy management module 12 to send a management and control policy of the first application to the view module 11 .
- the user's operation on the first application may be an operation to open the first application, such as a click operation on the chat application icon 205 in the desktop 200 shown in FIG. 3A above, or a click operation on the information application icon 206 in the desktop 200, etc.
- the user's operation on the first application may also be a user's input on a control in the first application, such as a click operation on the function control 226 in the embodiment shown in FIG. 2C above, or a click operation on the discovery control 307 in the embodiment shown in FIG. 3B above, or a click operation on the mini-program entry control 312 in the embodiment shown in FIG. 3C above, etc.
- the policy acquisition request may include an application identifier of the first application, and the application identifier of the first application may be used to identify the first application.
- the control policy of the first application is used to indicate the controls (also written as control controls) that need to be controlled in the first application.
- the policy acquisition request may also include a current control mode, which is used to indicate the current control mode of the electronic device 100.
- the control mode of the electronic device 100 may include any one or more of the following: normal control mode, youth mode, elderly mode, etc. For example, when it is detected that the youth mode is turned on, the policy acquisition request may also include "youth mode".
- the policy acquisition request may also include page information of one or more controls in the first application, and the page information of the control may be used to determine the control policy of the control, that is, to determine whether to control the control.
- the page information of the one or more controls may be used to determine the control policy of the first application.
- the page information of the control may include the display content of the control on the interface (i.e., interface 1) where the control is located (e.g., pictures, text, hyperlinks, etc. of the control) and/or the display content of the interface (interface 2) triggered by the control (e.g., pictures, titles, comments, tags, keywords, etc. displayed in interface 2).
- the page information may include the title, introduction, and pictures of each entry in the embodiment shown in FIG. 2E.
- the page information of the control may also be the page information of the media file corresponding to the media call control, including any one or more of the contents of the media file, such as the title, comments, keywords, and cover image.
- the view module 11 may obtain the page information of one or more controls and send the page information of the one or more controls to the policy management module 12.
- the policy management module 12 determines the control policy of the first application in response to the policy acquisition request, where the control policy includes identification information of the control control.
- the policy management module 12 can determine the control policy of the first application from the control policies of multiple applications stored in the policy management module 12 in response to the policy acquisition request.
- Table 1 shows a management and control policy of multiple applications stored in a policy management module 12 .
- the control policies of multiple applications stored in the policy management module 12 may include the application identifier and the control policy of each of the multiple applications.
- the control policy corresponding to the application with the application identifier A1 is control policy 1
- the control policy corresponding to the application with the application identifier A2 is control policy 2
- the control policy corresponding to the application with the application identifier A3 is control policy 3.
- Table 1 is only an example.
- the control policies of multiple applications stored in the policy management module 12 may include more or fewer applications, and may also include control policies different from those shown in Table 1, and the present application does not limit this.
- the policy management module 12 can determine the control policy of the first application from the stored control policies of the multiple applications based on the application identifier of the first application in the policy acquisition request.
- the electronic device 100 may have different control modes, and the control policies of multiple applications in different control modes may be stored in the policy management module 12.
- Table 2 shows the control policies of multiple applications in different control modes.
- the control policies of multiple applications stored in the policy management module 12 may include the application identifier and control policy of each application in the multiple applications.
- the control policy corresponding to the application with application identifier A1 is control policy 1
- the control policy corresponding to the application with application identifier A2 is control policy 2
- the control policy corresponding to the application with application identifier A3 is control policy 3.
- the control policy corresponding to the application with application identifier A1 is control policy 1
- the control policy corresponding to the application with application identifier A2 is control policy 4
- the control policy corresponding to the application with application identifier A3 is control policy 5.
- control policies of multiple applications stored in the policy management module 12 may include more or fewer applications, or include more or fewer control modes, and may also include control policies different from those shown in Table 2. The present application does not limit this.
- the policy management module 12 can determine the control policy of the first application under the current control mode from the control policies of the multiple applications stored based on the application identifier of the first application in the policy acquisition request and the current control mode.
- control policies of multiple applications stored in the policy management module 12 may be control policies pre-set by the user, or may be control policies set by the system at the factory, and this application does not limit this.
- the policy management module 12 can respond to the policy acquisition request and determine the control policy of each of the one or more controls through the control policy decision model based on the page information of the one or more controls in the policy acquisition request, and obtain the control policy of the first application based on the control policy of the one or more controls.
- the specific process of the policy management module 12 determining the control policy of the first application based on the page information of one or more controls and the control policy decision model adopted can refer to the relevant description in the embodiment shown in Figure 9 below, which will not be described in detail here.
- the control strategy of the first application may include identification information of the control control in the first application, and the identification information of the control control may be used to identify the control control and determine the location information of the control control.
- all controls of the same type in the first application such as webview controls, mini-program controls, media call controls, etc.
- the identification information of the control control may include a type identifier of the control, which is used to identify all controls of the same type in the first application.
- the identification information of the control control may include webview and its subclasses, such as android.webkit.Webview and its subclasses, com.android.webview and its subclasses, and com.smtt.sdk.WebView and its subclasses. Etc.
- the identification information of the control control may include the keyword miniprogram.
- the identification information of the control control may include an audio tag or a video tag (e.g., an ⁇ audio> tag or a ⁇ video> tag), etc.
- the tag of audio files is similar to the tag of video files (i.e., the ⁇ video> tag), and can represent corresponding elements, which can be used to embed audio or video content.
- Both the ⁇ audio> tag and the ⁇ video> tag can be described by the src attribute or the ⁇ source> element.
- the src attribute can be used to describe the absolute path or relative path of the media file embedded in the ⁇ audio> tag or the ⁇ video> tag.
- the ⁇ source> element can define media resources, and the ⁇ source> element allows the specification of two video/audio files for the browser to choose based on its support for media types or codecs.
- specific controls in the first application can be managed based on the management and control strategy of the first application.
- the identification information of the managed controls may include any one of the name, category, id, etc. of the specific control, which is used to identify the specific control.
- control strategy in addition to the identification information of the control control, may also include a control method, which is used to indicate the electronic device 100 how to control the control control.
- the control method may include any one or more of the following: covering the control prompt information, canceling the display, replacing the display, triggering the display of the control interface, etc.
- control methods in the control strategy may be the same or different.
- the policy management module 12 sends the control policy of the first application to the view module 11, including identification information of the control control.
- the view module 11 identifies the control control based on the control policy of the first application, and obtains the location information of the control control.
- the view module 11 can identify the control control in the page based on the identification information of the control control in the control policy.
- the view module 11 can determine whether the http request should be managed by judging whether the userAgent contains the keyword miniProgram, or determine whether the control corresponding to the link is a management and control control by judging whether the connection in the interface includes the keyword miniProgram.
- the view module 11 can determine whether the control is a webview control that needs to be managed by judging whether the code of the control includes the category identifier of any of the above webview controls.
- the view module 11 can determine whether the control is a media call control that needs to be managed by judging whether the code of the control includes the ⁇ audio> tag or the ⁇ video> tag.
- the identification information of the managed control may also include the identification of a specific control of the first application (such as name, category, ID, etc.).
- the view module 11 can determine whether the control is a managed control by judging whether the identification of the control is consistent with the identification of the specific control.
- the view module 11 can obtain the position information of the control control.
- the position information of the control control can be the coordinates of the control control in the first coordinate system, and the first coordinate system is a coordinate system constructed with any point on the display screen of the electronic device 100 as the coordinate origin.
- the position information of the control control can also be the coordinates of the control control in the second coordinate system, and the second coordinate system is a coordinate system constructed with any point on the interface of the first application as the origin. It should be noted that the position information of the control control also includes the display size of the control control.
- the first application is an input method application.
- the electronic device 100 can identify the control controls as skin controls 228a and vocabulary controls 228b based on the acquired control policy of the input method application, and determine the location information of the control controls.
- the first application is a chat application
- the electronic device 100 can identify the control control as the mini-program entry control 312 based on the control policy of the chat application obtained, and determine the location information of the mini-program entry control 312.
- the electronic device 100 can identify the control control as one or more mini-program entries in the mini-program entry interface 320 shown in FIG. 3D based on the control policy of the chat application obtained, for example, the entertainment 1 entry, the game 2 entry, and the puzzle 3 entry, and then determine the location information of the one or more mini-program entries.
- the first application is an information application
- the electronic device 100 can identify the control control as the media call control 417 based on the acquired control policy of the information application, and determine the location information of the media call control 417.
- the first application is the healthy use of mobile phone application in the setting application.
- the electronic device 100 can identify the control controls in the youth mode based on the acquired control policy of the healthy use of mobile phone application, including the available time setting entry 513, the application limit setting entry 514, the downtime setting entry 515, the hearing protection setting entry 516 and the password switch control 517, and determine the location information of each of the above control controls.
- the location information of the control control can be obtained by calling the getLocationOnScreen interface of the control, and the absolute location of the control on the screen can be obtained.
- the display size of the control control can be obtained by using the onSizeChanged method of the control.
- the view module 11 sends the location information of the control control to the control module 13.
- the view module 11 may send the location information of the control control to the control module 13 .
- the view module 11 may also send the control method to the control module 13 .
- control module 13 performs control on the control control based on the location information of the control control.
- control module 13 may perform control on the control control based on the location information of the control control.
- the control module 13 when the first application is an input method application, the control module 13 can adopt an overlay display control method to overlay the control prompt window on the control control (i.e., webview control).
- the control module 13 when the first application is an input method application, the control module 13 can also adopt a cancel display control method to not display the control control.
- the control module 13 when the first application is a chat application, can adopt an overlay display control method to overlay the control prompt window on the control control (i.e., the mini-program control or mini-program entry).
- the control module 13 when the first application is a chat application, can adopt a cancel display control method to not display the mini-program control that needs to be controlled or not display the mini-program entry that needs to be controlled.
- control module 13 may also use the control method to control the control control based on the location information of the control control. It is understandable that in other embodiments, in the control method sent by the view module 11, different control controls may also correspond to different control methods. In this case, the control module 13 may also use corresponding different control methods to control different control controls based on the control method, and this application does not limit this.
- different control strategies can be set for different applications, so that missed control can be avoided and refined control of different controls in different applications can be achieved.
- different control strategies can also be set for the same application in the policy management module 12 based on different control modes of the electronic device 100 to achieve refined control under different control modes.
- the electronic device 100 may need to call a media service.
- the electronic device 100 may also include a media service module 14.
- the first application may receive and respond to the user's input for the media call control, and send a call request to the media service module 14, where the call request is used to request the call of the media service.
- the media service module 14 may provide media services for the first application and play the media file corresponding to the media call control.
- the following describes a specific process of obtaining page information of a control in a request based on a policy, and determining whether to control the control through a control policy decision model, provided in an embodiment of the present application.
- FIG. 9 shows an SVM algorithm model.
- the SVM algorithm is a classification algorithm.
- the algorithm model can be used to make management and control strategy decisions.
- the two-dimensional coordinate system formed by the horizontal axis x-axis and the vertical axis y-axis can be regarded as a feature space.
- the feature space can include one or more feature points, and each feature point can correspond to the page information of a control.
- the page information of the media call control may include any one or more of the following information of the media file: title, comment, tag, keyword, category, etc.
- the electronic device 100 may assign a control strategy score to the one or more information, for example, setting the control strategy score of categories such as animation and film to 1, and setting the control strategy score of categories such as teaching and popular science to -1; for another example, setting the control strategy score of titles including words such as "advanced mathematics" to -1.
- the control strategy score is set to -1; for another example, the control strategy score of comments including words such as "looking forward to the next episode" is set to -1, the control strategy score of comments including words such as "learning” is set to 1, and so on.
- w is the normal vector of the separating hyperplane Y0
- b is a constant vector.
- each vector in formula (2) is the same as that in formula (1).
- the value of x can be determined based on the acquired page information.
- the value of y can be determined based on the above formula (2). When the value of y is greater than 0, it can be determined that the control corresponding to the page information is a control control, that is, the control strategy of the control is control; when the value of y is less than 0, it can be determined that the control corresponding to the page information is a non-control control, that is, the control strategy of the control is no control.
- the electronic device 100 can determine the control strategy of the new media call control based on the page information of the new media call control obtained. That is, the electronic device 100 can determine the control strategy score corresponding to the page information, and determine the value of y corresponding to the new media call control based on the above separation hyperplane Y0, and then determine the control strategy of the new media call control. When the value of y is greater than 0, it can be determined that the control strategy of the new media call control is control.
- the electronic device 100 can output a control prompt to reject the user's request to call the media service to play the media file corresponding to the new media call control; when the value of y is less than 0, it can be determined that the control strategy of the new media call control is no control. At this time, the electronic device 100 can receive and respond to the user's input for the new media call control to play the corresponding media file.
- page information may also correspond to other management and control strategy scores, and the present application does not limit this.
- the electronic device 100 may also use the algorithm shown in Figure 9 above to make management and control strategy decisions for other controls in the first application (such as webview controls, mini-program entries, mini-program application icons, or other content, etc.), or use an algorithm different from the algorithm shown in Figure 9 to make management and control strategy decisions for controls in the first application.
- This application is not limited here.
- the electronic device 100 can determine the control strategy of one or more controls in the first application, and based on the control strategy of the one or more controls, determine the identification information of the control controls in the first application to obtain the control strategy of the first application.
- a control strategy decision can be made on the control based on the page information of the acquired control (or the media file corresponding to the control) to determine whether to control the control.
- the control strategies stored in the electronic device 100 can be reduced, reducing storage pressure.
- the control strategy can be determined in real time based on the acquired page information, reducing the probability of missed control events.
- the electronic device 100 may also determine whether to control the media call control based on the media file corresponding to the media call control when receiving the user's input for the media call control. In this way, the electronic device 100 can specifically control some of the media call controls in the first application without affecting other functions of the first application.
- the electronic device 100 may include: an application 15, a policy management module 12, a control module 13 and a media service module 14.
- the application 15 may also be the first application.
- the specific process of the electronic device 100 executing another application management method may include the following steps:
- the application 15 receives and responds to the user's operation of playing a first media file, and sends a media call request to the media service module 14 to request the media service module 14 to play the first media file.
- the user's operation of playing the first media file may be an input of the user to the media call control in the application 15.
- the user's operation of playing the first media file may be a click operation of the user to the media call control 417 in the embodiment shown in FIG. 4B above.
- Another exemplary operation of the user playing the first media file may also be a click operation of the user to the media call control 705 in the embodiment shown in FIG. 7B above, or a click operation of the user to the media call control 706 in the embodiment shown in FIG. 7D above, and so on.
- the media call request may include a call request.
- the call request may be used to request the media service module 14 to provide media services to the application 15 and play the first media file.
- the media call request may also include identification information of the first media file and/or page information of the first media file.
- the identification information of the first media file may be used to identify the first media file, and may include a name or a number of the first media file.
- the page information of the first media file may include any one or more of the following: a tag, title, comment, cover image, keyword, etc. of the first media file.
- the page information of the first media file may be used to determine a management and control strategy for the first media file.
- the media call request may also include a current control mode, which may refer to the current control mode of the electronic device 100, and in some embodiments, may also refer to the current control mode of the application 15.
- the control mode may include a normal control mode, a youth mode, an elderly mode, and the like.
- the media service module 14 sends a query message to the control module 13 in response to the media call request, to inquire whether the first media file can be played.
- the media service module 14 can send a query message to the control module 13 in response to the media call request.
- the query message may include the first media file identification information and/or page information.
- the query message can be used to query the control module 13 whether the media service module 14 can play the first media file.
- the query information may also include the current control mode.
- control module 13 sends an acquisition request to the policy management module 12 , for requesting the policy management module 12 to send the control policy of the first media file to the control module 13 .
- the acquisition request may include identification information and/or page information of the first media file.
- the acquisition request may be used to request the policy management module 12 to send the management and control policy of the first media file to the management and control module 13.
- the acquisition request may also include the current control mode.
- the policy management module 12 determines a management and control policy for the first media file in response to the acquisition request.
- the policy management module 12 may determine the management and control policy of the first media file based on the identification information of the first media file in the acquisition request.
- the policy management module 12 may store the control policy of the application 15 .
- Table 3 shows a control policy of an application 15 stored in a policy management module 12 .
- the control policy of the application 15 stored in the policy management module 12 may include identification information of the media file corresponding to each media call control in the application 15 and whether the media file needs to be controlled.
- the media file with the media file identification information of M1 needs to be controlled
- the media file with the media file identification information of M2 does not need to be controlled
- the media file with the media file identification information of M3 needs to be controlled.
- control policy of the application 15 stored in the policy management module 12 may include more or fewer media files, may include control policies different from those shown in Table 3, and may also include control policies for other controls, which is not limited in the present application.
- the policy management module 12 can determine the control policy of the first media file from the control policies of the stored multiple media files based on the identification information of the first media file in the acquisition request, that is, determine whether to control the first media file.
- the electronic device 100 may have different control modes, and the policy management module 12 may store control policies for the application 15 in different control modes.
- Table 4 shows the control policies for the application 15 in different control modes.
- the control policy of the application 15 stored in the policy management module 12 may include the identification information of the media file corresponding to each media call control in the application 15 under different control modes and whether the media file needs to be controlled.
- the media file with the media file identification information of M1 needs to be controlled
- the media file with the media file identification information of M2 does not need to be controlled
- the media file with the media file identification information of M3 needs to be controlled.
- the media files with the media file identification information of M1 the media files with the media file identification information of M2
- the media files with the media file identification information of M3 all need to be controlled.
- control policy of the application 15 stored in the policy management module 12 may include more or fewer media files, or include more or fewer control modes, and may also include control policies different from those shown in Table 4, and may also include control policies for other controls, which are not limited in the present application.
- the policy management module 12 can determine the control policy of the first media file under the current control mode from the control policies of the stored multiple media files based on the current control mode of the electronic device 100 and the identification information of the first media file in the acquisition request, that is, determine whether to control the first media file.
- the current control mode of the electronic device 100 can be determined by the policy management module 12 in response to the user's operation of setting the control mode, or it can be determined by the policy management module 12 based on the acquisition request, and this application does not limit it here.
- the policy management module 12 can determine the control policy of the first media file based on the page information of the first media file in the acquisition request and the preset control policy decision model.
- the specific control policy decision model and decision method can refer to the relevant content in the embodiment shown in FIG. 9 above, and this application will not repeat them here.
- the policy management module 12 sends a control policy of the first media file to the control module 13 , which is used to indicate whether to control the first media file.
- the policy management module 12 may send the management and control policy of the first media file to the management and control module 13 .
- control module 13 may determine whether to play the first media file based on the control policy of the first media file. Specifically:
- control policy of the first media file is no control, it is determined to play the first media file. At this time, the electronic device 100 executes the following steps S1007 to S1008;
- control policy of the first media file is control, it is determined not to play the first media file. At this time, the electronic device 100 executes the following steps S1009 to S1011.
- the control module 13 sends a release notification to the media service module 14, for notifying the media service module 14 to play the first media file.
- control module 13 sends a release notification to the media service module 14 , where the release notification is used to notify the media service module 14 to play the first media file.
- the media service module 14 provides media service to the application 15 in response to the release notification, and plays the first media file.
- the media service module 14 may provide media services to the application 15 and play the first media file.
- the first media file may be the mathematics teaching video played in the embodiment shown in FIG. 7E above.
- the control module 13 sends a control notification to the media service module 14, which is used to notify the media service module 14 not to play the first media file. Piece.
- control module 13 sends a control notification to the media service module 14 , where the control notification is used to notify the media service module 14 not to play the first media file.
- the media service module 14 sends a rejection notification to the application 15 in response to the control notification, so as to notify the application 15 that the media call request is rejected.
- application 15 outputs a control prompt in response to the rejection notification.
- the output control prompt may be the control prompt window 711 in the embodiment shown in Fig. 7C above.
- the output control prompt may also include the control prompt window 707 in the embodiment shown in Fig. 7D above.
- the control strategy obtained when the application is started can be reduced, and the application startup efficiency can be guaranteed while ensuring the control effect.
- control in the first application can also adopt a method similar to the control method shown in FIG. 10 above, that is, after receiving the user's input for the control in the first application, the policy management module 12 determines whether to control the control.
- the specific operation process can be analogous to the embodiment shown in FIG. 10, and will not be repeated here.
- the specific process of the application control method may include the following steps:
- the operation on the first icon may be the operation on the first application in step S801 shown in FIG. 8 .
- the first interface may be the negative one screen search interface 220 shown in FIG. 2D above, the first control may be the word library control 228b, and the second control may be the slide-up input control; another exemplary embodiment, the first interface may be the discovery interface 310 shown in FIG. 3C above, the first control may be the mini-program entry control 312, and the second control may be the chat control.
- the first interface may be the mini-program entry interface 320 shown in FIG. 3D above, the first control may be the mini-program entry (e.g., entertainment 1, game 2, etc.) in the interface, and the second control may be the search control 325.
- the first interface may be the information application interface shown in FIG.
- the first control may be the media call control 417, and the second control may be the graphic content 415; another exemplary embodiment, the first interface may be the video application interface 700 shown in FIG. 7B above, the first control may be the media call control 705, and the second control may be the media call control 706, and so on.
- the electronic device 100 receives and responds to a first operation on a first control, and displays a second interface of a first application.
- the first operation on the first control may be a click operation on the word library control 228b shown in FIG. 2D
- the second interface may be the web page interface 230 shown in FIG. 2E
- the first operation on the first control may be a click operation on the mini-program entry control 312 shown in FIG. 3C
- the second interface may be the mini-program entry interface 320 shown in FIG. 3D, etc.
- the second interface may also be the interface of the mini-program, or other interfaces such as the media playback interface, which is not limited in this application.
- the electronic device 100 receives and displays the third interface of the first application in response to the second operation on the second control.
- the second operation on the second control may be a click operation on the media call control 706 shown in FIG. 7B
- the third interface may be the video playback interface 720 shown in FIG. 7E , and so on.
- the electronic device 100 receives and responds to the operation on the first icon, and normally displays the second control in the area where the second control is located.
- the electronic device 100 may receive and respond to a user's operation to turn on the control mode (e.g., an operation on a control mode switch, etc.) to turn on the control mode.
- the electronic device 100 may also turn on the control mode when it detects that a preset control condition is met (e.g., the current time is within a preset control time period).
- the electronic device 100 After the control mode is turned on, the electronic device 100 receives and responds to the operation on the first icon, obtains the control policy of the first application, The specific steps of the electronic device 100 obtaining the control strategy of the first application and determining the control control based on the control strategy can refer to the relevant descriptions in the embodiments shown in Figures 8 to 10 above, which will not be repeated here.
- the electronic device 100 can normally display the second control in the area where the second control is located, and the area where the second control is located refers to the display area of the second control in the first interface.
- the control of the first application may include a first mode and a second mode
- the first mode is the control of one or more controls in the first application (or the control of one or more types of controls in the application), for example, in the above embodiment of the present application, the electronic device 100 adopts the first mode when controlling the first application; the second mode is the control of the first application, so that the electronic device 100 cannot run the first application normally.
- the electronic device 100 can control the first application in the first mode while turning on the control mode.
- the electronic device 100 can control the first application in the second mode.
- the electronic device 100 can also control the controls in the first application based on the first control mode and the control method shown in the above embodiment. In other embodiments, based on different control modes of the electronic device 100 (normal control mode, youth mode, elderly mode), the control strategy of the first application in the first mode may be different, and the application control conditions of the first application in the second mode may also be different.
- the electronic device 100 receives and responds to the third operation on the area where the first control is located, and does not display the second interface.
- the electronic device 100 can determine the area where the first control is located in the first interface (also written as the location information of the first control), and control the first control, so that when the electronic device 100 receives the third operation of the user on the area where the first control is located, the second interface is not displayed.
- the area where the first control is located refers to the display area of the first control in the first interface.
- the specific steps of the electronic device 100 determining the position information of the first control and controlling the first control based on the position information of the first control can refer to the relevant description in the embodiment shown in Figure 8 above.
- the electronic device 100 may not display the first control.
- the electronic device 100 may overlay control prompt information in the area where the first control is located in the first interface to prompt the user that the first control is controlled.
- the control prompt information may be the control prompt window in the above embodiment, or other forms of control prompt information (such as control patterns, control animations, etc.), which is not limited in this application.
- the electronic device 100 may display the first control.
- the electronic device 100 receives and responds to the third operation on the first control, and displays a control interface, which can be used to prompt the user that the first control is controlled.
- the control interface can be the control interface 710 shown in FIG. 7C above, or the control interface 360 shown in FIG. 3I above, or the control interface 250 shown in FIG. 2I above, etc.
- the electronic device 100 receives and responds to the fourth operation on the area where the second control is located, and displays the third interface.
- the fourth operation on the second control may be a click operation on the media call control 706 shown in FIG. 7B
- the third interface may be the video playback interface 720 shown in FIG. 7E , and so on.
- the controls in the application can be managed by setting the application management strategy, which can avoid the occurrence of missed management and can also achieve refined management of different controls in different applications.
- the computer program product includes one or more computer instructions.
- the computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instructions can be transmitted from a website, a computer, a server or a data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line)
- the computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media.
- the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)).
- SSD solid state disk
- the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media.
- the programs can include the processes of the above-mentioned method embodiments.
- the aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
本申请要求于2023年2月27日提交中国专利局、申请号为202310216740.8、申请名称为“一种应用管控方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on February 27, 2023, with application number 202310216740.8 and application name “An application management method and related devices”, the entire contents of which are incorporated by reference in this application.
本申请涉及终端技术领域,尤其涉及一种应用管控方法及相关装置。The present application relates to the field of terminal technology, and in particular to an application management method and related devices.
随着终端技术的不断发展,终端可以在日常生活中为用户提供各种各样的娱乐服务和其他便利服务。娱乐服务在为用户提供快乐的同时,也更容易让用户沉迷娱乐,影响用户的正常生活。尤其是,当用户为儿童时,沉迷娱乐还会影响到儿童的身心健康。因此,需要对终端提供的娱乐服务进行限制。With the continuous development of terminal technology, terminals can provide users with a variety of entertainment services and other convenient services in daily life. While entertainment services provide users with happiness, they are also more likely to make users addicted to entertainment, affecting their normal lives. In particular, when the user is a child, being addicted to entertainment can also affect the child's physical and mental health. Therefore, it is necessary to limit the entertainment services provided by the terminal.
终端可以对终端上安装的应用进行管控,禁止被管控的应用运行。例如,终端可以接收并响应于用户开启青少年模式的操作,禁止视频应用、游戏应用等娱乐应用的运行。The terminal can control the applications installed on the terminal and prohibit the controlled applications from running. For example, the terminal can receive and respond to the user's operation of turning on the youth mode and prohibit the running of entertainment applications such as video applications and game applications.
采用上述应用管控方式,终端虽然无法通过被管控的应用为用户提供视频播放等娱乐服务,但是,终端可以通过其他未被管控的应用(例如聊天应用、通话应用等)为用户提供视频播放等服务。因此,采用上述应用管控方式,会出现漏管控的情况,无法达到管控效果。With the above-mentioned application control method, although the terminal cannot provide users with entertainment services such as video playback through controlled applications, the terminal can provide users with services such as video playback through other uncontrolled applications (such as chat applications, call applications, etc.). Therefore, with the above-mentioned application control method, there will be a situation of missed control, and the control effect cannot be achieved.
发明内容Summary of the invention
本申请提供了一种应用管控方法及相关装置,实现了对不同应用中不同控件的精细化管控,避免了漏管控事件的发生。The present application provides an application management method and related devices, which realizes refined management of different controls in different applications and avoids the occurrence of missed management events.
第一方面,本申请提供了一种应用管控方法,包括:响应于针对第一图标的操作,显示第一应用的第一界面,第一界面包括第一控件和第二控件;响应于针对第一控件的第一操作,显示第一应用的第二界面;响应于针对第二控件的第二操作,显示第一应用的第三界面;在开启管控模式之后,响应于针对第一图标的操作,在第二控件所在区域上正常显示第二控件;响应于针对第一控件所在区域的第三操作,不显示第二界面;响应于针对第二控件所在区域的第四操作,显示第三界面。In a first aspect, the present application provides an application management method, including: in response to an operation on a first icon, displaying a first interface of a first application, the first interface including a first control and a second control; in response to a first operation on the first control, displaying a second interface of the first application; in response to a second operation on the second control, displaying a third interface of the first application; after turning on the management mode, in response to the operation on the first icon, displaying the second control normally on the area where the second control is located; in response to a third operation on the area where the first control is located, not displaying the second interface; in response to a fourth operation on the area where the second control is located, displaying the third interface.
这样,在开启管控模式之后,可以对第一应用中的第一控件进行管控,且不影响第二控件的功能。In this way, after the control mode is turned on, the first control in the first application can be controlled without affecting the function of the second control.
在一种可能的实现方式中,方法还包括:在第一控件所在区域上覆盖显示管控提示信息,管控提示信息用于提示用户第一控件被管控。In a possible implementation, the method further includes: overlaying and displaying control prompt information on the area where the first control is located, where the control prompt information is used to prompt the user that the first control is controlled.
这样,可以通过管控提示信息(例如管控提示窗)遮挡第一控件,对第一控件进行管控。In this way, the first control can be controlled by shielding the first control through the control prompt information (such as the control prompt window).
在一种可能的实现方式中,方法还包括:响应于针对第一控件所在区域的第三操作,显示管控界面,管控界面用于提示用户第一控件被管控。In a possible implementation, the method further includes: in response to a third operation on the area where the first control is located, displaying a management and control interface, where the management and control interface is used to prompt a user that the first control is being managed.
这样,可以在接收到用户针对第一控件的操作后显示管控界面,达到对第一控件进行管控的目的。In this way, the control interface can be displayed after receiving the user's operation on the first control, thereby achieving the purpose of controlling the first control.
在一种可能的实现方式中,第一应用的使用时长未达到第一阈值或者第一应用的使用时段未处于管控时段。In a possible implementation, the usage duration of the first application does not reach the first threshold or the usage period of the first application is not within the control period.
这样,在第一应用处于未管控的状态下,也可以对第一应用中的第一控件进行管控,且不影响第一应用中其他控件的正常使用。In this way, when the first application is in an uncontrolled state, the first control in the first application can also be controlled without affecting the normal use of other controls in the first application.
在一种可能的实现方式中,方法还包括:在开启管控模式之后,响应于针对第一图标的操作,在第一控件所在区域上不显示第一控件。In a possible implementation, the method further includes: after the management and control mode is turned on, in response to an operation on the first icon, not displaying the first control in the area where the first control is located.
这样,可以通过不显示第一控件达到管控第一控件的目的。In this way, the purpose of controlling the first control can be achieved by not displaying the first control.
在一种可能的实现方式中,第一控件为网页视图webview控件,第二界面包括一个或多个词条,词条 可用于触发显示对应的网页页面。In a possible implementation, the first control is a web view control, and the second interface includes one or more entries. Can be used to trigger the display of the corresponding web page.
采用本申请提供的应用管控方法,可以管控第一应用中的webview控件。By adopting the application management method provided in this application, the webview control in the first application can be managed.
在一种可能的实现方式中,第一控件为小程序入口控件,第二界面包括一个或多个小程序条目,小程序条目用于触发显示对应的小程序的界面。In a possible implementation, the first control is a mini-program entry control, and the second interface includes one or more mini-program entries, and the mini-program entries are used to trigger the display of the interface of the corresponding mini-program.
在一种可能的实现方式中,第一控件为小程序条目或小程序应用图标,第二界面为第一控件对应的小程序的界面。In a possible implementation, the first control is a mini-program entry or a mini-program application icon, and the second interface is an interface of the mini-program corresponding to the first control.
采用本申请提供的应用管控方法,可以管控第一应用中的小程序类控件(例如小程序入口控件、小程序应用图标、小程序条目等)。By using the application management method provided in this application, you can manage mini-program type controls in the first application (such as mini-program entry controls, mini-program application icons, mini-program entries, etc.).
在一种可能的实现方式中,第一控件用于触发播放媒体文件,第二界面为第一控件对应的媒体文件的播放界面。In a possible implementation, the first control is used to trigger the playing of the media file, and the second interface is a playing interface of the media file corresponding to the first control.
采用本申请提供的应用管控方法,可以管控第一应用中的媒体调用控件,媒体调用控件用于触发播放媒体文件。By adopting the application management method provided in the present application, the media call control in the first application can be managed, and the media call control is used to trigger the playback of the media file.
在一种可能的实现方式中,在开启管控模式之后,方法还包括:In a possible implementation, after the control mode is enabled, the method further includes:
获取预设的管控策略,管控策略包括第一控件的标识信息,第一控件的标识信息用于确定第一控件所在区域。A preset control strategy is obtained, where the control strategy includes identification information of the first control, and the identification information of the first control is used to determine the area where the first control is located.
这样,可以通过设置管控策略实现不同的管控目的,还可以对不同应用设置不同的管控策略。In this way, different control objectives can be achieved by setting control strategies, and different control strategies can be set for different applications.
在一种可能的实现方式中,在开启管控模式之后,方法还包括:In a possible implementation, after the control mode is enabled, the method further includes:
基于第一界面和第二界面获取第一控件的页面信息,第一控件的页面信息包括第一控件在第一界面上的显示内容和/或第二界面的显示内容;基于第一控件的页面信息和预设的判决模型确定管控第一控件。Based on the first interface and the second interface, page information of the first control is obtained, and the page information of the first control includes the display content of the first control on the first interface and/or the display content of the second interface; based on the page information of the first control and a preset decision model, the control of the first control is determined.
这样,可以减少电子设备存储的管控策略,降低存储压力。而且,可以实时基于获取到的页面信息确定管控策略,降低漏管控事件的发生概率。In this way, the control strategies stored in the electronic device can be reduced, and the storage pressure can be reduced. Moreover, the control strategy can be determined in real time based on the acquired page information, and the probability of missed control events can be reduced.
第二方面,本申请提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述任一方面任一项可能的实现方式中的应用管控方法。In a second aspect, the present application provides an electronic device, comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions, and when the one or more processors execute the computer instructions, the electronic device executes the application management method in any possible implementation of any of the above aspects.
第三方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述任一方面任一项可能的实现方式中的应用管控方法。In a third aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, which, when executed on an electronic device, enables the electronic device to execute an application management method in any possible implementation of any of the above aspects.
第四方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行上述任一方面任一项可能的实现方式中的应用管控方法。In a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute an application management and control method in any possible implementation of any of the above aspects.
第二方面至第四方面的有益效果可以参考第一方面的有益效果。The beneficial effects of the second to fourth aspects may refer to the beneficial effects of the first aspect.
图1为本申请实施例提供的一种电子设备100的硬件结构示意图;FIG1 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
图2A-图2I为本申请实施例提供的一组针对第一应用中的网页视图(webview)控件进行管控的界面示意图;2A-2I are schematic diagrams of a group of interfaces for managing and controlling a web view (webview) control in a first application, provided in an embodiment of the present application;
图3A-图3I为本申请实施例提供的一组针对第一应用中的小程序进行管控的界面示意图;3A-3I are schematic diagrams of a group of interfaces for managing and controlling mini-programs in a first application provided in an embodiment of the present application;
图4A-图4D为本申请实施例提供的一组针对第一应用中的媒体调用控件进行管控的界面示意图;4A-4D are schematic diagrams of a group of interfaces for managing and controlling a media call control in a first application provided in an embodiment of the present application;
图5A-图5E为本申请实施例提供的一组在不同管控模式下对第一应用中的控件进行管控的界面示意图;5A-5E are schematic diagrams of a group of interfaces for controlling controls in a first application in different control modes provided in an embodiment of the present application;
图6A-图6C为本申请实施例提供的一组针对第一应用中显示的内容进行管控的界面示意图; 6A-6C are schematic diagrams of a group of interfaces for managing content displayed in a first application, provided in an embodiment of the present application;
图7A-图7E为本申请实施例提供的另一组针对第一应用中媒体调用控件进行管控的界面示意图;7A-7E are another set of interface schematic diagrams for managing and controlling media call controls in a first application provided by an embodiment of the present application;
图8为本申请实施例提供的一种应用管控方法的模块交互流程示意图;FIG8 is a schematic diagram of a module interaction flow of an application management and control method provided in an embodiment of the present application;
图9为本申请实施例提供的一种支持向量机算法模型示意图;FIG9 is a schematic diagram of a support vector machine algorithm model provided in an embodiment of the present application;
图10为本申请实施例提供的另一种应用管控方法的模块交互流程示意图;FIG10 is a schematic diagram of a module interaction flow of another application management method provided in an embodiment of the present application;
图11为本申请实施例提供的一种应用管控方法的流程示意图。FIG11 is a flow chart of an application management method provided in an embodiment of the present application.
下面将结合附图对本申请实施例中的技术方案进行清楚、详尽地描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;文本中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,另外,在本申请实施例的描述中,“多个”是指两个或多于两个。The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, "/" means or, for example, A/B can mean A or B; "and/or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征,在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more.
本申请以下实施例中的术语“用户界面(user interface,UI)”,是应用程序或操作系统与用户之间进行交互和信息交换的介质接口,它实现信息的内部形式与用户可以接受形式之间的转换。用户界面是通过java、可扩展标记语言(extensible markup language,XML)等特定计算机语言编写的源代码,界面源代码在电子设备上经过解析,渲染,最终呈现为用户可以识别的内容。用户界面常用的表现形式是图形用户界面(graphic user interface,GUI),是指采用图形方式显示的与计算机操作相关的用户界面。它可以是在电子设备的显示屏中显示的文本、图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、工具(Widget)等可视的界面元素。The term "user interface (UI)" in the following embodiments of the present application refers to a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface is a source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on an electronic device and finally presented as content that can be recognized by the user. The commonly used form of user interface is a graphical user interface (GUI), which refers to a user interface related to computer operation displayed in a graphical manner. It can be a visual interface element such as text, icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, tools (Widgets) displayed on the display screen of an electronic device.
下面介绍本申请实施例中涉及的一些专业术语。Some professional terms involved in the embodiments of this application are introduced below.
网页视图(webview)可以看作是一个嵌入式的浏览器,可以内嵌在移动端,实现前端的混合式开发,大多数混合式开发框架都是基于webview模式进行二次开发的。webview只是一个可视化的组件,作为应用的视觉部分,用webview展示的内容是不需要存储在本地的,可以直接从服务器获取。在本申请以下实施例中,webview控件是移动端用于加载Web页面的控件。Webview can be regarded as an embedded browser that can be embedded in the mobile terminal to realize hybrid development of the front end. Most hybrid development frameworks are based on the webview mode for secondary development. Webview is just a visual component. As the visual part of the application, the content displayed by webview does not need to be stored locally and can be obtained directly from the server. In the following embodiments of this application, the webview control is a control used by the mobile terminal to load web pages.
小程序是一种不需要下载安装即可使用的应用,用户扫一扫或者搜一下即可打开应用,也体现了“用完即走”的理念。用户可以不用关心是否安装太多应用的问题,应用将无处不在,随时可用,但又无需安装卸载。Mini programs are applications that can be used without downloading or installing. Users can open the application by scanning or searching, which also embodies the concept of "use it and leave it". Users do not need to worry about whether to install too many applications. Applications will be everywhere and available at any time, but there is no need to install or uninstall them.
媒体调用控件是应用中可以用于触发电子设备调用媒体服务的控件。The media calling control is a control in an application that can be used to trigger an electronic device to call a media service.
支持向量机(support vector machines,SVM)是一种二分类模型,它的基本模型是定义在特征空间上的间隔最大的线性分类器,间隔最大使它有别于感知机;SVM还包括核技巧,这使它成为实质上的非线性分类器。SVM的学习策略就是间隔最大化,可形式化为一个求解凸二次规划的问题,也等价于正则化的合页损失函数的最小化问题。SVM的学习算法就是求解凸二次规划的最优化算法。SVM是求解能够正确划分训练数据集并且几何间隔最大的分离超平面。Support vector machines (SVM) are a binary classification model. Its basic model is a linear classifier with the largest margin defined in the feature space. The largest margin distinguishes it from the perceptron. SVM also includes kernel techniques, which makes it a nonlinear classifier in essence. The learning strategy of SVM is to maximize the margin, which can be formalized as a problem of solving convex quadratic programming, which is equivalent to the problem of minimizing the regularized hinge loss function. The learning algorithm of SVM is the optimization algorithm for solving convex quadratic programming. SVM is to solve the separating hyperplane that can correctly divide the training data set and has the largest geometric margin.
图1示出了电子设备100的硬件结构示意图。FIG. 1 shows a schematic diagram of the hardware structure of an electronic device 100 .
电子设备100可以是手机、平板电脑、桌面型计算机、膝上型计算机、手持计算机、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本,以及蜂窝电话、个人数字助理(personal digital assistant,PDA)、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、人工智能(artificial intelligence,AI)设备、可穿戴式设备、车载设备、智能家居设备和/或智慧城市设备,本申请实施例对该电子设备的具体类型不作特殊限制。The electronic device 100 may be a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a personal digital assistant (PDA), an augmented reality (AR) device, a virtual reality (VR) device, an artificial intelligence (AI) device, a wearable device, an in-vehicle device, a smart home device and/or a smart city device. The embodiments of the present application do not impose any special restrictions on the specific type of the electronic device.
电子设备100可以包括处理器110,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,音频模块170,传感器模块180,显示屏194。在一些实施例中,电子设备100还可以包括以下任一项或多项:外部存储器接口120,天线1,天线2,移动通信模块150,无线通信模块160,按键190,马达191,指示器192等。其中传感器模块180可以包括触摸传 感器180K,在一些实施例中,传感器模块180还可以包括其他一个或多个传感器,例如压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,环境光传感器,骨传导传感器等。The electronic device 100 may include a processor 110, 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 audio module 170, a sensor module 180, and a display screen 194. In some embodiments, the electronic device 100 may also include any one or more of the following: an external memory interface 120, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a button 190, a motor 191, an indicator 192, etc. The sensor module 180 may include a touch sensor. Sensor 180K. In some embodiments, the sensor module 180 may also include one or more other sensors, such as a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, an ambient light sensor, a bone conduction sensor, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (SIM) interface, and/or a universal serial bus (USB) interface, etc.
充电管理模块140用于从充电器接收充电输入。The charging management module 140 is used to receive charging input from a charger.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,和无线通信模块160等供电。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140 to power the processor 110, the internal memory 121, the display screen 194, and the wireless communication module 160.
在一些实施例中,电子设备100还可以具备无线通信功能。电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。In some embodiments, the electronic device 100 may also have a wireless communication function. The wireless communication function of the electronic device 100 may be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),显示面板还可以采用有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等制造。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), and the display panel can also be made of an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diodes (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
内部存储器121可以包括一个或多个随机存取存储器(random access memory,RAM)和一个或多个非易失性存储器(non-volatile memory,NVM)。随机存取存储器可以包括静态随机存储器(static random-access memory,SRAM)、动态随机存储器(dynamic random access memory,DRAM)、同步动态随机存储器(synchronous dynamic random access memory,SDRAM)、双倍资料率同步动态随机存取存储器(double data rate synchronous dynamic random access memory,DDR SDRAM,例如第五代DDR SDRAM一般称为DDR5 SDRAM)等;非易失性存储器可以包括磁盘存储器件、快闪存储器(flash memory)。随机存取存储器可以由处理器110直接进行读写,可以用于存储操作系统或其他正在运行中的程序的可执行程序(例如机器指令),还可以用于存储用户及应用程序的数据等。非易失性存储器也可以存储可执行程序和存储用户及应用程序的数据等,可以提前加载到随机存取存储器中,用于处理器110直接进行读写。The internal memory 121 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM, such as the fifth generation DDR SDRAM is generally referred to as DDR5 SDRAM), etc.; the non-volatile memory may include a disk storage device and a flash memory. The random access memory can be directly read and written by the processor 110, and can be used to store executable programs (such as machine instructions) of an operating system or other running programs, and can also be used to store user and application data, etc. The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 110 .
外部存储器接口120可以用于连接外部的非易失性存储器,实现扩展电子设备100的存储能力。外部的非易失性存储器通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等 文件保存在外部的非易失性存储器中。The external memory interface 120 can be used to connect to an external non-volatile memory to expand the storage capacity of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, music, videos, etc. The files are stored in external non-volatile memory.
电子设备100可以通过音频模块170(例如扬声器,受话器,麦克风,耳机接口等),以及应用处理器等实现音频功能。例如视频播放、音频播放等。The electronic device 100 can implement audio functions such as video playback and audio playback through the audio module 170 (such as a speaker, a receiver, a microphone, an earphone interface, etc.) and an application processor, etc.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
马达191可以产生振动提示。Motor 191 can generate vibration prompts.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
本申请实施例提供了一种应用管控方法。电子设备100上安装有一个或多个应用,该一个或多个应用可以包括第一应用。在开启管控模式的情况下,电子设备100在检测到用户针对第一图标的操作(例如,打开第一应用的操作、请求调用媒体服务的操作、或针对第一应用中特定控件的操作等)时,确定第一应用的管控策略,管控策略包括管控控件的标识信息。电子设备100可以基于管控控件的标识信息对第一应用中的管控控件进行管控(例如,在管控控件所在区域覆盖显示管控提示信息、不显示管控控件、触发显示管控界面等),使得电子设备100在接收到针对管控控件所在区域的操作时,无法执行该操作对应的响应,同时不影响第一应用中非管控控件的正常功能。其中,管控控件是需要被管控的控件,管控控件的类型可以包括webview控件、小程序类控件(也写作小程序控件)、媒体服务调用控件等类型中的一项或多项。The embodiment of the present application provides an application control method. One or more applications are installed on the electronic device 100, and the one or more applications may include a first application. When the control mode is turned on, the electronic device 100 determines the control strategy of the first application when detecting the user's operation on the first icon (for example, the operation of opening the first application, the operation of requesting to call the media service, or the operation of a specific control in the first application, etc.), and the control strategy includes the identification information of the control control. The electronic device 100 can control the control control in the first application based on the identification information of the control control (for example, covering the display of the control prompt information in the area where the control control is located, not displaying the control control, triggering the display of the control interface, etc.), so that the electronic device 100 cannot execute the response corresponding to the operation when receiving the operation on the area where the control control is located, and does not affect the normal function of the non-control control in the first application. Among them, the control control is a control that needs to be controlled, and the type of the control control may include one or more of the types of webview control, applet class control (also written as applet control), media service call control, etc.
采用本申请实施例提供的应用管控方法,可以对不同应用设置不同的管控策略,这样,可以避免出现漏管控的情况,实现对不同应用中的不同控件的精细化管控。By adopting the application management method provided in the embodiment of the present application, different management strategies can be set for different applications. In this way, it is possible to avoid the occurrence of missed management and achieve refined management of different controls in different applications.
下面介绍本申请实施例的一些应用场景。Some application scenarios of the embodiments of the present application are introduced below.
在一些应用场景中,电子设备100中安装有第一应用(例如,输入法应用等),第一应用中包括webview控件,webview控件可以用于触发电子设备100在第一应用的界面中显示网页页面,为用户提供网页浏览服务。在电子设备100开启管控模式的情况下,若电子设备100确定第一应用的管控策略包括webview控件的标识信息时,电子设备100可以在显示第一应用的界面时,在第一应用的界面上的webview控件上覆盖显示管控提示窗,不显示webview控件,或者在接收到针对webview控件的操作时显示管控提示(例如管控界面)。其中,webview控件的标识信息可以是webview的类型以及子类,例如android.webkit.Webview及其子类、com.android.webview及其子类、或com.smtt.sdk.WebView及其子类。管控模式可以包括以下任一项或多项:普通管控模式、青少年模式、老年人模式等。In some application scenarios, a first application (e.g., an input method application, etc.) is installed in the electronic device 100, and the first application includes a webview control, which can be used to trigger the electronic device 100 to display a web page in the interface of the first application to provide web browsing services to the user. When the electronic device 100 turns on the control mode, if the electronic device 100 determines that the control strategy of the first application includes the identification information of the webview control, the electronic device 100 can cover the webview control on the interface of the first application when displaying the interface of the first application, and not display the webview control, or display the control prompt (e.g., the control interface) when receiving an operation on the webview control. Among them, the identification information of the webview control can be the type and subclass of the webview, such as android.webkit.Webview and its subclasses, com.android.webview and its subclasses, or com.smtt.sdk.WebView and its subclasses. The control mode can include any one or more of the following: normal control mode, youth mode, elderly mode, etc.
示例性的,如图2A所示,电子设备100可以显示有桌面200,该桌面200中显示了一个放置有应用图标的页面,该页面包括多个应用图标(例如,天气应用图标、设置应用图标204、浏览器应用图标、聊天应用图标205、资讯应用图标206、视频应用图标207,等等)。可选的,该放置有应用图标的页面的下方还显示包括有页面指示符202,以表明桌面上页面总数,以及当前显示的页面与其他页面的位置关系。例如,桌面200可以包括有三个页面,该页面指示符中的黑点位于左起第一个位置,可以表示当前显示页面为三个页面中左起的第一个页面。可选的,该放置有应用图标的页面的上方还显示包括有状态栏201,该状态栏201中可以包括有通信信号的强度指示符、电量值、时间等信息。进一步可选的,页面指示符的下方可以有托盘(dock)区域203,该dock区域203中可以包括有一个或多个托盘图标(例如,拨号应用图标、信息应用图标、通讯录应用图标、相机应用图标等等),该dock区域中的一个或多个托盘图标可以在页面切换时保持显示。Exemplarily, as shown in FIG2A , the electronic device 100 may display a desktop 200, in which a page with application icons is displayed, and the page includes multiple application icons (e.g., weather application icon, setting application icon 204, browser application icon, chat application icon 205, information application icon 206, video application icon 207, etc.). Optionally, a page indicator 202 is also displayed below the page with application icons to indicate the total number of pages on the desktop and the positional relationship between the currently displayed page and other pages. For example, the desktop 200 may include three pages, and the black dot in the page indicator is located at the first position from the left, which may indicate that the currently displayed page is the first page from the left of the three pages. Optionally, a status bar 201 is also displayed above the page with application icons, and the status bar 201 may include information such as the strength indicator of the communication signal, the battery value, and the time. Further optionally, there may be a tray (dock) area 203 below the page indicator, and the dock area 203 may include one or more tray icons (for example, a dial application icon, a message application icon, an address book application icon, a camera application icon, etc.), and one or more tray icons in the dock area may remain displayed when the page is switched.
电子设备100可以接收并响应于用户针对桌面200向右滑动的操作,显示如图2B所示的负一屏界面210。 The electronic device 100 can receive and respond to the user's operation of sliding the desktop 200 to the right, and display the negative one screen interface 210 as shown in FIG. 2B .
如图2B所示,负一屏界面210可以包括搜索框211、搜索控件216、快捷区域212以及一个或多个服务号(例如,运动健康服务号213、日程服务号214、天气服务号215,等等)其中:搜索框211可以用于显示用户的输入,还可以用于触发电子设备100显示输入法窗口。快捷区域212可以显示有一个或多个快捷控件(例如,二维码控件、扫一扫控件、付款码控件、更多应用控件,等等)。该一个或多个服务号可以用于显示该服务号提供的服务。例如,运动健康服务号213可以用于显示用户当天的步数以及消耗的热量等等。日程服务号214可以用于显示用户最近一段时间(一周、两周或一个月等等)的日程安排。天气服务号215则可以用于显示用户当前所处地区以及该地区的天气,等等。As shown in FIG. 2B , the negative one-screen interface 210 may include a search box 211, a search control 216, a shortcut area 212, and one or more service numbers (e.g., sports health service number 213, schedule service number 214, weather service number 215, etc.) wherein: the search box 211 may be used to display the user's input, and may also be used to trigger the electronic device 100 to display an input method window. The shortcut area 212 may display one or more shortcut controls (e.g., a QR code control, a scan control, a payment code control, more application controls, etc.). The one or more service numbers may be used to display the services provided by the service number. For example, the sports health service number 213 may be used to display the number of steps and calories consumed by the user on the day, etc. The schedule service number 214 may be used to display the user's schedule for the recent period of time (a week, two weeks, or a month, etc.). The weather service number 215 may be used to display the user's current location and the weather in the area, etc.
电子设备100可以接收并响应于用户针对搜索框211的输入,触发电子设备100显示如图2C所示的负一屏搜索界面220,并在负一屏搜索界面220中显示输入法窗口225。The electronic device 100 may receive and respond to user input to the search box 211 , triggering the electronic device 100 to display the negative one screen search interface 220 as shown in FIG. 2C , and display an input method window 225 in the negative one screen search interface 220 .
如图2C所示,负一屏搜索界面220可以包括搜索框221、搜索控件222、常用应用区223、搜索历史区224以及输入法窗口225。其中,搜索框221以及搜索控件222的功能可以参考上述图2B所示实施例中的相关描述,此处不再赘述。常用应用区223中可以显示有一个或多个电子设备100运行频率最高的多个应用的应用图标(例如天气应用图标、股票应用图标、邮件应用图标以及视频应用图标,等等)。搜索历史区224可以显示有电子设备100在负一屏搜索界面220的搜索历史,例如,字符“世界杯”、“宠物”、“日程”等等。输入法窗口225中可以包括功能控件226以及键盘227。功能控件226可以用于触发电子设备100关闭显示键盘227,并显示一个或多个辅助控件。As shown in FIG2C, the negative one screen search interface 220 may include a search box 221, a search control 222, a common application area 223, a search history area 224, and an input method window 225. Among them, the functions of the search box 221 and the search control 222 can refer to the relevant description in the embodiment shown in FIG2B above, and will not be repeated here. The common application area 223 may display application icons of multiple applications with the highest running frequency of one or more electronic devices 100 (for example, weather application icons, stock application icons, mail application icons, and video application icons, etc.). The search history area 224 may display the search history of the electronic device 100 in the negative one screen search interface 220, for example, the characters "World Cup", "Pet", "Schedule", etc. The input method window 225 may include a function control 226 and a keyboard 227. The function control 226 can be used to trigger the electronic device 100 to turn off the display keyboard 227 and display one or more auxiliary controls.
当电子设备100未开启管控模式时,电子设备100可以接收并响应于用户针对功能控件226的输入,如图2D所示,将负一屏搜索界面220中的键盘227切换为辅助控件区228。When the electronic device 100 is not in control mode, the electronic device 100 can receive and respond to user input to the function control 226 , as shown in FIG. 2D , and switch the keyboard 227 in the negative one-screen search interface 220 to the auxiliary control area 228 .
如图2D所示,辅助控件区228中可以显示有一个或多个辅助控件。该一个或多个辅助控件可以包括输入方式控件、上滑输入控件、皮肤控件228a、词库控件228b,等等。其中,词库控件228b是webview控件,词库控件228b可以用于触发电子设备100打开输入法应用,并在输入法应用中显示网页页面。在一些实施例中,皮肤控件228a也可以是webview控件,也可以用于触发电子设备100在输入法应用中显示包括多个皮肤缩略图的网页页面。As shown in FIG2D , one or more auxiliary controls may be displayed in the auxiliary control area 228. The one or more auxiliary controls may include an input method control, a slide-up input control, a skin control 228a, a thesaurus control 228b, and the like. Among them, the thesaurus control 228b is a webview control, and the thesaurus control 228b can be used to trigger the electronic device 100 to open the input method application and display a web page in the input method application. In some embodiments, the skin control 228a may also be a webview control, and may also be used to trigger the electronic device 100 to display a web page including multiple skin thumbnails in the input method application.
电子设备100可以接收并响应于用户针对词库控件228b的输入,显示如图2E所示的网页界面230。The electronic device 100 may receive and, in response to a user input to the thesaurus control 228 b , display a web page interface 230 as shown in FIG. 2E .
如图2E所示,网页界面230可以包括一个或多个词条、搜索框234、搜索控件235,以及底端控件区236。其中,该一个或多个词条可以包括词条231、词条232以及词条233,等等。每个词条可以包括标题、图片和简介,用于介绍词条的内容。以词条231为例,词条231的标题231a可以是“养宠风潮”,简介231b可以是“年轻人越来越倾向于选择一直宠物陪伴自己……”,图片可以是如图2E所示的狗狗图片231c。每个词条可以用于触发电子设备100显示词条对应的网页页面。底端控件区236可以显示有一个或多个控件,该一个或多个控件可以包括皮肤控件237、表情控件238、词库控件239等等。每个控件可以用于触发电子设备100显示不同的网页页面。图2E所示实施例中,电子设备100显示的网页界面230是词库控件239对应的网页页面。以皮肤控件237为例,皮肤控件237可以触发电子设备100显示皮肤控件237对应的网页页面,该网页页面中可以包括一个或多个皮肤缩略图。该网页页面可以用于切换输入法当前使用的皮肤。As shown in FIG. 2E , the web page interface 230 may include one or more entries, a search box 234, a search control 235, and a bottom control area 236. Among them, the one or more entries may include entry 231, entry 232, and entry 233, etc. Each entry may include a title, a picture, and a brief introduction to introduce the content of the entry. Taking entry 231 as an example, the title 231a of entry 231 may be "Pet Raising Trend", the brief introduction 231b may be "Young people are increasingly inclined to choose a pet to accompany themselves...", and the picture may be a dog picture 231c as shown in FIG. 2E . Each entry can be used to trigger the electronic device 100 to display the web page corresponding to the entry. The bottom control area 236 may display one or more controls, which may include a skin control 237, an expression control 238, a word library control 239, etc. Each control can be used to trigger the electronic device 100 to display a different web page. In the embodiment shown in FIG. 2E , the web page interface 230 displayed by the electronic device 100 is the web page corresponding to the word library control 239. Taking the skin control 237 as an example, the skin control 237 can trigger the electronic device 100 to display a web page corresponding to the skin control 237, and the web page can include one or more skin thumbnails. The web page can be used to switch the skin currently used by the input method.
在上述情况下,用户可以通过输入法应用中的webview控件(例如,皮肤控件228a、词库控件228b)进行网页浏览。In the above case, the user can browse the web through the webview control (eg, skin control 228a, vocabulary control 228b) in the input method application.
当电子设备100开启管控模式,且确定输入法应用的管控策略中包括webview控件(例如,皮肤控件228a和词库控件228b)等的标识信息时,电子设备100在获取输入法应用的管控策略之后,可以基于管控策略在上述webview控件上覆盖显示管控提示窗,提示用户上述webview控件被管控。When the electronic device 100 turns on the control mode and determines that the control policy of the input method application includes identification information of the webview control (for example, the skin control 228a and the vocabulary control 228b), after obtaining the control policy of the input method application, the electronic device 100 can overlay and display a control prompt window on the above-mentioned webview control based on the control policy, prompting the user that the above-mentioned webview control is controlled.
示例性的,电子设备100可以接收并响应于用户针对图2C所示输入法窗口225中的功能控件226的输入,如图2F所示,将负一屏搜索界面220中的键盘227切换为辅助控件区228,并分别在皮肤控件228a所在的区域和词库控件228b所在的区域上覆盖显示管控提示窗,该管控提示窗的显示尺寸可以与其覆盖的控件的显示尺寸相同或相近。该管控提示窗可以用于提示用户皮肤控件228a和词库控件228b被管控。Exemplarily, the electronic device 100 can receive and respond to the user's input to the function control 226 in the input method window 225 shown in FIG. 2C, as shown in FIG. 2F, the keyboard 227 in the negative one-screen search interface 220 is switched to the auxiliary control area 228, and the control prompt window is covered and displayed on the area where the skin control 228a and the area where the word library control 228b are located, respectively. The display size of the control prompt window can be the same as or similar to the display size of the control it covers. The control prompt window can be used to prompt the user that the skin control 228a and the word library control 228b are controlled.
如图2F所示,在辅助控件区228中,可以显示有一个或多个辅助控件,以及一个或多个管控提示窗,例如,管控提示窗229a和管控提示窗229b。管控提示窗229a和管控提示窗229b中可以显示有文字提示,文字提示可以是“健康使用手机管控”,也可以是“管控控件”,等等,本申请对文字提示的具体内容不做限定。管控提示窗229a的显示区域为区域1,管控提示窗229b的显示区域为区域2,区域1和区域2中均 显示有多个图层,下面结合图2G所示实施例介绍区域1中个图层之间的位置关系以及各图层的显示内容。As shown in FIG2F , one or more auxiliary controls and one or more control prompt windows may be displayed in the auxiliary control area 228, for example, the control prompt window 229a and the control prompt window 229b. Text prompts may be displayed in the control prompt window 229a and the control prompt window 229b. The text prompts may be “Healthy use of mobile phone control” or “Control controls”, etc. The present application does not limit the specific content of the text prompts. The display area of the control prompt window 229a is area 1, and the display area of the control prompt window 229b is area 2. Both areas 1 and 2 are There are multiple layers displayed. The positional relationship between the layers in area 1 and the display content of each layer are introduced below in conjunction with the embodiment shown in FIG. 2G .
图2G示出了区域1中多个图层的位置关系以及各图层的显示内容。FIG. 2G shows the positional relationship of multiple layers in area 1 and the display content of each layer.
如图2G所示,区域1可以显示有两个图层,该两个图层包括显示在顶层的图层1和显示在底层的图层2。图层1可以显示管控提示窗229a,图层2可以显示皮肤控件228a。其中,管控提示窗229a的显示尺寸可以与皮肤控件228a的显示尺寸相同或相近。由于皮肤控件228a被管控提示窗229a覆盖,因此,当用户针对皮肤控件228a所在区域进行操作时,电子设备100无法执行该操作对应的响应,可以达到对皮肤控件228a的管控目的。As shown in FIG. 2G , area 1 may display two layers, including layer 1 displayed on the top layer and layer 2 displayed on the bottom layer. Layer 1 may display a control prompt window 229a, and layer 2 may display a skin control 228a. The display size of the control prompt window 229a may be the same as or similar to the display size of the skin control 228a. Since the skin control 228a is covered by the control prompt window 229a, when the user operates the area where the skin control 228a is located, the electronic device 100 cannot execute the response corresponding to the operation, thereby achieving the purpose of controlling the skin control 228a.
可以理解的是,管控提示窗229b所在的区域2中显示的多个图层的位置关系也可以参考图2G所示实施例中的相关描述,且在区域2中,底层的图层中可以显示有词库控件228b。这样,由于词库控件228b被管控提示窗229b覆盖,词库控件228b的功能无法正常使用,从而可以达到对词库控件228b的管控目的。It is understandable that the positional relationship of the multiple layers displayed in the area 2 where the control prompt window 229b is located can also refer to the relevant description in the embodiment shown in FIG. 2G , and in the area 2, the vocabulary control 228b can be displayed in the bottom layer. In this way, since the vocabulary control 228b is covered by the control prompt window 229b, the function of the vocabulary control 228b cannot be used normally, thereby achieving the purpose of controlling the vocabulary control 228b.
可以理解的是,图2F至图2G所示实施例只是示例性说明可以通过在webview控件上覆盖显示管控提示窗来对webview控件进行管控。在本申请其他实施例中,管控提示窗中也可以采用与图2F所示实施例中不同的文字提示,也可以采用图片或动画等提示方式,本申请在此不做限定。此外,管控提示窗的显示尺寸也可以是将webview控件的显示尺寸以预设比例(例如1:1.2,或1:1.05)放大得到的显示尺寸,本申请在此也不做限定。It is understandable that the embodiments shown in Figures 2F to 2G are only exemplary illustrations that the webview control can be controlled by overlaying a control prompt window on the webview control. In other embodiments of the present application, the control prompt window may also use text prompts different from those in the embodiment shown in Figure 2F, or may use prompts such as pictures or animations, which are not limited in this application. In addition, the display size of the control prompt window may also be the display size obtained by enlarging the display size of the webview control at a preset ratio (for example, 1:1.2, or 1:1.05), which is not limited in this application.
在一些实施例中,在基于管控策略确定管控控件包括webview控件之后,电子设备100也可以不对webview控件进行覆盖,而是不显示该webview控件。In some embodiments, after determining that the control control includes a webview control based on the control policy, the electronic device 100 may not cover the webview control but may not display the webview control.
示例性的,电子设备100可以接收并响应于用户针对图2C所示输入法窗口225中的功能控件226的输入,确定管控控件包括皮肤控件和词库控件,如图2H所示,将负一屏搜索界面220中的键盘227切换为辅助控件区240,辅助控件区240中不包括管控控件。Exemplarily, the electronic device 100 can receive and respond to the user's input to the function control 226 in the input method window 225 shown in Figure 2C, determine that the management control includes a skin control and a vocabulary control, and as shown in Figure 2H, switch the keyboard 227 in the negative one-screen search interface 220 to the auxiliary control area 240, and the auxiliary control area 240 does not include the management control.
如图2H所示,辅助控区240中可以显示有一个或多个辅助控件,该一个或多个辅助控件可以包括输入方式控件、上滑输入控件、悬浮键盘控件、更多设置控件、编辑控件以及调整键盘控件。其中,该一个或多个辅助控件可以包括图2D所示辅助控件区228中除了皮肤控件228a以及词库控件228b以外的辅助控件。即,与辅助控件区228相比,辅助控件区240中未显示皮肤控件228a和词库控件228b。As shown in FIG2H , one or more auxiliary controls may be displayed in the auxiliary control area 240, and the one or more auxiliary controls may include an input mode control, a slide-up input control, a floating keyboard control, a more setting control, an edit control, and an adjustment keyboard control. Among them, the one or more auxiliary controls may include auxiliary controls other than the skin control 228a and the thesaurus control 228b in the auxiliary control area 228 shown in FIG2D . That is, compared with the auxiliary control area 228, the skin control 228a and the thesaurus control 228b are not displayed in the auxiliary control area 240.
在图2F所示实施例中,由于皮肤控件228a和词库控件228b上都覆盖显示有管控提示窗,皮肤控件228a或词库控件228b的功能无法正常使用。在图2H所示实施例中,由于辅助控件区228中未显示皮肤控件228a,也未显示词库控件228b,用户也无法对皮肤控件228a或词库控件228b进行输入。在上述两个实施例中,用户无法通过输入法应用进行网页浏览。In the embodiment shown in FIG2F, since both the skin control 228a and the word library control 228b are covered with a control prompt window, the functions of the skin control 228a or the word library control 228b cannot be used normally. In the embodiment shown in FIG2H, since the skin control 228a and the word library control 228b are not displayed in the auxiliary control area 228, the user cannot input to the skin control 228a or the word library control 228b. In the above two embodiments, the user cannot browse the web through the input method application.
在一些实施例中,在基于管控策略确定管控控件包括webview控件的情况下,电子设备100也可以在接收到用户针对被管控的webview控件的操作之后,显示管控界面,管控界面用于提示用户该webview控件对应的页面处于管控状态。In some embodiments, when it is determined based on the management policy that the management control includes a webview control, the electronic device 100 may also display a management interface after receiving the user's operation on the controlled webview control, and the management interface is used to prompt the user that the page corresponding to the webview control is in a managed state.
示例性的,在管控控件包括皮肤控件和词库控件的情况下,电子设备100可以接收并响应于用户针对图2D所示的词库控件228b的点击操作,显示如图2I所示的管控界面250。Exemplarily, in the case where the management control includes a skin control and a vocabulary control, the electronic device 100 may receive and respond to a user's click operation on the vocabulary control 228b shown in FIG. 2D , and display a management interface 250 as shown in FIG. 2I .
如图2I所示,管控界面250可以包括管控页251,管控页251上可以显示有文字提示,例如“健康使用手机”和“该页面存在管控外风险,不可使用!”。管控页251可用于提示用户该词库控件228b触发显示的界面(即上述图2E所示的网页界面230)处于管控状态。管控页251上还可以包括返回控件252,返回控件252可用于触发电子设备100显示之前的界面,即图2D所示的负一屏搜索界面220。在一些实施例中,返回控件252上还可以显示有倒计时(例如,5秒),当该倒计时为零时,可以触发电子设备100重新显示之前的界面,即图2D所示的负一屏搜索界面220。As shown in FIG. 2I , the control interface 250 may include a control page 251, on which text prompts may be displayed, such as “Healthy use of mobile phones” and “This page has risks outside the control and cannot be used!”. The control page 251 can be used to prompt the user that the interface triggered by the vocabulary control 228b (i.e., the web page interface 230 shown in FIG. 2E above) is in a control state. The control page 251 may also include a return control 252, which may be used to trigger the electronic device 100 to display the previous interface, i.e., the negative one-screen search interface 220 shown in FIG. 2D . In some embodiments, a countdown (e.g., 5 seconds) may also be displayed on the return control 252, and when the countdown is zero, the electronic device 100 may be triggered to redisplay the previous interface, i.e., the negative one-screen search interface 220 shown in FIG. 2D .
需要说明的是,图2I所示实施例中,电子设备100显示的管控界面250可以包括单个图层,且该图层上显示有上述管控页251;在另一种可能的实现方式中,电子设备100显示的管控界面250也可以包括多个图层,且位于顶层的图层可用于显示上述管控页251,位于底层的图层可以用于显示词库控件228b触发显示的界面,即上述图2E所示的网页界面230。本申请在此不做限定。It should be noted that, in the embodiment shown in FIG. 2I , the control interface 250 displayed by the electronic device 100 may include a single layer, and the control page 251 is displayed on the layer; in another possible implementation, the control interface 250 displayed by the electronic device 100 may also include multiple layers, and the layer at the top layer may be used to display the control page 251, and the layer at the bottom layer may be used to display the interface triggered by the word library control 228b, that is, the web page interface 230 shown in FIG. 2E . This application is not limited here.
可以理解的是,图2A至图2I所示实施例只是示例性说明,若第一应用中的管控控件包括webview控 件,则电子设备100可以采用管控提示窗覆盖的方式、采用不显示该webview控件的方式或是在接收到针对该webview控件的操作后采用显示管控界面的方式对该webview控件进行管控,以达到禁止第一应用为用户提供网页浏览服务的管控效果。在本申请实施例中,第一应用也可以是输入法应用以外的其他应用,本申请在此不做限定。It is understandable that the embodiments shown in FIG. 2A to FIG. 2I are only exemplary. If the control control in the first application includes a webview control If the first application is not displayed, the electronic device 100 can control the webview control by covering the control prompt window, not displaying the webview control, or displaying the control interface after receiving an operation on the webview control, so as to achieve the control effect of prohibiting the first application from providing web browsing services to the user. In the embodiment of the present application, the first application can also be other applications besides the input method application, which is not limited in the present application.
采用本申请实施例提供的应用管控方法,可以避免漏管控的情况发生。此外,由于可以针对不同的应用设置不同的管控策略,电子设备100还可以实现精细化管控,例如允许学习或科普类应用提供网页浏览服务,禁止社交应用提供网页浏览服务等等。By adopting the application control method provided in the embodiment of the present application, the occurrence of missed control can be avoided. In addition, since different control strategies can be set for different applications, the electronic device 100 can also achieve refined control, such as allowing learning or popular science applications to provide web browsing services, prohibiting social applications from providing web browsing services, etc.
在一些应用场景中,第一应用(例如,聊天应用)的界面中可以包括小程序控件,小程序控件可以包括小程序应用图标、小程序条目等用于触发电子设备100打开小程序应用的控件,也可以包括小程序入口控件等用于触发电子设备100显示一个或多个小程序条目或小程序应用图标的控件。在开启管控模式的情况下,若电子设备100确定管控控件的标识信息包括小程序控件的标识信息(例如,小程序控件的标签、名称、小程序的类别、关键字miniprogram,等等),电子设备100可以在第一应用的小程序控件上覆盖显示管控提示窗,或者,电子设备100也可以不显示小程序控件。In some application scenarios, the interface of the first application (for example, a chat application) may include a mini-program control, which may include a mini-program application icon, a mini-program entry, and other controls for triggering the electronic device 100 to open the mini-program application, and may also include a mini-program entry control and other controls for triggering the electronic device 100 to display one or more mini-program entries or mini-program application icons. When the control mode is turned on, if the electronic device 100 determines that the identification information of the control control includes the identification information of the mini-program control (for example, the label, name, category of the mini-program, keyword miniprogram, etc. of the mini-program control), the electronic device 100 may overlay the control prompt window on the mini-program control of the first application, or the electronic device 100 may not display the mini-program control.
示例性的,如图3A所示,电子设备100可以显示有桌面200,桌面200的具体描述可以参考上述图2A所示的桌面200。Exemplarily, as shown in FIG. 3A , the electronic device 100 may display a desktop 200 , and the specific description of the desktop 200 may refer to the desktop 200 shown in FIG. 2A above.
电子设备100可以接收并响应于用户针对聊天应用图标205的点击操作,显示如图3B所示的聊天应用界面300。The electronic device 100 may receive and respond to a user's click operation on the chat application icon 205 to display a chat application interface 300 as shown in FIG. 3B .
如图3B所示,聊天应用界面300可以包括顶端主题栏301、一个或多个聊天条目302以及底端控件区303。其中,顶端主题栏301中可以显示有界面主题,用于提示当前界面的主题。例如,图3B所示聊天应用界面300的界面主题可以是“聊天”。可选的,顶端主题栏301中还可以包括一个或多个辅助控件,例如,搜索控件304和更多控件305,等等。底端控件区303中可以显示有一个或多个切换控件,可以用于触发电子设备100切换当前界面。该一个或多个切换控件可以包括聊天控件306、通讯录控件、发现控件307以及我控件等等。其中,聊天控件306的显示颜色与其他控件的显示颜色不同,用于表示当前显示的聊天应用界面300为聊天控件306对应的界面。As shown in FIG3B , the chat application interface 300 may include a top topic bar 301, one or more chat items 302, and a bottom control area 303. Among them, the top topic bar 301 may display an interface theme for prompting the theme of the current interface. For example, the interface theme of the chat application interface 300 shown in FIG3B may be "chat". Optionally, the top topic bar 301 may also include one or more auxiliary controls, such as a search control 304 and more controls 305, and so on. One or more switching controls may be displayed in the bottom control area 303, which may be used to trigger the electronic device 100 to switch the current interface. The one or more switching controls may include a chat control 306, an address book control, a discovery control 307, and a me control, and so on. Among them, the display color of the chat control 306 is different from the display color of other controls, which is used to indicate that the currently displayed chat application interface 300 is the interface corresponding to the chat control 306.
在电子设备100未开启管控模式的情况下,电子设备100可以接收并响应于用户针对发现控件307的输入,显示如图3C所示的发现界面310。When the management and control mode is not enabled on the electronic device 100, the electronic device 100 may receive and respond to user input to the discovery control 307, and display a discovery interface 310 as shown in FIG. 3C.
如图3C所示,发现界面310可以包括顶端主题栏311、一个或多个控件以及底端控件区313。其中,顶端主题栏311中可以显示有界面主题,即“发现”。顶端主题栏311的其余描述可以参考上述图3B所示顶端主题栏301。该一个或多个控件可以包括小程序入口控件312,小程序入口控件312可以触发电子设备100显示一个或多个小程序应用图标。底端控件区313的具体描述可以参考上述图3B所示底端控件区303,不同之处在于,在底端控件区313中,发现控件314的显示颜色与其他控件的显示颜色不同,用于表示当前显示的发现界面310为发现控件314对应的界面。As shown in Figure 3C, the discovery interface 310 may include a top theme bar 311, one or more controls, and a bottom control area 313. Among them, the top theme bar 311 may display an interface theme, namely "Discovery". The rest of the description of the top theme bar 311 can refer to the top theme bar 301 shown in Figure 3B above. The one or more controls may include a mini-program entry control 312, and the mini-program entry control 312 can trigger the electronic device 100 to display one or more mini-program application icons. The specific description of the bottom control area 313 can refer to the bottom control area 303 shown in Figure 3B above. The difference is that in the bottom control area 313, the display color of the discovery control 314 is different from the display color of other controls, which is used to indicate that the currently displayed discovery interface 310 is the interface corresponding to the discovery control 314.
电子设备100可以接收并响应于用户针对小程序入口控件312的输入,显示如图3D所示的小程序入口界面320。The electronic device 100 can receive and respond to user input to the mini-program entry control 312, and display the mini-program entry interface 320 as shown in Figure 3D.
如图3D所示,小程序入口界面320可以包括顶端主题栏321以及一个或多个小程序条目324。在一些实施例中,小程序入口界面320还可以包括其他一个或多个控件,例如,附近的小程序控件322和我的小程序控件323。其中,顶端主题栏321可以显示有当前界面的主题,即“小程序”。顶端主题栏321中还可以显示有搜索控件325,也可以显示有其他控件。搜索控件325可以用于基于用户的输入查找对应的小程序应用。附近小程序控件322可以用于触发电子设备100显示一个或多个附近小程序的应用图标,附近小程序应用是指在与电子设备100当前所处位置距离小于一定距离(例如2千米)的范围内,可以使用的小程序应用。我的小程序控件323可以用于触发电子设备100显示一个或多个我的小程序的应用图标。我的小程序是指,电子设备100接收并响应于用户的保存操作,通过聊天应用打开并保存的小程序应用。该一个或多个的小程序条目324可以是电子设备100距今一定时间范围内(例如,一周内或一个月内)打开的小程序应用的条目。例如,娱乐1条目、游戏2条目、拼图3条目、艺术4条目、办公5条目、安全6条目,等等。每个小程序条目中,可以显示有该小程序的应用图标、小程序的名称等。而且,每个小程序条目可以用于触发电子设备100打开该小程序条目对应的小程序应用。例如,娱乐1条目可以用于触发电 子设备100打开名称为“娱乐1”的小程序应用。As shown in FIG3D, the applet entry interface 320 may include a top theme bar 321 and one or more applet entries 324. In some embodiments, the applet entry interface 320 may also include one or more other controls, such as a nearby applet control 322 and a my applet control 323. Among them, the top theme bar 321 may display the theme of the current interface, i.e., "applet". A search control 325 may also be displayed in the top theme bar 321, and other controls may also be displayed. The search control 325 may be used to find the corresponding applet application based on the user's input. The nearby applet control 322 may be used to trigger the electronic device 100 to display one or more application icons of nearby applet, and the nearby applet application refers to an applet application that can be used within a range less than a certain distance (e.g., 2 kilometers) from the current location of the electronic device 100. The my applet control 323 may be used to trigger the electronic device 100 to display one or more application icons of my applet. My applet refers to the applet application that the electronic device 100 receives and responds to the user's save operation, and is opened and saved through the chat application. The one or more mini-program entries 324 may be entries of mini-program applications opened by the electronic device 100 within a certain time range (e.g., within a week or a month). For example, an Entertainment 1 entry, a Game 2 entry, a Puzzle 3 entry, an Art 4 entry, an Office 5 entry, a Security 6 entry, and so on. In each mini-program entry, the application icon of the mini-program, the name of the mini-program, etc. may be displayed. Moreover, each mini-program entry may be used to trigger the electronic device 100 to open the mini-program application corresponding to the mini-program entry. For example, the Entertainment 1 entry may be used to trigger the electronic device 100 to open the mini-program application corresponding to the mini-program entry. Sub-device 100 opens a small program application named "Entertainment 1".
由图3C至图3D所示实施例可知,用户可以通过聊天应用中的小程序控件,找到提供娱乐服务的小程序,并在聊天应用中打开该小程序应用,享受娱乐服务。It can be seen from the embodiments shown in Figures 3C to 3D that the user can find the mini-program that provides entertainment services through the mini-program control in the chat application, and open the mini-program application in the chat application to enjoy the entertainment services.
在电子设备100开启管控模式,且确定聊天应用的管控策略中包括小程序类控件(例如小程序入口控件)的标识信息的情况下,在电子设备100检测到用户打开聊天应用的操作之后,电子设备100可以对聊天应用界面中的小程序类控件进行管控,即电子设备100可以获取小程序类控件的位置,并在该小程序类控件上覆盖显示管控提示窗,提示用户该小程序类控件被管控。When the electronic device 100 turns on the management mode and determines that the management strategy of the chat application includes the identification information of the mini-program type control (for example, the mini-program entry control), after the electronic device 100 detects the user's operation of opening the chat application, the electronic device 100 can manage the mini-program type control in the chat application interface, that is, the electronic device 100 can obtain the location of the mini-program type control and overlay a management prompt window on the mini-program type control to prompt the user that the mini-program type control is under management.
示例性的,电子设备100可以接收并响应于用户针对图3B所示聊天应用界面300中发现控件307的输入,获取小程序入口控件312的位置,如图3E所示,电子设备100可以在发现界面310中的小程序入口控件312上覆盖显示管控提示窗315。Exemplarily, the electronic device 100 can receive and respond to the user's input on the discovery control 307 in the chat application interface 300 shown in Figure 3B, obtain the location of the mini-program entry control 312, and as shown in Figure 3E, the electronic device 100 can overlay the display of the management prompt window 315 on the mini-program entry control 312 in the discovery interface 310.
如图3E所示,电子设备100显示有发现界面310,发现界面310的具体内容可以参考上述图3C所示发现界面310。与图3C所示实施例不同的是,电子设备100可以在图3C所示的小程序入口控件312上覆盖显示有管控提示窗315,管控提示窗315中还可以显示有文字提示,该文字提示可以是“健康使用手机管控”,该文字提示也可以是其他文字内容,例如“管控控件,管控期间禁止使用”等等。管控提示窗315的显示尺寸可以与小程序入口控件312的显示尺寸相同。As shown in FIG3E , the electronic device 100 displays a discovery interface 310. The specific content of the discovery interface 310 can refer to the discovery interface 310 shown in FIG3C above. Different from the embodiment shown in FIG3C , the electronic device 100 can cover and display a control prompt window 315 on the mini-program entry control 312 shown in FIG3C . A text prompt can also be displayed in the control prompt window 315. The text prompt can be "Healthy use of mobile phone control", and the text prompt can also be other text content, such as "Control control, prohibited use during control period", etc. The display size of the control prompt window 315 can be the same as the display size of the mini-program entry control 312.
可以理解的是,在本申请其他实施例中,管控提示窗中也可以采用与图3E所示实施例中不同的文字提示,也可以采用图片或动画等提示方式,本申请在此不做限定。此外,管控提示窗的显示尺寸也可以是将小程序条目的显示尺寸以预设比例(例如1:1.2,或1:1.05)放大得到的显示尺寸,本申请在此也不做限定。It is understandable that in other embodiments of the present application, the control prompt window may also use text prompts different from those in the embodiment shown in FIG. 3E, or may use prompts such as pictures or animations, which are not limited in this application. In addition, the display size of the control prompt window may also be the display size obtained by enlarging the display size of the mini-program item at a preset ratio (e.g., 1:1.2, or 1:1.05), which is not limited in this application.
在一些实施例中,在聊天应用的管控策略中包括小程序类控件(例如,小程序入口控件)的标识信息的情况下,电子设备100也可以不对小程序类控件进行覆盖,而是不显示该小程序类控件。In some embodiments, when the management policy of the chat application includes identification information of a mini-program type control (for example, a mini-program entry control), the electronic device 100 may not cover the mini-program type control but may not display the mini-program type control.
示例性的,电子设备100可以接收并响应于用户针对图3B所示聊天应用界面300中发现控件307的输入,显示如图3F所示的发现界面330,发现界面330与图3C所示发现界面310的不同之处在于,发现界面330中不包括小程序入口控件312。发现界面330中的其他内容描述可以参考发现界面310的相关描述,此处不再赘述。Exemplarily, the electronic device 100 may receive and respond to the user's input to the discovery control 307 in the chat application interface 300 shown in FIG. 3B , and display the discovery interface 330 shown in FIG. 3F , and the discovery interface 330 is different from the discovery interface 310 shown in FIG. 3C in that the discovery interface 330 does not include the mini-program entry control 312. For the description of other contents in the discovery interface 330, reference may be made to the relevant description of the discovery interface 310 and will not be repeated here.
在图3E所示实施例中,由于小程序入口控件312上覆盖显示有管控提示窗,用户无法通过小程序入口控件312打开小程序入口界面320,也就无法打开小程序应用。在图3F所示实施例中,由于发现界面330中未显示有小程序入口控件312,用户也无法进入小程序入口界面320,无法通过聊天应用打开小程序应用。在上述两个实施例中,用户无法通过聊天应用打开小程序应用,可以避免电子设备100通过聊天应用中的小程序为用户提供娱乐等服务。In the embodiment shown in FIG. 3E, since the mini-program entry control 312 is covered with a control prompt window, the user cannot open the mini-program entry interface 320 through the mini-program entry control 312, and cannot open the mini-program application. In the embodiment shown in FIG. 3F, since the mini-program entry control 312 is not displayed in the discovery interface 330, the user cannot enter the mini-program entry interface 320 and cannot open the mini-program application through the chat application. In the above two embodiments, the user cannot open the mini-program application through the chat application, which can prevent the electronic device 100 from providing entertainment and other services to the user through the mini-program in the chat application.
在另一些实施例中,若聊天应用的管控策略中没有小程序类控件的标识信息,但是包括其他小程序类控件(例如小程序应用图标、小程序条目等)的标识信息,电子设备100也可以在接收到用户对小程序入口控件的输入之后,基于管控策略确定出需要管控的小程序条目(或小程序应用图标),显示小程序入口界面,在小程序入口界面中,被管控的小程序条目(或小程序应用图标)上覆盖显示有管控提示窗。In other embodiments, if the management and control policy of the chat application does not include identification information of mini-program type controls, but includes identification information of other mini-program type controls (such as mini-program application icons, mini-program entries, etc.), the electronic device 100 may also determine the mini-program entries (or mini-program application icons) that need to be managed based on the management and control policy after receiving the user's input on the mini-program entry control, and display the mini-program entry interface. In the mini-program entry interface, a management and control prompt window is displayed over the managed mini-program entry (or mini-program application icon).
示例性的,电子设备100可以接收并响应于用户针对图3C所示的小程序入口控件312的输入,在确定娱乐1、游戏2以及拼图3为需要管控的小程序之后,电子设备100可以显示如图3G所示的小程序入口界面340。Exemplarily, the electronic device 100 may receive and respond to user input to the mini-program entry control 312 shown in FIG. 3C . After determining that Entertainment 1, Games 2, and Puzzle 3 are mini-programs that need to be managed, the electronic device 100 may display the mini-program entry interface 340 as shown in FIG. 3G .
如图3G所示,小程序入口界面340的相关描述可以参考上述图3D所示小程序入口界面320的相关描述。与图3D所示小程序入口界面320的不同之处在于,小程序入口界面340中还显示有一个或多个管控提示窗,例如,管控提示窗341、管控提示窗342和管控提示窗343。其中,每个管控提示窗可以覆盖显示在一个小程序条目上,用于提示用户该小程序条目被管控。例如,对比图3D所示小程序入口界面320可知,在小程序入口界面340中,管控提示窗341可以覆盖显示在娱乐1条目上,管控提示窗342可以覆盖显示在游戏2条目上,管控提示窗343可以覆盖显示在拼图3条目上,每个管控提示窗的显示尺寸可以与小程序条目的显示尺寸相同,也可以是小程序入口控件312的显示尺寸以预设比例(例如1:1.2,或1: 1.05)放大得到的显示尺寸。As shown in FIG3G , the relevant description of the mini-program entry interface 340 can refer to the relevant description of the mini-program entry interface 320 shown in FIG3D above. The difference from the mini-program entry interface 320 shown in FIG3D is that one or more control prompt windows are also displayed in the mini-program entry interface 340, for example, a control prompt window 341, a control prompt window 342, and a control prompt window 343. Among them, each control prompt window can be displayed over a mini-program entry to prompt the user that the mini-program entry is controlled. For example, by comparing the mini-program entry interface 320 shown in FIG3D , it can be seen that in the mini-program entry interface 340, the control prompt window 341 can be displayed over the entertainment 1 entry, the control prompt window 342 can be displayed over the game 2 entry, and the control prompt window 343 can be displayed over the puzzle 3 entry. The display size of each control prompt window can be the same as the display size of the mini-program entry, or it can be the display size of the mini-program entry control 312 in a preset ratio (for example, 1:1.2, or 1: 1.05) The resulting display size is enlarged.
可以理解的是,在本申请其他实施例中,管控提示窗中也可以采用与图3G所示实施例中不同的文字提示,也可以采用图片或动画等提示方式,本申请在此不做限定。此外,管控提示窗的显示尺寸也可以是将小程序条目的显示尺寸以预设比例(例如1:1.2,或1:1.05)放大得到的显示尺寸,本申请在此也不做限定。It is understandable that in other embodiments of the present application, the control prompt window may also use text prompts different from those in the embodiment shown in FIG. 3G, or may use prompts such as pictures or animations, which are not limited in this application. In addition, the display size of the control prompt window may also be the display size obtained by enlarging the display size of the mini-program item at a preset ratio (e.g., 1:1.2, or 1:1.05), which is not limited in this application.
在另一些实施例中,若聊天应用的管控策略中包括小程序条目(或小程序应用图标)的标识信息,电子设备100也可以在接收到用户对小程序入口控件的输入之后,基于管控策略确定出需要管控的小程序条目(或小程序应用图标),显示小程序入口界面,该小程序入口界面中不包括被管控小程序条目(或小程序应用图标)。In other embodiments, if the management and control policy of the chat application includes identification information of the mini-program entry (or mini-program application icon), the electronic device 100 may also determine the mini-program entry (or mini-program application icon) that needs to be managed based on the management and control policy after receiving the user's input on the mini-program entry control, and display the mini-program entry interface, which does not include the managed mini-program entry (or mini-program application icon).
又示例性的,电子设备100可以接收并响应于用户针对图3C所示的小程序入口控件312的输入,在确定娱乐1、游戏2以及拼图3为需要管控的小程序之后,电子设备100可以显示如图3H所示的小程序入口界面350。Also exemplarily, the electronic device 100 may receive and respond to user input to the mini-program entry control 312 shown in FIG. 3C , and after determining that Entertainment 1, Game 2, and Puzzle 3 are mini-programs that need to be managed, the electronic device 100 may display the mini-program entry interface 350 as shown in FIG. 3H .
如图3H所示,小程序入口界面350的相关描述可以参考上述图3D所示小程序入口界面320的相关描述。与图3D所示小程序入口界面320的不同之处在于,小程序入口界面350中不包括被管控的小程序条目,例如,小程序入口界面320中显示的娱乐1条目、游戏2条目以及拼图3,等等。As shown in FIG3H , the description of the mini-program entry interface 350 can refer to the description of the mini-program entry interface 320 shown in FIG3D . The difference from the mini-program entry interface 320 shown in FIG3D is that the mini-program entry interface 350 does not include the managed mini-program items, for example, the entertainment 1 item, the game 2 item, and the puzzle 3 item displayed in the mini-program entry interface 320, etc.
在一些实施例中,电子设备100也可以在确定管控控件包括小程序控件(小程序入口控件、小程序条目、小程序应用图标等)后,接收并响应于用户针对该小程序控件的操作,显示管控界面,该管控界面用于提示用户该小程序控件触发显示的界面为管控界面。In some embodiments, after determining that the management and control control includes a mini-program control (mini-program entry control, mini-program entry, mini-program application icon, etc.), the electronic device 100 may also receive and respond to the user's operation on the mini-program control, and display a management and control interface, which is used to prompt the user that the interface triggered by the mini-program control to display is the management and control interface.
示例性的,电子设备100可以接收并响应于用户针对图3C所示的小程序入口控件312的操作,显示图3I所示的管控界面360。Exemplarily, the electronic device 100 may receive and respond to a user's operation on the mini-program entry control 312 shown in FIG. 3C , and display the management interface 360 shown in FIG. 3I .
如图3I所示管控界面360可以显示有管控页361,管控页361上可以显示有返回控件362,管控页361和返回控件362的具体描述可以参考上述图2I所示实施例中的相关描述,此处不再赘述。返回控件362可用于触发电子设备100重新显示之前的界面,即图3C所示的发现界面310。与图2I所示实施例相同的是,管控界面360也可以包括一个或多个图层,在管控界面360只包括一个图层的情况下,该图层可用于显示上述管控页361;在管控界面360包括多个图层的情况下,位于顶层的图层可用于显示管控页361,位于底层的图层可用于显示小程序入口控件312触发显示的界面,即图3D所示的小程序入口界面320。As shown in FIG3I , the control interface 360 may display a control page 361, and a return control 362 may be displayed on the control page 361. For the specific description of the control page 361 and the return control 362, reference may be made to the relevant description in the embodiment shown in FIG2I above, which will not be repeated here. The return control 362 may be used to trigger the electronic device 100 to redisplay the previous interface, i.e., the discovery interface 310 shown in FIG3C . Similar to the embodiment shown in FIG2I , the control interface 360 may also include one or more layers. When the control interface 360 includes only one layer, the layer may be used to display the control page 361; when the control interface 360 includes multiple layers, the layer at the top layer may be used to display the control page 361, and the layer at the bottom layer may be used to display the interface triggered by the mini-program entry control 312, i.e., the mini-program entry interface 320 shown in FIG3D .
在一些实施例中,电子设备100也可以接收并响应于用户针对图3D所示的小程序条目(例如娱乐1)的操作,显示上述图3I所示管控界面360,本申请在此不再详述。In some embodiments, the electronic device 100 may also receive and respond to the user's operation on the mini-program entry (eg, Entertainment 1) shown in FIG. 3D , and display the management interface 360 shown in FIG. 3I above, which will not be described in detail in this application.
在图3G所示实施例中,由于小程序入口界面340中的多个被管控的小程序条目上覆盖显示有管控提示窗,用户无法打开该被管控的小程序条目对应的小程序应用。在图3H所示实施例中,由于小程序入口界面350中未显示有被管控的小程序条目(例如娱乐1条目等),用户也无法打开被管控的小程序条目对应的小程序。在图3I所示实施例中,在接收到用户针对小程序控件的操作后,电子设备100可以显示管控界面。在上述实施例中,电子设备100均无法打开被管控的小程序控件对应的小程序。这样,通过将娱乐、游戏等小程序对应的小程序条目设置为管控控件,可以避免电子设备100通过聊天应用中的小程序为用户提供娱乐等服务。In the embodiment shown in FIG3G, since a plurality of controlled mini-program entries in the mini-program entry interface 340 are covered with a control prompt window, the user cannot open the mini-program application corresponding to the controlled mini-program entry. In the embodiment shown in FIG3H, since no controlled mini-program entry (such as an entertainment 1 entry, etc.) is displayed in the mini-program entry interface 350, the user cannot open the mini-program corresponding to the controlled mini-program entry. In the embodiment shown in FIG3I, after receiving the user's operation on the mini-program control, the electronic device 100 can display the control interface. In the above embodiments, the electronic device 100 cannot open the mini-program corresponding to the controlled mini-program control. In this way, by setting the mini-program entries corresponding to mini-programs such as entertainment and games as control controls, it is possible to prevent the electronic device 100 from providing entertainment and other services to users through mini-programs in chat applications.
可以理解的是,图3A至图3I所示实施例只是示例性说明,若电子设备100基于管控策略确定第一应用中存在需要管控的小程序类控件,则电子设备100可以采用管控提示窗覆盖的方式,或采用不显示该小程序类控件的方式,以达到禁止第一应用为用户提供小程序服务的管控效果。此外,在一些实施例中,若电子设备100基于管控策略确定第一应用中的小程序需要被管控,电子设备100也可以采用管控提示窗覆盖显示的方式,或是不显示被管控小程序条目或小程序应用图标的方式,避免电子设备100通过第一应用打开被管控的小程序。在本申请实施例中,第一应用也可以是聊天应用以外的其他应用,本申请在此不做限定。It is understandable that the embodiments shown in Figures 3A to 3I are only exemplary illustrations. If the electronic device 100 determines based on the control strategy that there are small program-type controls in the first application that need to be controlled, the electronic device 100 can use a control prompt window to cover it, or use a method of not displaying the small program-type controls, to achieve the control effect of prohibiting the first application from providing small program services to users. In addition, in some embodiments, if the electronic device 100 determines based on the control strategy that the small program in the first application needs to be controlled, the electronic device 100 can also use a control prompt window to cover the display, or use a method of not displaying the controlled small program entry or small program application icon, to prevent the electronic device 100 from opening the controlled small program through the first application. In the embodiment of the present application, the first application may also be an application other than a chat application, which is not limited in this application.
需要说明的是,在一些实施例中,在电子设备100显示第一应用的界面的情况下,电子设备100也可以接收并响应于用户针对电子设备100的特定输入(例如下滑操作),显示一个或多个小程序的应用图标,小程序的应用图标也可以用于触发电子设备100打开对应的小程序。在这种情况下,电子设备100也可以在基于管控策略确定需要被管控的小程序(或小程序应用图标)之后,响应于用户针对电子设备100的特 定输入,在显示一个或多个小程序的应用图标的同时,将被管控的小程序对应的应用图标(或将被管控的小程序应用图标)覆盖显示,或是不显示被管控的小程序对应的应用图标。这样,也可以避免电子设备100通过第一应用打开被管控的小程序。It should be noted that, in some embodiments, when the electronic device 100 displays the interface of the first application, the electronic device 100 may also receive and respond to a specific user input (such as a swipe down operation) to the electronic device 100, and display one or more application icons of the mini-programs. The application icons of the mini-programs may also be used to trigger the electronic device 100 to open the corresponding mini-programs. In this case, after determining the mini-programs (or mini-program application icons) that need to be controlled based on the control policy, the electronic device 100 may also respond to the user's specific input to the electronic device 100. When the application icons of one or more mini-programs are displayed, the application icon corresponding to the mini-program to be controlled (or the application icon of the mini-program to be controlled) is covered and displayed, or the application icon corresponding to the mini-program to be controlled is not displayed. In this way, the electronic device 100 can also be prevented from opening the mini-program to be controlled through the first application.
采用上述方法,可以避免漏管控的情况发生。此外,由于可以针对不同的应用设置不同的管控策略,电子设备100还可以对不同的小程序(或小程序条目、小程序应用图标等)实现精细化管控,例如允许电子设备100通过第一应用打开学习或科普类小程序应用,禁止第一应用打开游戏或视频类小程序应用等等。In addition, since different control strategies can be set for different applications, the electronic device 100 can also implement refined control over different applets (or applet entries, applet application icons, etc.), for example, allowing the electronic device 100 to open learning or science applets through the first application, and prohibiting the first application from opening game or video applets, etc.
在一些应用场景中,第一应用(例如资讯应用,等)可以包括媒体调用控件,媒体调用控件可用于触发电子设备100播放该媒体调用文件对应的媒体文件(例如音频文件、视频文件,等等)。在开启管控模式的情况下,若电子设备100确定第一应用的管控策略中包括媒体调用控件的标识信息(例如音频文件的标签(即<audio>标签)、视频文件的标签(即<video>标签),等等),电子设备100可以在该媒体调用控件上覆盖显示管控提示窗,或者,电子设备100也可以不显示该媒体调用控件。In some application scenarios, the first application (such as an information application, etc.) may include a media call control, which can be used to trigger the electronic device 100 to play the media file corresponding to the media call file (such as an audio file, a video file, etc.). When the control mode is turned on, if the electronic device 100 determines that the control policy of the first application includes identification information of the media call control (such as the tag of the audio file (i.e., the <audio> tag), the tag of the video file (i.e., the <video> tag), etc.), the electronic device 100 may overlay the display of the control prompt window on the media call control, or the electronic device 100 may not display the media call control.
示例性的,如图4A所示,电子设备100可以显示有桌面200,桌面200的具体描述可以参考上述图2A所示的桌面200。Exemplarily, as shown in FIG. 4A , the electronic device 100 may display a desktop 200 , and the specific description of the desktop 200 may refer to the desktop 200 shown in FIG. 2A above.
在未开启管控模式的情况下,电子设备100可以接收用户针对资讯应用图标206的点击操作,响应于用户针对资讯应用图标206的点击操作,电子设备100可以显示如图4B所示的资讯应用界面400。When the control mode is not turned on, the electronic device 100 can receive a user's click operation on the information application icon 206. In response to the user's click operation on the information application icon 206, the electronic device 100 can display the information application interface 400 as shown in Figure 4B.
如图4B所示,资讯应用界面400可以包括搜索框411、搜索控件412、选项栏413以及内容显示区414。其中,搜索框411可以用于触发电子设备100显示用户的输入。搜索控件412可以用于触发电子设备100针对用户的输入进行搜索,并在内容显示区414显示搜索结果。选项栏413中可以包括一个或多个选项,例如关注选项、推荐选项、日报选项、发现选项、热榜选项、视频选项、小视频选项、娱乐选项等等。选项可以用于触发电子设备100在内容显示区414中显示该选项对应的内容。选项栏413中还可以包括指示符413a,用于指示当前内容显示区414中显示的内容对应的选项。内容显示区414中可以包括一个或多个图文内容(例如图文内容415、图文内容416)以及一个或多个媒体调用控件(例如媒体调用控件417)。该媒体调用控件417可以用于触发电子设备100调用媒体服务,播放该媒体调用控件417对应的视频文件。在一些实施例中,媒体调用控件417上可以显示有该视频文件的缩略图,或是,媒体调用控件417上也可以播放该视频文件的图像,等等。As shown in FIG. 4B , the information application interface 400 may include a search box 411, a search control 412, an option bar 413, and a content display area 414. Among them, the search box 411 can be used to trigger the electronic device 100 to display the user's input. The search control 412 can be used to trigger the electronic device 100 to search for the user's input and display the search results in the content display area 414. The option bar 413 may include one or more options, such as attention options, recommendation options, daily options, discovery options, hot list options, video options, short video options, entertainment options, etc. The option can be used to trigger the electronic device 100 to display the content corresponding to the option in the content display area 414. The option bar 413 may also include an indicator 413a for indicating the option corresponding to the content displayed in the current content display area 414. The content display area 414 may include one or more graphic content (e.g., graphic content 415, graphic content 416) and one or more media call controls (e.g., media call control 417). The media call control 417 can be used to trigger the electronic device 100 to call a media service and play the video file corresponding to the media call control 417. In some embodiments, a thumbnail of the video file can be displayed on the media call control 417, or the image of the video file can also be played on the media call control 417, and so on.
由图4B所示实施例可知,用户可以通过资讯应用或其他非视频类应用观看视频文件。As can be seen from the embodiment shown in FIG. 4B , a user can watch video files through information applications or other non-video applications.
在电子设备100开启管控模式,且确定资讯应用的管控策略中包括媒体调用控件的标识信息(例如媒体调用控件417)的情况下,在电子设备100检测到用户打开资讯应用的操作之后,电子设备100可以基于管控策略确定需要管控的媒体调用控件,并在该媒体调用控件上覆盖显示管控提示窗,提示用户该媒体调用控件被管控。When the electronic device 100 turns on the control mode and determines that the control policy of the information application includes the identification information of the media call control (for example, the media call control 417), after the electronic device 100 detects the user's operation of opening the information application, the electronic device 100 can determine the media call control that needs to be controlled based on the control policy, and overlay a control prompt window on the media call control to prompt the user that the media call control is controlled.
示例性的,电子设备100可以接收并响应于用户针对图4A所示桌面200中资讯应用图标206的输入,确定需要管控的媒体调用控件包括媒体调用控件417,如图3E所示,电子设备100可以在资讯应用界面400中的媒体调用控件417上覆盖显示管控提示窗418。管控提示窗418的显示尺寸可以与媒体调用控件417的显示尺寸相同,或略大于媒体调用控件417的显示尺寸。管控提示窗418中还可以显示有文字提示,文字提示可以包括“健康使用手机”和“该页面存在管控外风险,不可使用!”。文字提示也可以是其他文字内容,本申请在此不做限定。Exemplarily, the electronic device 100 may receive and respond to the user's input for the information application icon 206 in the desktop 200 shown in FIG. 4A, and determine that the media call control that needs to be controlled includes the media call control 417. As shown in FIG. 3E, the electronic device 100 may cover the display control prompt window 418 on the media call control 417 in the information application interface 400. The display size of the control prompt window 418 may be the same as the display size of the media call control 417, or slightly larger than the display size of the media call control 417. Text prompts may also be displayed in the control prompt window 418, and the text prompts may include "Healthy use of mobile phones" and "This page has risks outside the control and cannot be used!". The text prompt may also be other text content, which is not limited in this application.
可以理解的是,在本申请其他实施例中,管控提示窗中也可以采用与图4C所示实施例中不同的文字提示,也可以采用图片或动画等提示方式,本申请在此不做限定。此外,管控提示窗的显示尺寸也可以是将小程序条目的显示尺寸以预设比例(例如1:1.2,或1:1.05)放大得到的显示尺寸,本申请在此也不做限定。It is understandable that in other embodiments of the present application, the control prompt window may also use text prompts different from those in the embodiment shown in FIG. 4C, or may use prompts such as pictures or animations, which are not limited in this application. In addition, the display size of the control prompt window may also be the display size obtained by enlarging the display size of the mini-program item by a preset ratio (e.g., 1:1.2, or 1:1.05), which is not limited in this application.
在另一些实施例中,在资讯应用的管控策略中包括媒体调用控件(例如媒体调用控件417)的标识信息的情况下,电子设备100也可以响应于用户打开资讯应用的操作,显示资讯应用界面,且该资讯应用界面中不显示该媒体调用控件。In other embodiments, when the management policy of the information application includes identification information of a media call control (e.g., media call control 417), the electronic device 100 may also display an information application interface in response to the user's operation of opening the information application, and the media call control is not displayed in the information application interface.
示例性的,电子设备100可以接收并响应于用户针对图4A所示桌面200中资讯应用图标206的输入, 在确定资讯应用中需要管控的媒体调用控件包括图4B所示实施例中的媒体调用控件417之后,显示如图4D所示的资讯应用界面420,资讯应用界面420中不包括媒体调用控件417。资讯应用界面420的具体内容可以参考图4B所示资讯应用界面400的相关描述,此处不再赘述。在一些实施例中,电子设备100还可以在资讯应用界面420中与图4B所示资讯应用界面400中媒体调用控件417的显示位置相同的位置处,显示一个或多个图文内容,例如图文内容421和图文内容422。该一个或多个图文内容可以是原本资讯应用界面400中显示位置在媒体调用控件417的显示位置下方的图文内容。For example, the electronic device 100 may receive and respond to a user input for the information application icon 206 in the desktop 200 shown in FIG. 4A . After determining that the media call control that needs to be controlled in the information application includes the media call control 417 in the embodiment shown in FIG. 4B, the information application interface 420 shown in FIG. 4D is displayed, and the information application interface 420 does not include the media call control 417. The specific content of the information application interface 420 can refer to the relevant description of the information application interface 400 shown in FIG. 4B, which will not be repeated here. In some embodiments, the electronic device 100 can also display one or more graphic content, such as graphic content 421 and graphic content 422, in the information application interface 420 at the same position as the display position of the media call control 417 in the information application interface 400 shown in FIG. 4B. The one or more graphic content can be the graphic content whose display position in the original information application interface 400 is below the display position of the media call control 417.
可以理解的是,图4A至图4D所示实施例只是示例性说明,若电子设备100基于管控策略确定第一应用中存在需要管控的媒体调用控件,则电子设备100可以采用管控提示窗覆盖的方式,或采用不显示该媒体调用控件的方式,以达到禁止第一应用为用户提供媒体服务的管控效果。在本申请实施例中,第一应用也可以是资讯应用以外的其他应用,例如视频应用、通话应用或设置应用等等,本申请在此不做限定。It is understandable that the embodiments shown in Figures 4A to 4D are only exemplary. If the electronic device 100 determines that there is a media call control that needs to be controlled in the first application based on the control strategy, the electronic device 100 can use a control prompt window to cover it, or use a method of not displaying the media call control to achieve the control effect of prohibiting the first application from providing media services to the user. In the embodiment of the present application, the first application can also be other applications other than the information application, such as a video application, a call application, or a setting application, etc., which is not limited in the present application.
采用上述方法,也可以避免漏管控的情况发生。此外,由于可以针对不同的应用设置不同的管控策略,电子设备100还可以对不同的应用中的一个或多个媒体调用控件设置不同的管控策略,以实现精细化管控,例如允许电子设备100通过第一应用播放学习或科普类媒体文件,禁止第一应用播放娱乐类媒体文件等等。In addition, since different control strategies can be set for different applications, the electronic device 100 can also set different control strategies for one or more media call controls in different applications to achieve refined control, such as allowing the electronic device 100 to play learning or popular science media files through the first application, prohibiting the first application from playing entertainment media files, etc.
在一些应用场景中,电子设备100也可以在检测到电子设备100的不同管控模式(例如普通管控模式、青少年模式、老年模式等)时,根据不同的管控模式确定第一应用的管控策略,对需要管控的控件进行管控。In some application scenarios, when the electronic device 100 detects different control modes of the electronic device 100 (such as normal control mode, youth mode, elderly mode, etc.), it can also determine the control strategy of the first application according to different control modes and control the controls that need to be controlled.
电子设备100在检测到青少年模式(或儿童模式、老年模式,等等)开启时,电子设备100也可以接收并响应于用户打开第一应用的操作,获取青少年模式下第一应用的管控策略,在基于管控策略确定需要被管控的控件(即管控控件)之后,电子设备100可以显示第一应用的界面,第一应用的界面中不包括该被管控控件,或是,在电子设备100显示的第一应用的界面中,该被管控控件上覆盖显示有管控提示窗。When the electronic device 100 detects that the youth mode (or child mode, elderly mode, etc.) is turned on, the electronic device 100 may also receive and respond to the user's operation of opening the first application, and obtain the control strategy of the first application in the youth mode. After determining the control that needs to be controlled (i.e., the control control) based on the control strategy, the electronic device 100 may display the interface of the first application, and the interface of the first application does not include the controlled control, or, in the interface of the first application displayed by the electronic device 100, the controlled control is covered with a control prompt window.
示例性的,电子设备100显示有桌面200,桌面200的具体描述可以参考上述图2A所示实施例中的相关描述,此处不再赘述。Exemplarily, the electronic device 100 displays a desktop 200 . The specific description of the desktop 200 may refer to the relevant description in the embodiment shown in FIG. 2A above, which will not be repeated here.
电子设备100可以接收并响应于用户针对设置应用图标204的点击操作,显示如图5B所示的设置主界面500。The electronic device 100 may receive and respond to a user's click operation on the settings application icon 204 to display a settings main interface 500 as shown in FIG. 5B .
如图5B所示,设置主界面500可以包括一项或多项设置条目(例如,WLAN设置条目、蓝牙设置条目、移动网络设置条目、更多连接设置条目、桌面和壁纸设置条目、显示和亮度设置条目、声音和振动设置条目、通知设置条目、健康使用手机设置条目501、智慧助手设置条目和辅助功能设置条目,等等)。设置条目可以用于触发电子设备100显示与该设置条目对应的设置界面。As shown in FIG5B , the main settings interface 500 may include one or more settings items (e.g., WLAN settings items, Bluetooth settings items, mobile network settings items, more connection settings items, desktop and wallpaper settings items, display and brightness settings items, sound and vibration settings items, notification settings items, healthy use of mobile phone settings items 501, smart assistant settings items, and auxiliary function settings items, etc.). The settings items may be used to trigger the electronic device 100 to display the settings interface corresponding to the settings items.
在电子设备100未开启青少年模式的情况下,电子设备100可以接收并响应于用户针对健康使用手机设置条目501的点击操作,显示如图5C所示的健康使用手机界面510。When the youth mode is not enabled on the electronic device 100 , the electronic device 100 may receive and respond to a user's click operation on the healthy use of the phone setting item 501 , and display a healthy use of the phone interface 510 as shown in FIG. 5C .
如图5C所示,健康使用手机界面510可以包括手机使用情况显示栏511、一个或多个设置条目以及关闭控件512。其中,手机使用情况显示栏511可以用于显示电子设备100的使用情况,例如,今日不同类型应用的使用时长、手机今日使用总时长等等。手机使用情况显示栏511中可以包括应用使用时长分布图,用于提示用户今日不同应用的使用时长,以及不同应用使用时长占手机总使用时长的比例,等等。一个或多个设置条目可以包括可用时长设置条目513、应用限额设置条目514、停用时间设置条目515和听力保护设置条目516,等等。可用时长设置条目513可用于触发电子设备100设置屏幕使用的总时长。应用限额设置条目514可用于触发电子设备100设置不同应用的使用时长,或具体的可使用时间段,等等。停用时间设置条目515可用于触发电子设备100设置屏幕的不可使用时间段(例如晚上十点至次日凌晨六点)。听力保护设置条目516可以用于触发电子设备100设置听力保护提醒,即电子设备100在检测到耳机音量达到预设音量时输出听力保护提醒,提醒用户降低音量以保护听力。关闭控件512可以用于触发电子设备100关闭健康使用手机模式。可选的,健康使用手机界面510中还可以包括密码开关控件517。密码开关控件517可以用于触发电子设备100开启使用或关闭使用健康使用手机模式的密码。As shown in FIG5C , the healthy use of mobile phone interface 510 may include a mobile phone usage display bar 511, one or more setting items, and a close control 512. Among them, the mobile phone usage display bar 511 can be used to display the usage of the electronic device 100, for example, the usage time of different types of applications today, the total usage time of the mobile phone today, etc. The mobile phone usage display bar 511 may include an application usage time distribution chart to prompt the user the usage time of different applications today, and the proportion of different application usage time to the total usage time of the mobile phone, etc. One or more setting items may include an available time setting item 513, an application limit setting item 514, a downtime setting item 515, and a hearing protection setting item 516, etc. The available time setting item 513 can be used to trigger the electronic device 100 to set the total screen usage time. The application limit setting item 514 can be used to trigger the electronic device 100 to set the usage time of different applications, or a specific usable time period, etc. The downtime setting item 515 can be used to trigger the electronic device 100 to set the unusable time period of the screen (for example, 10 pm to 6 am the next day). The hearing protection setting entry 516 can be used to trigger the electronic device 100 to set a hearing protection reminder, that is, the electronic device 100 outputs a hearing protection reminder when it detects that the headphone volume reaches a preset volume, reminding the user to lower the volume to protect hearing. The close control 512 can be used to trigger the electronic device 100 to turn off the healthy use of mobile phone mode. Optionally, the healthy use of mobile phone interface 510 can also include a password switch control 517. The password switch control 517 can be used to trigger the electronic device 100 to turn on or off the password of the healthy use of mobile phone mode.
在电子设备100开启青少年模式的情况下,电子设备100可以接收用户针对图5B所示实施例中健康使用手机设置条目501的点击操作,显示如图5D所示的青少年健康使用手机界面520,青少年健康使用手机界面520中显示有管控提示窗。 When the youth mode is turned on on the electronic device 100, the electronic device 100 can receive a user's click operation on the healthy use of mobile phone setting item 501 in the embodiment shown in Figure 5B, and display a youth healthy use of mobile phone interface 520 as shown in Figure 5D, in which a control prompt window is displayed.
如图5D所示,青少年健康使用手机界面520可以包括手机使用情况显示栏521、一个或多个设置条目、一个或多个管控提示窗以及关闭控件522。其中,手机使用情况显示栏521、该一个或多个设置条目以及关闭控件522的具体内容可以参考图5C所示的健康使用手机界面510中的相关描述。此外,与健康使用手机界面510相比,青少年健康使用手机界面520中还显示有一个或多个管控提示窗,例如管控提示窗523、管控提示窗524以及管控提示窗525。其中,管控提示窗523可以覆盖显示在可用时长设置条目513、应用限额设置条目514以及停用时间设置条目515上,且管控提示窗523的显示尺寸可以等于可用时长设置条目513、应用限额设置条目514以及停用时间设置条目515的显示尺寸之和。管控提示窗524可以覆盖显示在听力保护设置条目516上,且管控提示窗524的显示尺寸可以与听力保护设置条目516的显示尺寸相同。管控提示窗525可以覆盖显示在密码开关控件517之上,且管控提示窗525的显示尺寸可以与密码开关控件517的显示尺寸相同。其中,每个管控提示窗上还可以显示有文字提示,例如,管控提示窗523上可以显示有文字“健康使用手机管控”。可以理解的是,管控提示窗上也可以显示其他文字,用于提示用户该管控提示窗所覆盖的控件(或设置条目)处于被管控状态。As shown in FIG5D , the interface 520 for healthy use of mobile phones by teenagers may include a display bar 521 for mobile phone usage, one or more setting items, one or more control prompt windows, and a close control 522. The specific contents of the display bar 521 for mobile phone usage, the one or more setting items, and the close control 522 may refer to the relevant description in the healthy use of mobile phone interface 510 shown in FIG5C . In addition, compared with the healthy use of mobile phone interface 510, the interface 520 for healthy use of mobile phones by teenagers also displays one or more control prompt windows, such as a control prompt window 523, a control prompt window 524, and a control prompt window 525. The control prompt window 523 may be displayed over the available time setting item 513, the application limit setting item 514, and the downtime setting item 515, and the display size of the control prompt window 523 may be equal to the sum of the display sizes of the available time setting item 513, the application limit setting item 514, and the downtime setting item 515. The control prompt window 524 can be displayed over the hearing protection setting item 516, and the display size of the control prompt window 524 can be the same as the display size of the hearing protection setting item 516. The control prompt window 525 can be displayed over the password switch control 517, and the display size of the control prompt window 525 can be the same as the display size of the password switch control 517. Among them, each control prompt window can also display a text prompt, for example, the control prompt window 523 can display the text "Healthy use of mobile phone control". It can be understood that other texts can also be displayed on the control prompt window to remind the user that the control (or setting item) covered by the control prompt window is in a controlled state.
可以理解的是,在另一些实施例中,可用时长设置条目513、应用限额设置条目514以及停用时间设置条目515上可以各自覆盖显示有一个与该设置条目的显示尺寸相同的管控提示窗,本申请在此不做限定。It is understandable that in other embodiments, the available time setting entry 513, the application limit setting entry 514, and the downtime setting entry 515 can each be covered with a control prompt window with the same display size as the setting entry, and the present application does not limit this.
需要说明的是,图5D所示实施例中,管控提示窗的显示尺寸也可以是与其覆盖管控的控件或设置条目的显示尺寸相近的尺寸,例如,管控提示窗的显示尺寸可以是将被管控控件的显示尺寸以固定比例(例如1:1.2)放大得到的显示尺寸。本申请在此对管控提示窗的具体显示尺寸不做限定。It should be noted that, in the embodiment shown in FIG. 5D , the display size of the control prompt window may also be a size close to the display size of the control or setting item that it covers and controls. For example, the display size of the control prompt window may be a display size obtained by enlarging the display size of the controlled control at a fixed ratio (e.g., 1:1.2). The present application does not limit the specific display size of the control prompt window.
在另一些实施例中,在电子设备100开启青少年模式的情况下,电子设备100可以接收用户针对图5B所示实施例中健康使用手机设置条目501的点击操作,显示如图5E所示的青少年健康使用手机界面530,青少年健康使用手机界面530中不包括青少年模式下被管控的设置条目(或被管控的控件)。In other embodiments, when the youth mode is turned on on the electronic device 100, the electronic device 100 can receive a user's click operation on the healthy use of mobile phone setting item 501 in the embodiment shown in Figure 5B, and display the healthy use of mobile phone by youth interface 530 as shown in Figure 5E. The healthy use of mobile phone by youth interface 530 does not include the setting items (or controlled controls) that are controlled in the youth mode.
如图5E所示,青少年健康使用手机界面530可以包括手机使用情况显示栏531以及关闭控件532。其中,手机使用情况显示栏531以及关闭控件532的具体内容可以参考图5C所示的健康使用手机界面510中的相关描述,此处不再赘述。与图5C所示的健康使用手机界面510相比,青少年健康使用手机界面530中不包括可用时长设置条目513、应用限额设置条目514、停用时间设置条目515、听力保护设置条目516以及密码开关控件517。即,上述多个设置条目和密码开关控件517是青少年模式下被管控的设置条目以及被管控的控件。As shown in FIG5E , the interface 530 for healthy use of mobile phones by teenagers may include a display bar 531 for mobile phone usage and a close control 532. Among them, the specific contents of the display bar 531 for mobile phone usage and the close control 532 can refer to the relevant description in the interface 510 for healthy use of mobile phones shown in FIG5C , which will not be repeated here. Compared with the interface 510 for healthy use of mobile phones shown in FIG5C , the interface 530 for healthy use of mobile phones by teenagers does not include an available time setting entry 513, an application limit setting entry 514, an inactivity time setting entry 515, a hearing protection setting entry 516, and a password switch control 517. That is, the above-mentioned multiple setting entries and the password switch control 517 are the setting entries and controls that are controlled in the youth mode.
可以理解的是,图5A至图5E只是示例性说明青少年模式下电子设备100可以对第一应用中的一个或多个控件进行管控。在本申请实施例中,第一应用也可以是与图5A至图5E所示实施例中不同的应用,第一应用中的管控控件也可以与图5D或图5E所示的管控控件不同,本申请在此不做限定。It is understandable that Figures 5A to 5E are merely illustrative of how the electronic device 100 in youth mode can control one or more controls in the first application. In the embodiments of the present application, the first application may also be an application different from the embodiments shown in Figures 5A to 5E, and the control controls in the first application may also be different from the control controls shown in Figures 5D or 5E, and the present application does not limit this.
需要说明的是,在另一些实施例中,电子设备100的管控模式也可以包括老年人模式等其他管控模式,且在其他管控模式下,电子设备100也可以基于当前管控模式(例如老年人模式)下第一应用的管控策略对第一应用中的一个或多个控件进行管控,本申请在此不做限定。It should be noted that, in other embodiments, the control mode of the electronic device 100 may also include other control modes such as the elderly mode, and in other control modes, the electronic device 100 may also control one or more controls in the first application based on the control strategy of the first application under the current control mode (for example, the elderly mode), which is not limited in this application.
在另一些应用场景中,电子设备100也可以基于第一应用(例如,输入法应用,等)的管控策略,对第一应用的界面中显示的图文内容、词条或网页链接等进行管控。In other application scenarios, the electronic device 100 may also control the graphic content, terms or web links displayed in the interface of the first application based on the control strategy of the first application (for example, an input method application, etc.).
如图6A所示,电子设备100显示有包括输入法窗口的负一屏搜索界面220,负一屏搜索界面220的具体描述可以参考图2D所示的负一屏搜索界面220中的相关描述,此处不再赘述。As shown in FIG6A , the electronic device 100 displays a negative one screen search interface 220 including an input method window. For a specific description of the negative one screen search interface 220 , reference may be made to the relevant description of the negative one screen search interface 220 shown in FIG2D , which will not be repeated here.
在获取输入法应用的管控策略之后,电子设备100可以接收并响应于用户针对词库控件228b的输入,在输入法应用中显示如图6B所示的网页界面600。After acquiring the management policy of the input method application, the electronic device 100 can receive and respond to the user's input to the vocabulary control 228b, and display the web page interface 600 shown in FIG. 6B in the input method application.
如图6B所示,网页界面600可以包括一个或多个词条,例如词条601、词条602和词条603等等。网页界面600还可以包括搜索框604、搜索控件605以及底端控件区606。其中,词条、搜索框604、搜索控件605以及底端控件区606的具体内容可以参考上述图2E所示的网页界面230,此处不再赘述。与网页界面230不同之处在于,网页界面600中还显示有管控提示窗607,该管控提示窗607覆盖显示在词条601之上,且显示尺寸与词条601的显示尺寸相同或相近。管控提示窗607的具体描述也可以参考上述实施例中管控提示窗的具体描述,此处不再赘述。As shown in Figure 6B, the web page interface 600 may include one or more entries, such as entry 601, entry 602, and entry 603, etc. The web page interface 600 may also include a search box 604, a search control 605, and a bottom control area 606. Among them, the specific contents of the entry, search box 604, search control 605, and bottom control area 606 can refer to the web page interface 230 shown in Figure 2E above, and will not be repeated here. The difference from the web page interface 230 is that a control prompt window 607 is also displayed in the web page interface 600, and the control prompt window 607 is displayed over the entry 601, and the display size is the same or similar to the display size of the entry 601. The specific description of the control prompt window 607 can also refer to the specific description of the control prompt window in the above embodiment, which will not be repeated here.
在另一些实施例中,在获取输入法应用的管控策略之后,电子设备100可以接收并响应于用户针对词 库控件228b的输入,在输入法应用中显示如图6C所示的网页界面610。In some other embodiments, after obtaining the management policy of the input method application, the electronic device 100 may receive and respond to the user's request for the word The input of the library control 228b displays a web page interface 610 as shown in FIG. 6C in the input method application.
如图6C所示,网页界面610的具体内容可以参考图6B所示的网页界面600,与网页界面600的不同之处在于,网页界面610中不显示网页界面600中被管控的词条601。即图6B所示实施例中采用管控提示窗覆盖显示的方式管控词条601,而图6C所示的实施例中不显示被管控的词条601。As shown in FIG6C , the specific content of web page interface 610 can refer to web page interface 600 shown in FIG6B , and the difference from web page interface 600 is that web page interface 610 does not display the controlled entry 601 in web page interface 600. That is, in the embodiment shown in FIG6B , the controlled entry 601 is controlled by covering the control prompt window, while in the embodiment shown in FIG6C , the controlled entry 601 is not displayed.
可以理解的是,图6A至图6C所示实施例只是一个示例,在本申请实施例中,第一应用也可以是输入法应用之外的其他应用,且被管控的也可以是词条之外的其他内容,例如图文内容、网页链接等等,本申请在此不做限定。It can be understood that the embodiment shown in Figures 6A to 6C is only an example. In the embodiment of the present application, the first application may also be an application other than the input method application, and the controlled content may also be other content other than the entry, such as graphic content, web links, etc., which is not limited in the present application.
采用图6A至图6C所示实施例中所述的方法,电子设备100可以对第一应用中显示的内容进行管控,可以实现对应用中不同内容的精细化管控。By adopting the method described in the embodiments shown in FIG. 6A to FIG. 6C , the electronic device 100 can control the content displayed in the first application, and can achieve refined control over different contents in the application.
在一些应用场景中,在开启管控模式后,若第一应用(例如,视频应用,等)中包括媒体调用控件,该媒体调用控件可用于触发电子设备100播放第一媒体文件。在这种情况下,电子设备100也可以接收并响应于用户针对媒体调用控件的操作,获取媒体调用控件对应的第一媒体文件的页面信息,并基于第一媒体文件的页面信息确定是否对第一媒体文件进行管控。若确定对第一媒体文件进行管控,电子设备100可以输出管控提示;若确定不对第一媒体文件进行管控,电子设备100可以播放第一媒体文件。其中,第一媒体文件的页面信息可以是第一媒体文件的标识信息。在另一些实施例中,第一媒体文件的页面信息也可以包括以下任一项或多项:第一媒体文件的标题、封面图、评论、关键词,等等。In some application scenarios, after turning on the control mode, if the first application (for example, a video application, etc.) includes a media call control, the media call control can be used to trigger the electronic device 100 to play the first media file. In this case, the electronic device 100 can also receive and respond to the user's operation on the media call control, obtain the page information of the first media file corresponding to the media call control, and determine whether to control the first media file based on the page information of the first media file. If it is determined that the first media file is to be controlled, the electronic device 100 can output a control prompt; if it is determined that the first media file is not to be controlled, the electronic device 100 can play the first media file. Among them, the page information of the first media file can be the identification information of the first media file. In other embodiments, the page information of the first media file can also include any one or more of the following: the title, cover image, comments, keywords, and the like of the first media file.
示例性的,如图7A所示,电子设备100显示有桌面200,桌面200的具体描述可以参考上述图2A所示桌面200的相关描述。Exemplarily, as shown in FIG. 7A , the electronic device 100 displays a desktop 200 , and the specific description of the desktop 200 may refer to the related description of the desktop 200 shown in FIG. 2A above.
电子设备100可以接收并响应于用户针对视频应用图标207的输入,显示如图7B所示的视频应用界面700。The electronic device 100 may receive and respond to the user's input on the video application icon 207 by displaying a video application interface 700 as shown in FIG. 7B .
如图7B所示,视频应用界面700可以包括搜索框701、搜索控件702、选项栏703以及一个或多个媒体调用控件。其中,搜索框701、搜索控件702以及选项栏703的具体功能描述可以参考上述图4B所示实施例中同类控件的描述,此处不再赘述。As shown in Fig. 7B, the video application interface 700 may include a search box 701, a search control 702, an option bar 703, and one or more media call controls. The specific functional descriptions of the search box 701, the search control 702, and the option bar 703 may refer to the descriptions of the similar controls in the embodiment shown in Fig. 4B above, and will not be repeated here.
该一个或多个媒体调用控件可以包括媒体调用控件704、媒体调用控件705和媒体调用控件706,等等。每个媒体调用控件可以用于触发电子设备100播放与该媒体调用控件对应的媒体文件。例如,媒体调用控件704对应的媒体文件可以是航天知识视频,媒体调用控件705对应的媒体文件可以是宠物视频,媒体调用控件706对应的媒体文件可以是数学教学视频。The one or more media call controls may include a media call control 704, a media call control 705, and a media call control 706, etc. Each media call control may be used to trigger the electronic device 100 to play a media file corresponding to the media call control. For example, the media file corresponding to the media call control 704 may be an aerospace knowledge video, the media file corresponding to the media call control 705 may be a pet video, and the media file corresponding to the media call control 706 may be a mathematics teaching video.
电子设备100可以接收并响应于用户针对媒体调用控件705的输入,获取媒体调用控件705对应的宠物视频的标识信息,标识信息可以包括以下任一项或多项:宠物视频的标签、标题、封面图、评论,等等。在基于宠物视频的标识信息确定宠物视频需要管控之后,电子设备100可以显示如图7C所示的管控界面710。The electronic device 100 may receive and respond to the user's input to the media call control 705, and obtain the identification information of the pet video corresponding to the media call control 705, and the identification information may include any one or more of the following: the pet video's tag, title, cover image, comment, etc. After determining that the pet video needs to be managed based on the identification information of the pet video, the electronic device 100 may display the management interface 710 shown in FIG. 7C.
如图7C所示,管控界面710中可以显示有管控提示窗711。管控提示窗711中可以显示有管控提示文字,例如,“健康使用手机”和“该页面存在管控外风险,不可使用!”。此外,管控提示窗711中还可以显示有返回控件712,返回控件712可以用于触发电子设备100返回之前的界面,即显示图7D所示的视频应用界面700。在一些实施例中,电子设备100显示管控界面710,且显示时长达到固定时长(例如3秒,5秒等等)之后,电子设备100也可以返回之前的界面,显示图7D所示的视频应用界面700。As shown in FIG7C , a control prompt window 711 may be displayed in the control interface 710. Control prompt text may be displayed in the control prompt window 711, for example, "Healthy use of mobile phone" and "This page has risks outside the control and cannot be used!". In addition, a return control 712 may also be displayed in the control prompt window 711, and the return control 712 may be used to trigger the electronic device 100 to return to the previous interface, that is, to display the video application interface 700 shown in FIG7D. In some embodiments, the electronic device 100 displays the control interface 710, and after the display time reaches a fixed time (for example, 3 seconds, 5 seconds, etc.), the electronic device 100 may also return to the previous interface and display the video application interface 700 shown in FIG7D.
电子设备100可以接收并响应于用户针对返回控件712的输入,显示如图7D所示的视频应用界面700,可选的,视频应用界面700中媒体调用控件705上覆盖显示有管控提示窗707。The electronic device 100 can receive and respond to the user's input on the return control 712 to display the video application interface 700 as shown in FIG. 7D . Optionally, a management prompt window 707 is displayed overlaid on the media call control 705 in the video application interface 700 .
如图7D所示,视频应用界面700中的具体内容可以参考上述图7B所示视频应用界面700的具体描述,此处不再赘述。与图7B所示的视频应用界面700的不同之处在于,在图7D所示的视频应用界面700中,媒体调用控件705上可以覆盖显示有管控提示窗707,用于提示用户媒体调用控件705对应的宠物视频处于被管控状态。管控提示窗707中可以显示有文字提示,例如“健康使用手机管控”,也可以是其他不同的文字提示。管控提示窗707的显示尺寸可以与媒体调用控件705相同或相近,具体显示尺寸可以参考上述实施例中管控提示窗的相关描述。As shown in Figure 7D, the specific content in the video application interface 700 can refer to the specific description of the video application interface 700 shown in Figure 7B above, which will not be repeated here. The difference from the video application interface 700 shown in Figure 7B is that in the video application interface 700 shown in Figure 7D, the media call control 705 can be covered with a control prompt window 707 to prompt the user that the pet video corresponding to the media call control 705 is in a controlled state. Text prompts can be displayed in the control prompt window 707, such as "Healthy mobile phone use control", or other different text prompts. The display size of the control prompt window 707 can be the same or similar to that of the media call control 705. The specific display size can refer to the relevant description of the control prompt window in the above embodiment.
电子设备100可以接收并响应于用户针对图7D所示的视频应用界面700中的媒体调用控件706的输入,在基于媒体调用控件706对应的数学教学视频的标识信息确定数学教学视频不需要被管控时,显示如 图7E所示的视频播放界面720,视频播放界面720可用于播放数学教学视频。The electronic device 100 can receive and respond to the user's input to the media call control 706 in the video application interface 700 shown in FIG. 7D, and when it is determined that the mathematics teaching video does not need to be controlled based on the identification information of the mathematics teaching video corresponding to the media call control 706, the display is as follows: The video playback interface 720 shown in FIG. 7E may be used to play mathematics teaching videos.
如图7E所示,视频播放界面720可以包括视频标题721、视频播放窗口722、播放暂停控件723、进度条724以及评论区725。其中,视频标题721用于指示视频播放界面720中播放的视频的标题,例如“高等数学”。视频播放窗口722用于播放该数学教学视频。播放暂停控件723可以用于播放或暂停视频播放窗口722中的数学教学视频。进度条724可用于提示该数学教学视频的播放进度。评论区725中则可以显示有一条或多条评论,例如用户A的评论“老师讲得真好!”、用户B的评论“我爱板书,ppt翻得太快了!”以及用户C的评论“老师您就是我微积分的救命恩人,呜呜呜”。As shown in Fig. 7E, the video playback interface 720 may include a video title 721, a video playback window 722, a play pause control 723, a progress bar 724, and a comment area 725. Among them, the video title 721 is used to indicate the title of the video played in the video playback interface 720, such as "Advanced Mathematics". The video playback window 722 is used to play the math teaching video. The play pause control 723 can be used to play or pause the math teaching video in the video playback window 722. The progress bar 724 can be used to prompt the playback progress of the math teaching video. One or more comments can be displayed in the comment area 725, such as user A's comment "The teacher is really good!", user B's comment "I love blackboard writing, ppt flips too fast!" and user C's comment "Teacher, you are my calculus savior, woo woo woo".
需要说明的是,上述图7A至图7E所示实施例只是示例性说明电子设备100也可以在接收到用户针对第一应用中媒体调用控件的输入之后,基于媒体调用控件对应的媒体文件的页面信息确定是否对该媒体文件进行管控。在本申请实施例中,第一应用也可以是与视频应用不同的其他应用,且第一应用中也可以包括更多或更少的媒体调用控件,且媒体调用控件对应的媒体文件也可以是与上述实施例不同的视频文件,本申请在此不做限定。It should be noted that the embodiments shown in Figures 7A to 7E above are only exemplary illustrations that the electronic device 100 can also determine whether to control the media file based on the page information of the media file corresponding to the media call control after receiving the user's input for the media call control in the first application. In the embodiment of the present application, the first application can also be other applications different from the video application, and the first application can also include more or fewer media call controls, and the media file corresponding to the media call control can also be a video file different from the above embodiment, and the present application does not limit this.
这样,电子设备100可以实时确定是否对第一应用中一个或多个的媒体调用控件进行管控,实现对不同类型媒体文件的精细化管控。尤其是在第一应用中包括很多个媒体调用控件的情况下,电子设备100可以实时基于媒体调用控件的标识信息确定是否进行管控,而无需存储每个媒体调用控件的管控策略,降低电子设备100的存储压力。In this way, the electronic device 100 can determine in real time whether to control one or more media call controls in the first application, thereby achieving refined control of different types of media files. In particular, when the first application includes many media call controls, the electronic device 100 can determine in real time whether to control based on the identification information of the media call controls, without having to store the control policy of each media call control, thereby reducing the storage pressure of the electronic device 100.
下面介绍本申请实施例提供的一种应用管控方法的模块交互流程示意图。The following is a schematic diagram of the module interaction process of an application management method provided in an embodiment of the present application.
如图8所示,在开启管控模式的情况下,电子设备100可以包括视图(view)模块11、策略管理模块12和管控模块13,电子设备100执行本申请实施例提供的应用管控方法的具体流程可以包括以下步骤:As shown in FIG8 , when the control mode is turned on, the electronic device 100 may include a view module 11, a policy management module 12, and a control module 13. The specific process of the electronic device 100 executing the application control method provided in the embodiment of the present application may include the following steps:
S801,接收并响应于用户针对第一应用的操作,view模块11向将策略管理模块12发送策略获取请求,用于请求策略管理模块12向view模块11发送第一应用的管控策略。S801 , receiving and responding to a user operation on a first application, the view module 11 sends a policy acquisition request to the policy management module 12 , requesting the policy management module 12 to send a management and control policy of the first application to the view module 11 .
用户针对第一应用的操作可以是打开第一应用的操作,例如针对上述图3A所示桌面200中的聊天应用图标205的点击操作,或是针对桌面200中的资讯应用图标206的点击操作等等。在一些实施例中,用户针对第一应用的操作也可以是用户针对第一应用中的控件的输入,例如,在上述图2C所示实施例中针对功能控件226的点击操作,或是在上述图3B所示实施例中针对发现控件307的点击操作,又或是在上述图3C所示实施例中针对小程序入口控件312的点击操作等等。The user's operation on the first application may be an operation to open the first application, such as a click operation on the chat application icon 205 in the desktop 200 shown in FIG. 3A above, or a click operation on the information application icon 206 in the desktop 200, etc. In some embodiments, the user's operation on the first application may also be a user's input on a control in the first application, such as a click operation on the function control 226 in the embodiment shown in FIG. 2C above, or a click operation on the discovery control 307 in the embodiment shown in FIG. 3B above, or a click operation on the mini-program entry control 312 in the embodiment shown in FIG. 3C above, etc.
策略获取请求中可以包括第一应用的应用标识,第一应用的应用标识可以用于识别第一应用。第一应用的管控策略用于指示第一应用中需要被管控的控件(也写作管控控件)。The policy acquisition request may include an application identifier of the first application, and the application identifier of the first application may be used to identify the first application. The control policy of the first application is used to indicate the controls (also written as control controls) that need to be controlled in the first application.
在一些实施例中,除了第一应用的应用标识之外,策略获取请求中还可以包括当前管控模式,当前管控模式用于指示电子设备100的当前管控模式。电子设备100的管控模式可以包括以下任一项或多项:普通管控模式、青少年模式、老年模式,等等。例如,当检测到青少年模式开启时,策略获取请求中还可以包括“青少年模式”。In some embodiments, in addition to the application identifier of the first application, the policy acquisition request may also include a current control mode, which is used to indicate the current control mode of the electronic device 100. The control mode of the electronic device 100 may include any one or more of the following: normal control mode, youth mode, elderly mode, etc. For example, when it is detected that the youth mode is turned on, the policy acquisition request may also include "youth mode".
在另一些实施例中,除了第一应用的应用标识之外,策略获取请求中还可以包括第一应用中的一个或多个控件的页面信息,控件的页面信息可用于确定该控件的管控策略,即确定是否管控该控件。该一个或多个控件的页面信息可用于确定第一应用的管控策略。控件的页面信息可以包括该控件所在界面(即界面1)上该控件的显示内容(例如该控件的图片、文字、超链接等)和/或该控件触发显示的界面(界面2)的显示内容(例如界面2中显示的图片、标题、评论、标签、关键词等)。示例性的,当第一应用为输入法应用中的词库控件时,页面信息可以包括图2E所示实施例中每个词条的标题、简介以及图片等。当控件为媒体调用控件时,控件的页面信息也可以是该媒体调用控件对应的媒体文件的页面信息,包括该媒体文件的标题、评论、关键词、封面图等内容中的任一项或多项。view模块11可以获取一个或多个控件的页面信息,并将该一个或多个控件的页面信息发送至策略管理模块12。In other embodiments, in addition to the application identifier of the first application, the policy acquisition request may also include page information of one or more controls in the first application, and the page information of the control may be used to determine the control policy of the control, that is, to determine whether to control the control. The page information of the one or more controls may be used to determine the control policy of the first application. The page information of the control may include the display content of the control on the interface (i.e., interface 1) where the control is located (e.g., pictures, text, hyperlinks, etc. of the control) and/or the display content of the interface (interface 2) triggered by the control (e.g., pictures, titles, comments, tags, keywords, etc. displayed in interface 2). Exemplarily, when the first application is a word library control in an input method application, the page information may include the title, introduction, and pictures of each entry in the embodiment shown in FIG. 2E. When the control is a media call control, the page information of the control may also be the page information of the media file corresponding to the media call control, including any one or more of the contents of the media file, such as the title, comments, keywords, and cover image. The view module 11 may obtain the page information of one or more controls and send the page information of the one or more controls to the policy management module 12.
S802,策略管理模块12响应于策略获取请求,确定第一应用的管控策略,管控策略包括管控控件的标识信息。S802, the policy management module 12 determines the control policy of the first application in response to the policy acquisition request, where the control policy includes identification information of the control control.
在一些实施例中,策略管理模块12在接收到view模块11发送的策略获取请求之后,响应于策略获取请求,可以从策略管理模块12存储的多个应用的管控策略中确定出第一应用的管控策略。 In some embodiments, after receiving the policy acquisition request sent by the view module 11 , the policy management module 12 can determine the control policy of the first application from the control policies of multiple applications stored in the policy management module 12 in response to the policy acquisition request.
示例性的,表1示出了一种策略管理模块12存储的多个应用的管控策略。Exemplarily, Table 1 shows a management and control policy of multiple applications stored in a policy management module 12 .
表1
Table 1
如表1所示,策略管理模块12中存储的多个应用的管控策略可以包括该多个应用中每个应用的应用标识和管控策略。由表1可知,应用标识为A1的应用对应的管控策略为管控策略1,应用标识为A2的应用对应的管控策略为管控策略2,应用标识为A3的应用对应的管控策略为管控策略3。As shown in Table 1, the control policies of multiple applications stored in the policy management module 12 may include the application identifier and the control policy of each of the multiple applications. As can be seen from Table 1, the control policy corresponding to the application with the application identifier A1 is control policy 1, the control policy corresponding to the application with the application identifier A2 is control policy 2, and the control policy corresponding to the application with the application identifier A3 is control policy 3.
可以理解的是,表1只是一个示例,在本申请实施例中,策略管理模块12中存储的多个应用的管控策略可以包括更多或更少的应用,也可以包括与表1所示不同的管控策略,本申请在此不做限定。It is understandable that Table 1 is only an example. In the embodiment of the present application, the control policies of multiple applications stored in the policy management module 12 may include more or fewer applications, and may also include control policies different from those shown in Table 1, and the present application does not limit this.
在策略管理模块12中存储的多个应用的管控策略与表1所示实施例相同或相似的情况下,策略管理模块12可以基于策略获取请求中第一应用的应用标识,从存储的多个应用的管控策略中确定出第一应用的管控策略。When the control policies of multiple applications stored in the policy management module 12 are the same or similar to the embodiment shown in Table 1, the policy management module 12 can determine the control policy of the first application from the stored control policies of the multiple applications based on the application identifier of the first application in the policy acquisition request.
在另一些实施例中,电子设备100可以有不同的管控模式,策略管理模块12中可以存储有不同管控模式下多个应用的管控策略。又示例性的,表2示出了不同管控模式下多个应用的管控策略。In other embodiments, the electronic device 100 may have different control modes, and the control policies of multiple applications in different control modes may be stored in the policy management module 12. For example, Table 2 shows the control policies of multiple applications in different control modes.
表2
Table 2
如表2所示,策略管理模块12中存储的多个应用的管控策略可以包括该多个应用中每个应用的应用标识和管控策略。由表2可知,在普通管控模式下,应用标识为A1的应用对应的管控策略为管控策略1,应用标识为A2的应用对应的管控策略为管控策略2,应用标识为A3的应用对应的管控策略为管控策略3。在青少年模式下,应用标识为A1的应用对应的管控策略为管控策略1,应用标识为A2的应用对应的管控策略为管控策略4,应用标识为A3的应用对应的管控策略为管控策略5。As shown in Table 2, the control policies of multiple applications stored in the policy management module 12 may include the application identifier and control policy of each application in the multiple applications. As can be seen from Table 2, in the normal control mode, the control policy corresponding to the application with application identifier A1 is control policy 1, the control policy corresponding to the application with application identifier A2 is control policy 2, and the control policy corresponding to the application with application identifier A3 is control policy 3. In the youth mode, the control policy corresponding to the application with application identifier A1 is control policy 1, the control policy corresponding to the application with application identifier A2 is control policy 4, and the control policy corresponding to the application with application identifier A3 is control policy 5.
可以理解的是,表2只是一个示例,在本申请实施例中,策略管理模块12中存储的多个应用的管控策略可以包括更多或更少的应用、或是包括更多或更少的管控模式,也可以包括与表2所示不同的管控策略,本申请在此不做限定。It can be understood that Table 2 is only an example. In an embodiment of the present application, the control policies of multiple applications stored in the policy management module 12 may include more or fewer applications, or include more or fewer control modes, and may also include control policies different from those shown in Table 2. The present application does not limit this.
在策略管理模块12中存储的多个应用的管控策略与表2所示实施例相同或相似的情况下,策略管理模块12可以基于策略获取请求中第一应用的应用标识以及当前管控模式,从存储的多个应用的管控策略中确定出当前管控模式下第一应用的管控策略。When the control policies of multiple applications stored in the policy management module 12 are the same or similar to the embodiment shown in Table 2, the policy management module 12 can determine the control policy of the first application under the current control mode from the control policies of the multiple applications stored based on the application identifier of the first application in the policy acquisition request and the current control mode.
需要说明的是,策略管理模块12中存储的多个应用的管控策略可以是用户预先设置的管控策略,也可以是出厂时系统设置的管控策略,本申请在此不做限定。It should be noted that the control policies of multiple applications stored in the policy management module 12 may be control policies pre-set by the user, or may be control policies set by the system at the factory, and this application does not limit this.
在另一些实施例中,策略管理模块12在接收到view模块11发送的策略获取请求之后,响应于策略获取请求,可以基于策略获取请求中的一个或多个控件的页面信息,通过管控策略判决模型判断该一个或多个控件中每个控件的管控策略,并基于该一个或多个控件的管控策略得到第一应用的管控策略。策略管理模块12基于一个或多个控件的页面信息确定第一应用的管控策略的具体流程以及采用的管控策略判决模型可以参考下述图9所示实施例中的相关描述,此处暂不详述。In other embodiments, after receiving the policy acquisition request sent by the view module 11, the policy management module 12 can respond to the policy acquisition request and determine the control policy of each of the one or more controls through the control policy decision model based on the page information of the one or more controls in the policy acquisition request, and obtain the control policy of the first application based on the control policy of the one or more controls. The specific process of the policy management module 12 determining the control policy of the first application based on the page information of one or more controls and the control policy decision model adopted can refer to the relevant description in the embodiment shown in Figure 9 below, which will not be described in detail here.
第一应用的管控策略可以包括第一应用中管控控件的标识信息,管控控件的标识信息可以用于识别管控控件并确定管控控件的位置信息。在一些实施例中,基于第一应用的管控策略可以对第一应用中同一类型的所有控件(例如webview控件、小程序控件、媒体调用控件等)进行管控,在这种情况下,管控控件的标识信息可以包括控件的类型标识,用于识别第一应用中所有该类型的控件。示例性的,当管控控件包括管控第一应用中的所有webview控件时,管控控件的标识信息可以包括webview及其子类,例如android.webkit.Webview及其子类、com.android.webview及其子类,以及com.smtt.sdk.WebView及其子类 等。又示例性的,当管控控件包括第一应用中的所有小程序控件时,管控控件的标识信息可以包括关键字miniprogram。又示例性的,当管控控件包括第一应用中的所有媒体调用控件时,管控控件的标识信息可以包括音频标签或视频标签(例如<audio>标签或<video>标签)等等。The control strategy of the first application may include identification information of the control control in the first application, and the identification information of the control control may be used to identify the control control and determine the location information of the control control. In some embodiments, all controls of the same type in the first application (such as webview controls, mini-program controls, media call controls, etc.) may be controlled based on the control strategy of the first application. In this case, the identification information of the control control may include a type identifier of the control, which is used to identify all controls of the same type in the first application. Exemplarily, when the control control includes controlling all webview controls in the first application, the identification information of the control control may include webview and its subclasses, such as android.webkit.Webview and its subclasses, com.android.webview and its subclasses, and com.smtt.sdk.WebView and its subclasses. Etc. In another exemplary embodiment, when the control control includes all mini-program controls in the first application, the identification information of the control control may include the keyword miniprogram. In another exemplary embodiment, when the control control includes all media call controls in the first application, the identification information of the control control may include an audio tag or a video tag (e.g., an <audio> tag or a <video> tag), etc.
需要说明的是,音频文件的标签(即<audio>标签)与视频文件的标签(即<video>标签)类似,可以代表相应的元素,可用于嵌入音频或视频内容,<audio>标签和<video>标签都可通过src属性或<source>元素来进行描述。src属性可用于描述该<audio>标签或<video>标签中嵌入的媒体文件的绝对路径或相对路径。<source>元素可以定义媒体资源,而且<source>元素允许规定两个视频/音频文件供浏览器根据它对媒体类型或者编解码器的支持进行选择。It should be noted that the tag of audio files (i.e., the <audio> tag) is similar to the tag of video files (i.e., the <video> tag), and can represent corresponding elements, which can be used to embed audio or video content. Both the <audio> tag and the <video> tag can be described by the src attribute or the <source> element. The src attribute can be used to describe the absolute path or relative path of the media file embedded in the <audio> tag or the <video> tag. The <source> element can define media resources, and the <source> element allows the specification of two video/audio files for the browser to choose based on its support for media types or codecs.
在另一些实施例中,基于第一应用的管控策略可以对第一应用中的特定控件(例如控件1、控件2等)进行管控,在这种情况下,管控控件的标识信息可以包括该特定控件的名称、类别、id等标识中的任一项,用于识别该特定控件。In other embodiments, specific controls in the first application (e.g., control 1, control 2, etc.) can be managed based on the management and control strategy of the first application. In this case, the identification information of the managed controls may include any one of the name, category, id, etc. of the specific control, which is used to identify the specific control.
在一些实施例中,除了管控控件的标识信息之外,管控策略还可以包括管控方式,管控方式用于指示电子设备100采用何种方式对管控控件进行管控。管控方式可以包括以下任一项或多项:覆盖显示管控提示信息、取消显示、替换显示、触发显示管控界面等等。可选的,对于不同的控件,管控策略中的管控方式可以相同,也可以不同。In some embodiments, in addition to the identification information of the control control, the control strategy may also include a control method, which is used to indicate the electronic device 100 how to control the control control. The control method may include any one or more of the following: covering the control prompt information, canceling the display, replacing the display, triggering the display of the control interface, etc. Optionally, for different controls, the control methods in the control strategy may be the same or different.
S803,策略管理模块12向view模块11发送第一应用的管控策略,包括管控控件的标识信息。S803, the policy management module 12 sends the control policy of the first application to the view module 11, including identification information of the control control.
S804,view模块11基于第一应用的管控策略识别管控控件,获取管控控件的位置信息。S804, the view module 11 identifies the control control based on the control policy of the first application, and obtains the location information of the control control.
view模块11在接收到第一应用的管控策略之后,可以基于管控策略中的管控控件的标识信息对页面中的管控控件进行识别。After receiving the control policy of the first application, the view module 11 can identify the control control in the page based on the identification information of the control control in the control policy.
示例性的,当管控控件包括第一应用中的所有小程序控件,即管控控件的标识信息包括小程序控件的类别标识,例如关键字miniProgram时,view模块11可通过判断userAgent中是否包含关键字miniProgram确定http的请求是否应该被管控,或是通过判断界面中的连接是否包括关键字miniProgram确定该链接对应的控件是否为管控控件。Exemplarily, when the management and control controls include all mini-program controls in the first application, that is, the identification information of the management and control controls includes the category identification of the mini-program controls, such as the keyword miniProgram, the view module 11 can determine whether the http request should be managed by judging whether the userAgent contains the keyword miniProgram, or determine whether the control corresponding to the link is a management and control control by judging whether the connection in the interface includes the keyword miniProgram.
又示例性的,当管控控件包括第一应用中的所有webview控件,即管控控件的标识信息包括webview控件的类别标识(例如android.webkit.Webview及其子类、com.android.webview及其子类,或是com.smtt.sdk.WebView及其子类等)时,view模块11可以通过判断控件的代码中是否包括以上任一项webview控件的类别标识确定该控件是否为需要管控的webview控件。As another example, when the managed control includes all webview controls in the first application, that is, the identification information of the managed control includes the category identifier of the webview control (for example, android.webkit.Webview and its subclasses, com.android.webview and its subclasses, or com.smtt.sdk.WebView and its subclasses, etc.), the view module 11 can determine whether the control is a webview control that needs to be managed by judging whether the code of the control includes the category identifier of any of the above webview controls.
又示例性的,当管控控件包括第一应用中的所有媒体调用控件,即管控控件的标识信息包括音频标签或视频标签(例如<audio>标签和<video>标签)时,view模块11可以通过判断控件的代码中是否包括<audio>标签或<video>标签确定该控件是否为需要管控的媒体调用控件。As another example, when the management and control controls include all media call controls in the first application, that is, the identification information of the management and control controls includes audio tags or video tags (for example, the <audio> tag and the <video> tag), the view module 11 can determine whether the control is a media call control that needs to be managed by judging whether the code of the control includes the <audio> tag or the <video> tag.
在一些实施例中,管控控件的标识信息也可以包括第一应用的特定控件的标识(例如名称、类别、id等),在这种情况下,view模块11可以通过判断控件的标识与该特定控件的标识是否一致确定该控件是否为被管控的控件。In some embodiments, the identification information of the managed control may also include the identification of a specific control of the first application (such as name, category, ID, etc.). In this case, the view module 11 can determine whether the control is a managed control by judging whether the identification of the control is consistent with the identification of the specific control.
在识别出管控控件之后,view模块11可以获取管控控件的位置信息。其中,管控控件的位置信息可以是管控控件在第一坐标系下的坐标,第一坐标系是以电子设备100显示屏上任一点为坐标原点构建的坐标系。在另一些实施例中,管控控件的位置信息也可以是管控控件在第二坐标系下的坐标,第二坐标系是以第一应用的界面上任一点为原点构建的坐标系。需要说明的是,管控控件的位置信息还包括管控控件的显示尺寸。After identifying the control control, the view module 11 can obtain the position information of the control control. Among them, the position information of the control control can be the coordinates of the control control in the first coordinate system, and the first coordinate system is a coordinate system constructed with any point on the display screen of the electronic device 100 as the coordinate origin. In other embodiments, the position information of the control control can also be the coordinates of the control control in the second coordinate system, and the second coordinate system is a coordinate system constructed with any point on the interface of the first application as the origin. It should be noted that the position information of the control control also includes the display size of the control control.
示例性的,在上述图2A至图2I所示实施例中,第一应用为输入法应用,电子设备100可以基于获取到的输入法应用的管控策略识别出管控控件为皮肤控件228a和词库控件228b,并确定管控控件的位置信息。Exemplarily, in the embodiments shown in Figures 2A to 2I above, the first application is an input method application. The electronic device 100 can identify the control controls as skin controls 228a and vocabulary controls 228b based on the acquired control policy of the input method application, and determine the location information of the control controls.
又示例性的,在上述图3A至图3H所示实施例中,第一应用为聊天应用,电子设备100可以基于获取到的聊天应用的管控策略识别出管控控件为小程序入口控件312,并确定小程序入口控件312的位置信息。或者,电子设备100可以基于获取到的聊天应用的管控策略识别出管控控件为图3D所示小程序入口界面320中的一个或多个小程序条目,例如,娱乐1条目、游戏2条目以及拼图3条目,继而确定出上述一个或多个小程序条目的位置信息。 As another example, in the embodiments shown in FIGS. 3A to 3H above, the first application is a chat application, and the electronic device 100 can identify the control control as the mini-program entry control 312 based on the control policy of the chat application obtained, and determine the location information of the mini-program entry control 312. Alternatively, the electronic device 100 can identify the control control as one or more mini-program entries in the mini-program entry interface 320 shown in FIG. 3D based on the control policy of the chat application obtained, for example, the entertainment 1 entry, the game 2 entry, and the puzzle 3 entry, and then determine the location information of the one or more mini-program entries.
又示例性的,在上述图4A至图4D所示实施例中,第一应用为资讯应用,电子设备100可以基于获取到的资讯应用的管控策略识别出管控控件为媒体调用控件417,并确定媒体调用控件417的位置信息。Also exemplarily, in the embodiments shown in FIG. 4A to FIG. 4D above, the first application is an information application, and the electronic device 100 can identify the control control as the media call control 417 based on the acquired control policy of the information application, and determine the location information of the media call control 417.
又示例性的,在上述图5A至图5E所示实施例中,第一应用为设置应用中的健康使用手机应用,电子设备100可以基于获取到的健康使用手机应用的管控策略识别出青少年模式下的管控控件包括可用时长设置条目513、应用限额设置条目514、停用时间设置条目515、听力保护设置条目516以及密码开关控件517,并确定上述每个管控控件的位置信息。Also exemplarily, in the embodiments shown in Figures 5A to 5E above, the first application is the healthy use of mobile phone application in the setting application. The electronic device 100 can identify the control controls in the youth mode based on the acquired control policy of the healthy use of mobile phone application, including the available time setting entry 513, the application limit setting entry 514, the downtime setting entry 515, the hearing protection setting entry 516 and the password switch control 517, and determine the location information of each of the above control controls.
在一些实施例中,管控控件的位置信息可通过控件的getLocationOnScreen接口调用,即可获得该控件在屏幕上的绝对位置。管控控件的显示尺寸可使用该控件的onSizeChanged方法获得。In some embodiments, the location information of the control control can be obtained by calling the getLocationOnScreen interface of the control, and the absolute location of the control on the screen can be obtained. The display size of the control control can be obtained by using the onSizeChanged method of the control.
S805,view模块11将管控控件的位置信息发送至管控模块13。S805, the view module 11 sends the location information of the control control to the control module 13.
在确定管控控件的位置信息之后,view模块11可以将管控控件的位置信息发送至管控模块13。After determining the location information of the control control, the view module 11 may send the location information of the control control to the control module 13 .
在一些实施例中,若第一应用的管控策略中还包括管控方式,则view模块11也可以将管控方式发送至管控模块13。In some embodiments, if the control strategy of the first application also includes a control method, the view module 11 may also send the control method to the control module 13 .
S806,管控模块13基于管控控件的位置信息对管控控件执行管控。S806, the control module 13 performs control on the control control based on the location information of the control control.
管控模块13在接收到管控控件的位置信息之后,可以基于管控控件的位置信息对管控控件执行管控。After receiving the location information of the control control, the control module 13 may perform control on the control control based on the location information of the control control.
示例性的,在上述图2F所示实施例中,当第一应用为输入法应用时,管控模块13可以采用覆盖显示的管控方式,将管控提示窗覆盖显示在管控控件(即webview控件)上。在上述图2H所示实施例中,当第一应用为输入法应用时,管控模块13也可以采用取消显示的管控方式,不显示管控控件。For example, in the embodiment shown in FIG. 2F above, when the first application is an input method application, the control module 13 can adopt an overlay display control method to overlay the control prompt window on the control control (i.e., webview control). In the embodiment shown in FIG. 2H above, when the first application is an input method application, the control module 13 can also adopt a cancel display control method to not display the control control.
又示例性的,在上述图3E或图3G所示实施例中,当第一应用为聊天应用时,管控模块13可以采用覆盖显示的管控方式,将管控提示窗覆盖显示在管控控件(即小程序控件或小程序条目)上。在上述图3F或图3H所示实施例中,当第一应用为聊天应用时,管控模块13可以采用取消显示的管控方式,不显示需要被管控的小程序控件或不显示需要被管控的小程序条目。As another example, in the embodiment shown in FIG. 3E or FIG. 3G above, when the first application is a chat application, the control module 13 can adopt an overlay display control method to overlay the control prompt window on the control control (i.e., the mini-program control or mini-program entry). In the embodiment shown in FIG. 3F or FIG. 3H above, when the first application is a chat application, the control module 13 can adopt a cancel display control method to not display the mini-program control that needs to be controlled or not display the mini-program entry that needs to be controlled.
在一些实施例中,若管控模块13还接收到view模块11发送的管控方式,则管控模块13也可以基于管控控件的位置信息,采用该管控方式对管控控件进行管控。可以理解的是,在另一些实施例中,在view模块11发送的管控方式中,不同管控控件也可以对应不同的管控方式。在这种情况下,管控模块13也可以基于该管控方式对不同管控控件采用对应的不同的管控方式进行管控,本申请在此不做限定。In some embodiments, if the control module 13 also receives the control method sent by the view module 11, the control module 13 may also use the control method to control the control control based on the location information of the control control. It is understandable that in other embodiments, in the control method sent by the view module 11, different control controls may also correspond to different control methods. In this case, the control module 13 may also use corresponding different control methods to control different control controls based on the control method, and this application does not limit this.
通过本申请实施例提供的一种应用管控方法,可以对不同应用设置不同的管控策略,这样,可以避免出现漏管控的情况,实现对不同应用中的不同控件的精细化管控。在一些实施例中,也可以在策略管理模块12中基于电子设备100的不同管控模式对同一应用设置不同的管控策略,以实现对不同管控模式下的精细化管控。Through an application control method provided in an embodiment of the present application, different control strategies can be set for different applications, so that missed control can be avoided and refined control of different controls in different applications can be achieved. In some embodiments, different control strategies can also be set for the same application in the policy management module 12 based on different control modes of the electronic device 100 to achieve refined control under different control modes.
在一些实施例中,当第一应用中包括媒体调用控件时,电子设备100可能需要调用媒体服务,在这种情况下,除了上述图8所示模块之外,电子设备100还可以包括媒体服务模块14。当电子设备100基于第一应用的管控策略对第一应用中的管控控件进行管控之后,若第一应用的界面中还显示有未被管控的媒体调用控件,则,第一应用可以接收并响应于用户针对该媒体调用控件的输入,向媒体服务模块14发送调用请求,调用请求用于请求调用媒体服务。媒体服务模块14可以响应于该调用请求,为第一应用提供媒体服务,播放该媒体调用控件对应的媒体文件。In some embodiments, when the first application includes a media call control, the electronic device 100 may need to call a media service. In this case, in addition to the modules shown in FIG. 8 above, the electronic device 100 may also include a media service module 14. After the electronic device 100 controls the control controls in the first application based on the control strategy of the first application, if the interface of the first application still displays an uncontrolled media call control, the first application may receive and respond to the user's input for the media call control, and send a call request to the media service module 14, where the call request is used to request the call of the media service. In response to the call request, the media service module 14 may provide media services for the first application and play the media file corresponding to the media call control.
下面介绍本申请实施例提供的一种基于策略获取请求中控件的页面信息,通过管控策略判决模型确定是否管控该控件的具体流程。The following describes a specific process of obtaining page information of a control in a request based on a policy, and determining whether to control the control through a control policy decision model, provided in an embodiment of the present application.
图9示出了一种SVM算法模型,SVM算法是一种分类算法,该算法模型可以用于进行管控策略判决。FIG. 9 shows an SVM algorithm model. The SVM algorithm is a classification algorithm. The algorithm model can be used to make management and control strategy decisions.
如图9所示,横轴x轴与纵轴y轴所构成的二维坐标系可以看作一个特征空间。该特征空间可以包括一个或多个特征点,每个特征点可以对应一个控件的页面信息。As shown in Figure 9, the two-dimensional coordinate system formed by the horizontal axis x-axis and the vertical axis y-axis can be regarded as a feature space. The feature space can include one or more feature points, and each feature point can correspond to the page information of a control.
以媒体调用控件对应的媒体文件为例,媒体调用控件的页面信息(等同于该媒体调用控件对应的媒体文件的页面信息)可以包括该媒体文件的以下任一项或多项信息:标题、评论、标签、关键词、类别,等等。电子设备100可以将该一项或多项信息赋予管控策略分数,例如,将动画、影视等类别的管控策略分数设置为1,将教学、科普等类别的管控策略分数设置为-1;又例如,将包括“高等数学”等词语的标题的 管控策略分数设置为-1;又例如,将包括“期待下一集”等词语的评论的管控策略分数设置为-1,将包括“学习”等词语的评论的管控策略分数设置为1,等等。Taking the media file corresponding to the media call control as an example, the page information of the media call control (equivalent to the page information of the media file corresponding to the media call control) may include any one or more of the following information of the media file: title, comment, tag, keyword, category, etc. The electronic device 100 may assign a control strategy score to the one or more information, for example, setting the control strategy score of categories such as animation and film to 1, and setting the control strategy score of categories such as teaching and popular science to -1; for another example, setting the control strategy score of titles including words such as "advanced mathematics" to -1. The control strategy score is set to -1; for another example, the control strategy score of comments including words such as "looking forward to the next episode" is set to -1, the control strategy score of comments including words such as "learning" is set to 1, and so on.
电子设备100可以基于获取到的多个媒体调用控件的页面信息以及每个媒体调用控件的管控策略进行训练,从而得到分离超平面Y0,Y0为基于SVM算法训练得到的几何间隔最大的分割超平面,且分离超平面Y0可以通过以下公式(1)描述:
Y0:0=wx+b (1)The electronic device 100 can be trained based on the page information of the acquired multiple media call controls and the control strategy of each media call control, so as to obtain a separation hyperplane Y0, where Y0 is a segmentation hyperplane with the largest geometric interval obtained by training based on the SVM algorithm, and the separation hyperplane Y0 can be described by the following formula (1):
Y0:0=wx+b (1)
在上述公式(1)中,w为分离超平面Y0的法向量,b为常数向量。In the above formula (1), w is the normal vector of the separating hyperplane Y0, and b is a constant vector.
基于上述分离超平面Y0可以得到下述公式(2),即:
y=wx+b (2)Based on the above separation hyperplane Y0, the following formula (2) can be obtained, namely:
y=wx+b (2)
公式(2)中各个向量含义与公式(1)相同。需要说明的是,x的取值可以基于获取到的页面信息确定。在确定出x的取值之后,可以基于上述公式(2)确定出y的取值,当y的取值大于0时,可以确定该页面信息对应的控件为管控控件,即该控件的管控策略为管控;当y的取值小于0时,可以确定该页面信息对应的控件为非管控控件,即该控件的管控策略为不管控。The meaning of each vector in formula (2) is the same as that in formula (1). It should be noted that the value of x can be determined based on the acquired page information. After determining the value of x, the value of y can be determined based on the above formula (2). When the value of y is greater than 0, it can be determined that the control corresponding to the page information is a control control, that is, the control strategy of the control is control; when the value of y is less than 0, it can be determined that the control corresponding to the page information is a non-control control, that is, the control strategy of the control is no control.
基于上述分离超平面Y0,还可以确定Y0两侧对称的两个超平面的表达式,即:
Y1:1=wx+b (3)
Y2:-1=wx+b (4)Based on the above separating hyperplane Y0, we can also determine the expressions of the two hyperplanes symmetrical on both sides of Y0, namely:
Y1:1=wx+b (3)
Y2: -1 = wx + b (4)
在获取到分离超平面Y0之后,电子设备100可以基于获取到的新的媒体调用控件的页面信息对该新的媒体调用控件的管控策略进行判决。即,电子设备100可以确定出页面信息对应的管控策略分数,并基于上述分离超平面Y0确定出该新的媒体调用控件对应的y的取值,继而确定出该新的媒体调用控件的管控策略。当y的取值大于0时,可以确定该新的媒体调用控件的管控策略为管控,此时电子设备100可以输出管控提示,拒绝用户调用媒体服务播放该新的媒体调用控件对应的媒体文件的请求;当y的取值小于0时,可以确定该新的媒体调用控件的管控策略为不管控。此时,电子设备100可以接收并响应于用户针对该新的媒体调用控件的输入,播放对应的媒体文件。After obtaining the separation hyperplane Y0, the electronic device 100 can determine the control strategy of the new media call control based on the page information of the new media call control obtained. That is, the electronic device 100 can determine the control strategy score corresponding to the page information, and determine the value of y corresponding to the new media call control based on the above separation hyperplane Y0, and then determine the control strategy of the new media call control. When the value of y is greater than 0, it can be determined that the control strategy of the new media call control is control. At this time, the electronic device 100 can output a control prompt to reject the user's request to call the media service to play the media file corresponding to the new media call control; when the value of y is less than 0, it can be determined that the control strategy of the new media call control is no control. At this time, the electronic device 100 can receive and respond to the user's input for the new media call control to play the corresponding media file.
可以理解的是,此处实施例只是示例性说明不同的页面信息对应各自的管控策略分数,在本申请实施例中,页面信息也可以对应其他管控策略分数,本申请在此不做限定。It is understandable that the embodiments herein are merely illustrative of how different page information corresponds to respective management and control strategy scores. In the embodiments of the present application, page information may also correspond to other management and control strategy scores, and the present application does not limit this.
此外,在本申请实施例中,电子设备100也可以采用上述图9所示算法对第一应用中的其他控件(例如webview控件、小程序条目、小程序应用图标或是其他内容等)进行管控策略判决,或是采用与图9所示算法不同的算法对第一应用中的控件进行管控策略判决,本申请在此不做限定。In addition, in an embodiment of the present application, the electronic device 100 may also use the algorithm shown in Figure 9 above to make management and control strategy decisions for other controls in the first application (such as webview controls, mini-program entries, mini-program application icons, or other content, etc.), or use an algorithm different from the algorithm shown in Figure 9 to make management and control strategy decisions for controls in the first application. This application is not limited here.
采用图9所示算法模型或其他管控策略判决模型,电子设备100可以确定第一应用中的一个或多个控件的管控策略,并基于该一个或多个控件的管控策略确定出第一应用中管控控件的标识信息,得到第一应用的管控策略。By adopting the algorithm model shown in Figure 9 or other control strategy judgment models, the electronic device 100 can determine the control strategy of one or more controls in the first application, and based on the control strategy of the one or more controls, determine the identification information of the control controls in the first application to obtain the control strategy of the first application.
通过本申请实施例提供的一种应用管控方法,可以基于获取到的控件(或该控件对应的媒体文件)的页面信息对该控件进行管控策略判决,确定是否对该控件进行管控。这样,可以减少电子设备100存储的管控策略,降低存储压力。而且,可以实时基于获取到的页面信息确定管控策略,降低漏管控事件的发生概率。Through an application control method provided by an embodiment of the present application, a control strategy decision can be made on the control based on the page information of the acquired control (or the media file corresponding to the control) to determine whether to control the control. In this way, the control strategies stored in the electronic device 100 can be reduced, reducing storage pressure. Moreover, the control strategy can be determined in real time based on the acquired page information, reducing the probability of missed control events.
在另一些实施例中,在第一应用未被管控,且第一应用中包括媒体调用控件的情况下,电子设备100也可以在接收到用户针对媒体调用控件的输入时,基于该媒体调用控件对应的媒体文件判断是否对该媒体调用控件进行管控。这样,电子设备100可以有针对性地对第一应用中的部分媒体调用控件进行管控,而不影响第一应用的其他功能。In other embodiments, when the first application is not controlled and includes a media call control, the electronic device 100 may also determine whether to control the media call control based on the media file corresponding to the media call control when receiving the user's input for the media call control. In this way, the electronic device 100 can specifically control some of the media call controls in the first application without affecting other functions of the first application.
下面介绍在这种情况下,电子设备100执行本申请实施例提供的应用管控方法的模块交互流程示意图。需要说明的是,此时,电子设备100可以包括:应用15、策略管理模块12、管控模块13以及媒体服务模块14。其中,应用15也可以是第一应用。The following is a schematic diagram of the module interaction process of the electronic device 100 executing the application control method provided in the embodiment of the present application in this case. It should be noted that, at this time, the electronic device 100 may include: an application 15, a policy management module 12, a control module 13 and a media service module 14. Among them, the application 15 may also be the first application.
如图10所示,电子设备100执行本申请实施例提供的另一种应用管控方法的具体流程可以包括以下步骤:As shown in FIG. 10 , the specific process of the electronic device 100 executing another application management method provided in an embodiment of the present application may include the following steps:
S1001,应用15接收并响应于用户播放第一媒体文件的操作,向媒体服务模块14发送媒体调用请求,用于请求媒体服务模块14播放第一媒体文件。 S1001, the application 15 receives and responds to the user's operation of playing a first media file, and sends a media call request to the media service module 14 to request the media service module 14 to play the first media file.
用户播放第一媒体文件的操作,可以是用户针对应用15中的媒体调用控件的输入。示例性的,用户播放第一媒体文件的操作,可以是上述图4B所示实施例中,用户针对媒体调用控件417的点击操作。又示例性的,用户播放第一媒体文件的操作,也可以是上述图7B所示实施例中,用户针对媒体调用控件705的点击操作,或者,上述图7D所示实施例中,用户针对媒体调用控件706的点击操作,等等。The user's operation of playing the first media file may be an input of the user to the media call control in the application 15. Exemplarily, the user's operation of playing the first media file may be a click operation of the user to the media call control 417 in the embodiment shown in FIG. 4B above. Another exemplary operation of the user playing the first media file may also be a click operation of the user to the media call control 705 in the embodiment shown in FIG. 7B above, or a click operation of the user to the media call control 706 in the embodiment shown in FIG. 7D above, and so on.
媒体调用请求可以包括调用请求。调用请求可以用于请求媒体服务模块14向应用15提供媒体服务,播放第一媒体文件。除了调用请求之外,媒体调用请求还可以包括第一媒体文件的标识信息和/或第一媒体文件的页面信息。The media call request may include a call request. The call request may be used to request the media service module 14 to provide media services to the application 15 and play the first media file. In addition to the call request, the media call request may also include identification information of the first media file and/or page information of the first media file.
第一媒体文件的标识信息可用于识别第一媒体文件,可以包括第一媒体文件的名称或标号等。The identification information of the first media file may be used to identify the first media file, and may include a name or a number of the first media file.
第一媒体文件的页面信息可以包括以下任一项或多项:第一媒体文件的标签、标题、评论、封面图、关键词,等等。第一媒体文件的页面信息可以用于确定第一媒体文件的管控策略。The page information of the first media file may include any one or more of the following: a tag, title, comment, cover image, keyword, etc. of the first media file. The page information of the first media file may be used to determine a management and control strategy for the first media file.
在一些实施例中,媒体调用请求还可以包括当前管控模式,当前管控模式可以是指电子设备100当前的管控模式,在一些实施例中,也可以是指应用15当前的管控模式。管控模式可以包括普通管控模式、青少年模式、老年人模式等等。In some embodiments, the media call request may also include a current control mode, which may refer to the current control mode of the electronic device 100, and in some embodiments, may also refer to the current control mode of the application 15. The control mode may include a normal control mode, a youth mode, an elderly mode, and the like.
S1002,媒体服务模块14响应于媒体调用请求,向管控模块13发送问询信息,用于问询是否可以播放第一媒体文件。S1002: The media service module 14 sends a query message to the control module 13 in response to the media call request, to inquire whether the first media file can be played.
媒体服务模块14在接收到媒体调用请求之后,响应于该媒体调用请求,可以向管控模块13发送问询信息。问询信息可以包括第一媒体文件标识信息和/或页面信息。问询信息可以用于问询管控模块13媒体服务模块14是否可以播放第一媒体文件。After receiving the media call request, the media service module 14 can send a query message to the control module 13 in response to the media call request. The query message may include the first media file identification information and/or page information. The query message can be used to query the control module 13 whether the media service module 14 can play the first media file.
在一些实施例中,问询信息中也可以包括当前管控模式。In some embodiments, the query information may also include the current control mode.
S1003,管控模块13向策略管理模块12发送获取请求,用于请求策略管理模块12向管控模块13发送第一媒体文件的管控策略。S1003 , the control module 13 sends an acquisition request to the policy management module 12 , for requesting the policy management module 12 to send the control policy of the first media file to the control module 13 .
获取请求可以包括第一媒体文件的标识信息和/或页面信息。获取请求可以用于请求策略管理模块12向管控模块13发送第一媒体文件的管控策略。The acquisition request may include identification information and/or page information of the first media file. The acquisition request may be used to request the policy management module 12 to send the management and control policy of the first media file to the management and control module 13.
在一些实施例中,获取请求中也可以包括当前管控模式。In some embodiments, the acquisition request may also include the current control mode.
S1004,策略管理模块12响应于获取请求,确定第一媒体文件的管控策略。S1004: The policy management module 12 determines a management and control policy for the first media file in response to the acquisition request.
在一些实施例中,策略管理模块12在接收到获取请求之后,可以基于获取请求中第一媒体文件的标识信息,确定第一媒体文件的管控策略。In some embodiments, after receiving the acquisition request, the policy management module 12 may determine the management and control policy of the first media file based on the identification information of the first media file in the acquisition request.
策略管理模块12中可以存储有应用15的管控策略。The policy management module 12 may store the control policy of the application 15 .
示例性的,表3示出了一种策略管理模块12存储的应用15的管控策略。Exemplarily, Table 3 shows a control policy of an application 15 stored in a policy management module 12 .
表3
Table 3
如表3所示,策略管理模块12中存储的应用15的管控策略可以包括应用15中每个媒体调用控件对应的媒体文件的标识信息以及该媒体文件是否需要管控。由表1可知,媒体文件标识信息为M1的媒体文件需要管控,媒体文件标识信息为M2的媒体文件不需要管控,媒体文件标识信息为M3的媒体文件需要管控。As shown in Table 3, the control policy of the application 15 stored in the policy management module 12 may include identification information of the media file corresponding to each media call control in the application 15 and whether the media file needs to be controlled. As can be seen from Table 1, the media file with the media file identification information of M1 needs to be controlled, the media file with the media file identification information of M2 does not need to be controlled, and the media file with the media file identification information of M3 needs to be controlled.
可以理解的是,表3只是一个示例,在本申请实施例中,策略管理模块12中存储的应用15的管控策略可以包括更多或更少的媒体文件,也可以包括与表3所示不同的管控策略,还可以包括其他控件的管控策略,本申请在此不做限定。It can be understood that Table 3 is only an example. In an embodiment of the present application, the control policy of the application 15 stored in the policy management module 12 may include more or fewer media files, may include control policies different from those shown in Table 3, and may also include control policies for other controls, which is not limited in the present application.
在策略管理模块12中存储的应用15的管控策略与表3所示实施例相同或相似的情况下,策略管理模块12可以基于获取请求中第一媒体文件的标识信息,从存储的多个媒体文件的管控策略中确定出第一媒体文件的管控策略,即确定是否管控第一媒体文件。 When the control policy of the application 15 stored in the policy management module 12 is the same as or similar to the embodiment shown in Table 3, the policy management module 12 can determine the control policy of the first media file from the control policies of the stored multiple media files based on the identification information of the first media file in the acquisition request, that is, determine whether to control the first media file.
在另一些实施例中,电子设备100可以有不同的管控模式,策略管理模块12中可以存储有不同管控模式下应用15的管控策略。又示例性的,表4示出了不同管控模式下应用15的管控策略。In other embodiments, the electronic device 100 may have different control modes, and the policy management module 12 may store control policies for the application 15 in different control modes. For example, Table 4 shows the control policies for the application 15 in different control modes.
表4
Table 4
如表4所示,策略管理模块12中存储的应用15的管控策略可以包括不同管控模式下应用15中每个媒体调用控件对应的媒体文件的标识信息以及该媒体文件是否需要管控。由表4可知,在普通管控模式下,媒体文件标识信息为M1的媒体文件需要管控,媒体文件标识信息为M2的媒体文件不需要管控,媒体文件标识信息为M3的媒体文件需要管控。在青少年模式下,媒体文件标识信息为M1的媒体文件、媒体文件标识信息为M2以及媒体文件标识信息为M3的媒体文件均需要管控。As shown in Table 4, the control policy of the application 15 stored in the policy management module 12 may include the identification information of the media file corresponding to each media call control in the application 15 under different control modes and whether the media file needs to be controlled. As can be seen from Table 4, in the normal control mode, the media file with the media file identification information of M1 needs to be controlled, the media file with the media file identification information of M2 does not need to be controlled, and the media file with the media file identification information of M3 needs to be controlled. In the youth mode, the media files with the media file identification information of M1, the media files with the media file identification information of M2, and the media files with the media file identification information of M3 all need to be controlled.
可以理解的是,表4只是一个示例,在本申请实施例中,策略管理模块12中存储的应用15的管控策略可以包括更多或更少的媒体文件、或是包括更多或更少的管控模式,也可以包括与表4所示不同的管控策略,还可以包括其他控件的管控策略,本申请在此不做限定。It can be understood that Table 4 is only an example. In an embodiment of the present application, the control policy of the application 15 stored in the policy management module 12 may include more or fewer media files, or include more or fewer control modes, and may also include control policies different from those shown in Table 4, and may also include control policies for other controls, which are not limited in the present application.
在策略管理模块12中存储的应用15的管控策略与表4所示实施例相同或相似的情况下,策略管理模块12可以基于电子设备100当前的管控模式,以及获取请求中第一媒体文件的标识信息,从存储的多个媒体文件的管控策略中确定出当前管控模式下第一媒体文件的管控策略,即确定是否管控第一媒体文件。其中,电子设备100当前的管控模式,可以是策略管理模块12响应于用户设置管控模式的操作确定的,也可以是策略管理模块12基于获取请求确定的,本申请在此不做限定。When the control policy of the application 15 stored in the policy management module 12 is the same or similar to the embodiment shown in Table 4, the policy management module 12 can determine the control policy of the first media file under the current control mode from the control policies of the stored multiple media files based on the current control mode of the electronic device 100 and the identification information of the first media file in the acquisition request, that is, determine whether to control the first media file. Among them, the current control mode of the electronic device 100 can be determined by the policy management module 12 in response to the user's operation of setting the control mode, or it can be determined by the policy management module 12 based on the acquisition request, and this application does not limit it here.
在另一些实施例中,策略管理模块12在接收到获取请求之后,可以基于获取请求中第一媒体文件的页面信息和预设的管控策略判决模型确定第一媒体文件的管控策略。具体的管控策略判决模型以及判决方式可以参考上述图9所示实施例中相关内容,本申请在此不再赘述。In other embodiments, after receiving the acquisition request, the policy management module 12 can determine the control policy of the first media file based on the page information of the first media file in the acquisition request and the preset control policy decision model. The specific control policy decision model and decision method can refer to the relevant content in the embodiment shown in FIG. 9 above, and this application will not repeat them here.
S1005,策略管理模块12向管控模块13发送第一媒体文件的管控策略,用于指示是否管控第一媒体文件。S1005 , the policy management module 12 sends a control policy of the first media file to the control module 13 , which is used to indicate whether to control the first media file.
在确定第一媒体文件的管控策略之后,策略管理模块12可以向管控模块13发送第一媒体文件的管控策略。After determining the management and control policy of the first media file, the policy management module 12 may send the management and control policy of the first media file to the management and control module 13 .
S1006,管控模块13基于第一媒体文件的管控策略确定是否播放第一媒体文件。S1006: The management and control module 13 determines whether to play the first media file based on the management and control policy of the first media file.
管控模块13在接收到第一媒体文件的管控策略之后,可以基于第一媒体文件的管控策略确定是否播放第一媒体文件。具体的:After receiving the control policy of the first media file, the control module 13 may determine whether to play the first media file based on the control policy of the first media file. Specifically:
若第一媒体文件的管控策略为不管控,则确定播放第一媒体文件,此时,电子设备100执行下述步骤S1007至步骤S1008;If the control policy of the first media file is no control, it is determined to play the first media file. At this time, the electronic device 100 executes the following steps S1007 to S1008;
若第一媒体文件的管控策略为管控,则确定不播放第一媒体文件,此时,电子设备100执行下述步骤S1009至步骤S1011。If the control policy of the first media file is control, it is determined not to play the first media file. At this time, the electronic device 100 executes the following steps S1009 to S1011.
S1007,管控模块13向媒体服务模块14发送放行通知,用于通知媒体服务模块14播放第一媒体文件。S1007: The control module 13 sends a release notification to the media service module 14, for notifying the media service module 14 to play the first media file.
若第一媒体文件的管控策略为不管控,管控模块13向媒体服务模块14发送放行通知,放行通知用于通知媒体服务模块14播放第一媒体文件。If the control policy of the first media file is no control, the control module 13 sends a release notification to the media service module 14 , where the release notification is used to notify the media service module 14 to play the first media file.
S1008,媒体服务模块14响应于放行通知,向应用15提供媒体服务,播放第一媒体文件。S1008 , the media service module 14 provides media service to the application 15 in response to the release notification, and plays the first media file.
响应于放行通知,媒体服务模块14可以向应用15提供媒体服务,播放第一媒体文件。示例性的,第一媒体文件,可以是上述图7E所示实施例中播放的数学教学视频。In response to the release notification, the media service module 14 may provide media services to the application 15 and play the first media file. For example, the first media file may be the mathematics teaching video played in the embodiment shown in FIG. 7E above.
S1009,管控模块13向媒体服务模块14发送管控通知,用于通知媒体服务模块14不播放第一媒体文 件。S1009: The control module 13 sends a control notification to the media service module 14, which is used to notify the media service module 14 not to play the first media file. Piece.
若第一媒体文件的管控策略为管控,管控模块13向媒体服务模块14发送管控通知,管控通知用于通知媒体服务模块14不播放第一媒体文件。If the control policy of the first media file is control, the control module 13 sends a control notification to the media service module 14 , where the control notification is used to notify the media service module 14 not to play the first media file.
S1010,媒体服务模块14响应于管控通知,向应用15发送拒绝通知,用于通知应用15此次媒体调用请求被拒绝。S1010, the media service module 14 sends a rejection notification to the application 15 in response to the control notification, so as to notify the application 15 that the media call request is rejected.
S1011,应用15响应于拒绝通知,输出管控提示。S1011, application 15 outputs a control prompt in response to the rejection notification.
示例性的,输出的管控提示可以是上述图7C所示实施例中的管控提示窗711。此外,可选的,输出的管控提示也可以包括上述图7D所示实施例中的管控提示窗707。Exemplarily, the output control prompt may be the control prompt window 711 in the embodiment shown in Fig. 7C above. In addition, optionally, the output control prompt may also include the control prompt window 707 in the embodiment shown in Fig. 7D above.
通过本申请实施例提供的一种应用管控方法,可以在接收到调用媒体服务请求之后,再确定是否对此次请求播放的媒体文件进行管控。这样,可以减少应用启动时获取的管控策略,在确保管控效果的同时保证应用启动效率。Through the application control method provided by the embodiment of the present application, after receiving the request to call the media service, it can be determined whether to control the media file requested to be played. In this way, the control strategy obtained when the application is started can be reduced, and the application startup efficiency can be guaranteed while ensuring the control effect.
需要说明的是,在一些实施例中,第一应用中的其他控件,例如小程序控件、小程序应用图标等,也可以采用与上述图10所示的管控方法类似的方法,即在接收到用户针对第一应用中的控件的输入之后,再由策略管理模块12判定是否对该控件进行管控。具体的操作流程可以类比图10所示实施例,此处不再赘述。It should be noted that, in some embodiments, other controls in the first application, such as mini-program controls, mini-program application icons, etc., can also adopt a method similar to the control method shown in FIG. 10 above, that is, after receiving the user's input for the control in the first application, the policy management module 12 determines whether to control the control. The specific operation process can be analogous to the embodiment shown in FIG. 10, and will not be repeated here.
下面介绍本申请实施例提供一种应用管控方法的流程示意图。The following is a flow chart of an application management method provided by an embodiment of the present application.
如图11所示,应用管控方法的具体流程可以包括以下步骤:As shown in Figure 11, the specific process of the application control method may include the following steps:
S1101,电子设备100接受并响应于针对第一图标的操作,显示第一应用的第一界面,第一界面包括第一控件和第二控件。S1101, the electronic device 100 receives and responds to an operation on a first icon, and displays a first interface of a first application, where the first interface includes a first control and a second control.
针对第一图标的操作,可以时上述图8所示步骤S801中针对第一应用的操作。The operation on the first icon may be the operation on the first application in step S801 shown in FIG. 8 .
示例性的,第一界面可以是上述图2D所示的负一屏搜索界面220,第一控件可以是词库控件228b,第二控件可以是上滑输入控件;又示例性的,第一界面可以是上述图3C所示的发现界面310,第一控件可以是小程序入口控件312,第二控件可以是聊天控件。又示例性的,第一界面可以是上述图3D所示的小程序入口界面320,第一控件可以是该界面中的小程序条目(例如娱乐1,游戏2等),第二控件可以是搜索控件325。又示例性的,第一界面可以是上述图4B所示的资讯应用界面,第一控件可以是媒体调用控件417,第二控件可以是图文内容415;又示例性的,第一界面可以是上述图7B所示的视频应用界面700,第一控件可以是媒体调用控件705,第二控件可以是媒体调用控件706,等等。Exemplarily, the first interface may be the negative one screen search interface 220 shown in FIG. 2D above, the first control may be the word library control 228b, and the second control may be the slide-up input control; another exemplary embodiment, the first interface may be the discovery interface 310 shown in FIG. 3C above, the first control may be the mini-program entry control 312, and the second control may be the chat control. Another exemplary embodiment, the first interface may be the mini-program entry interface 320 shown in FIG. 3D above, the first control may be the mini-program entry (e.g., entertainment 1, game 2, etc.) in the interface, and the second control may be the search control 325. Another exemplary embodiment, the first interface may be the information application interface shown in FIG. 4B above, the first control may be the media call control 417, and the second control may be the graphic content 415; another exemplary embodiment, the first interface may be the video application interface 700 shown in FIG. 7B above, the first control may be the media call control 705, and the second control may be the media call control 706, and so on.
S1102,电子设备100接受并响应于针对第一控件的第一操作,显示第一应用的第二界面。S1102, the electronic device 100 receives and responds to a first operation on a first control, and displays a second interface of a first application.
示例性的,针对第一控件的第一操作可以是针对上述图2D所示词库控件228b的点击操作,第二界面可以是上述图2E所示的网页界面230;针对第一控件的第一操作可以是针对上述图3C所示小程序入口控件312的点击操作,第二界面可以是上述图3D所示的小程序入口界面320,等等。在一些实施例中,第二界面也可以是小程序的界面,还可以是媒体播放界面等其他界面,本申请在此不做限定。Exemplarily, the first operation on the first control may be a click operation on the word library control 228b shown in FIG. 2D, and the second interface may be the web page interface 230 shown in FIG. 2E; the first operation on the first control may be a click operation on the mini-program entry control 312 shown in FIG. 3C, and the second interface may be the mini-program entry interface 320 shown in FIG. 3D, etc. In some embodiments, the second interface may also be the interface of the mini-program, or other interfaces such as the media playback interface, which is not limited in this application.
S1103,电子设备100接收并响应于针对第二控件的第二操作,显示第一应用的第三界面。S1103, the electronic device 100 receives and displays the third interface of the first application in response to the second operation on the second control.
示例性的,针对第二控件的第二操作可以是针对上述图7B所示媒体调用控件706的点击操作,第三界面可以是上述图7E所示的视频播放界面720,等。Exemplarily, the second operation on the second control may be a click operation on the media call control 706 shown in FIG. 7B , and the third interface may be the video playback interface 720 shown in FIG. 7E , and so on.
S1104,在开启管控模式之后,电子设备100接收并响应于针对第一图标的操作,在第二控件所在区域上正常显示第二控件。S1104, after the management and control mode is turned on, the electronic device 100 receives and responds to the operation on the first icon, and normally displays the second control in the area where the second control is located.
电子设备100可以接收并响应于用户开启管控模式的操作(例如针对管控模式开关的操作,等),开启管控模式。在一些实施例中,电子设备100也可以在检测到满足预设的管控条件(例如,当前时间处于预设的管控时间段内)时,开启管控模式。The electronic device 100 may receive and respond to a user's operation to turn on the control mode (e.g., an operation on a control mode switch, etc.) to turn on the control mode. In some embodiments, the electronic device 100 may also turn on the control mode when it detects that a preset control condition is met (e.g., the current time is within a preset control time period).
在管控模式开启之后,电子设备100接收并响应于针对第一图标的操作,获取第一应用的管控策略, 并基于管控策略确定第一应用中的管控控件。其中,电子设备100获取第一应用的管控策略、以及基于管控策略确定管控控件的具体步骤可以参考上述图8至图10所示实施例中的相关描述,此处不再赘述。After the control mode is turned on, the electronic device 100 receives and responds to the operation on the first icon, obtains the control policy of the first application, The specific steps of the electronic device 100 obtaining the control strategy of the first application and determining the control control based on the control strategy can refer to the relevant descriptions in the embodiments shown in Figures 8 to 10 above, which will not be repeated here.
在确定管控控件不包括第二控件后,电子设备100可以在第二控件所在区域上正常显示第二控件,第二控件所在区域是指第二控件在第一界面中的显示区域。After determining that the management control does not include the second control, the electronic device 100 can normally display the second control in the area where the second control is located, and the area where the second control is located refers to the display area of the second control in the first interface.
在一些实施例中,在电子设备100开启管控模式之后,针对第一应用的管控可以包括第一模式和第二模式,第一模式是针对第一应用中一个或多个控件的管控(或是针对应用中一个或多个类型的控件的管控),例如,在本申请上述实施例中电子设备100对第一应用进行管控时采用的是第一模式;第二模式是对第一应用的管控,使得电子设备100无法正常运行第一应用。电子设备100可以在开启管控模式的同时,采用第一模式对第一应用进行管控。在电子设备100开启管控模式,且检测到第一应用满足应用管控条件(例如,第一应用的管控开关开启、检测到第一应用的使用时段处于预设的第一应用的管控时段、或检测到第一应用的使用时长大于第一阈值等)时,电子设备100可以采用第二模式对第一应用进行管控。需要说明的是,在电子设备100未采用第二模式对第一应用进行管控的情况下(即第一应用不满足应用管控条件的情况下),电子设备100也可以基于第一管控模式,采用上述实施例所示的管控方法对第一应用中的控件进行管控。在另一些实施例中,基于电子设备100的不同管控模式(普通管控模式、青少年模式、老年人模式),第一模式下第一应用的管控策略可以不同,第二模式下第一应用的应用管控条件也可以不同。In some embodiments, after the electronic device 100 turns on the control mode, the control of the first application may include a first mode and a second mode, the first mode is the control of one or more controls in the first application (or the control of one or more types of controls in the application), for example, in the above embodiment of the present application, the electronic device 100 adopts the first mode when controlling the first application; the second mode is the control of the first application, so that the electronic device 100 cannot run the first application normally. The electronic device 100 can control the first application in the first mode while turning on the control mode. When the electronic device 100 turns on the control mode and detects that the first application meets the application control condition (for example, the control switch of the first application is turned on, the use period of the first application is detected to be in the preset control period of the first application, or the use time of the first application is detected to be greater than the first threshold, etc.), the electronic device 100 can control the first application in the second mode. It should be noted that when the electronic device 100 does not use the second mode to control the first application (that is, when the first application does not meet the application control condition), the electronic device 100 can also control the controls in the first application based on the first control mode and the control method shown in the above embodiment. In other embodiments, based on different control modes of the electronic device 100 (normal control mode, youth mode, elderly mode), the control strategy of the first application in the first mode may be different, and the application control conditions of the first application in the second mode may also be different.
S1105,电子设备100接收并响应于针对第一控件所在区域的第三操作,不显示第二界面。S1105, the electronic device 100 receives and responds to the third operation on the area where the first control is located, and does not display the second interface.
在开启管控模式,且确定第一应用的管控控件包括第一控件之后,电子设备100可以确定第一界面中第一控件所在区域(也写作第一控件的位置信息),并对第一控件进行管控,使得电子设备100接收到用户针对第一控件所在区域的第三操作时,不显示第二界面。其中,第一控件所在区域是指第一控件在第一界面中的显示区域。After the control mode is turned on and it is determined that the control control of the first application includes the first control, the electronic device 100 can determine the area where the first control is located in the first interface (also written as the location information of the first control), and control the first control, so that when the electronic device 100 receives the third operation of the user on the area where the first control is located, the second interface is not displayed. The area where the first control is located refers to the display area of the first control in the first interface.
电子设备100确定第一控件的位置信息,并基于第一控件的位置信息对第一控件进行管控的具体步骤可以参考上述图8所示实施例中的相关描述。The specific steps of the electronic device 100 determining the position information of the first control and controlling the first control based on the position information of the first control can refer to the relevant description in the embodiment shown in Figure 8 above.
在一些实施例中,电子设备100可以不显示第一控件。In some embodiments, the electronic device 100 may not display the first control.
在一些实施例中,在确定第一控件为管控控件后,电子设备100可以在第一界面中第一控件所在区域覆盖显示管控提示信息,用于提示用户第一控件被管控。管控提示信息可以是上述实施例中的管控提示窗,也可以是其他形式的管控提示信息(例如管控图案、管控动画等),本申请在此不做限定。In some embodiments, after determining that the first control is a control control, the electronic device 100 may overlay control prompt information in the area where the first control is located in the first interface to prompt the user that the first control is controlled. The control prompt information may be the control prompt window in the above embodiment, or other forms of control prompt information (such as control patterns, control animations, etc.), which is not limited in this application.
在另一些实施例中,在确定第一控件为管控控件后,电子设备100可以显示第一控件。在这种情况下,电子设备100接收并响应于针对第一控件的第三操作,显示管控界面,管控界面可用于提示用户第一控件被管控。管控界面可以是上述图7C所示的管控界面710,也可以是上述图3I所示的管控界面360,还可以是上述图2I所示的管控界面250,等。In other embodiments, after determining that the first control is a control control, the electronic device 100 may display the first control. In this case, the electronic device 100 receives and responds to the third operation on the first control, and displays a control interface, which can be used to prompt the user that the first control is controlled. The control interface can be the control interface 710 shown in FIG. 7C above, or the control interface 360 shown in FIG. 3I above, or the control interface 250 shown in FIG. 2I above, etc.
S1106,电子设备100接收并响应于针对第二控件所在区域的第四操作,显示第三界面。S1106, the electronic device 100 receives and responds to the fourth operation on the area where the second control is located, and displays the third interface.
示例性的,针对第二控件的第四操作可以是针对上述图7B所示媒体调用控件706的点击操作,第三界面可以是上述图7E所示的视频播放界面720,等。Exemplarily, the fourth operation on the second control may be a click operation on the media call control 706 shown in FIG. 7B , and the third interface may be the video playback interface 720 shown in FIG. 7E , and so on.
采用本申请实施例提供的应用管控方法,可以通过设置应用的管控策略对应用中的控件进行管控,可以避免出现漏管控的情况,还可以实现对不同应用中不同控件的精细化管理。By adopting the application management method provided in the embodiment of the present application, the controls in the application can be managed by setting the application management strategy, which can avoid the occurrence of missed management and can also achieve refined management of different controls in different applications.
采用本申请实施例提供的应用管控方法,可以实现对应用中不同控件的精细化管控,且不影响应用的正常使用。By adopting the application management method provided in the embodiment of the present application, it is possible to achieve refined management and control of different controls in an application without affecting the normal use of the application.
本申请的各实施方式可以任意进行组合,以实现不同的技术效果。The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线) 或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in this application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a server or a data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line) The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)).
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,该流程可以由计算机程序来指令相关的硬件完成,该程序可存储于计算机可读取存储介质中,该程序在执行时,可包括如上述各方法实施例的流程。而前述的存储介质包括:ROM或随机存储记忆体RAM、磁碟或者光盘等各种可存储程序代码的介质。Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.
总之,以上所述仅为本发明技术方案的实施例而已,并非用于限定本发明的保护范围。凡根据本发明的揭露,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In short, the above description is only an embodiment of the technical solution of the present invention, and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of the present invention shall be included in the protection scope of the present invention.
Claims (13)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310216740.8 | 2023-02-27 | ||
| CN202310216740.8A CN118555331A (en) | 2023-02-27 | 2023-02-27 | Application management and control method and related device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024179391A1 true WO2024179391A1 (en) | 2024-09-06 |
Family
ID=92446954
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2024/078463 Ceased WO2024179391A1 (en) | 2023-02-27 | 2024-02-24 | Application management and control method and related apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN118555331A (en) |
| WO (1) | WO2024179391A1 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118708282B (en) * | 2024-08-29 | 2025-03-07 | 荣耀终端股份有限公司 | Application management method, electronic device, chip system and readable storage medium |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105187609A (en) * | 2014-06-17 | 2015-12-23 | 腾讯科技(深圳)有限公司 | Terminal application control method, and terminal device and system |
| CN106598434A (en) * | 2016-12-19 | 2017-04-26 | 深圳天珑无线科技有限公司 | Starter application processing method, and terminal |
| US20190347181A1 (en) * | 2018-05-08 | 2019-11-14 | Apple Inc. | User interfaces for controlling or presenting device usage on an electronic device |
| CN113190882A (en) * | 2021-04-25 | 2021-07-30 | 维沃移动通信有限公司 | Method and device for shielding control |
| CN114035870A (en) * | 2021-10-13 | 2022-02-11 | 青岛海信移动通信技术股份有限公司 | Terminal device, application resource control method and storage medium |
| CN114629989A (en) * | 2022-03-23 | 2022-06-14 | 深圳麦风科技有限公司 | Android application control method and device, intelligent terminal and storage medium |
| CN114692132A (en) * | 2020-12-31 | 2022-07-01 | 华为技术有限公司 | Application program control method and device, electronic equipment and readable storage medium |
| CN116610374A (en) * | 2022-02-09 | 2023-08-18 | 广州视源电子科技股份有限公司 | Application program management and control method, device, equipment and storage medium |
-
2023
- 2023-02-27 CN CN202310216740.8A patent/CN118555331A/en active Pending
-
2024
- 2024-02-24 WO PCT/CN2024/078463 patent/WO2024179391A1/en not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105187609A (en) * | 2014-06-17 | 2015-12-23 | 腾讯科技(深圳)有限公司 | Terminal application control method, and terminal device and system |
| CN106598434A (en) * | 2016-12-19 | 2017-04-26 | 深圳天珑无线科技有限公司 | Starter application processing method, and terminal |
| US20190347181A1 (en) * | 2018-05-08 | 2019-11-14 | Apple Inc. | User interfaces for controlling or presenting device usage on an electronic device |
| CN114692132A (en) * | 2020-12-31 | 2022-07-01 | 华为技术有限公司 | Application program control method and device, electronic equipment and readable storage medium |
| CN113190882A (en) * | 2021-04-25 | 2021-07-30 | 维沃移动通信有限公司 | Method and device for shielding control |
| CN114035870A (en) * | 2021-10-13 | 2022-02-11 | 青岛海信移动通信技术股份有限公司 | Terminal device, application resource control method and storage medium |
| CN116610374A (en) * | 2022-02-09 | 2023-08-18 | 广州视源电子科技股份有限公司 | Application program management and control method, device, equipment and storage medium |
| CN114629989A (en) * | 2022-03-23 | 2022-06-14 | 深圳麦风科技有限公司 | Android application control method and device, intelligent terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN118555331A (en) | 2024-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4030422B1 (en) | Voice interaction method and device | |
| CN110839096B (en) | A touch method for a device with a folding screen and a folding screen device | |
| US9286895B2 (en) | Method and apparatus for processing multiple inputs | |
| WO2021147785A1 (en) | Mind map display method and electronic device | |
| WO2024016564A1 (en) | Two-dimensional code recognition method, electronic device, and storage medium | |
| US12153792B2 (en) | Keyboard display method, foldable-screen device and computer-readable storage medium | |
| CN116048243B (en) | Display method and electronic device | |
| EP4170476B1 (en) | Translation method and electronic device | |
| WO2023071718A1 (en) | Floating window adjusting method and electronic device | |
| WO2021052035A1 (en) | Display method for side region of screen, and electronic apparatus | |
| CN115240636B (en) | A text reading method and device | |
| CN114997186A (en) | Control method and electronic device for translation control | |
| WO2024179391A1 (en) | Application management and control method and related apparatus | |
| CN117519864A (en) | Interface display method, electronic device and storage medium | |
| WO2023207682A1 (en) | Text editing method and electronic device | |
| US20250251891A1 (en) | Display method for foldable screen and electronic device | |
| US20250190085A1 (en) | Interface display method and electronic device | |
| CN114461312B (en) | Display method, electronic device and storage medium | |
| CN116027887B (en) | Display method and electronic device | |
| EP4610821A1 (en) | Window adjustment method and related apparatus | |
| US20240211280A1 (en) | Quick interface return method and electronic device | |
| WO2023131313A9 (en) | Window interaction method and electronic device | |
| US20240361897A1 (en) | Window interaction method and electronic device | |
| WO2025176053A1 (en) | Conversation interaction method and related apparatus | |
| CN114968001A (en) | Electronic device, information display method thereof, and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 24763073 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |