Auxiliary function control method and electronic equipment

By setting the maximum on-time duration of the auxiliary function in the electronic device and automatically turning it off, the security risks caused by the auxiliary function being turned on are solved, the security of the device is enhanced and the user experience is improved.

CN118626181APending Publication Date: 2024-09-10HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310244858.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-07
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Turning on auxiliary functions in existing electronic devices may lead to security risks, because applications that turn on auxiliary functions can monitor and control all operations of electronic devices, and failure by users to turn them off in time may lead to security risks.

Method used

Enhance the security of electronic devices by setting the maximum duration of auxiliary functions and automatically turning off auxiliary functions when the actual duration exceeds this duration. Users can set and display prompt information by setting the duration control to ensure that auxiliary functions are turned off at the appropriate time to prevent unauthorized operations.

Benefits of technology

It effectively prevents safety hazards caused by not turning off auxiliary functions in time, enhances the security of electronic devices, improves user experience, ensures that auxiliary functions are turned off at the appropriate time, and avoids unnecessary risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118626181A
    Figure CN118626181A
Patent Text Reader

Abstract

The embodiment of the invention provides an auxiliary function control method and electronic equipment. The method is applied to the electronic equipment and comprises the steps that in response to a first operation of a user, a first duration set by the user is determined, the first duration is the maximum starting duration of a first auxiliary function, and the first auxiliary function is used for monitoring behaviors of the electronic equipment by a first application program on the electronic equipment; and when the actual starting duration of the first auxiliary function is greater than or equal to the first duration, closing the first auxiliary function. According to the method, the maximum starting duration of the auxiliary function can be set, and when the actual starting duration of the auxiliary function is greater than the duration set by the user, the auxiliary function of the electronic equipment is closed, so that the safety of the electronic equipment is enhanced. According to the method, even if the user does not turn off the auxiliary function of the electronic equipment in time, the electronic equipment can turn off the auxiliary function automatically, so that potential safety hazards are avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of electronic devices, and more specifically, to a method for controlling auxiliary functions, an electronic device, a chip system, a computer-readable storage medium, and a computer program product. Background Art

[0002] At present, most electronic devices can provide auxiliary functions, or enable auxiliary functions or grant auxiliary function permissions for applications (application program, App) in electronic devices. Since the application program with auxiliary functions enabled can receive most of the events sent by the operating system of the electronic device, such as notification status, button clicks, data input, etc., the application program with auxiliary functions enabled can realize functions such as text-to-speech, tactile feedback, gesture operation, trackball, handle operation or remote control device. At the same time, the application program with auxiliary functions enabled can also monitor the behavior of electronic devices, and can even fully control the permissions of electronic devices, so it is easy to cause safety hazards. For example, after the user turns on the auxiliary function for the first application in the electronic device, the first application can almost know all the operations of the user in the electronic device, and the first application is any application in at least one application in the electronic device. If the user does not turn off the auxiliary function of the first application in time, or forgets to turn on the auxiliary function for the first application, it is easy to cause safety hazards in the subsequent use of the electronic device.

[0003] Therefore, how to control the auxiliary functions of electronic devices to enhance the safety of electronic devices has become an urgent problem to be solved. Summary of the invention

[0004] Embodiments of the present application provide a method for controlling an auxiliary function, an electronic device, a chip system, a computer-readable storage medium, and a computer program product, which can control the auxiliary function of the electronic device, thereby enhancing the security of the electronic device.

[0005] In a first aspect, a method for controlling an auxiliary function is provided. The method is applied to an electronic device, and the method includes: in response to a first operation of a user, determining a first duration set by the user, the first duration being the maximum activation duration of a first auxiliary function, the first auxiliary function being used by a first application on the electronic device to monitor the behavior of the electronic device; and when the actual activation duration of the first auxiliary function is greater than or equal to the first duration, turning off the first auxiliary function.

[0006] In the embodiment of the present application, the user can set the maximum activation time of the auxiliary function, and when the actual activation time of the auxiliary function is longer than the time set by the user, the auxiliary function of the electronic device is turned off, thereby enhancing the safety of the electronic device. In the embodiment of the present application, even if the user does not turn off the auxiliary function of the electronic device in time, the electronic device can turn off the auxiliary function automatically, thereby avoiding potential safety hazards.

[0007] In combination with the first aspect, in some implementations of the first aspect, in response to the first operation, a first auxiliary function control is displayed, and the first auxiliary function control is used to turn on or off the first auxiliary function.

[0008] In an embodiment of the present application, the electronic device can hide the first auxiliary function control before the user sets the first time period, so that the user cannot directly turn on the first auxiliary function through the first auxiliary function control before setting the time period, thereby enhancing the security of the electronic device.

[0009] In combination with the first aspect, in some implementations of the first aspect, when the actual display duration of the first auxiliary function control is greater than or equal to the first duration, the first auxiliary function control stops being displayed.

[0010] In an embodiment of the present application, after the actual display time of the first auxiliary function control reaches a first time length, the electronic device may hide the first auxiliary function control, so that the user cannot arbitrarily turn on the first auxiliary function before the set time length, thereby enhancing the security of the electronic device.

[0011] In combination with the first aspect, in some implementations of the first aspect, in response to a user operation on a first auxiliary function control, the first auxiliary function is enabled.

[0012] In the embodiment of the present application, after the electronic device displays the first auxiliary function control, the user can enable the first auxiliary function through the first auxiliary function control, thereby realizing the control of the auxiliary function of the electronic device.

[0013] In combination with the first aspect, in some implementations of the first aspect, in response to the first operation, a first auxiliary function is enabled.

[0014] In an embodiment of the present application, the electronic device can turn on the auxiliary function of the electronic device while determining the first duration, so that when the actual activation time of the auxiliary function is greater than or equal to the first duration, the auxiliary function is turned off, thereby achieving control of the auxiliary function.

[0015] In combination with the first aspect, in certain implementations of the first aspect, in response to a first operation of the user, before determining a first duration set by the user, a first prompt message is displayed, and the first prompt message is used to prompt the user to set an activation duration of the first auxiliary function.

[0016] In an embodiment of the present application, the electronic device may display a prompt message to prompt the user to set the maximum activation time of the auxiliary function, thereby achieving control over the auxiliary function.

[0017] In combination with the first aspect, in certain implementations of the first aspect, when the actual activation time of the first auxiliary function is greater than or equal to the second time, time prompt information is displayed. The time prompt information is used to prompt the actual activation time and / or the remaining activation time of the first auxiliary function, the second time is less than the first time, and the remaining activation time of the first auxiliary function is determined according to the first time and the actual activation time of the first auxiliary function.

[0018] In an embodiment of the present application, the electronic device can display time prompt information after the actual activation time of the auxiliary function reaches the time set by the user, so that the user can obtain the actual activation time information or the remaining activation time information of the auxiliary function, thereby improving the user's usage experience.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the time prompt information includes a duration setting control, which is used to set the activation duration of the first auxiliary function. In response to the user's operation of the duration setting control, the third duration set by the user is determined, and the first duration is updated to the sum of the first duration and the third duration, or the first duration is updated to the sum of the actual activation duration of the first auxiliary function and the third duration.

[0020] In an embodiment of the present application, the electronic device can provide the user with a control for extending the activation time of the auxiliary function while displaying time prompt information to the user, so that the user can promptly extend the maximum activation time of the auxiliary function, thereby avoiding turning off the auxiliary function without the user's knowledge and causing a decrease in user experience.

[0021] In combination with the first aspect, in certain implementations of the first aspect, when the first auxiliary function is turned on, a second prompt message is displayed and / or a first prompt sound is emitted, and the second prompt message and the first prompt sound are used to prompt the electronic device that the auxiliary function has been turned on.

[0022] In an embodiment of the present application, when the auxiliary function is turned on, the electronic device can warn the user by displaying a second prompt message and / or emitting a first prompt sound to prevent the user from continuing to operate without knowing it and causing safety hazards, thereby enhancing the safety of the electronic device.

[0023] In combination with the first aspect, in certain implementations of the first aspect, the second prompt information includes an alarm window, the alarm window includes a control for closing the auxiliary function, and in response to the user's operation of closing the auxiliary function control, the auxiliary function of the electronic device is turned off, and the auxiliary function of the electronic device includes the first auxiliary function.

[0024] In an embodiment of the present application, the electronic device can provide a control for turning off auxiliary functions while alerting the user, so that the user can directly turn off the auxiliary functions of the electronic device through the control, thereby enhancing the security of the electronic device.

[0025] In combination with the first aspect, in certain implementations of the first aspect, after the auxiliary function of the electronic device is turned off, the second prompt information is stopped from being displayed and / or the first prompt sound is stopped from being emitted.

