Function control method of application program, electronic equipment and readable storage medium

By detecting touch or pressing operations in the application to turn on or off the microphone or camera, the privacy leakage caused by the user forgetting to turn it off is solved, and the simplicity of user experience and function control is improved.

CN119271105APending Publication Date: 2025-01-07ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310786001.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-29
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The functional control methods of existing applications are prone to causing user privacy leakage, and users forget to turn off the microphone or camera during online meetings, resulting in privacy leakage and interfering with the conference process.

Method used

By detecting touch or pressing the target key operation, the target function of the target application is turned on or off, and the control function remains on or off while the touch or pressing state is continuously maintained, preventing the user from forgetting to turn off the microphone or camera.

Benefits of technology

Effectively prevent user privacy leakage, improve user experience, simplify functional control operations, and avoid privacy leakage problems caused by misoperation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119271105A_ABST
    Figure CN119271105A_ABST
Patent Text Reader

Abstract

The invention provides a function control method for an application program, electronic equipment and a storage medium, and the method comprises the steps: starting or closing a target function of a target application program under the condition of detecting a target key touching or pressing operation, and starting or closing the target function of the target application program under the condition of continuously keeping the target key touching or pressing operation. And controlling the target function to keep an on state or an off state. According to the method, the switching process of the target function state of the target application program is triggered based on the touch or pressing operation of the target key, then the target function is turned on or off based on the touch state of the target key, and state control over the target function is kept by continuously keeping the touch state, so that the user experience is improved. Therefore, user privacy leakage caused by the fact that the user forgets to close the target function is prevented, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network technology, and in particular to a function control method of an application program, an electronic device and a computer-readable storage medium. Background Art

[0002] With the development of mobile Internet, remote office and online conferences through smart terminals are becoming increasingly popular. At present, people participate in online conferences through conference applications on smart terminals. On the interface of the conference application, there are virtual buttons for turning on or off corresponding functions (such as microphones or cameras). However, to control the corresponding functions through virtual buttons, users need to stay in the interface of the conference application, or need to light up the screen to find the virtual buttons of the corresponding functions, so as to turn on or off the microphone or camera through the virtual buttons. When the user forgets to turn off the microphone or camera, it is easy to cause the leakage of user privacy or interfere with the speech of others during the meeting, which reduces the user experience. Summary of the invention

[0003] The main purpose of the embodiments of the present invention is to provide a function control method of an application, an electronic device and a storage medium, aiming to at least solve the technical problem that the function control method of the existing application is prone to cause user privacy leakage.

[0004] To achieve the above-mentioned purpose, an embodiment of the present invention provides a method for controlling the function of an application, the method comprising: when a touch or press operation of a target button is detected, turning on or off a target function of a target application; when the touch or press operation of the target button is continuously maintained, controlling the target function to remain in an on state or an off state.

[0005] In addition, to achieve the above-mentioned purpose, an embodiment of the present invention also provides an electronic device, which includes a processor, a memory, and a function control program of an application stored in the memory and executable by the processor, wherein when the function control program of the application is executed by the processor, the steps of the function control method of the application as described above are implemented.

[0006] In addition, to achieve the above-mentioned purpose, an embodiment of the present invention also provides a computer-readable storage medium, on which a function control program of an application is stored, wherein when the function control program of the application is executed by a processor, the steps of the function control method of the application as described above are implemented.

[0007] An embodiment of the present invention provides a function control method for an application, wherein the method turns on or off a target function of a target application when a touch or press operation of a target button is detected; and controls the target function to remain in an on state or an off state when the touch or press operation of the target button is maintained. In the above manner, the embodiment of the present application triggers a switching process of the target function state of the target application based on the touch or press operation of the target button, and then turns on or off the target function based on the touch state of the target button, and maintains the state control of the target function by maintaining the touch state, thereby preventing the user from forgetting to turn off the target function (such as a microphone or camera) and causing the user's privacy to be leaked, thereby improving the user experience and solving the technical problem that the function control method of the existing application is prone to cause the user's privacy to be leaked. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A schematic diagram of the hardware structure of an electronic device involved in an embodiment of the present invention;