[0026] In an embodiment of the present application, the electronic device can stop displaying the second prompt information and / or stop emitting the first prompt sound after turning off the auxiliary function, thereby avoiding misunderstanding of the user and enhancing the user experience.

[0027] In combination with the first aspect, in some implementations of the first aspect, the interface for displaying the second prompt information is a floating window.

[0028] In an embodiment of the present application, the electronic device can display the second prompt information in a floating window format so that the second prompt information will not be covered by any interface in the electronic device, thereby allowing the user to obtain information that the auxiliary function has been turned on in any interface of the electronic device.

[0029] In combination with the first aspect, in certain implementations of the first aspect, in response to a third operation of the user, first security verification information is determined; when the first security verification information is valid, the first time length is determined to be a valid value; when the first security verification information is invalid, third prompt information is displayed, and the third prompt information is used to prompt that the first security verification information is invalid.

[0030] In an embodiment of the present application, the electronic device may prompt the user to perform a security check after determining the first duration. The electronic device may also determine that the first duration is a valid value after the user passes the security check, thereby preventing any user from enabling the auxiliary function of the electronic device, thereby enhancing the security of the electronic device.

[0031] In a second aspect, a method for controlling an auxiliary function is provided. The method is applied to an electronic device, and the method includes: in response to a second operation of a user, turning on a first auxiliary function of the electronic device, the first auxiliary function being used by a first application on the electronic device to monitor the behavior of the electronic device; when the first auxiliary function is turned on, displaying a second prompt message and / or emitting a first prompt tone, the second prompt message and the first prompt tone being used to prompt the electronic device that the auxiliary function has been turned on.

[0032] In an embodiment of the present application, when the auxiliary function is turned on, the electronic device can warn the user by displaying a second prompt message and / or emitting a first prompt sound to prevent the user from continuing to operate without knowing it and causing safety hazards, thereby enhancing the safety of the electronic device.

[0033] In combination with the second aspect, in certain implementations of the second aspect, the second prompt information includes an alarm window, the alarm window includes a control for closing the auxiliary function, and in response to the user's operation of closing the auxiliary function control, the auxiliary function of the electronic device is turned off, and the auxiliary function of the electronic device includes the first auxiliary function.

[0034] In combination with the second aspect, in some implementations of the second aspect, after the auxiliary function of the electronic device is turned off, the second prompt information is stopped from being displayed and / or the first prompt sound is stopped from being emitted.

[0035] In combination with the second aspect, in some implementations of the second aspect, the interface for displaying the second prompt information is a floating window.

[0036] In combination with the second aspect, in certain implementations of the second aspect, in response to the second operation, second security verification information is determined; when the second security verification information is valid, the first auxiliary function is enabled; when the second security verification information is invalid, fourth prompt information is displayed, and the fourth prompt information is used to prompt that the second security verification information is invalid.

[0037] In an embodiment of the present application, the electronic device may prompt the user to perform a security check after determining the first duration. The electronic device may also enable the first auxiliary function after the user passes the security check, thereby preventing any user from enabling the auxiliary function of the electronic device, thereby enhancing the security of the electronic device.

[0038] In a third aspect, an embodiment of the present application provides an electronic device, which includes a module for implementing the first aspect or any possible implementation method of the first aspect.

[0039] In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a module for implementing the second aspect or any possible implementation method of the second aspect.

[0040] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a processor, which is used to couple with a memory, read and execute instructions and / or program codes in the memory to execute the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.

[0041] In a sixth aspect, an embodiment of the present application provides a chip system, which includes a logic circuit, which is used to couple with an input / output interface and transmit data through the input / output interface to execute the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.

[0042] In the seventh aspect, an embodiment of the present application provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.

[0043] In an eighth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when the computer program product runs on an electronic device, enables the electronic device to execute the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a schematic diagram of the structure of the electronic device 100 provided in an embodiment of the present application.

[0045] Figure 2 It is a schematic flow chart of the control method of the auxiliary function provided in the embodiment of the present application.

[0046] Figure 3 It is a schematic flow chart of the control method of the auxiliary function provided in the embodiment of the present application.

[0047] Figure 4 It is a set of graphical user interfaces (GUI) provided in the embodiments of the present application.

[0048] Figure 5 This is another set of GUIs provided by an embodiment of the present application.

[0049] Figure 6 This is another set of GUIs provided by an embodiment of the present application.

[0050] Figure 7 This is another set of GUIs provided by an embodiment of the present application.

[0051] Figure 8 This is another set of GUIs provided by an embodiment of the present application.

[0052] Fig. 9 This is another set of GUIs provided by an embodiment of the present application.

[0053] Fig.10 It is a schematic diagram of the structure of the electronic device 1000 provided in an embodiment of the present application.

[0054] Fig.11 It is a schematic diagram of the structure of an electronic device 1100 provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0056] The terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one, two or more. The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0057] References to "one embodiment" or "some embodiments" etc. described in this specification mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in one or more embodiments of the present application. Thus, the phrases "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear at different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0058] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or an audio and video player function, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to a device equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer, a smart screen, a large-screen device, etc., and the embodiments of the present application are not limited to this.

[0059] For example, Figure 11 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, a communication module 150, an audio module 160, a sensor module 170, a display screen 180, and the like.

[0060] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0061] The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and / or a neural-network processing unit (neural-network processing unit, NPU), etc. Among them, different processing units can be independent devices or integrated in one or more processors. Among them, the controller can be the nerve center and command center of the electronic device 100. The controller can generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions.

[0062] 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.

[0063] 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.

[0064] The external memory interface 120 can be used to connect an external memory card to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0065] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0066] The communication module 150 of the electronic device 100 may include an antenna, a mobile communication module, a wireless communication module, etc. Among them, the wireless communication function of the electronic device 100 can be implemented by an antenna, a mobile communication module, a wireless communication module, a modulation and demodulation processor, and a baseband processor. The antenna is used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. For example, the antenna can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0067] The mobile communication module can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module may receive electromagnetic waves through an antenna, and perform filtering, amplification, and other processing on the received electromagnetic waves, and transmit them to a modulation and demodulation processor for demodulation. The mobile communication module may also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module may be arranged in the same device as at least some of the modules of the processor 110.

[0068] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through the audio module 160, or displays an image or video through the display screen 180. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module or other functional modules.

[0069] The wireless communication module can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module can be one or more devices integrating at least one communication processing module. The wireless communication module receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module can also receive the signal to be sent from the processor 110, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0070] In some embodiments, the communication module 150 may include an antenna 1 and an antenna 2. The antenna 1 is coupled to the mobile communication module, and the antenna 2 is coupled to the wireless communication module, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a Beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS) and / or a satellite based augmentation system (SBAS).

[0071] The electronic device 100 can implement audio functions, such as music playing, recording, etc., through the audio module 160. The audio module 160 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 160 can also be used to encode and decode audio signals. In some embodiments, the audio module 160 can be arranged in the processor 110, or some functional modules of the audio module 160 can be arranged in the processor 110.

[0072] The audio module 160 may include a speaker, a receiver, a microphone, a headphone interface, and an application processor. The speaker is also called a "speaker" and is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker. The receiver is also called a "earpiece" and is used to convert an audio electrical signal into a sound signal. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing the receiver close to the human ear. The microphone is also called a "microphone" and a "microphone" and is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can make a sound by approaching the microphone with his mouth to input the sound signal into the microphone. The electronic device 100 may be provided with at least one microphone. In other embodiments, the electronic device 100 may be provided with two microphones, which can not only collect sound signals, but also realize a noise reduction function. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones to collect sound signals, reduce noise, identify the source of sound, realize a directional recording function, and the like.

[0073] The sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.

[0074] Among them, the pressure sensor is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor can be arranged on the display screen 180. There are many types of pressure sensors, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. A capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation acts on the display screen 180, the electronic device 100 detects the touch operation intensity according to the pressure sensor. The electronic device 100 can also calculate the position of the touch based on the detection signal of the pressure sensor. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the alarm application icon, an instruction to create a new alarm is executed.

[0075] The fingerprint sensor is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access application locks, fingerprint photography, fingerprint answering calls, etc. For example, when the mobile phone detects a user's touch operation on the lock screen interface, the mobile phone can collect the user's fingerprint information through the fingerprint sensor, and match the collected fingerprint information with the fingerprint information preset in the mobile phone. If the match is successful, the mobile phone can enter the non-lock screen interface from the lock screen interface.

[0076] The touch sensor is also called a "touch panel". The touch sensor can be arranged on the display screen 180, and the touch sensor and the display screen 180 form a touch screen, also called a "touch screen". The touch sensor 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 180. In other embodiments, the touch sensor can also be arranged on the surface of the electronic device 100, which is different from the position of the display screen 180.

[0077] The electronic device 100 implements the display function through the display screen 180, GPU and application processor. The GPU is a microprocessor for image processing, which connects the display screen 180 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, which execute program instructions to generate or change display information.

[0078] The display screen 180 is used to display images, videos, etc. The display screen 180 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 180, where N is a positive integer greater than 1.

[0079] Figure 2 is a schematic flow chart of an auxiliary function control method provided in an embodiment of the present application, Figure 2 The following steps are included.

[0080] S210: In response to a first operation of the user, determining a first duration set by the user.

[0081] The electronic device may determine a first duration set by the user in response to a first operation of the user. The first duration is the maximum activation duration of a first auxiliary function, and the first auxiliary function is used by a first application on the electronic device to monitor the behavior of the electronic device.

[0082] Optionally, at least one application may be installed on the electronic device, and the first application is any application in the at least one application. The user may enable auxiliary functions for one or more applications on the electronic device. After the user enables the first auxiliary function for the first application, the first application may monitor the behavior of the electronic device. Specifically, the first application may monitor and / or control the behavior of the electronic device.

[0083] Optionally, in response to the user's first operation, the electronic device may display a first auxiliary function control while determining the first duration. The first auxiliary function control is used to turn on or off the first auxiliary function, such as Figure 4 Alternatively, in response to the user's first operation, the electronic device may directly enable the first auxiliary function while determining the first duration, such as Figure 5 shown.

[0084] In some embodiments, a confirmation time control may be displayed in the electronic device, and the confirmation time control is used to confirm the time information input by the user. In response to the user's operation on the confirmation time control, the electronic device may determine the first time. The user's operation on the confirmation time control may be the first operation. The confirmation time control may be, for example, Figure 4 Control 412 or Figure 5 Control 522 in.

[0085] Among them, a control is a visual graphical interface element presented to the user. It is a software component included in an application that controls the data processed by the application and the interactive operations on the data. The user can interact with the control through operations such as touch and slide to read and edit the relevant information of the application. Generally speaking, a control can include visual interface elements such as icons, buttons, menus, tabs, text boxes, status bars, etc. In response to the user's operation on different controls (for example, touch operation or click operation), different interfaces can be displayed on the screen of the electronic device.

[0086] Optionally, the first duration can be the maximum activation duration of the first auxiliary function or the maximum display duration of the first auxiliary function control. That is, when the actual activation duration of the first auxiliary function is greater than or equal to the first duration, the electronic device can turn off the first auxiliary function. Alternatively, when the actual display duration of the first auxiliary function control is greater than or equal to the first duration, the electronic device can stop displaying the first auxiliary function control. In other words, when the actual display duration of the first auxiliary function control is greater than or equal to the first duration, the electronic device can hide the first auxiliary function control so that the user cannot turn on or off the first auxiliary function through the first auxiliary function control. The first auxiliary function control can be, for example, Figure 4 Control 421 or Figure 5 Control 511 in.

[0087] In some embodiments, in response to the user's operation on the first auxiliary function control, the electronic device can turn on the first auxiliary function. Alternatively, when the first auxiliary function is turned on, in response to the user's operation on the first auxiliary function, the electronic device can turn off the first auxiliary function.

[0088] Optionally, the electronic device may display first prompt information, wherein the first prompt information is used to prompt the user to set the activation time of the first auxiliary function, or the first prompt information is used to prompt the user to set the display time of the first auxiliary function control.

[0089] In some embodiments, the first prompt information may include any of the following: first text prompt information, first image prompt information, at least one first control, etc. The embodiment of the present application does not limit the specific content of the first text prompt information or the first image prompt information, for example, it may be "Please enter the duration information" or "Please enter the maximum activation duration of the first auxiliary function", etc. The at least one first control may include a confirmation duration control, and the embodiment of the present application does not limit the at least one first control. The first prompt information may include, for example, Figure 4 Controls 411 and 412 in the embodiment, or may include Figure 5 Control 521 and control 522, etc.

[0090] In some embodiments, the electronic device may provide a first interface or a second application program for the user. The first interface or the second application program may be used to display the first prompt information. The user may perform a first operation in the first interface or the second application program, so that the electronic device may determine the first duration set by the user in response to the user's first operation.

[0091] In some embodiments, the first interface may be an interface in a second application.

[0092] Optionally, after the electronic device turns on the auxiliary function, the electronic device may display a second prompt message and / or emit a first prompt sound. The second prompt message and the first prompt sound are used to prompt that the electronic device has turned on the auxiliary function. Figure 3 Description in .

[0093] Optionally, in response to the user's third operation, the electronic device may determine first security verification information. The first security verification information is used to verify whether the first duration is a valid value. That is, after the electronic device determines the first duration, the electronic device may further determine whether the first duration is valid.

[0094] In some embodiments, a confirmation security verification information control may be displayed in the electronic device, and the confirmation security verification information control is used to confirm the security verification information input by the user. In response to the user's operation on the confirmation security verification information control, the electronic device may determine the first security verification information. The user's operation on the confirmation security verification information control may be a third operation. The confirmation security verification information control may be, for example, Figure 8 Control 813 in .

[0095] In some embodiments, the first security verification information includes text information and / or image information, etc. For example, the first security verification information may be a user account name, a user password, text verification information, digital verification information, or image verification information, etc., which is not limited in the embodiments of the present application.

[0096] When the first security verification information is valid, the electronic device can determine that the first duration is a valid value, thereby enabling the first auxiliary function or displaying the first auxiliary function control. When the first security verification information is invalid, the electronic device can display a third prompt message. The third prompt message is used to prompt that the first security verification information is invalid.

[0097] In some embodiments, the electronic device may display a fifth prompt message, where the fifth prompt message is used to prompt a security check to be performed or to input security check information.

[0098] In some embodiments, the fifth prompt information may include any of the following: a third text prompt information, a third image prompt information, at least one third control, etc. The embodiment of the present application does not limit the specific content of the third text prompt information or the third image prompt information, for example, it may be "Please enter" or "Please enter security verification information". The at least one third control may include a control for confirming security verification information, and the embodiment of the present application does not limit the at least one third control. The fifth prompt information may include, for example, Figure 8 Control 811 in.

[0099] S220: When the actual activation time of the first auxiliary function is greater than or equal to the first time, turn off the first auxiliary function.

[0100] When the actual activation time of the first auxiliary function is greater than or equal to the first time period, the electronic device can turn off the first auxiliary function to avoid potential safety hazards.

[0101] Optionally, after determining the first duration, the electronic device may directly turn on the first auxiliary function and may also start timing. When the actual turn-on duration of the first auxiliary function is less than the first duration, the user may operate the first auxiliary function control. In response to the user's operation on the first auxiliary function control, the electronic device may turn off the first auxiliary function. Alternatively, when the actual start duration of the first auxiliary function is greater than or equal to the first duration, the electronic device may turn off the first auxiliary function by itself even if the user does not operate the first auxiliary function control.

[0102] Optionally, after determining the first duration, the electronic device may display the first auxiliary function control and may also start timing. When the actual display duration of the first auxiliary function control is less than the first duration, the electronic device may display the first auxiliary function control, and the user may operate the first auxiliary function control to turn off or turn on the first auxiliary function. Alternatively, when the actual display duration of the first auxiliary function control is greater than or equal to the first duration, the electronic device may stop displaying the first auxiliary function control, that is, the electronic device may hide the first auxiliary function control. After the electronic device hides the first auxiliary function control, the user cannot turn on or off the first auxiliary function through the first auxiliary function control.

[0103] Optionally, when the actual activation time of the first auxiliary function is greater than or equal to the second time, the electronic device may display time prompt information. The time prompt information is used to prompt the actual activation time and / or the remaining activation time of the first auxiliary function, and the second time is less than the first time. The remaining activation time of the first auxiliary function is determined according to the first time and the actual activation time of the first auxiliary function. For example, the remaining activation time of the first auxiliary function is the difference between the first time and the actual activation time of the first auxiliary function.

[0104] In some embodiments, the second duration may be a preset fixed value. Alternatively, the second duration may be determined based on the first duration. In some embodiments, the second duration may be the difference between the first duration and the preset duration, and the preset duration may be preset. For example, assuming that the first duration is 1 hour and the preset duration is 5 minutes, the second duration is 55 minutes.

[0105] In some embodiments, the time prompt information may include text information and / or image information, which is not limited in the embodiments of the present application. The time prompt information may include, for example, Fig. 9 Controls in 911.

[0106] In some embodiments, the interface displaying the time prompt information may be a pop-up window or a floating window, etc. When the interface displaying the time prompt information is a floating window, the time prompt information will not be covered by other interfaces in the electronic device. The other interface is an interface of the electronic device other than the interface displaying the time prompt information.