[0009] Figure 2 A schematic flow chart of a first embodiment of a method for controlling a function of an application program according to an embodiment of the present invention;

[0010] Figure 3 A schematic flow chart of a second embodiment of a method for controlling a function of an application program according to an embodiment of the present invention;

[0011] Figure 4 A schematic flow chart of a third embodiment of a method for controlling a function of an application program according to an embodiment of the present invention;

[0012] Figure 5 is an interaction schematic diagram of an interaction terminal involved in an embodiment of the present invention;

[0013] Figure 6 A schematic diagram of a conference application program interface in an embodiment of the present invention;

[0014] Figure 7 Schematic diagram of an interface at a specific position of a touch screen in an embodiment of the present invention.

[0015] The realization of the purpose, functional features and advantages of the embodiments of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0016] It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, and are not used to limit the embodiments of the present invention.

[0017] The application function control method involved in the embodiment of the present invention is mainly applied to electronic devices, which may be devices with display and processing functions such as PCs, portable computers, and mobile terminals.

[0018] Reference Figure 1 , Figure 1 Schematic diagram of the hardware structure of the electronic device involved in the embodiment of the present invention. In the embodiment of the present invention, the electronic device may include a processor 1001 (such as a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface); the memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.

[0019] Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0020] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, and a function control program of an application program.

[0021] exist Figure 1 In the embodiment, the network communication module is mainly used to connect to the server and perform data communication with the server; and the processor 1001 can call the function control program of the application stored in the memory 1005 and execute the function control method of the application provided in the embodiment of the present invention.

[0022] An embodiment of the present invention provides a method for controlling functions of an application program.

[0023] Reference Figure 2 , Figure 2 It is a flowchart of a first embodiment of a function control method of an application program according to an embodiment of the present invention.

[0024] In this embodiment, the function control method of the application program includes the following steps:

[0025] Step S10, when a touch or press operation of a target button is detected, turning on or off a target function of a target application program;

[0026] Currently, when users use virtual buttons to turn on or off microphones or cameras in online conference applications or web conference applications, they tend to forget to turn off the microphones or cameras, which may lead to the leakage of user privacy or interfere with the speeches of others during the meeting. For example, when a user wants to speak, he forgets to turn on the microphone or camera, and needs to light up the screen to enter the conference application and then turn on the microphone or camera, or he forgets to turn off the microphone or camera after finishing speaking.

[0027] In order to solve the above problems, an embodiment of the present invention proposes a function control method for an application, which triggers the switching process of the target function state of the target application based on the touch or press operation of the target button, and then turns the target function on or off based on the touch state of the target button, and maintains the state control of the target function by continuously maintaining the touch state, thereby preventing the user from forgetting to turn off the target function (such as a microphone or camera) and causing the user's privacy to be leaked.

[0028] In this embodiment, when a touch or press operation of a target button is detected, a target function of a target application is turned on or off.

[0029] Among them, the target button can be a preset button set by the user according to actual needs, or it can be a default button. The target button includes at least one of a hardware button, a fingerprint module or a virtual button. Specifically, the target button can be a fingerprint module, a hardware button (such as a power button, a volume button or other physical buttons) set on the outside of the smart terminal, or a virtual button of the smart terminal (such as the home virtual button on the mobile phone homepage or a virtual button in the target application). That is, by identifying whether the user touches the fingerprint module, or by identifying whether the user presses the preset hardware button or virtual button, control to turn on (or off) the mic or camera; the target button can also be a combination of two or more of the fingerprint module, hardware button or virtual button, that is, when the user presses two or more preset hardware buttons (such as the power button and the volume button) at the same time; or when the user presses a preset hardware button and touches the fingerprint module at the same time; or when the user presses a preset hardware button and touches a preset virtual button at the same time, control to turn on (or off) one or more functions of the target application, such as the mic or camera function in the network conference application.