[0107] Optionally, the time prompt information may include a duration setting control, and the duration setting control is used to set the activation duration of the first auxiliary function. The user can operate the duration setting control. In response to the user's operation on the duration setting control, the electronic device can determine the third duration set by the user, and can also update the first duration to the sum of the first duration and the third duration. Alternatively, the electronic device can update the first duration to the sum of the actual activation duration of the first auxiliary function and the third duration. The duration setting control may, for example, include Fig. 9 Control 912 in.

[0108] For example, assuming that the first duration is 1 hour, the second duration is 55 minutes, the actual activation time of the first auxiliary function control is 55 minutes, and the third duration set by the user is 1 hour. The electronic device can update the first duration to the sum of the first duration and the third duration, that is, update the first duration to 2 hours. Alternatively, the electronic device can update the first duration to the sum of the actual activation time of the first auxiliary function and the third duration, that is, update the first duration to 1 hour and 55 minutes.

[0109] In some embodiments, the third duration can be set by the user. Alternatively, the third duration can be a preset fixed value.

[0110] In some embodiments, after the actual activation time of the first auxiliary function is greater than or equal to the updated first time, the electronic device can turn off the first auxiliary function. Alternatively, after the actual display time of the first auxiliary function control is greater than or equal to the updated first time, the electronic device can stop displaying the first auxiliary function control.

[0111] When the actual activation time of the first auxiliary function is less than the first time, the electronic device may display the second prompt information or emit the first prompt sound. When the actual activation time of the first auxiliary function is greater than or equal to the first time, the electronic device may stop displaying the second prompt information or emitting the first prompt sound.

[0112] Users can set the maximum activation time of the auxiliary function, and turn off the auxiliary function of the electronic device when the actual activation time of the auxiliary function exceeds the time set by the user, thereby enhancing the safety of the electronic device. Even if the user does not turn off the auxiliary function of the electronic device in time, the electronic device can turn off the auxiliary function by itself, thus avoiding safety hazards.

[0113] Figure 3is a schematic flow chart of an auxiliary function control method provided in an embodiment of the present application, Figure 3 The following steps are included.

[0114] S310, in response to a second operation of the user, enabling a first auxiliary function of the electronic device.

[0115] The electronic device may respond to the second operation of the user to enable the first auxiliary function. The first auxiliary function is used by a first application on the electronic device to monitor the behavior of the electronic device, and the first application is any application in the electronic device.

[0116] Optionally, the electronic device may respond to the user's operation on the first auxiliary function control to enable the first auxiliary function. Alternatively, the electronic device may respond to the user's operation on the confirmation time control to enable the first auxiliary function. In other words, the user's operation on the first auxiliary function control may be the second operation, or the user's operation on the confirmation time control may be the second operation. For a detailed description of the first auxiliary function control and the confirmation time control, please refer to the description in step S210.

[0117] S320: When the first auxiliary function is turned on, display a second prompt message and / or emit a first prompt sound.

[0118] The electronic device may display the second prompt information and / or emit the first prompt tone when the first auxiliary function is turned on. The second prompt information and the first prompt tone are used to prompt the electronic device that the auxiliary function has been turned on.

[0119] Optionally, in response to the user's operation on the first auxiliary function control, the electronic device can turn on the auxiliary function, and display the second prompt information and / or emit the first prompt sound. Alternatively, in response to the user's operation on the confirmation time control, the electronic device can turn on the auxiliary function, and display the second prompt information and / or emit the first prompt sound.

[0120] Optionally, the second prompt information may include at least one of the following: a second text prompt information, a second image prompt information, and at least one second control. The embodiment of the present application does not limit the content of the second text prompt information. For example, the second text prompt information or the second image prompt information may include "Accessibility is turned on" or "Accessibility is turned on, there is a security risk", etc. The at least one second control may include a control to turn off the accessibility function, and the embodiment of the present application does not limit the at least one second control. The second prompt information may include, for example, Figure 6 Controls in 611 or Figure 7 Controls 711, etc.

[0121] In some embodiments, the accessibility control is used to turn off the accessibility function of the electronic device. After the accessibility control is displayed in the electronic device, the user can operate the accessibility control. In response to the user's operation on the accessibility control, the electronic device can turn off the accessibility function of the electronic device. The accessibility function of the electronic device includes a first accessibility function. In other words, when the electronic device turns on the accessibility function for at least one application, in response to the user's operation on the accessibility control, the electronic device can turn off the accessibility function of each application in the at least one application.

[0122] In some embodiments, the second prompt information may include an alert window, and the alert window may include a control for closing the auxiliary function.

[0123] In some embodiments, the interface displaying the second prompt information may be a floating window. That is, the second prompt information may be displayed on the upper layer or top layer of any interface of the electronic device, so that the second prompt information will not be covered by other interfaces in the electronic device. The other interface is an interface other than the interface displaying the second prompt information.

[0124] Optionally, the electronic device sending out the first prompt tone may include the electronic device sending out sound and / or vibration, etc.

[0125] After turning off the auxiliary function of the electronic device, the electronic device may stop displaying the second prompt information and / or stop emitting the first prompt tone. Alternatively, in response to the user's operation of turning off the auxiliary function control, the electronic device may stop displaying the second prompt information and / or stop emitting the first prompt tone.

[0126] Optionally, in response to the user's second operation, the electronic device may determine second security verification information. The second security verification information is used to verify whether the first duration is a valid value. That is, after the electronic device determines the first duration, the electronic device may further determine whether the first duration is valid. The determination method of the first duration may refer to the description in step S210.

[0127] In some embodiments, the electronic device may display a confirmation security verification information control, which is used to confirm the security verification information input by the user. In response to the user's operation on the confirmation security verification information control, the electronic device may determine the second security verification information. The user's operation on the confirmation security verification information control may be the second operation. The confirmation security verification information control may be, for example, Figure 8 The second security verification information is similar to the first security verification information in step S210, and will not be described again here.

[0128] When the second security verification information is valid, the electronic device may determine that the first duration is a valid value, thereby turning on the first auxiliary function or displaying the first auxiliary function control. When the second security verification information is invalid, the electronic device may display a fourth prompt message. The fourth prompt message is used to prompt that the second security verification information is invalid. The fourth prompt message is similar to the third prompt message and will not be described in detail here.

[0129] In some embodiments, the electronic device may display fifth prompt information, which is used to prompt the user to perform a security check or input security check information. For details, please refer to the description in step S210.

[0130] After turning on the auxiliary function, the electronic device can display the second prompt information and / or emit the first prompt sound, thereby reminding the user that the electronic device has security risks, and then reminding the user to turn off the auxiliary function in time to enhance the security of the electronic device.

[0131] Figure 4 It is a set of GUIs of the embodiments of the present application. Figure 4 Included are interface 410 and interface 420 .

[0132] Figure 4 The interface 410 in the embodiment includes a control 411 and a control 412. The control 411 is used to input duration information. The control 412 is used to determine the first duration, that is, the control 412 can be a duration confirmation control.

[0133] In some embodiments, the information displayed in the interface 410 may be a first prompt message, that is, the first prompt message may include a control 411 and a control 412. The first prompt message is used to prompt the user to set the activation duration of the first auxiliary function or the display duration of the first auxiliary function control. Alternatively, the first text prompt message may also be displayed in the interface 410, such as "Please enter the duration information" or "Please enter the maximum activation duration of the first auxiliary function". In other words, the first prompt message may include a first text prompt message, a control 411 and a control 412. In some embodiments, the interface 410 may be a first interface of the electronic device or an interface in a second application.

[0134] In response to the user's operation on control 411, the electronic device may receive the duration information input by the user, such as 1 hour, 0 minutes, 0 seconds, i.e., 1 hour. In response to the user's operation on control 412, the electronic device may determine a first duration, which is the duration information input by the user. For example, the electronic device may determine that the first duration is 1 hour. The user's operation on control 412 may be a first operation.

[0135] In response to the user's operation on the control 412, the electronic device may display the interface 420. Alternatively, in response to the user's fourth operation, the electronic device may display the interface 420.

[0136] Figure 4 The interface 420 in the embodiment includes a control 421. The control 421 can be used to turn on or off the first auxiliary function of the electronic device, that is, the control 421 can be a first auxiliary function control. In response to the user's operation on the control 421, the electronic device can turn on the first auxiliary function. The user's operation on the control 421 can be a second operation.

[0137] When the first auxiliary function is turned on, the electronic device may turn off the first auxiliary function in response to the user's operation on the control 421. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first time, the user does not need to operate the control 421, and the electronic device may turn off the first auxiliary function automatically.

[0138] When the first auxiliary function is turned on, the electronic device can display Figure 6 Interface 610 or Figure 7 Middle interface 710.

[0139] When the actual display duration of the control 421 is greater than or equal to the first duration, the electronic device may stop displaying the control 421, that is, the electronic device may hide the control 421. After the electronic device stops displaying the control 421, the user cannot turn on or off the first auxiliary function through the control 421.

[0140] In some embodiments, in response to the user's operation on the control 421, the electronic device may further display a sixth prompt message when turning on the first auxiliary function. The sixth prompt message is used to prompt that the electronic device has turned on the first auxiliary function. In response to the user's operation on the control 421, the electronic device may further display a seventh prompt message when turning off the first auxiliary function. The seventh prompt message is used to prompt that the electronic device has turned off the first auxiliary function.

[0141] In some embodiments, the interface 410 or the interface 420 may further include Figure 4 At least one icon or control other than the icons or controls shown, the embodiment of the present application does not specifically limit the at least one icon or control.

[0142] Figure 5 is a set of GUIs in an embodiment of the present application, Figure 5 Included are interface 510 and interface 520 .

[0143] Figure 5The interface 510 in the embodiment includes a control 511. The control 511 is used to turn on or off the first auxiliary function, that is, the control 511 may be a first auxiliary function control. In response to the user's operation on the control 511, the electronic device may display an interface 520.

[0144] Figure 5 The interface 520 in includes a control 521 and a control 522. Control 521 is used to input duration information. Control 522 is used to determine a first duration, and control 522 may be a confirmation duration control. In response to the user's operation on control 521, the electronic device may receive the duration information input by the user, such as 1 hour, 0 minutes, 0 seconds, i.e., 1 hour. In response to the user's operation on control 522, the electronic device may determine the first duration, which is the duration information input by the user. For example, the electronic device may determine that the first duration is 1 hour. In response to the user's operation on control 522, the electronic device may also enable a first auxiliary function. The user's operation on control 522 may be a first operation or a second operation.

[0145] In some embodiments, in response to the user's operation on the control 522, the electronic device may further display sixth prompt information when the first auxiliary function is turned on. The sixth prompt information is used to prompt that the electronic device has turned on the first auxiliary function.

[0146] When the first auxiliary function is turned on, the electronic device can display Figure 6 Interface 610 or Figure 7 Middle interface 710.

[0147] In response to the user's operation on the control 522, the electronic device may display the interface 510. Alternatively, in response to the user's fifth operation, the electronic device may display the interface 510.

[0148] When the first auxiliary function is turned on, the electronic device may turn off the first auxiliary function in response to the user's operation on the control 511. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first time, the user does not need to operate the control 511, and the electronic device may turn off the first auxiliary function automatically.

[0149] In some embodiments, in response to the user's operation on the control 511, the electronic device may further display seventh prompt information when turning off the first auxiliary function. The seventh prompt information is used to prompt that the electronic device has turned off the first auxiliary function.

[0150] In some embodiments, the information displayed in the interface 520 may be a first prompt message, that is, the first prompt message may include a control 521 and a control 522. The first prompt message is used to prompt the user to set the activation duration of the first auxiliary function or the display duration of the first auxiliary function control. Alternatively, the interface 520 may also display a first text prompt message, such as "Please enter the duration information" or "Please enter the maximum activation duration of the first auxiliary function". That is, the first prompt message may include the first text prompt message, a control 521 and a control 522. In some embodiments, the interface 520 may be a first interface of the electronic device or an interface in a second application.

[0151] In some embodiments, the interface 510 or the interface 520 may further include Figure 5 At least one icon or control other than the icons or controls shown, the embodiment of the present application does not specifically limit the at least one icon or control.

[0152] When the auxiliary function of the electronic device is turned on, the electronic device may display the second prompt information and / or emit the first prompt sound, such as Figure 6 or Figure 7 The auxiliary functions of the electronic device include at least one auxiliary function, such as a first auxiliary function.

[0153] Figure 6 It is a set of GUIs of the embodiments of the present application. Figure 6 Included are interface 610 and interface 620 .

[0154] When the accessibility function of the electronic device is turned on, Figure 6 The interface 610 in the embodiment includes icons and controls 611 of multiple apps. The multiple applications include a clock, a calendar, a gallery, and a memo. Control 611 is used to prompt that the electronic device has turned on the auxiliary function, that is, control 611 can be the second prompt information. Control 611 includes a second text prompt information, and the embodiment of the present application does not limit the content of the second text prompt information. For example, the second text prompt information may include "Accessibility has been turned on" or "Accessibility has been turned on, there is a security risk", etc.

[0155] In interface 610, control 611 is an alarm window. Alternatively, the interface displaying control 611 is a floating window. That is, control 611 can be displayed on the upper layer or top layer of any interface of the electronic device, so that control 611 will not be covered by other interfaces in the electronic device. The other interface is an interface other than the interface displaying control 611.

[0156] The control 611 may also include a control 612. The control 612 is used to turn off the auxiliary function of the electronic device, that is, the control 612 may be a control for turning off the auxiliary function. In response to the user's operation on the control 612, the electronic device may turn off the auxiliary function. The auxiliary function of the electronic device includes a first auxiliary function. That is, in response to the user's operation on the control 612, the electronic device may turn off the first auxiliary function, or the electronic device may turn off all auxiliary functions that have been turned on.

[0157] In response to the user's operation on the control 612, the electronic device may stop displaying the control 611. In other words, in response to the user's operation on the control 612, the electronic device may display the interface 620.

[0158] When the auxiliary function of the electronic device is turned off, Figure 6 The interface 620 in FIG. 6 includes icons of multiple Apps, including a clock, a calendar, a gallery, and a memo, etc. In other words, except for the controls 611 and 612, the icons or controls included in the interface 620 are the same as those in the interface 610.

[0159] When the auxiliary function of the electronic device is turned on, the electronic device may also emit a first prompt tone. The first prompt tone is used to prompt the electronic device that the auxiliary function has been turned on. In some embodiments, the electronic device may emit a first prompt tone while displaying the control 611. The first prompt tone may include sound and / or vibration, etc., which is not limited in the embodiments of the present application.

[0160] In some embodiments, the interface 610 or the interface 620 may further include Figure 6 At least one icon or control other than the icons or controls shown, the embodiment of the present application does not specifically limit the at least one icon or control.

[0161] Figure 7 It is a set of GUIs of the embodiments of the present application. Figure 7 Included are interface 710 and interface 720 .

[0162] When the accessibility function of the electronic device is turned on, Figure 7 The interface 710 in the embodiment includes icons of multiple apps and controls 711. The multiple applications include a clock, a calendar, a gallery, and a memo. The control 711 is used to prompt that the electronic device has turned on the auxiliary function, that is, the control 711 can be the second prompt information. The control 711 includes a rectangular wireframe, which can be set to black, red, etc., and the embodiment of the present application is not limited to this.

[0163] In interface 710, control 711 is an alarm window. Alternatively, the interface displaying control 711 is a floating window. That is, control 711 can be displayed on the upper layer or top layer of any interface of the electronic device, so that control 711 will not be covered by other interfaces in the electronic device. The other interface is an interface other than the interface displaying control 711.

[0164] The control 711 may also include a control 712. The control 712 is used to turn off the auxiliary function of the electronic device, that is, the control 712 may be a control for turning off the auxiliary function. In response to the user's operation on the control 712, the electronic device may turn off the auxiliary function. The auxiliary function of the electronic device includes a first auxiliary function. That is, in response to the user's operation on the control 712, the electronic device may turn off the first auxiliary function, or the electronic device may turn off all auxiliary functions that have been turned on.

[0165] In some embodiments, the control 711 may also include a second text prompt information, and the second text prompt information can refer to the description in step S320, which will not be repeated here.

[0166] In response to the user's operation on the control 712, the electronic device may stop displaying the control 711. In other words, in response to the user's operation on the control 712, the electronic device may display the interface 720.

[0167] When the auxiliary function of the electronic device is turned off, Figure 7 The interface 720 in FIG. 7 includes icons of multiple Apps, including a clock, a calendar, a gallery, and a memo, etc. In other words, except for controls 711 and 712, the icons or controls included in the interface 720 are the same as those in the interface 710.

[0168] When the auxiliary function of the electronic device is turned on, the electronic device may also emit a first prompt tone. The first prompt tone is used to prompt the electronic device that the auxiliary function has been turned on. In some embodiments, the electronic device may emit a first prompt tone while displaying the control 711. The first prompt tone may include sound and / or vibration, etc., which is not limited in the embodiments of the present application.

[0169] In some embodiments, the interface 710 or the interface 720 may further include Figure 7 At least one icon or control other than the icons or controls shown, the embodiment of the present application does not specifically limit the at least one icon or control.

[0170] Figure 8 It is a set of GUIs of the embodiments of the present application. Figure 8 Included is interface 810.

[0171] Figure 8The interface 810 in includes a control 811. Control 811 is used to prompt for a security check, that is, control 811 can be the fifth prompt information. Control 811 includes control 812 and control 813. Control 812 is used to input security check information, and control 813 is used to determine the first security check information or the second security check information. Control 813 can be a control for confirming security check information. Control 811 can also include a third text prompt information, and the third text prompt information can include "Please enter" or "Please enter security check information", etc. The embodiment of the present application does not limit the content of the third text prompt information.