[0030] In an exemplary embodiment, before turning on or off a target function of a target application when a touch or press operation of a target key is detected, the method includes:

[0031] At least one of a microphone or a camera of the target application is obtained as the target function.

[0032] In this embodiment, the target function may be a function in the target application or multiple functions. Each preset function in the target application (such as a microphone or a camera) may be controlled separately by the target button, or multiple preset functions in the target application (microphones and cameras) may be controlled simultaneously by the target button.

[0033] Step S20, controlling the target function to remain in an on state or an off state while continuing to touch or press the target button.

[0034] In this embodiment, the key state of the target key is monitored in real time, and when the target key is identified to be pressed or touched, the corresponding target function is turned on or off. Then, the key state of the target key is continuously detected at the same time, and when the target key is continuously pressed or touched, the target function is kept turned on or off.

[0035] The fingerprint module, hardware button or virtual button in the smart terminal (the virtual button can be the main control button on the terminal homepage or a virtual button in the target application) is used as a state-maintaining switch. For example, when the finger is placed on the fingerprint module, the microphone or camera in the conference application is turned on, and when the finger is removed, the microphone or camera is turned off. The two states of the user's finger touch operation correspond to the on or off state of continuous control of the target function. When the user does not need to speak, the microphone or camera can be turned off by removing the finger, and there will be no mic or camera turned on due to misoperation. This not only prevents privacy leakage, but also eliminates the need for the user to enter the target application interface to control the target function, simplifying the control operation of the target function and improving the user experience.

[0036] This embodiment provides a method for controlling the functions of an application program, which turns on or off a target function of a target application program when a touch or press operation of a target button is detected, and controls the target function to remain in an on state or an off state when the touch or press operation of the target button is maintained. In the above manner, the present application triggers a switching process of the target function state of the target application program based on the touch or press operation of the target button, and then turns on or off the target function based on the touch state of the target button, and maintains the state control of the target function by maintaining the touch state, thereby preventing the user from forgetting to turn off the target function (such as a microphone or camera) and causing the user's privacy to be leaked, thereby improving the user experience and solving the technical problem that the function control method of the existing application program is prone to cause the user's privacy to be leaked.

[0037] Reference Figure 3 , Figure 31 is a flow chart of a second embodiment of a method for controlling a function of an application program according to an embodiment of the present invention.

[0038] Based on the above Figure 2 In the embodiment shown, in this embodiment, after step S20, the following steps are further included:

[0039] Step S30, obtaining a first touch duration or a first pressing duration of the target key, and generating a first reminder message to stop touching or stopping pressing when the first touch duration or the first pressing duration reaches a first duration threshold;

[0040] Step S40: When it is detected that the target button is switched to a non-touch state, the target function is controlled to maintain an original state.

[0041] In this embodiment, in order to prevent the user from pressing or touching the target button for a long time to keep the microphone or camera turned on or off, a reminder message (i.e., the first reminder message) can be generated after it is recognized that the duration of the user pressing or touching the target button (i.e., the first touch duration or the first pressing duration) reaches a preset duration (i.e., the first duration threshold), to remind the user to stop touching or pressing the target button. When it is recognized that the user stops touching or pressing the operation, that is, when it is detected that the current state of the target button is switched from the touch state to the non-touch state, the target function is kept in the original state (such as the turned-on state). And when it is recognized that the user switches the operation again, the current state of the target function is switched (such as switching the target function from the turned-on state to the turned-off state). Among them, the original state is to keep the target function in the current state. It can be understood that when the user keeps the target function turned on by touching the target button, the original state is the turned-on state; when the user keeps the target function turned off by touching the target button, the original state is the turned-off state. In a specific embodiment, when a user's switching operation is subsequently detected, such as touching, pressing, or continuously touching or pressing a key or key combination again, the target function can be switched to another state, for example, from an on state to an off state, or from an off state to an on state. This prevents the user from touching or pressing the target key for a long time to keep the target function on or off, further simplifying the user operation and improving the user experience.

[0042] It is understandable that when the target button is a fingerprint module or a virtual button, the button state is a touch state or a non-touch state; when the target button is a hardware button, the button state can be a pressed state or a non-pressed state.

[0043] In an exemplary embodiment, when a touch or press operation of a target key is detected, turning on or off a target function of a target application program includes:

[0044] When a touch or press operation of the target key is detected, obtaining current fingerprint information of the touch or press of the target key;

[0045] When the current fingerprint information matches the preset fingerprint information, the target function is turned on or off.

[0046] In this embodiment, the target button or one of the target buttons may be a fingerprint module on the terminal (such as a side-mounted or rear-mounted fingerprint button), that is, the fingerprint module is used as a control switch for the target function, for example, as a switch for a mic or a camera. When it is recognized that the user touches the fingerprint module, that is, when the state of the target button is the touch state, the current fingerprint information of the current user is further obtained as the target button parameter. And the current fingerprint information is compared with the preset fingerprint information. Among them, the preset fingerprint information may be the fingerprint information of a legitimate user or the user fingerprint information set by the user according to actual needs. Specifically, when it is recognized that the user's finger touches the fingerprint module and the current fingerprint information of the fingerprint module belongs to the preset user, the target function is turned on, that is, the mic or camera is turned on. When it is recognized that the user's finger leaves the fingerprint module, the mic or camera is turned off. Thus, the user can turn on the mic or camera by touching the fingerprint module, and turn off the mic or camera by removing the finger touching the fingerprint module, which simplifies the user operation, improves the user experience, and further prevents the leakage of user privacy.

[0047] In a specific embodiment, the mic and the camera can be turned on or off simultaneously, or the mic and the camera can be turned on or off separately by setting the corresponding relationship between different fingerprints and the mic and the camera.

[0048] It can be understood that the current fingerprint information in this embodiment may also be the fingerprint information of any user, that is, the target function can be turned on or off by identifying the fingerprint information of the user.

[0049] In an exemplary implementation, when the current fingerprint information matches the preset fingerprint information, turning on or off the target function includes:

[0050] When the current fingerprint information matches the preset fingerprint information, obtaining a corresponding relationship between the fingerprint information and the preset control function;

[0051] In a case where it is determined based on the corresponding relationship that the current fingerprint information is preset fingerprint information for controlling the target function, the target function is turned on or off.

[0052] In this embodiment, in order to avoid the microphone or camera being turned on or off due to accidental touch, after identifying that the current fingerprint information matches the preset fingerprint information, it is further determined whether the current fingerprint information is specific fingerprint information based on the correspondence between the fingerprint information and the preset control function. The specific fingerprint is the fingerprint information preset by the user for controlling the target function. And when the current fingerprint information is the preset fingerprint information for controlling the target function, the target function is turned on or off. It can be understood that the specific fingerprint information can be a non-unlocking fingerprint, thereby avoiding the user from accidentally turning on or off the mic or camera when unlocking the terminal. In a specific embodiment, the specific fingerprint information can also be an unlocking fingerprint. When the specific fingerprint information is an unlocking fingerprint, a corresponding reminder message can be generated for the user to choose whether to unlock the terminal or control the target function.

[0053] Reference Figure 4 , Figure 4 1 is a flow chart of a third embodiment of a method for controlling a function of an application program according to an embodiment of the present invention.

[0054] Based on the above Figure 2 In the embodiment shown, in this embodiment, the method includes:

[0055] Step S50, displaying a control button switch of the target function, so that the user can select from a plurality of control button modes corresponding to the target function;

[0056] Step S60: Switch the control button and the target function based on the selected control button mode, and generate a second prompt message.