[0172] In response to the user's operation on the control 812, the electronic device may receive security verification information input by the user, such as a user password, a verification code, etc. In response to the user's operation on the control 813, the electronic device may determine the first security verification information or the second security verification information, where the first security verification information or the second security verification information is the security verification information input by the user. The user's operation on the control 813 may be the second operation or the third operation.

[0173] Optionally, in response to a user Figure 4 In response to the operation of the control 412 in , the electronic device can determine the first duration and display the interface 810. In response to the user's operation on the control 813, the electronic device can determine the first security verification information, and can also verify whether the first security verification information is valid. When the first security verification information is valid, the electronic device can determine that the first duration is a valid value and display the interface 420. Alternatively, when the first security verification information is valid, in response to the user's fourth operation, the electronic device can display the interface 420. In response to the user's operation on the control 421, the electronic device can turn on the first auxiliary function. Alternatively, in response to the user's operation on the control 421, the electronic device can turn off the first auxiliary function. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first duration, the electronic device can turn off the first auxiliary function. When the first security verification information is invalid, the electronic device can display a third prompt message, which is used to prompt that the first security verification information is invalid.

[0174] Optionally, in response to a user Figure 4In response to the operation of control 412 in , the electronic device can determine the first duration and display interface 420. In response to the user's operation on control 421, the electronic device can display interface 810. In response to the user's operation on control 813, the electronic device can determine the first security verification information, and can also verify whether the first security verification information is valid. When the first security verification information is valid, the electronic device can determine that the first duration is a valid value and turn on the first auxiliary function. When the first security verification information is valid, in response to the user's operation on control 421, the electronic device can turn off the first auxiliary function. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first duration, the electronic device can turn off the first auxiliary function. When the first security verification information is invalid, the electronic device can display a third prompt message, and the third prompt message is used to prompt that the first security verification information is invalid.

[0175] Optionally, in response to a user Figure 5 In response to the operation of control 511 in , the electronic device can display interface 810. In response to the user's operation on control 813, the electronic device can determine the first security verification information, and can also verify whether the first security verification information is valid. When the first security verification information is valid, the electronic device can display interface 520. In response to the user's operation on control 522, the electronic device can determine the first duration and turn on the first auxiliary function. Alternatively, when the first security verification information is valid, in response to the user's operation on control 511, the electronic device can turn off the first auxiliary function. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first duration, the electronic device can turn off the first auxiliary function. When the first security verification information is invalid, the electronic device can display a third prompt message, and the third prompt message is used to prompt that the first security verification information is invalid.

[0176] Optionally, in response to a user Figure 5 In response to the operation of control 511 in , the electronic device can display interface 520. In response to the user's operation on control 522, the electronic device can determine the first duration and display interface 810. In response to the user's operation on control 813, the electronic device can determine the first security verification information and can also verify whether the first security verification information is valid. When the first security verification information is valid, the electronic device can determine that the first duration is a valid value and turn on the first auxiliary function. Alternatively, when the first security verification information is valid, in response to the user's operation on control 511, the electronic device can turn off the first auxiliary function. Alternatively, when the actual activation time of the first auxiliary function is greater than or equal to the first duration, the electronic device can turn off the first auxiliary function. When the first security verification information is invalid, the electronic device can display a third prompt message, and the third prompt message is used to prompt that the first security verification information is invalid.

[0177] In some embodiments, the user's operation on the control 813 may be the second operation or the third operation. When the user's operation on the control 813 is the second operation, the second security verification information is similar to the first security verification information, and will not be described in detail here.

[0178] Fig. 9 It is a set of GUIs of the embodiments of the present application. Fig. 9 An interface 910 is included.

[0179] When the actual activation time of the first auxiliary function is greater than or equal to the second time, the electronic device may display Fig. 9 Interface 910 in FIG. 910 includes a control 911, which is used to remind the user of the actual activation time and / or the remaining activation time of the first auxiliary function, that is, the control 911 may be time prompt information. The control 911 includes text information, such as "the first auxiliary function has been activated for 55 minutes" or "the remaining activation time of the first auxiliary function is 5 minutes", etc. The specific content of the text information is not limited in the embodiment of the present application.

[0180] In some embodiments, the interface of the display control 911 may be a pop-up window or a floating window, that is, the control 911 may also be displayed as Figure 6 In the form of control 611.

[0181] The control 911 may also include a control 912. The control 912 is used to set the activation duration of the first auxiliary function, that is, the control 912 may be a duration setting control. In response to the user's operation on the control 912, the electronic device may determine a third duration and update the first duration to the sum of the first duration and the third duration. Alternatively, the first duration is updated to the sum of the actual activation duration of the first auxiliary function and the third duration.

[0182] In some embodiments, when the third duration is a preset fixed value, in response to a user operation on the control 912, the electronic device may directly update the first duration according to the preset fixed value.

[0183] In some embodiments, when the third duration is set by the user, in response to the user's operation on the control 912, the electronic device may display Figure 4 Interface 410 or Figure 5 The electronic device may also determine the third duration and update the first duration in response to the user's operation on the interface 410 or the interface 520.

[0184] In some embodiments, after the actual activation time of the first auxiliary function is greater than or equal to the updated first time, the electronic device can turn off the first auxiliary function. Alternatively, after the actual display time of the first auxiliary function control is greater than or equal to the updated first time, the electronic device can stop displaying the first auxiliary function control.

[0185] Fig.10 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.10 The electronic device 1000 includes a duration setting module 1010, a desktop control module 1020 and a processing module 1030.

[0186] The setting duration module 1010 may be used to determine a first duration set by the user in response to a first operation of the user, wherein the first duration is the maximum activation duration of the first auxiliary function.

[0187] In some embodiments, the setting duration module 1010 may be a second application in the electronic device, or the setting duration module 1010 may provide an interface for setting duration, so that the first duration set by the user may be determined in response to the user's operation.

[0188] When the duration setting module 1010 is a second application, the signature of the duration setting module 1010 can be set as a system signature, or the signature of the duration setting module 1010 can be consistent with the signature of the desktop control module 1020. The signature of the duration setting module 1010 is used by the electronic device 1000 to identify whether the duration setting module 1010 is a legitimate module or a legitimate application.

[0189] In some embodiments, the interface provided by the setting duration module 1010 can be processed to prevent screenshots, so that the device that remotely monitors the electronic device 1000 cannot observe or obtain relevant images or information of the interface provided by the setting duration module 1010, and can also prevent applications with auxiliary functions enabled from controlling the setting duration module 1010.

[0190] In some embodiments, after determining the first duration, the setting duration module 1010 may send first duration indication information to the desktop control module 1020. Alternatively, the setting duration module 1010 may send the first duration indication information to each module in the electronic device 1000. The first duration indication information is used to indicate the first duration. Alternatively, the first duration indication information is used to indicate a first parameter and a first duration, and the first parameter is used to indicate whether to display the first auxiliary function control.

[0191] In some embodiments, when the first parameter is the first data, it indicates to display the first auxiliary function control. When the first parameter is the second data, it indicates to hide the first auxiliary function control. The first data and the second data can be predefined, and the embodiment of the present application does not limit the specific form of the first data and the second data, for example, they can be in the form of numbers, characters, etc.

[0192] In some embodiments, the first duration indication information may include a duration field (e.g., duration), and the field value in the duration field is used to indicate the first duration. For example, if the field value in the duration field in the first duration indication information is 1, the first duration indication information is used to indicate that the first auxiliary function is turned on for 1 hour. Alternatively, the first duration indication information is used to indicate that the first auxiliary function control is displayed for 1 hour, and the maximum turn-on duration of the first auxiliary function is 1 hour.

[0193] In some embodiments, the first duration indication information may further include a parameter field (e.g., status), and the field value in the parameter field is used to indicate the first parameter. For example, if the field value of the parameter field in the first duration indication information is 1, and the field value in the duration field is 2, the first duration indication information is used to indicate that the first auxiliary function control is displayed for 2 hours, and the maximum activation time of the first auxiliary function is 2 hours. Alternatively, the first indication information is used to indicate that the first auxiliary function is activated for 2 hours.

[0194] In some embodiments, the first duration indication information may further include module identification information, where the module identification information is used to identify the module that sends the first duration indication information. The module identification information may be, for example, a package name.

[0195] After the electronic device turns on the first auxiliary function, the setting duration module 1010 can receive a first response message from the desktop control module 1020. The first response message is used to indicate that the electronic device has turned on the first auxiliary function. The setting duration module 1010 can also display a second prompt message and / or emit a first prompt tone, and the second prompt message and the first prompt tone are used to prompt that the electronic device has turned on the auxiliary function.