[0057] In this embodiment, in order to further improve the convenience of user operation, a control button switch option is set and displayed in the user interface, and the user selects the control method of the camera or microphone from a variety of control button methods (such as hardware buttons, virtual buttons or fingerprint modules). When the control button switch is displayed, a second reminder message is generated based on the current functional state of the target function and the functional state after switching the control button method, so as to prompt the user of the current state of the microphone or camera and the state after switching when switching. For example, when the microphone is in the on state, it is switched to the control method of the present technical solution. After the switch, the microphone will be turned off because it is in an untouched state. Therefore, when the control switch is switched, the functional state has been switched accordingly. The subsequent switching of the control function button based on the control button switch belongs to the process of user self-control, and no prompt is required.

[0058] In an exemplary embodiment, before turning on or off the target function of the target application when the target key operation is detected to be touched or pressed, the method further includes:

[0059] Obtaining a second touch duration or a second pressing duration of the target key;

[0060] When the second touch duration or the second press duration reaches a second duration threshold, it is determined that a touch or press operation of the target key is detected.

[0061] In this embodiment, when a touch action or a pressing action is detected, that is, when the target button is detected to be in a touch state, the target function can be controlled to be turned on; when it is detected that the user removes the finger, that is, when the target button is in a non-touch state, the target function can be controlled to be turned off.

[0062] In a specific embodiment, in order to further prevent accidental touches, after identifying that the pressing or touching duration (i.e., the second touch duration) of the target button has reached a certain duration (i.e., the second duration threshold), the target button state is determined to be continuously touched, that is, it is determined that the user is long pressing the target button state to turn on related functions (such as turning on the mic or camera).

[0063] In addition, the embodiment of the present invention is further described in combination with the application scenario of the solution and the necessary network environment:

[0064] like Figure 5 As shown, the interactive end involved in the present application includes a smart terminal 101, a conference application 102 and a cloud server 103. The conference application 102 is installed on the smart terminal 101, and the smart terminal 101 sends the collected voice and video data information to the cloud server 103, and receives the voice and video data information returned by the cloud server 103, displays the video screen through the display screen of the smart terminal 101 or the display screen connected to the smart terminal 101, and outputs the sound through the speaker or the receiver.

[0065] Specifically, the intelligent terminal 101 includes a Mic module, a camera module, a display module, a battery module, a fingerprint module, a voice output module, a memory and storage module, and a central processing unit.

[0066] Among them, the Mic module is used to collect the sounds around the smart terminal, and then use the vibration of the metal sheet in the capacitor component to convert the sound signal into the amplitude and frequency of the metal sheet vibration, and then convert the amplitude and frequency of the metal sheet vibration into the amount of charge in the capacitor and the speed of charging, and finally convert the amount of charge in the capacitor and the speed of charging into digital signals, thereby realizing sound collection.

[0067] The camera module includes a lens and an image sensor. Light passes through the lens and enters the image sensor. The image sensor collects different amounts of charge according to the amount of light irradiated at different pixel positions and generates a digital image based on the different amounts of charge.

[0068] The display module includes a variety of display screens, such as LCD, OLED, etc., which are used to display image information on the display screen integrated circuit sent by the central processing unit.

[0069] The battery module is used to provide power for the smart terminal.

[0070] The fingerprint module is used to collect fingerprint information of human fingers and store the fingerprint data in a designated storage area. When performing fingerprint recognition, the fingerprint module matches the current fingerprint information collected with the stored preset fingerprint information and outputs a successful or unsuccessful match result.

[0071] The voice output module includes a receiver, a speaker, earphones, Bluetooth, etc., which are used to convert the voice information sent by the central processing unit into a vibrating sound signal.

[0072] The conference application 102 is used to receive data information transmitted from the cloud server 103, and call different modules of the smart terminal 101 to output data, including sound and video output. The conference application 102 calls the hardware module on the smart terminal 101, and selects different virtual buttons on the image interface displayed on the display screen to implement corresponding functions, such as turning on and off different functions, collecting voice and video information, accessing and exiting the conference, etc.

[0073] The cloud server 103 is used to interact with the smart terminal 101, receive the voice, video or other file data sent by the conference application 102 on the smart terminal 101, and send the above data to the applications of other users accessing the conference.

[0074] In a specific embodiment, the solution process of this application is as follows:

[0075] 1) Enter the online meeting through the conference application, access the meeting through the conference application, and connect to the cloud server. After the connection is successful, call different modules of the smart terminal to collect data;

[0076] 2) Calling the fingerprint module through the conference application, the conference application calls the fingerprint module according to the set time interval, and the fingerprint module provides the conference application with information on whether a fingerprint touches the fingerprint module according to the fingerprint information collected by the fingerprint module;

[0077] 3) The conference application calls the mic or camera module. Based on the information fed back by the fingerprint module, when a fingerprint touches the fingerprint module, the conference application calls the mic or camera module and uploads the voice data collected by the mic and the video data collected by the camera to the cloud server.

[0078] The conference application in this embodiment calls the fingerprint module and monitors the fingerprint data collected by the fingerprint module in real time, and uses the on and off of the finger contacting the fingerprint module to turn on or off the mic or camera.

[0079] Specifically, the conference application calls the fingerprint module to collect user fingerprint information. When the fingerprint module does not collect fingerprint information, the fingerprint module will send an idle command to the conference application. When the conference application receives the idle command, the mic or camera module will not be called. When the fingerprint module collects fingerprint information, the fingerprint module matches the current fingerprint information collected with the stored preset fingerprint information. When the fingerprint match is successful, a match success command is sent to the conference application. The conference application calls the mic or camera module for data collection and sends the collected data to the cloud server. The time interval for the conference application to call the fingerprint module can be set according to actual needs. For example, it is set to call once every 100 milliseconds. After receiving the information returned by the fingerprint module, the conference application executes the call to the mic or camera module according to the fingerprint match success command; according to the idle command or fingerprint match failure, the mic or camera module is not called.

[0080] In another embodiment, when the fingerprint module collects information, the collected information is judged through the collected fingerprint image to identify the features on the fingerprint. If it is judged that the collected information is fingerprint information, an instruction to collect the fingerprint is sent to the conference application. The conference application calls the mic or camera module and sends the data collected by the mic or camera to the cloud server.

[0081] like Figure 6 As shown, the conference application can configure the opening of the mic or camera through the virtual buttons in the interface, and the configuration items include: opening the mic using the buttons on the interface, opening the camera using the buttons on the interface, opening the mic using the fingerprint, or opening the camera using the fingerprint. When you choose to use the virtual button on the interface to open the mic, the mic is always open and collects the user's voice information; when you choose to use the virtual button on the interface to open the camera, the camera is always open and collects the user's image information; when you choose to use the fingerprint to open the mic, the mic is turned on when the human hand touches the fingerprint module, and the mic is turned off when the human hand leaves the fingerprint module; when you choose to use the fingerprint to open the camera, the camera is turned on when the human hand touches the fingerprint module, and the camera is turned off when the human hand leaves the fingerprint module.

[0082] like Figure 6As shown, user 1, user 2, user 3 and user 4 on the conference application interface represent users who are connected to the conference; mic on is a virtual button for turning on and off the mic; front camera on is a virtual button for turning on and off the front camera; fingerprint mic is a button for turning on the mic with fingerprint, through which the mic can be turned on and off with the fingerprint; fingerprint front camera on is a button for turning on the front camera with fingerprint, through which the front camera can be turned on and off with the fingerprint; speaker on is a button for turning on and off the speaker; beauty on is a button for turning on and off the beauty function. Other function buttons can also be added.

[0083] Specifically, when using fingerprint to control the opening or closing of the mic or camera, it includes:

[0084] (1) Use the specified fingerprint to turn on or off the mic or camera;

[0085] (2) During an online meeting, if the display screen is off, the screen can be turned on and unlocked by fingerprint recognition and pressing the power button. At this time, the screen is recognized as turning on and unlocking the operating system without turning on the mic.