[0196] The desktop control module 1020 is used to control the display of at least one interface in the electronic device and / or emit at least one sound and / or vibration. The desktop control module 1020 may be a desktop launcher.

[0197] In some embodiments, the desktop control module 1020 can hide the first auxiliary function control.

[0198] In some embodiments, the desktop control module 1020 may receive the first duration indication information, and may display the first auxiliary function control or send an opening indication information to the processing module 1030 according to the first duration indication information. The opening indication information is used to indicate the opening of the first auxiliary function. The desktop control module 1020 may also start timing after sending the opening indication information, so as to send a closing indication information to the processing module 1030 after the actual opening duration of the first auxiliary function is greater than or equal to the first duration. The closing indication information is used to indicate the closing of the first auxiliary function. The desktop control module 1020 may also start timing after displaying the first auxiliary function control, so as to stop displaying (i.e., hiding) the first auxiliary function control after the actual display duration of the first auxiliary function control is greater than or equal to the first duration.

[0199] In some embodiments, after receiving the first duration indication information, the desktop control module 1020 can perform a validity check on the first duration indication information. For example, the desktop control module 1020 can determine that the module sending the first duration indication information is the setting duration module 1010 based on the module identification information in the first duration indication information. The desktop control module 1020 can also verify the signature of the setting duration module 1010, and when the signature of the setting duration module 1010 is consistent with the signature of the desktop control module 1020, it is determined that the setting duration module 1010 is a legal module. After the desktop control module 1020 determines that the module sending the first indication information is a legal module, the desktop control module 1020 can display the first auxiliary function control or send an opening indication information to the processing module 1030 based on the first duration indication information.

[0200] In some embodiments, after the actual activation time of the first auxiliary function is greater than or equal to the second time, the desktop control module 1020 or the setting time module 1010 may display time prompt information. The time prompt information is used to prompt the actual activation time and / or the remaining activation time of the first auxiliary function. The second time is less than the first time.

[0201] When the duration setting module 1010 displays the time prompt information, the time prompt information may also include a duration setting control. In response to the user's operation on the duration setting control, the duration setting module 1010 may determine a third duration. The desktop control module 1020 may also receive a third duration indication information from the duration setting module 1010, and the third duration indication information is used to indicate a third duration. The third duration indication information is similar to the first duration indication information and will not be described here. The desktop control module 1020 may also update the first duration to the sum of the first duration and the third duration, or update the first duration to the sum of the actual activation duration of the first auxiliary function and the third duration. Similarly, the desktop control module 1020 may perform a legitimacy check on the third duration indication information.

[0202] When the desktop control module 1020 displays the time prompt information, the time prompt information may also include a duration setting control. In response to the user's operation on the duration setting control, the desktop control module 1020 may determine a third duration, and update the first duration to the sum of the first duration and the third duration, or update the first duration to the sum of the actual activation duration of the first auxiliary function and the third duration.

[0203] In some embodiments, the desktop control module 1020 may further send a closing instruction message to the processing module 1030 after the actual activation time of the first auxiliary function is greater than or equal to the updated first time. Alternatively, the desktop control module 1020 may further stop displaying the first auxiliary function control after the actual display time of the first auxiliary function control is greater than or equal to the updated first time.

[0204] In some embodiments, the desktop control module 1020 may send a first response message to the setting duration module 1010. The first response message is used to indicate that the electronic device has turned on the first auxiliary function, so that the setting duration module can display a second prompt message and / or emit a first prompt tone. The second prompt message and the first prompt tone are used to prompt that the electronic device has turned on the auxiliary function.

[0205] In some embodiments, the desktop control module 1020 may directly display the second prompt information and / or emit the first prompt sound.

[0206] In some embodiments, the second prompt information includes closing the auxiliary function control. In response to the user's operation of closing the auxiliary function control, the desktop control module 1020 can send a closing instruction information to the processing module 1030.

[0207] In some embodiments, the desktop control module 1020 can determine the first security verification information or the second security verification information, and can also determine whether the first security verification information or the second security verification information is valid. The desktop control module 1020 can determine that the first duration is a valid value when the first security verification information is valid. When the first security verification information is invalid, a third prompt message is displayed, and the third prompt message is used to prompt that the first security verification information is invalid. Alternatively, the desktop control module 1020 can also send an opening indication message to the processing module 1030 when the second security verification information is valid. When the second security verification information is invalid, a fourth prompt message is displayed, and the fourth prompt message is used to prompt that the second security verification information is invalid.

[0208] After the desktop control module 1020 sends the activation instruction information to the processing module 1030, the desktop control module 1020 may also receive second response information from the processing module 1030. The second response information is used to indicate that the first auxiliary function has been activated.

[0209] The processing module 1030 is used to turn on or off the auxiliary function of the electronic device. The processing module 1030 may be an operating system of the electronic device. The processing module 1030 may receive an opening instruction message from the desktop control module 1020, and according to the opening instruction message, turn on the first auxiliary function of the electronic device. The processing module 1030 may also receive a closing instruction message from the desktop control module 1020, and according to the closing instruction message, turn off the first auxiliary function of the electronic device.

[0210] Fig.11 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Fig.11 The electronic device 1100 includes a determination module 1110 and a processing module 1120.

[0211] Optionally, when executing Figure 2 When performing the method in the electronic device 1100, the electronic device 1100 may include a determination module 1110 and a processing module 1120. Figure 2 When executing the method in the electronic device 1100, the electronic device 1100 may include a determination module 1110, a processing module 1120 and an output module 1130. Figure 3 When the method is performed, the electronic device 1100 may include a processing module 1120 and an output module 1130.

[0212] The determination module 1110 may determine the first duration set by the user in response to the user's first operation. The determination module 1110 may be used to perform Figure 2 The processing module 1120 may be configured to disable the first auxiliary function when the actual activation time of the first auxiliary function is greater than or equal to the first time. The processing module 1120 may be configured to execute Figure 2 Step S220 in .

[0213] In some embodiments, the processing module 1120 is further configured to enable the first auxiliary function in response to a user operation on the first auxiliary function control. Alternatively, the processing module 1120 is further configured to enable the first auxiliary function in response to the first operation.

[0214] In some embodiments, the processing module 1120 is also used to determine a third duration set by the user in response to the user's operation of the duration setting control, update the first duration to the sum of the first duration and the third duration, or update the first duration to the sum of the actual activation duration of the first auxiliary function and the third duration.

[0215] In some embodiments, the processing module 1120 is further configured to enable the first auxiliary function of the electronic device in response to the second operation of the user. Figure 3 Step S310 in .

[0216] In some embodiments, the processing module 1120 is further configured to turn off the auxiliary function of the electronic device in response to a user operation to turn off the auxiliary function control.

[0217] In some embodiments, the processing module 1120 is further configured to determine the first security verification information in response to a third operation of the user. When the first security verification information is valid, the processing module 1120 may determine that the first duration is a valid value. When the first security verification information is invalid, the processing module 1120 may display a third prompt information.

[0218] In some embodiments, the processing module 1120 is further configured to determine second security verification information in response to the second operation. When the second security verification information is valid, the processing module 1120 may enable the first auxiliary function. When the second security verification information is invalid, the processing module 1120 may display a fourth prompt message.

[0219] In some embodiments, the output module 1130 may be configured to display the first auxiliary function control in response to the first operation. The output module 1130 is also configured to stop displaying the first auxiliary function control when the actual display duration of the first auxiliary function control is greater than or equal to the first duration.

[0220] In some embodiments, the output module 1130 can also be used to display a first prompt message, where the first prompt message is used to prompt the user to set the activation time of the first auxiliary function.

[0221] In some embodiments, the output module 1130 is further used to display time prompt information when the actual activation time of the first auxiliary function is greater than or equal to the second time.

[0222] In some embodiments, the output module 1130 is further configured to display the second prompt information and / or emit the first prompt sound when the first auxiliary function is turned on. Figure 3 Step S320 in .

[0223] In some embodiments, the output module 1130 is further used to stop displaying the second prompt information and / or stop emitting the first prompt sound after turning off the auxiliary function of the electronic device.

[0224] For more detailed description of the determination module 1110, the processing module 1120 and the output module 1130, please refer to Figure 2 or Figure 3 The method embodiment shown is described in detail.

[0225] The present application also provides an electronic device. The electronic device includes a processor, which is coupled to a memory, reads and executes instructions and / or program codes in the memory, and executes Figure 2 or Figure 3 The method in .

[0226] The embodiment of the present application also provides a chip system, which includes a logic circuit, which is used to couple with an input / output interface and transmit data through the input / output interface to execute the above Figure 2 or Figure 3 The various steps in .

[0227] According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above Figure 2 or Figure 3 The various steps in .