[0086] In addition to opening the mic through fingerprints, the above functions can also be achieved by touching a specific position on the touch screen. Figure 7 As shown, in an online meeting, a specific position of the touch screen is set as the position to turn on the mic. When the touch screen recognizes that a finger touches this position, the mic is turned on; when the touch screen recognizes that no finger touches this position, the mic is turned off. When the screen is off, when a finger touches a specific position, the motor vibrates to remind the user that the finger touches this specific position, and then the mic is turned on. The touch screen scans the user's finger touch status in real time, and executes or does not call the mic or camera module according to the finger touch or no touch status.

[0087] In addition, an embodiment of the present invention further provides a computer-readable storage medium.

[0088] In the embodiment of the present invention, a function control program of an application is stored on a computer-readable storage medium, wherein when the function control program of the application is executed by a processor, the steps of the function control method of the application are implemented as described above.

[0089] Among them, the method implemented when the function control program of the application program is executed can refer to the various embodiments of the function control method of the application program in the embodiment of the present invention, and will not be repeated here.

[0090] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0091] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0092] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0093] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned implementation methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the embodiment of the present invention.

[0094] The above are only preferred embodiments of the embodiments of the present invention, and are not intended to limit the patent scope of the embodiments of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the description and drawings of the embodiments of the present invention, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the embodiments of the present invention.

Claims

1. A function control method for an application, characterized in that: The method comprises: When a touch or press operation of a target button is detected, a target function of a target application is turned on or off; When the target button operation is continuously touched or pressed, the target function is controlled to remain in an on state or an off state.

2. The function control method according to claim 1, characterized in that: The step of turning on or off a target function of a target application program when a touch or press operation of a target button is detected includes: When a touch or press operation of the target key is detected, obtaining current fingerprint information of the touch or press operation of the target key; When the current fingerprint information matches the preset fingerprint information, the target function is turned on or off.

3. The function control method according to claim 2, characterized in that: When the current fingerprint information matches the preset fingerprint information, turning on or off the target function includes: When the current fingerprint information matches the preset fingerprint information, obtaining a corresponding relationship between the fingerprint information and the preset control function; In a case where it is determined based on the corresponding relationship that the current fingerprint information is preset fingerprint information for controlling the target function, the target function is turned on or off.

4. The function control method according to claim 1, characterized in that: Before turning on or off the target function of the target application when the target key operation is detected, the method includes: At least one of a microphone or a camera of the target application is obtained as the target function.

5. The function control method according to claim 1, characterized in that: The target key includes at least one of a hardware key, a fingerprint module or a virtual key.

6. The function control method according to claim 1, characterized in that: After the target function is controlled to remain in an on state or in an off state while the target key operation is continuously touched or pressed, the method includes: Acquire a first touch duration or a first pressing duration of the target key, and generate a first reminder message indicating that the touch or pressing can be stopped when the first touch duration or the first pressing duration reaches a first duration threshold; When it is detected that the target button is switched to a non-touch state, the target function is controlled to maintain an original state.

7. The function control method according to claim 1, characterized in that: Before turning on or off the target function of the target application when the target key operation is detected, the method further includes: Obtaining a second touch duration or a second pressing duration of the target key; When the second touch duration or the second press duration reaches a second duration threshold, it is determined that a touch or press operation of the target key is detected.

8. The function control method according to any one of claims 1 to 7, characterized in that: The method comprises: Displaying a control button switch of the target function, so that the user can select from a plurality of control button modes corresponding to the target function; The control button and the target function are switched based on the selected control button mode, and a second prompt message is generated.

9. An electronic device, characterized in that: The electronic device includes a processor, a memory, and a function control program of an application stored in the memory and executable by the processor, wherein when the function control program of the application is executed by the processor, the steps of the function control method as described in any one of claims 1 to 8 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a function control program of an application program, wherein when the function control program of the application program is executed by a processor, the steps of the function control method according to any one of claims 1 to 8 are implemented.