[0228] According to the method provided in the embodiment of the present application, the present application also provides a computer program product containing instructions, when the computer program product is run on an electronic device, the electronic device executes the above Figure 2 or Figure 3 The various steps in .

[0229] Those of ordinary skill in the art will appreciate that the units (or modules) and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0230] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0231] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0232] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0233] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0234] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.

[0235] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling an auxiliary function, characterized in that: The method is applied to an electronic device, comprising: In response to a first operation of the user, determining a first duration set by the user, the first duration being a maximum activation duration of a first auxiliary function, the first auxiliary function being used by a first application on the electronic device to monitor the behavior of the electronic device; When the actual activation time of the first auxiliary function is greater than or equal to the first time, the first auxiliary function is turned off.

2. The method according to claim 1, characterized in that The method further comprises: In response to the first operation, a first auxiliary function control is displayed, where the first auxiliary function control is used to turn on or off the first auxiliary function.

3. The method according to claim 2, characterized in that The method further comprises: When the actual display duration of the first auxiliary function control is greater than or equal to the first duration, stop displaying the first auxiliary function control.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: In response to a user operation on the first auxiliary function control, the first auxiliary function is enabled.

5. The method according to claim 1, characterized in that The method further comprises: In response to the first operation, the first auxiliary function is enabled.

6. The method according to any one of claims 1 to 5, characterized in that Before determining the first duration set by the user in response to the first operation of the user, the method further includes: A first prompt message is displayed, where the first prompt message is used to prompt the user to set an activation time of the first auxiliary function.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: When the actual activation time of the first auxiliary function is greater than or equal to the second time, time prompt information is displayed, and the time prompt information is used to prompt the actual activation time and / or the remaining activation time of the first auxiliary function. The second time is less than the first time, and the remaining activation time of the first auxiliary function is determined based on the first time and the actual activation time of the first auxiliary function.

8. The method according to claim 7, characterized in that The time prompt information includes a duration setting control, and the duration setting control is used to set the activation duration of the first auxiliary function. The method further includes: In response to the user's operation of the duration setting control, the third duration set by the user is determined, and the first duration is updated to the sum of the first duration and the third duration, or the first duration is updated to the sum of the actual activation duration of the first auxiliary function and the third duration.

9. The method according to any one of claims 1 to 8, characterized in that When the first auxiliary function is turned on, the method further includes: A second prompt message is displayed and / or a first prompt sound is emitted, wherein the second prompt message and the first prompt sound are used to prompt that the auxiliary function of the electronic device has been turned on.

10. A method for controlling an auxiliary function, characterized in that: The method is applied to an electronic device, comprising: In response to a second operation of the user, enabling a first auxiliary function of the electronic device, where the first auxiliary function is used by a first application on the electronic device to monitor the behavior of the electronic device; When the first auxiliary function is turned on, a second prompt message is displayed and / or a first prompt sound is emitted, and the second prompt message and the first prompt sound are used to prompt that the electronic device has turned on the auxiliary function.

11. The method according to claim 9 or 10, characterized in that: The second prompt information includes a warning window, the warning window includes a close auxiliary function control, and the method further includes: In response to the user's operation on the accessibility function closing control, the accessibility function of the electronic device is closed, and the accessibility function of the electronic device includes the first accessibility function.

12. The method according to any one of claims 9 to 11, characterized in that The method further comprises: After the auxiliary function of the electronic device is turned off, the second prompt information is stopped from being displayed and / or the first prompt tone is stopped from being emitted.

13. The method according to any one of claims 9 to 12, characterized in that The interface for displaying the second prompt information is a floating window.

14. The method according to any one of claims 1 to 9, characterized in that The method further comprises: In response to a third operation of the user, determining first security verification information; When the first security verification information is valid, determining that the first duration is a valid value; When the first security verification information is invalid, third prompt information is displayed, and the third prompt information is used to prompt that the first security verification information is invalid.

15. The method according to claim 10, characterized in that The step of enabling the first auxiliary function of the electronic device in response to the second operation of the user includes: In response to the second operation, determining second security verification information; When the second security verification information is valid, enabling the first auxiliary function; When the second security verification information is invalid, fourth prompt information is displayed, and the fourth prompt information is used to prompt that the second security verification information is invalid.

16. An electronic device, characterized in that: include: a determination module, configured to determine, in response to a first operation of the user, a first duration set by the user, the first duration being a maximum activation duration of a first auxiliary function, the first auxiliary function being used by a first application on the electronic device to monitor the behavior of the electronic device; A processing module is used to turn off the first auxiliary function when the actual activation time of the first auxiliary function is greater than or equal to the first time.

17. The electronic device according to claim 16, characterized in that: The electronic device further comprises: The output module is used to display a first auxiliary function control in response to the first operation, where the first auxiliary function control is used to turn on or off the first auxiliary function.

18. The electronic device according to claim 17, characterized in that: The output module is further configured to stop displaying the first auxiliary function control when the actual display duration of the first auxiliary function control is greater than or equal to the first duration.

19. The electronic device according to claim 17 or 18, characterized in that: The processing module is further configured to enable the first auxiliary function in response to a user operation on the first auxiliary function control.

20. The electronic device according to claim 16, characterized in that: The processing module is further configured to enable the first auxiliary function in response to the first operation.

21. The electronic device according to any one of claims 16 to 20, characterized in that: The electronic device further comprises: The output module is used to display a first prompt message, where the first prompt message is used to prompt the user to set the activation time of the first auxiliary function.

22. The electronic device according to any one of claims 16 to 21, characterized in that: The electronic device further comprises: An output module is used to display time prompt information when the actual activation time of the first auxiliary function is greater than or equal to a second time, and the time prompt information is used to prompt the actual activation time and / or the remaining activation time of the first auxiliary function, the second time is less than the first time, and the remaining activation time of the first auxiliary function is determined based on the first time and the actual activation time of the first auxiliary function.

23. The electronic device according to claim 22, characterized in that: The time prompt information includes a duration setting control, and the duration setting control is used to set the activation duration of the first auxiliary function. The processing module is further used to: In response to the user's operation of the duration setting control, the third duration set by the user is determined, and the first duration is updated to the sum of the first duration and the third duration, or the first duration is updated to the sum of the actual activation duration of the first auxiliary function and the third duration.

24. The electronic device according to any one of claims 16 to 23, characterized in that: The electronic device further comprises: The output module is used to display a second prompt message and / or emit a first prompt sound when the first auxiliary function is turned on, and the second prompt message and the first prompt sound are used to prompt that the electronic device has turned on the auxiliary function.

25. An electronic device, characterized in that: include: a processing module, configured to enable a first auxiliary function of the electronic device in response to a second operation of the user, wherein the first auxiliary function is used by a first application on the electronic device to monitor the behavior of the electronic device; The output module is used to display a second prompt message and / or emit a first prompt sound when the first auxiliary function is turned on, and the second prompt message and the first prompt sound are used to prompt that the electronic device has turned on the auxiliary function.

26. The electronic device according to claim 24 or 25, characterized in that: The second prompt information includes a warning window, and the warning window includes a control for closing an auxiliary function. The processing module is further used to: In response to the user's operation on the accessibility function closing control, the accessibility function of the electronic device is closed, and the accessibility function of the electronic device includes the first accessibility function.

27. The electronic device according to any one of claims 24 to 26, characterized in that: The output module is also used to stop displaying the second prompt information and / or stop emitting the first prompt sound after turning off the auxiliary function of the electronic device.

28. The electronic device according to any one of claims 24 to 27, characterized in that: The interface for displaying the second prompt information is a floating window.

29. The electronic device according to any one of claims 16 to 24, characterized in that: The processing module is further used for: In response to a third operation of the user, determining first security verification information; When the first security verification information is valid, determining that the first duration is a valid value; When the first security verification information is invalid, third prompt information is displayed, and the third prompt information is used to prompt that the first security verification information is invalid.

30. The electronic device according to claim 25, characterized in that The processing module is specifically used for: In response to the second operation, determining second security verification information; When the second security verification information is valid, enabling the first auxiliary function; When the second security verification information is invalid, fourth prompt information is displayed, and the fourth prompt information is used to prompt that the second security verification information is invalid.

31. An electronic device, characterized in that: include: A processor, wherein the processor is configured to be coupled to a memory, read and execute instructions and / or program codes in the memory, so as to execute the method according to any one of claims 1 to 15.

32. A chip system, characterized in that: include: A logic circuit, wherein the logic circuit is used to be coupled to an input / output interface and transmit data through the input / output interface to execute the method according to any one of claims 1 to 15.

33. A computer-readable storage medium, characterized in that: The method comprises computer instructions, which, when executed on an electronic device, cause the electronic device to execute the method as claimed in any one of claims 1 to 15.

34. A computer program product comprising instructions, characterized in that When the computer program product is executed on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 15.