WO2020097873A1 - Floating window control method and related product - Google Patents

Floating window control method and related product Download PDF

Info

Publication number
WO2020097873A1
WO2020097873A1 PCT/CN2018/115715 CN2018115715W WO2020097873A1 WO 2020097873 A1 WO2020097873 A1 WO 2020097873A1 CN 2018115715 W CN2018115715 W CN 2018115715W WO 2020097873 A1 WO2020097873 A1 WO 2020097873A1
Authority
WO
WIPO (PCT)
Prior art keywords
preset
floating window
function button
virtual function
target application
Prior art date
Application number
PCT/CN2018/115715
Other languages
French (fr)
Chinese (zh)
Inventor
李文峰
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to PCT/CN2018/115715 priority Critical patent/WO2020097873A1/en
Priority to CN201880097181.0A priority patent/CN112654957B/en
Publication of WO2020097873A1 publication Critical patent/WO2020097873A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present application relates to the technical field of electronic equipment, and in particular to a suspension window control method and related products.
  • the embodiments of the present application provide an electronic device and related products, with a view to improving the convenience of rapid management and application of the electronic device on the mobile phone floating window interface.
  • an embodiment of the present application provides a suspension window control method, which is applied to an electronic device, and the method includes:
  • a display mode of a virtual function button of a preset authority is determined, where the preset authority includes setting authority of the floating window for the target application and Describe the deletion permission of the target application;
  • an embodiment of the present application provides a floating window control device, which is applied to an electronic device.
  • the floating window control device includes a processing unit and a communication unit, wherein the processing unit is configured to detect a target application When displaying a request for a floating window, determining a display mode of a virtual function button with preset permissions, wherein the preset permissions include setting permissions for the floating window of the target application and deleting permissions for the target application; And for displaying the virtual function button of the preset authority through the communication unit according to the determined display mode during the display of the floating window; and for detecting that the virtual function button is targeted During the selection operation, the operation corresponding to the virtual function button is performed.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be processed by the above
  • the above program includes instructions for performing the steps in any method of the first aspect of the embodiments of the present application.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application. Part or all of the steps described in any method of the second aspect.
  • an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in any method of the second aspect.
  • the computer program product may be a software installation package.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • FIG. 1 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a display manner of a virtual function button provided by an embodiment of the present application
  • FIG. 3 is a schematic diagram of another display manner of a virtual function button provided by an embodiment of the present application.
  • 4A is a schematic structural diagram of a display manner of a preset elastic frame provided by an embodiment of the present application.
  • 4B is a schematic structural diagram of another display manner of a preset elastic frame provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of operations corresponding to the execution of the virtual function button provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 9 is a block diagram of functional units of a floating window control device provided by an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user devices (User Equipment, UE), Mobile Station (MS), terminal equipment, etc.
  • UE User Equipment
  • MS Mobile Station
  • the floating application window will block the content on other interfaces, and when the user clicks in this area, it is likely to cause misoperation. That is, the user intended to operate the interface below the floating window, but often the floating window receives To the user's operation, in addition, the application that opens the floating window will continue to occupy memory, resulting in a decrease in performance and power consumption of the mobile terminal.
  • the user wants to limit the permissions of the application there is no way to quickly find the application for management because of the large number of applications.
  • an embodiment of the present application proposes a method for controlling floating windows.
  • the following describes the embodiments of the present application in detail.
  • FIG. 1 is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the method for controlling a floating window includes:
  • the electronic device determines a display mode of a virtual function button with preset permissions
  • the preset permissions include setting permissions for the floating window of the target application and deleting permissions for the target application;
  • the target application may be a third-party application program installed by the electronic device
  • the electronic device displays the virtual function button of the preset authority according to the determined display mode
  • the virtual function button may have an overlapping area with the floating window
  • the electronic device When detecting an operation for selecting the virtual function button, the electronic device performs an operation corresponding to the virtual function button.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • the electronic device determining the display mode of the virtual function button with preset permissions includes: the electronic device determining the size of the floating window when detecting a display request for the floating window of the target application The electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
  • the size of the floating window is related to the screen size of the electronic device, and the size of the floating window is a relative size with the electronic device screen as a reference object.
  • the first threshold is set according to the screen size of the electronic device and the size of the floating window to determine the display mode of the virtual function button with preset authority, so that the display mode of the virtual function button with preset authority is presented Variety, to the greatest extent, it does not affect the user's operation of the floating window, and can effectively achieve the purpose of displaying the virtual function button of the preset authority, making the display mode of the virtual function button of the preset authority more humane Change.
  • the electronic device determining the display mode of the virtual function button with preset authority according to the size of the floating window includes: when the electronic device detects that the size of the floating window is greater than or equal to the first At a threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, the electronic device displays a preset pop-up frame, and the preset pop-up frame includes the setting of the preset permission A virtual function button of a function, the preset pop-up frame and the floating window have an overlapping area; when it is detected that the size of the floating window is smaller than the first threshold, the display mode of the virtual function button of the predetermined authority is determined as : During the process of displaying the floating window, the electronic device displays a virtual function button of the setting function of the preset authority at a preset position of the current display interface, and the preset position does not coincide with the floating window.
  • the electronic device A sets the first threshold to B, and now detects a display request of the floating window C, the size of C is greater than B, and displays a preset pop-up frame D, where D includes a virtual function button of the preset permission setting function , C and D have overlapping areas, as shown in Figure 2;
  • the electronic device A sets the first threshold to B, and now detects the display request of the floating window E, the size of E is less than B, and displays a preset pop-up frame F, where F includes a virtual function button of the setting function of the preset authority , E and F do not coincide, as shown in Figure 3.
  • the electronic device displays a preset pop-up frame, including: the electronic device displays the floating window; the electronic device determines the delay display duration, so The starting point of the delayed display time of the delayed display duration is the time point of displaying the floating window; the electronic device detects whether the user performs an interactive operation on the suspended window within the timing range corresponding to the delayed display duration If not, the electronic device displays a preset pop-up frame according to the delay time; if yes, the electronic device responds to the interactive operation.
  • both the locked state and the unlocked state of the electronic device are counted.
  • the preset pop-up frame is not displayed, which reduces unnecessary pop-up frames and prevents the user from performing redundant operations.
  • the electronic device determining the delayed display duration includes: the electronic device determining that the target application type is an e-commerce shopping life type; the electronic device displays the first preset of the floating window After the duration, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; the electronic device displays the preset pop-up frame after displaying the second preset duration of the floating window The electronic device determines that the target application type is a video entertainment game type; after displaying the third preset duration of the floating window, the electronic device displays the preset pop-up frame.
  • the electronic device A sets the first preset duration to X, the second preset duration to Y, and the third preset duration to Z. It first detects that the type of the target application C corresponding to the floating window B is the chat friend type, Then B is displayed, and after Y duration, the preset frame is displayed.
  • the user is given a certain operation reaction time by presetting different waiting times corresponding to different types of target applications, and considering the different reaction times required by different types of target applications, the user's operation experience is optimized.
  • the electronic device determining the display mode of the virtual function button with preset authority includes: the electronic device determining the type of the target application when detecting a display request for the floating window of the target application The electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application.
  • the determination of the target application type includes the application platform classification of the third-party application or the application installed at the factory by the application platform of the electronic device; when the target application is not classified by the application type or is an unknown application type, it should be skipped Go to the application type classification interface, and the user performs manual classification.
  • the display mode of the virtual function button with preset permissions is determined according to the type of the target application, and when the user faces different types of target applications, the reaction time of the interactive operation is also correspondingly different, the maximum consideration Faced with different types of target applications, the interaction reaction time required by the user reduces unnecessary pop-up frame display, displays the pop-up frame at the necessary time, guides the user to set permissions on the floating window or the target application, and optimizes the user ’s Operating experience.
  • the electronic device determines the display mode of the virtual function button of the preset authority according to the type of the target application, including: the electronic device uses the type of the target application as a query identifier to query the preset
  • the mapping relationship set to obtain the display mode of the virtual function button with preset permissions corresponding to the type of the target application, the mapping relationship set includes the correspondence between the type of application program and the display mode of the virtual function button with preset permissions relationship.
  • the method for forming the mapping relationship set includes: the user manually sets the mapping relationship to which the target application belongs to form the mapping relationship set; the server platform actively pushes the mapping relationship to which the classification target application belongs to form the mapping relationship set; and the electronic device AI generates The mapping relationship to which the target application belongs, thereby forming a mapping relationship set.
  • mapping relationship set is formed, and then the display mode of the virtual function buttons with preset permissions are respectively set according to the mapping relationship set, and the target applications in different mapping relationship sets are processed accordingly. , Which reduces the interruption to users and improves the user's business experience.
  • the electronic device mapping relationship set includes an e-commerce shopping life type, a chat friend type, and a video entertainment game type: the virtual function of the preset authority corresponding to the e-commerce shopping life type
  • the display mode of the button is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the display mode of the virtual function button of the preset authority corresponding to the chat dating type of the electronic device
  • the electronic device displays a preset frame after displaying the second preset duration of the floating window;
  • the display mode of the virtual function button of the preset authority corresponding to the video entertainment game type is: After displaying the third preset duration of the floating window, a preset pop-up frame is displayed.
  • the electronic device A sets the first preset duration to X, the second preset duration to Y, and the third preset duration to Z, and first detects that the type of the target application C corresponding to the floating window B is the chat dating type , B is displayed, as shown in FIG. 4A; after the duration of Y, a preset frame is displayed, as shown in FIG. 4B.
  • the process of detecting the target application type may be that the electronic device performs detection in the background.
  • the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application;
  • the display form of the first virtual function button includes: in a rectangular window, the text displays "don't like it, don't pop it again”;
  • the display form of the second virtual function button includes: in a rectangular window, the text displays “Uninstall floating window application”.
  • the display form of the virtual function button is also different according to the display mode of the virtual function button of the preset authority; the display duration of the virtual function button of the preset authority is also different according to the target application type .
  • the operation corresponding to the virtual function button performed by the electronic device includes: if the virtual function button is the first virtual function button, the corresponding operation is to close the floating window and mark The setting authority of the floating window of the target application is disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window and delete the target application.
  • the electronic device A displays the floating window C of the target application B, the existing first virtual function button X and the second virtual function button Y, if X is executed, C is closed, and B is suspended The window setting authority is changed to the disabled state; if Y is executed, B is deleted.
  • the setting permission of the floating window marking the target application is disabled, and the permission status can be changed through the permission setting interface of the electronic device.
  • the above-mentioned electronic device performs an operation corresponding to the virtual function button, and can effectively control the floating window display authority of the target application and the target application.
  • FIG. 6 is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device.
  • this floating window control Methods include:
  • the electronic device determines that the display mode of the virtual function button with preset permissions is: during the process of displaying the floating window, displaying a preset pop-up frame,
  • the preset pop-up frame includes a virtual function button of the preset permission setting function, and the preset pop-up frame and the floating window have overlapping areas;
  • the electronic device determines that the display mode of the virtual function button with preset authority is: during the process of displaying the floating window, on the current display interface The preset position of displays the virtual function button of the setting function of the preset authority, and the preset position does not coincide with the floating window.
  • the electronic device displays the virtual function button of the preset authority according to the determined display mode
  • the electronic device performs an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • a first threshold is set to determine the display mode of the virtual function button with preset authority, so that the display mode of the virtual function button with preset authority is presented Variety, to the greatest extent, it does not affect the user's operation of the floating window, and can effectively achieve the purpose of displaying the virtual function button of the preset authority, making the display mode of the virtual function button of the preset authority more humane Change.
  • FIG. 7 is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device; Methods include:
  • the electronic device determines the type of the target application when it detects a display request for the floating window of the target application
  • the electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application
  • the electronic device displays the virtual function button of the preset authority according to the determined display mode
  • the electronic device executes an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • the display mode of the virtual function button with preset permissions is determined.
  • the reaction time of the interactive operation is correspondingly different.
  • the interaction reaction time required by the user reduces unnecessary pop-up frame display, displays the pop-up frame at the necessary time, guides the user to set permissions on the floating window or the target application, and optimizes the user ’s Operating experience.
  • FIG. 8 is a schematic structural diagram of an electronic device 400 provided by an embodiment of the present application.
  • the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, wherein the one or more programs 421 are stored in the above-mentioned memory 420 and are configured to be executed by the above-mentioned application processor 410,
  • the one or more programs 421 include instructions for performing the following steps;
  • the electronic device When detecting the display request of the floating window for the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the setting authority for the floating window of the target application and Delete permission for the target application;
  • the electronic device displays the virtual function button of the preset authority according to the determined display mode
  • the electronic device performs an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by electronic equipment
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • the electronic device determines the display mode of the virtual function button with preset permissions, and the instructions in the program are specifically used to perform the following operations:
  • the electronic device detects that the floating window for the target application When displaying the request, determine the size of the floating window; the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
  • the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window, and the instructions in the program are specifically used to perform the following operations: the electronic device detects When the size of the floating window is greater than or equal to the first threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, displaying a preset pop-up frame, the preset pop-up frame includes A virtual function button of the preset permission setting function, the preset pop-up frame and the floating window have overlapping areas; the electronic device determines when the size of the floating window is smaller than the first threshold
  • the display mode of the virtual function button of the preset authority is: in the process of displaying the floating window, the virtual function button of the setting function of the preset authority is displayed at the preset position of the current display interface, and the preset position and The suspension windows do not coincide.
  • the electronic device displays a preset pop-up frame
  • the instructions in the program are specifically used to perform the following operations: the electronic device displays the floating window; The electronic device determines the delay display duration.
  • the starting point of the delay display duration is the time point at which the floating window is displayed; the electronic device is within the timing range corresponding to the delay display duration, Detecting whether the user performs an interactive operation on the floating window; if not, the electronic device displays a preset pop-up frame according to the delay time; if it is, the electronic device responds to the interactive operation.
  • the electronic device determines the delayed display duration, and the instructions in the program are specifically used to perform the following operations: the electronic device determines that the target application type is an e-commerce shopping life type; the electronic After the device displays the first preset duration of the floating window, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; and the electronic device displays the second predetermined window of the floating window After setting the duration, the preset pop-up frame is displayed; the electronic device determines that the target application type is a video entertainment game type; the electronic device displays the preset after displaying the third preset duration of the floating window Bullet box.
  • the electronic device determines the display mode of the virtual function button with preset permissions, and the instructions in the program are specifically used to perform the following operations: The electronic device detects that the floating window for the target application When displaying the request, determine the type of the target application; the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application.
  • the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application, and the instructions in the program are specifically used to perform the following operations: the electronic device uses the The type of the target application is a query identifier, a preset set of mapping relationships is queried, and a display mode of a virtual function button with preset permissions corresponding to the type of the target application is obtained, and the set of mapping relationships includes the type of the application and the preset permissions The correspondence between the display modes of the virtual function buttons.
  • the electronic device mapping relationship set includes an e-commerce shopping life type, a chat dating type, and a video entertainment game type, and the instructions in the program are specifically used to perform the following operations: the e-commerce shopping life
  • the display mode of the virtual function button of the preset authority corresponding to the type is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the preset corresponding to the chat friend type
  • the display mode of the virtual function button with permission setting is: after displaying the second preset duration of the floating window, the electronic device displays a preset pop-up frame; the virtual function button with preset permission corresponding to the video entertainment game type
  • the display mode is: after displaying the third preset duration of the floating window, the electronic device displays a preset pop-up frame.
  • the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application;
  • the display form of the first virtual function button, the instructions in the program are specifically used to perform the following operations: in a rectangular window, text "Don't like it, don't pop it again” is displayed;
  • the display form of the second virtual function button includes: in a rectangular window, the text displays "Uninstall floating window application".
  • the electronic device performs an operation corresponding to the virtual function button, and the instructions in the program are specifically used to perform the following operation: if the virtual function button is the first virtual function button, then The corresponding operation is to close the floating window, and the setting permission of the floating window of the target application is marked as disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window Window, and delete the target application.
  • the electronic device includes a hardware structure and / or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 9 is a block diagram of functional units of a floating window control device 500 involved in an embodiment of the present application.
  • the electronic device 500 is applied to electronic equipment, including a processing unit 501 and a communication unit 502, wherein,
  • the processing unit 501 is configured to determine a display mode of a virtual function button of a preset authority when detecting a display request for a floating window of a target application, where the preset authority includes the Setting permissions of the floating window and deleting permissions for the target application; and for displaying the preset permissions through the communication unit 502 according to the determined display mode during the display of the floating window A virtual function button; and for performing an operation corresponding to the virtual function button when a selection operation for the virtual function button is detected.
  • the electronic device when detecting the display request for the floating window of the target application, determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  • the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device
  • the application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
  • the electronic device determines a display mode of a virtual function button with preset permissions
  • the processing unit 501 is specifically configured to: when the electronic device detects a display request for a floating window of a target application, Determine the size of the floating window; the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
  • the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window
  • the processing unit 501 is specifically configured to: when the electronic device detects the floating window
  • the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, the electronic device displays a preset pop-up frame, and the preset pop-up frame includes A virtual function button of the preset permission setting function, the preset pop-up frame and the floating window have overlapping areas; the electronic device determines when the size of the floating window is smaller than the first threshold
  • the display mode of the virtual function button of the preset authority is: in the process of displaying the floating window, the virtual function button of the setting function of the preset authority is displayed at the preset position of the current display interface, and the preset position and The suspension windows do not coincide.
  • the electronic device displays a preset pop-up frame
  • the processing unit 501 is specifically configured to: the electronic device displays the floating window; the electronic device Determine the duration of the delayed display, the starting point of the delayed display of the delayed display duration is the time of displaying the floating window; the electronic device detects whether the user is targeting within the timing range corresponding to the delayed display duration
  • the floating window performs an interactive operation; if not, the electronic device displays a preset pop-up frame according to the delay time; if it is, the electronic device responds to the interactive operation.
  • the electronic device determines the delayed display duration
  • the processing unit 501 is specifically configured to: the electronic device determines that the target application type is an e-commerce shopping life type; the electronic device displays After the first preset duration of the floating window, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; after the electronic device displays the second preset duration of the floating window, Displaying the preset pop-up frame; the electronic device determines that the target application type is a video entertainment game type; after displaying the third preset duration of the floating window, displaying the preset pop-up frame.
  • the electronic device determines a display mode of a virtual function button with preset permissions
  • the processing unit 501 is specifically configured to: when the electronic device detects a display request for a floating window of a target application, Determine the type of the target application; the electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application.
  • the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application
  • the processing unit 501 is specifically configured to: the electronic device uses the type of the target application For querying identifiers, querying a preset mapping relationship set to obtain a display mode of a virtual function button with preset permissions corresponding to the type of the target application, the mapping relationship set includes a virtual function button with application type and preset permissions The corresponding relationship between the display methods.
  • the electronic device mapping relationship set includes an e-commerce shopping life type, a chat friend type, and a video entertainment game type
  • the processing unit 501 is specifically used for: all the locations corresponding to the e-commerce shopping life type
  • the display mode of the virtual function button of the preset authority is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the virtual of the preset authority corresponding to the chat friend type
  • the display mode of the function button is: after displaying the second preset duration of the floating window, the electronic device displays a preset pop-up frame; the display mode of the virtual function button of the preset authority corresponding to the video entertainment game type is: After displaying the third preset duration of the floating window, the electronic device displays a preset pop-up frame.
  • the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application;
  • the display form of the first virtual function button, the processing unit 501 is specifically used to: in a rectangular window, the text displays "dislike , Do not pop up again ";
  • the display form of the second virtual function button includes: in a rectangular window, the text displays" Uninstall floating window application ".
  • the electronic device performs an operation corresponding to the virtual function button
  • the processing unit 501 is specifically configured to: if the virtual function button is the first virtual function button, the corresponding operation is Close the floating window and mark the setting permission of the floating window of the target application as disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window and delete The target application.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments ,
  • the aforementioned computer includes electronic devices.
  • An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to perform any of the methods described in the foregoing method embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or may be 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.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer readable memory.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application.
  • the aforementioned memory includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-Only Memory (English: Read-Only Memory, abbreviation: ROM), Random Access Device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
  • ROM Read-Only Memory
  • RAM Random Access Device
  • magnetic disk or optical disk etc.

Abstract

A floating window control method and apparatus of an electronic device, applicable to an electronic device. The method comprises: when a floating window display request for a target application is detected, determining a display mode of a virtual function button of a preset permission (S101); in the process of displaying the floating window, displaying the virtual function button of the preset permission according to the determined display mode (S102); and when a selection operation on the virtual function button is detected, executing an operation corresponding to the virtual function button (S103). An existing method for quick control on an application by a floating window interface is optimized, and moreover, for an application of which the permission for starting a floating window is authorized by mistake by an electronic device, the start of the floating window of the application is disabled or the application is directly uninstalled according to the solution, so that the efficiency and convenience of application control of an electronic device are improved.

Description

悬浮窗控制方法及相关产品Floating window control method and related products 技术领域Technical field
本申请涉及电子设备技术领域,具体涉及一种悬浮窗控制方法及相关产品。The present application relates to the technical field of electronic equipment, and in particular to a suspension window control method and related products.
背景技术Background technique
在移动互联网时代,智能终端如智能手机越来越普及,已成为人们日常生活中的一种重要工具。移动终端的应用程序越来越丰富,各应用程序的开发商为了提高自己的应用程序与用户交互的亲密度,大多采用了悬浮窗技术,即当应用程序退到后台时,在桌面或者其他应用程序界面悬浮地显示一个窗口(以下简称“悬浮窗”),以希望能够让用户及时地看到该应用程序上的相关信息。In the era of mobile Internet, smart terminals such as smart phones are becoming more and more popular, and have become an important tool in people's daily lives. Mobile terminal applications are becoming more and more rich. In order to improve the intimacy of their applications and user interaction, the developers of each application mostly adopt the floating window technology, that is, when the application returns to the background, on the desktop or other applications The program interface displays a window suspended (hereinafter referred to as "floating window"), hoping to enable users to see relevant information on the application in time.
发明内容Summary of the invention
本申请实施例提供了一种电子设备及相关产品,以期提高电子设备在手机悬浮窗界面快速管理应用的便捷性。The embodiments of the present application provide an electronic device and related products, with a view to improving the convenience of rapid management and application of the electronic device on the mobile phone floating window interface.
第一方面,本申请实施例提供一种悬浮窗控制方法,应用于电子设备,所述方法包括:In a first aspect, an embodiment of the present application provides a suspension window control method, which is applied to an electronic device, and the method includes:
在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;When a display request for a floating window of a target application is detected, a display mode of a virtual function button of a preset authority is determined, where the preset authority includes setting authority of the floating window for the target application and Describe the deletion permission of the target application;
在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;In the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode;
在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
第二方面,本申请实施例提供一种悬浮窗控制装置,应用于电子设备,所述悬浮窗控制装置包括处理单元和通信单元,其中,所述处理单元,用于在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;以及用于在显示所述悬浮窗的过程中,按照确定的所述显示方式通过所述通信单元显示所述预设权限的所述虚拟功能按钮;以及用于在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。In a second aspect, an embodiment of the present application provides a floating window control device, which is applied to an electronic device. The floating window control device includes a processing unit and a communication unit, wherein the processing unit is configured to detect a target application When displaying a request for a floating window, determining a display mode of a virtual function button with preset permissions, wherein the preset permissions include setting permissions for the floating window of the target application and deleting permissions for the target application; And for displaying the virtual function button of the preset authority through the communication unit according to the determined display mode during the display of the floating window; and for detecting that the virtual function button is targeted During the selection operation, the operation corresponding to the virtual function button is performed.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be processed by the above The above program includes instructions for performing the steps in any method of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。According to a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes the computer to execute the first embodiment of the present application. Part or all of the steps described in any method of the second aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第二方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。According to a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in any method of the second aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按 照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1本申请实施例提供的一种悬浮窗控制方法的流程示意图;FIG. 1 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application;
图2是本申请实施例提供的一种虚拟功能按钮的显示方式的示意图;2 is a schematic diagram of a display manner of a virtual function button provided by an embodiment of the present application;
图3是本申请实施例提供的另一种一种虚拟功能按钮的显示方式的示意图;3 is a schematic diagram of another display manner of a virtual function button provided by an embodiment of the present application;
图4A是本申请实施例提供的一种预设弹框的显示方式的结构示意图;4A is a schematic structural diagram of a display manner of a preset elastic frame provided by an embodiment of the present application;
图4B是本申请实施例提供的另一种预设弹框的显示方式的结构示意图;4B is a schematic structural diagram of another display manner of a preset elastic frame provided by an embodiment of the present application;
图5是本申请实施例提供的执行所述虚拟功能按钮对应的操作示意图;FIG. 5 is a schematic diagram of operations corresponding to the execution of the virtual function button provided by an embodiment of the present application;
图6本申请实施例提供的一种悬浮窗控制方法的流程示意图;6 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application;
图7本申请实施例提供的一种悬浮窗控制方法的流程示意图;7 is a schematic flowchart of a suspension window control method provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的结构示意图;8 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的一种悬浮窗控制装置的功能单元组成框图。9 is a block diagram of functional units of a floating window control device provided by an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first” and “second” in the description and claims of the present application and the above drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "embodiments" means that specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art understand explicitly and implicitly that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。The electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to a wireless modem, and various forms of user devices (User Equipment, UE), Mobile Station (MS), terminal equipment, etc.
目前,因为悬浮的应用程序窗口会将遮挡其他界面上的内容,并且当用户在该区域点击时,很可能会出现误操作即用户本意是要操作悬浮窗下面的界面但往往是该悬浮窗接收 到用户的操作,另外,开启悬浮窗的应用还会持续占用内存,导致移动终端的性能和功耗下降。然而,当用户想要限制该应用的权限时,由于应用数量太多等原因,没有办法快速找到该应用进行管理。At present, because the floating application window will block the content on other interfaces, and when the user clicks in this area, it is likely to cause misoperation. That is, the user intended to operate the interface below the floating window, but often the floating window receives To the user's operation, in addition, the application that opens the floating window will continue to occupy memory, resulting in a decrease in performance and power consumption of the mobile terminal. However, when the user wants to limit the permissions of the application, there is no way to quickly find the application for management because of the large number of applications.
针对上述问题,本申请实施例提出一种悬浮窗控制方法。下面对本申请实施例进行详细介绍。In view of the above problems, an embodiment of the present application proposes a method for controlling floating windows. The following describes the embodiments of the present application in detail.
请参阅图1,图1是本申请实施例提供了一种悬浮窗控制方法的流程示意图,应用于电子设备;如图所示,本悬浮窗控制方法包括:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, the method for controlling a floating window includes:
S101,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式;S101. When detecting a display request for a floating window of a target application, the electronic device determines a display mode of a virtual function button with preset permissions;
其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;Wherein, the preset permissions include setting permissions for the floating window of the target application and deleting permissions for the target application;
其中,所述目标应用可以是电子设备安装的第三方应用程序;Wherein, the target application may be a third-party application program installed by the electronic device;
S102,所述电子设备在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;S102. During the display of the floating window, the electronic device displays the virtual function button of the preset authority according to the determined display mode;
其中,所述虚拟功能按钮可以与所述悬浮窗有重叠区域;Wherein, the virtual function button may have an overlapping area with the floating window;
S103,所述电子设备在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。S103. When detecting an operation for selecting the virtual function button, the electronic device performs an operation corresponding to the virtual function button.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
在一个可能的示例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,包括:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述悬浮窗的大小;所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determining the display mode of the virtual function button with preset permissions includes: the electronic device determining the size of the floating window when detecting a display request for the floating window of the target application The electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
其中,所述悬浮窗的大小与所述电子设备的屏幕大小相关联,所述悬浮窗大小为以所述电子设备屏幕为参照物的相对大小。Wherein, the size of the floating window is related to the screen size of the electronic device, and the size of the floating window is a relative size with the electronic device screen as a reference object.
可见,本示例中,根据电子设备的屏幕大小与所述悬浮窗的大小,设定第一阈值,确定预设权限的虚拟功能按钮的显示方式,使预设权限的虚拟功能按钮的显示方式呈现多样性,在最大程度上既不影响用户对所述悬浮窗的操作,又能有效地达到显示预设权限的虚拟功能按钮的目的,使所述预设权限的虚拟功能按钮的显示方式更加人性化。It can be seen that, in this example, the first threshold is set according to the screen size of the electronic device and the size of the floating window to determine the display mode of the virtual function button with preset authority, so that the display mode of the virtual function button with preset authority is presented Variety, to the greatest extent, it does not affect the user's operation of the floating window, and can effectively achieve the purpose of displaying the virtual function button of the preset authority, making the display mode of the virtual function button of the preset authority more humane Change.
在一个可能的示例中,所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式,包括:所述电子设备在检测到所述悬浮窗的大小大于或等于第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗的过程中,显示预设弹框,所述预设弹框包括所述预设权限的设置功能的虚拟功能按钮,所述预设弹框和所述悬浮窗有重叠区域;在检测到所述悬浮窗的大小小于所述第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗的过程中,在当前显示界面的预设位置显示所述预设权限的设置功能的虚拟功能按钮,所述预设位置与所述悬浮窗不重合。In a possible example, the electronic device determining the display mode of the virtual function button with preset authority according to the size of the floating window includes: when the electronic device detects that the size of the floating window is greater than or equal to the first At a threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, the electronic device displays a preset pop-up frame, and the preset pop-up frame includes the setting of the preset permission A virtual function button of a function, the preset pop-up frame and the floating window have an overlapping area; when it is detected that the size of the floating window is smaller than the first threshold, the display mode of the virtual function button of the predetermined authority is determined as : During the process of displaying the floating window, the electronic device displays a virtual function button of the setting function of the preset authority at a preset position of the current display interface, and the preset position does not coincide with the floating window.
具体实现中,电子设备A设置第一阈值为B,现检测到悬浮窗C显示请求,C的大小大于B,显示预设弹框D,D包括所述预设权限的设置功能的虚拟功能按钮,C和D有重叠区域,如图2所示;In a specific implementation, the electronic device A sets the first threshold to B, and now detects a display request of the floating window C, the size of C is greater than B, and displays a preset pop-up frame D, where D includes a virtual function button of the preset permission setting function , C and D have overlapping areas, as shown in Figure 2;
具体实现中,电子设备A设置第一阈值为B,现检测到悬浮窗E显示请求,E的大小小于B,显示预设弹框F,F包括所述预设权限的设置功能的虚拟功能按钮,E和F不重合,如图3所示。In a specific implementation, the electronic device A sets the first threshold to B, and now detects the display request of the floating window E, the size of E is less than B, and displays a preset pop-up frame F, where F includes a virtual function button of the setting function of the preset authority , E and F do not coincide, as shown in Figure 3.
可见,本示例中,根据悬浮窗的大小,对预设弹框的显示方式作出不同调整,符合用户的操作习惯,优化服务,有利于提升用户体验感。It can be seen that, in this example, according to the size of the floating window, different adjustments are made to the display manner of the preset pop-up frame, which conforms to the user's operating habits and optimizes services, which is conducive to enhancing the user's experience.
在一个可能的实例中,所述电子设备在显示所述悬浮窗的过程中,显示预设弹框,包括:所述电子设备显示所述悬浮窗;所述电子设备确定延时显示时长,所述延时显示时长的延时显示的时间起点为显示所述悬浮窗的时间点;所述电子设备在所述延时显示时长对应的计时范围内,检测用户是否针对所述悬浮窗进行交互操作;若否,所述电子设备则按照所述延时长显示预设弹框;若是,所述电子设备则响应所述交互操作。In a possible example, during the display of the floating window, the electronic device displays a preset pop-up frame, including: the electronic device displays the floating window; the electronic device determines the delay display duration, so The starting point of the delayed display time of the delayed display duration is the time point of displaying the floating window; the electronic device detects whether the user performs an interactive operation on the suspended window within the timing range corresponding to the delayed display duration If not, the electronic device displays a preset pop-up frame according to the delay time; if yes, the electronic device responds to the interactive operation.
其中,所述延时显示时长对应的计时范围内,包括所述电子设备锁屏状态和解锁状态均进行计时。Wherein, within the timing range corresponding to the delayed display duration, both the locked state and the unlocked state of the electronic device are counted.
可见,当用户在延时显示时长对应的计时范围内进行交互操作,则不显示预设弹框,减少了不必要的弹框,避免用户进行多余的操作。It can be seen that when the user performs an interactive operation within the timing range corresponding to the delayed display duration, the preset pop-up frame is not displayed, which reduces unnecessary pop-up frames and prevents the user from performing redundant operations.
在一个可能的实例中,所述电子设备确定延时显示时长,包括:所述电子设备确定所述目标应用类型为电商购物生活类型;所述电子设备在显示所述悬浮窗第一预设时长后,显示所述预设弹框;所述电子设备确定所述目标应用类型为聊天交友类型;所述电子设备在显示所述悬浮窗第二预设时长后,显示所述预设弹框;所述电子设备确定所述目标应用类型为视频娱乐游戏类型;所述电子设备在显示所述悬浮窗第三预设时长后,显示所述预设弹框。In a possible example, the electronic device determining the delayed display duration includes: the electronic device determining that the target application type is an e-commerce shopping life type; the electronic device displays the first preset of the floating window After the duration, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; the electronic device displays the preset pop-up frame after displaying the second preset duration of the floating window The electronic device determines that the target application type is a video entertainment game type; after displaying the third preset duration of the floating window, the electronic device displays the preset pop-up frame.
具体实现中,电子设备A设置第一预设时长为X,第二预设时长为Y,第三预设时长为Z,先检测到悬浮窗B对应的目标应用C的类型为聊天交友类型,则显示B,在Y时长后,显示预设弹框。In a specific implementation, the electronic device A sets the first preset duration to X, the second preset duration to Y, and the third preset duration to Z. It first detects that the type of the target application C corresponding to the floating window B is the chat friend type, Then B is displayed, and after Y duration, the preset frame is displayed.
可见,本示例中,通过对应目标应用类型的不同预设置不同的等待时长,给用户一定的操作反应时间,考虑不同类型的目标应用所需反应时长不同,优化了用户的操作体验。It can be seen that in this example, the user is given a certain operation reaction time by presetting different waiting times corresponding to different types of target applications, and considering the different reaction times required by different types of target applications, the user's operation experience is optimized.
在一个可能的实例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,包括:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述目标应用的类型;所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determining the display mode of the virtual function button with preset authority includes: the electronic device determining the type of the target application when detecting a display request for the floating window of the target application The electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application.
其中,所述确定目标应用类型包括所述电子设备的应用平台对第三方应用或出厂时安装的应用进行应用类型分类;当所述目标应用未进行应用类型分类或为未知应用类型时,应跳转到应用类型分类界面,由用户进行手动分类。Wherein, the determination of the target application type includes the application platform classification of the third-party application or the application installed at the factory by the application platform of the electronic device; when the target application is not classified by the application type or is an unknown application type, it should be skipped Go to the application type classification interface, and the user performs manual classification.
可见,根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,当用户在面对不同目标应用的类型时,进行交互操作的反应时间也相对应的有所不同,最大程度考虑用户面对不同类型的目标应用所需的交互反应时间,减少不必要的弹框显示,在必要的时间显示弹框,引导用户对所述悬浮窗或所述目标应用进行权限设置,优化用户的操作体验。It can be seen that the display mode of the virtual function button with preset permissions is determined according to the type of the target application, and when the user faces different types of target applications, the reaction time of the interactive operation is also correspondingly different, the maximum consideration Faced with different types of target applications, the interaction reaction time required by the user reduces unnecessary pop-up frame display, displays the pop-up frame at the necessary time, guides the user to set permissions on the floating window or the target application, and optimizes the user ’s Operating experience.
在一个可能的实例中,所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,包括:所述电子设备以所述目标应用的类型为查询标识,查询预设的映射关系集合,获取所述目标应用的类型对应的预设权限的虚拟功能按钮的显示方式,所述映射关系集合包括应用程序的类型和预设权限的虚拟功能按钮的显示方式之间的对应 关系。In a possible example, the electronic device determines the display mode of the virtual function button of the preset authority according to the type of the target application, including: the electronic device uses the type of the target application as a query identifier to query the preset The mapping relationship set to obtain the display mode of the virtual function button with preset permissions corresponding to the type of the target application, the mapping relationship set includes the correspondence between the type of application program and the display mode of the virtual function button with preset permissions relationship.
其中,所述映射关系集合的形成方法包括:用户手动设置目标应用所属的映射关系,从而形成映射关系集合;服务器平台主动推送分类目标应用所属的映射关系,从而形成映射关系集合;电子设备AI生成目标应用所属的映射关系,从而形成映射关系集合。Wherein, the method for forming the mapping relationship set includes: the user manually sets the mapping relationship to which the target application belongs to form the mapping relationship set; the server platform actively pushes the mapping relationship to which the classification target application belongs to form the mapping relationship set; and the electronic device AI generates The mapping relationship to which the target application belongs, thereby forming a mapping relationship set.
可见,通过获取目标应用类型这一查询标识,形成映射关系集合,再根据映射关系集合分别设置预设权限的虚拟功能按钮的显示方式,对不同的映射关系集合中的目标应用分别进行相应的处理,减少了对用户的打扰,提升用户的业务体验。It can be seen that, by acquiring the query identifier of the target application type, a mapping relationship set is formed, and then the display mode of the virtual function buttons with preset permissions are respectively set according to the mapping relationship set, and the target applications in different mapping relationship sets are processed accordingly. , Which reduces the interruption to users and improves the user's business experience.
在一个可能的实例中,所述电子设备映射关系集合中包括电商购物生活类型、聊天交友类型、视频娱乐游戏类型:所述电商购物生活类型对应的所述预设权限的所述虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第一预设时长后,显示预设弹框;所述电子设备所述聊天交友类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第二预设时长后,显示预设弹框;所述视频娱乐游戏类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第三预设时长后,显示预设弹框。In a possible example, the electronic device mapping relationship set includes an e-commerce shopping life type, a chat friend type, and a video entertainment game type: the virtual function of the preset authority corresponding to the e-commerce shopping life type The display mode of the button is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the display mode of the virtual function button of the preset authority corresponding to the chat dating type of the electronic device The electronic device displays a preset frame after displaying the second preset duration of the floating window; the display mode of the virtual function button of the preset authority corresponding to the video entertainment game type is: After displaying the third preset duration of the floating window, a preset pop-up frame is displayed.
具体实现中,电子设备A设置第一预设时长为X,第二预设时长为Y,第三预设时长为Z,先检测到悬浮窗B对应的目标应用程序C的类型为聊天交友类型,则显示B,如图4A所示;在Y时长后,显示预设弹框,如图4B所示。In a specific implementation, the electronic device A sets the first preset duration to X, the second preset duration to Y, and the third preset duration to Z, and first detects that the type of the target application C corresponding to the floating window B is the chat dating type , B is displayed, as shown in FIG. 4A; after the duration of Y, a preset frame is displayed, as shown in FIG. 4B.
其中,检测目标应用类型的过程可以是电子设备在后台进行检测。The process of detecting the target application type may be that the electronic device performs detection in the background.
可见,以目标应用的类型为分类标准,预设置不同的预设弹框显示方式,优化用户的交互体验。It can be seen that, using the type of target application as the classification standard, different preset display modes of the preset frame are preset to optimize the user's interactive experience.
在一个可能的实例中,所述电子设备预设权限的所述虚拟功能按钮包括第一功能按钮和第二功能按钮,所述第一功能按钮用于设置所述目标应用的所述悬浮窗的设置权限,第二虚拟功能按钮用于设置所述目标应用的删除权限;所述第一虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“不喜欢,不要再弹出”;所述第二虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“卸载悬浮窗应用”。In a possible example, the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application; the display form of the first virtual function button includes: in a rectangular window, the text displays "don't like it, don't pop it again"; The display form of the second virtual function button includes: in a rectangular window, the text displays “Uninstall floating window application”.
其中,根据所述预设权限的虚拟功能按钮的显示方式不同,所述虚拟功能按钮的显示形态也有所差异;所述预设权限的虚拟功能按钮的显示时长根据目标应用类型的不同也有所不同。Wherein, the display form of the virtual function button is also different according to the display mode of the virtual function button of the preset authority; the display duration of the virtual function button of the preset authority is also different according to the target application type .
可见,所述预设权限的虚拟功能按钮提供给用户不同的交互功能,以达到不同的应用控制效果。It can be seen that the virtual function buttons with preset permissions provide different interactive functions for users to achieve different application control effects.
在一个可能的实例中,所述电子设备执行所述虚拟功能按钮对应的操作包括:若所述虚拟功能按钮为所述第一虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及标记所述目标应用的悬浮窗的设置权限为禁用状态;若所述虚拟功能按钮为所述第二虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及删除所述目标应用。In a possible example, the operation corresponding to the virtual function button performed by the electronic device includes: if the virtual function button is the first virtual function button, the corresponding operation is to close the floating window and mark The setting authority of the floating window of the target application is disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window and delete the target application.
具体实现中,如图5所示,电子设备A显示目标应用B的悬浮窗C,现有第一虚拟功能按钮X,第二虚拟功能按钮Y,若执行X,则关闭C,将B的悬浮窗设置权限改为禁用状态;若执行Y,则删除B。In a specific implementation, as shown in FIG. 5, the electronic device A displays the floating window C of the target application B, the existing first virtual function button X and the second virtual function button Y, if X is executed, C is closed, and B is suspended The window setting authority is changed to the disabled state; if Y is executed, B is deleted.
其中,所述标记所述目标应用的悬浮窗的设置权限为禁用状态,可以通过电子设备的权限设置界面更改权限状态。Wherein, the setting permission of the floating window marking the target application is disabled, and the permission status can be changed through the permission setting interface of the electronic device.
可见,上述所述电子设备执行所述虚拟功能按钮对应的操作,可以对目标应用的所述悬浮窗显示权限和目标应用进行有效控制。It can be seen that the above-mentioned electronic device performs an operation corresponding to the virtual function button, and can effectively control the floating window display authority of the target application and the target application.
与上述图1所示的实施例一致的,请参阅图6,图6是本申请实施例提供了一种悬浮窗控制方法的流程示意图,应用于电子设备,如图所示,本悬浮窗控制方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 6, which is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device. As shown in the figure, this floating window control Methods include:
S201,电子设备在检测到所述悬浮窗的大小大于或等于第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,显示预设弹框,所述预设弹框包括所述预设权限的设置功能的虚拟功能按钮,所述预设弹框和所述悬浮窗有重叠区域;S201. When detecting that the size of the floating window is greater than or equal to the first threshold, the electronic device determines that the display mode of the virtual function button with preset permissions is: during the process of displaying the floating window, displaying a preset pop-up frame, The preset pop-up frame includes a virtual function button of the preset permission setting function, and the preset pop-up frame and the floating window have overlapping areas;
S202,所述电子设备在检测到所述悬浮窗的大小小于所述第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,在当前显示界面的预设位置显示所述预设权限的设置功能的虚拟功能按钮,所述预设位置与所述悬浮窗不重合。S202, when detecting that the size of the floating window is smaller than the first threshold, the electronic device determines that the display mode of the virtual function button with preset authority is: during the process of displaying the floating window, on the current display interface The preset position of displays the virtual function button of the setting function of the preset authority, and the preset position does not coincide with the floating window.
S203,所述电子设备在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;S203. During the display of the floating window, the electronic device displays the virtual function button of the preset authority according to the determined display mode;
S204,所述电子设备在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。S204, the electronic device performs an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
此外,本示例中,根据电子设备的屏幕大小与所述悬浮窗的大小,设定第一阈值,确定预设权限的虚拟功能按钮的显示方式,使预设权限的虚拟功能按钮的显示方式呈现多样性,在最大程度上既不影响用户对所述悬浮窗的操作,又能有效地达到显示预设权限的虚拟功能按钮的目的,使所述预设权限的虚拟功能按钮的显示方式更加人性化。In addition, in this example, according to the screen size of the electronic device and the size of the floating window, a first threshold is set to determine the display mode of the virtual function button with preset authority, so that the display mode of the virtual function button with preset authority is presented Variety, to the greatest extent, it does not affect the user's operation of the floating window, and can effectively achieve the purpose of displaying the virtual function button of the preset authority, making the display mode of the virtual function button of the preset authority more humane Change.
与上述图1所示的实施例一致的,请参阅图7,图7是本申请实施例提供的一种悬浮窗控制方法的流程示意图,应用于电子设备;如图所示,本悬浮窗控制方法包括:Consistent with the embodiment shown in FIG. 1 above, please refer to FIG. 7, which is a schematic flowchart of a method for controlling a floating window provided by an embodiment of the present application, which is applied to an electronic device; Methods include:
S301,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述目标应用的类型;S301, the electronic device determines the type of the target application when it detects a display request for the floating window of the target application;
S302,所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式;S302, the electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application;
S303,所述电子设备在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;S303. During the display of the floating window, the electronic device displays the virtual function button of the preset authority according to the determined display mode;
S304,所述电子设备在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。S304, the electronic device executes an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
此外,根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,当用户在 面对不同目标应用的类型时,进行交互操作的反应时间也相对应的有所不同,最大程度考虑用户面对不同类型的目标应用所需的交互反应时间,减少不必要的弹框显示,在必要的时间显示弹框,引导用户对所述悬浮窗或所述目标应用进行权限设置,优化用户的操作体验。In addition, according to the type of the target application, the display mode of the virtual function button with preset permissions is determined. When the user faces different types of target applications, the reaction time of the interactive operation is correspondingly different. Faced with different types of target applications, the interaction reaction time required by the user reduces unnecessary pop-up frame display, displays the pop-up frame at the necessary time, guides the user to set permissions on the floating window or the target application, and optimizes the user ’s Operating experience.
与上述图1、图6、图7所示的实施例一致的,请参阅图8,图8是本申请实施例提供的一种电子设备400的结构示意图,如图所示,所述电子设备400包括应用处理器410、存储器420、通信接口430以及一个或多个程序421,其中,所述一个或多个程序421被存储在上述存储器420中,并且被配置由上述应用处理器410执行,所述一个或多个程序421包括用于执行以下步骤的指令;Consistent with the above embodiments shown in FIGS. 1, 6, and 7, please refer to FIG. 8, which is a schematic structural diagram of an electronic device 400 provided by an embodiment of the present application. As shown in the figure, the electronic device 400 includes an application processor 410, a memory 420, a communication interface 430, and one or more programs 421, wherein the one or more programs 421 are stored in the above-mentioned memory 420 and are configured to be executed by the above-mentioned application processor 410, The one or more programs 421 include instructions for performing the following steps;
电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;When detecting the display request of the floating window for the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the setting authority for the floating window of the target application and Delete permission for the target application;
所述电子设备在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;During the display of the floating window, the electronic device displays the virtual function button of the preset authority according to the determined display mode;
所述电子设备在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。The electronic device performs an operation corresponding to the virtual function button when it detects a selection operation for the virtual function button.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by electronic equipment The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
在一个可能的示例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,所述程序中的指令具体用于执行以下操作:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述悬浮窗的大小;所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determines the display mode of the virtual function button with preset permissions, and the instructions in the program are specifically used to perform the following operations: The electronic device detects that the floating window for the target application When displaying the request, determine the size of the floating window; the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
在一个可能的示例中,所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式,所述程序中的指令具体用于执行以下操作:所述电子设备在检测到所述悬浮窗的大小大于或等于第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,显示预设弹框,所述预设弹框包括所述预设权限的设置功能的虚拟功能按钮,所述预设弹框和所述悬浮窗有重叠区域;所述电子设备在检测到所述悬浮窗的大小小于所述第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,在当前显示界面的预设位置显示所述预设权限的设置功能的虚拟功能按钮,所述预设位置与所述悬浮窗不重合。In a possible example, the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window, and the instructions in the program are specifically used to perform the following operations: the electronic device detects When the size of the floating window is greater than or equal to the first threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, displaying a preset pop-up frame, the preset pop-up frame includes A virtual function button of the preset permission setting function, the preset pop-up frame and the floating window have overlapping areas; the electronic device determines when the size of the floating window is smaller than the first threshold The display mode of the virtual function button of the preset authority is: in the process of displaying the floating window, the virtual function button of the setting function of the preset authority is displayed at the preset position of the current display interface, and the preset position and The suspension windows do not coincide.
在一个可能的实例中,所述电子设备在显示所述悬浮窗的过程中,显示预设弹框,所述程序中的指令具体用于执行以下操作:所述电子设备显示所述悬浮窗;所述电子设备确定延时显示时长,所述延时显示时长的延时显示的时间起点为显示所述悬浮窗的时间点;所述电子设备在所述延时显示时长对应的计时范围内,检测用户是否针对所述悬浮窗进行交互操作;若否,所述电子设备则按照所述延时长显示预设弹框;若是,所述电子设备则 响应所述交互操作。In a possible example, during the display of the floating window, the electronic device displays a preset pop-up frame, and the instructions in the program are specifically used to perform the following operations: the electronic device displays the floating window; The electronic device determines the delay display duration. The starting point of the delay display duration is the time point at which the floating window is displayed; the electronic device is within the timing range corresponding to the delay display duration, Detecting whether the user performs an interactive operation on the floating window; if not, the electronic device displays a preset pop-up frame according to the delay time; if it is, the electronic device responds to the interactive operation.
在一个可能的实例中,所述电子设备确定延时显示时长,所述程序中的指令具体用于执行以下操作:所述电子设备确定所述目标应用类型为电商购物生活类型;所述电子设备在显示所述悬浮窗第一预设时长后,显示所述预设弹框;所述电子设备确定所述目标应用类型为聊天交友类型;所述电子设备在显示所述悬浮窗第二预设时长后,显示所述预设弹框;所述电子设备确定所述目标应用类型为视频娱乐游戏类型;所述电子设备在显示所述悬浮窗第三预设时长后,显示所述预设弹框。In a possible example, the electronic device determines the delayed display duration, and the instructions in the program are specifically used to perform the following operations: the electronic device determines that the target application type is an e-commerce shopping life type; the electronic After the device displays the first preset duration of the floating window, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; and the electronic device displays the second predetermined window of the floating window After setting the duration, the preset pop-up frame is displayed; the electronic device determines that the target application type is a video entertainment game type; the electronic device displays the preset after displaying the third preset duration of the floating window Bullet box.
在一个可能的实例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,所述程序中的指令具体用于执行以下操作:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述目标应用的类型;所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determines the display mode of the virtual function button with preset permissions, and the instructions in the program are specifically used to perform the following operations: The electronic device detects that the floating window for the target application When displaying the request, determine the type of the target application; the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application.
在一个可能的实例中,所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,所述程序中的指令具体用于执行以下操作:所述电子设备以所述目标应用的类型为查询标识,查询预设的映射关系集合,获取所述目标应用的类型对应的预设权限的虚拟功能按钮的显示方式,所述映射关系集合包括应用程序的类型和预设权限的虚拟功能按钮的显示方式之间的对应关系。In a possible example, the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application, and the instructions in the program are specifically used to perform the following operations: the electronic device uses the The type of the target application is a query identifier, a preset set of mapping relationships is queried, and a display mode of a virtual function button with preset permissions corresponding to the type of the target application is obtained, and the set of mapping relationships includes the type of the application and the preset permissions The correspondence between the display modes of the virtual function buttons.
在一个可能的实例中,所述电子设备映射关系集合中包括电商购物生活类型、聊天交友类型、视频娱乐游戏类型,所述程序中的指令具体用于执行以下操作:所述电商购物生活类型对应的所述预设权限的所述虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第一预设时长后,显示预设弹框;所述聊天交友类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第二预设时长后,显示预设弹框;所述视频娱乐游戏类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第三预设时长后,显示预设弹框。In a possible example, the electronic device mapping relationship set includes an e-commerce shopping life type, a chat dating type, and a video entertainment game type, and the instructions in the program are specifically used to perform the following operations: the e-commerce shopping life The display mode of the virtual function button of the preset authority corresponding to the type is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the preset corresponding to the chat friend type The display mode of the virtual function button with permission setting is: after displaying the second preset duration of the floating window, the electronic device displays a preset pop-up frame; the virtual function button with preset permission corresponding to the video entertainment game type The display mode is: after displaying the third preset duration of the floating window, the electronic device displays a preset pop-up frame.
在一个可能的实例中,所述电子设备预设权限的所述虚拟功能按钮包括第一功能按钮和第二功能按钮,所述第一功能按钮用于设置所述目标应用的所述悬浮窗的设置权限,第二虚拟功能按钮用于设置所述目标应用的删除权限;所述第一虚拟功能按钮的显示形态,所述程序中的指令具体用于执行以下操作:在一个矩形窗口内,文字显示“不喜欢,不要再弹出”;所述第二虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“卸载悬浮窗应用”。In a possible example, the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application; the display form of the first virtual function button, the instructions in the program are specifically used to perform the following operations: in a rectangular window, text "Don't like it, don't pop it again" is displayed; the display form of the second virtual function button includes: in a rectangular window, the text displays "Uninstall floating window application".
在一个可能的实例中,所述电子设备执行所述虚拟功能按钮对应的操作,所述程序中的指令具体用于执行以下操作:若所述虚拟功能按钮为所述第一虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及标记所述目标应用的悬浮窗的设置权限为禁用状态;若所述虚拟功能按钮为所述第二虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及删除所述目标应用。In a possible example, the electronic device performs an operation corresponding to the virtual function button, and the instructions in the program are specifically used to perform the following operation: if the virtual function button is the first virtual function button, then The corresponding operation is to close the floating window, and the setting permission of the floating window of the target application is marked as disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window Window, and delete the target application.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solutions of the embodiments of the present application from the perspective of the execution process on the method side. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对 应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the functional unit of the electronic device according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above integrated unit may be implemented in the form of hardware or software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
图9是本申请实施例中所涉及的悬浮窗控制装置500的功能单元组成框图。该电子装置500应用于电子设备,包括处理单元501和通信单元502,其中,9 is a block diagram of functional units of a floating window control device 500 involved in an embodiment of the present application. The electronic device 500 is applied to electronic equipment, including a processing unit 501 and a communication unit 502, wherein,
所述处理单元501,用于在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;以及用于在显示所述悬浮窗的过程中,按照确定的所述显示方式通过所述通信单元502显示所述预设权限的所述虚拟功能按钮;以及用于在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。The processing unit 501 is configured to determine a display mode of a virtual function button of a preset authority when detecting a display request for a floating window of a target application, where the preset authority includes the Setting permissions of the floating window and deleting permissions for the target application; and for displaying the preset permissions through the communication unit 502 according to the determined display mode during the display of the floating window A virtual function button; and for performing an operation corresponding to the virtual function button when a selection operation for the virtual function button is detected.
可以看出,本申请实施例中,电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。可见,上述方案提供了在悬浮窗界面显示预设权限的设置功能的不同显示方式,优化了现有技术中在悬浮窗界面快速控制应用的现有方法,同时,对于被电子设备误授予开启悬浮窗权限的应用程序,可以通过该方案禁止该应用程序开启悬浮窗或者直接卸载该应用程序,提升了电子设备控制应用的高效性和便捷性。It can be seen that in the embodiment of the present application, when detecting the display request for the floating window of the target application, the electronic device determines the display mode of the virtual function button of the preset authority, where the preset authority includes the target authority Setting authority of the floating window of the application and deleting authority for the target application; during the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode; When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed. It can be seen that the above scheme provides different display methods for displaying the setting function of preset permissions on the floating window interface, optimizing the existing method for quickly controlling the application in the floating window interface in the prior art, and at the same time, suspending the suspension by mistake by the electronic device The application program with window permission can prohibit the application program from opening the floating window or directly uninstall the application program through the scheme, which improves the efficiency and convenience of the electronic device control application.
在一个可能的示例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,所述处理单元501具体用于:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述悬浮窗的大小;所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determines a display mode of a virtual function button with preset permissions, and the processing unit 501 is specifically configured to: when the electronic device detects a display request for a floating window of a target application, Determine the size of the floating window; the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window.
在一个可能的示例中,所述电子设备根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式,所述处理单元501具体用于:所述电子设备在检测到所述悬浮窗的大小大于或等于第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗的过程中,显示预设弹框,所述预设弹框包括所述预设权限的设置功能的虚拟功能按钮,所述预设弹框和所述悬浮窗有重叠区域;所述电子设备在检测到所述悬浮窗的大小小于所述第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,在当前显示界面的预设位置显示所述预设权限的设置功能的虚拟功能按钮,所述预设位置与所述悬浮窗不重合。In a possible example, the electronic device determines the display mode of the virtual function button with preset authority according to the size of the floating window, and the processing unit 501 is specifically configured to: when the electronic device detects the floating window When the size is greater than or equal to the first threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, the electronic device displays a preset pop-up frame, and the preset pop-up frame includes A virtual function button of the preset permission setting function, the preset pop-up frame and the floating window have overlapping areas; the electronic device determines when the size of the floating window is smaller than the first threshold The display mode of the virtual function button of the preset authority is: in the process of displaying the floating window, the virtual function button of the setting function of the preset authority is displayed at the preset position of the current display interface, and the preset position and The suspension windows do not coincide.
在一个可能的实例中,所述电子设备在显示所述悬浮窗的过程中,显示预设弹框,所述处理单元501具体用于:所述电子设备显示所述悬浮窗;所述电子设备确定延时显示时长,所述延时显示时长的延时显示的时间起点为显示所述悬浮窗的时间点;所述电子设备在所述延时显示时长对应的计时范围内,检测用户是否针对所述悬浮窗进行交互操作;若否,所述电子设备则按照所述延时长显示预设弹框;若是,所述电子设备则响应所述交互操作。In a possible example, during the process of displaying the floating window, the electronic device displays a preset pop-up frame, and the processing unit 501 is specifically configured to: the electronic device displays the floating window; the electronic device Determine the duration of the delayed display, the starting point of the delayed display of the delayed display duration is the time of displaying the floating window; the electronic device detects whether the user is targeting within the timing range corresponding to the delayed display duration The floating window performs an interactive operation; if not, the electronic device displays a preset pop-up frame according to the delay time; if it is, the electronic device responds to the interactive operation.
在一个可能的实例中,所述电子设备确定延时显示时长,所述处理单元501具体用于:所述电子设备确定所述目标应用类型为电商购物生活类型;所述电子设备在显示所述悬浮窗第一预设时长后,显示所述预设弹框;所述电子设备确定所述目标应用类型为聊天交友类型;所述电子设备在显示所述悬浮窗第二预设时长后,显示所述预设弹框;所述电子设 备确定所述目标应用类型为视频娱乐游戏类型;在显示所述悬浮窗第三预设时长后,显示所述预设弹框。In a possible example, the electronic device determines the delayed display duration, and the processing unit 501 is specifically configured to: the electronic device determines that the target application type is an e-commerce shopping life type; the electronic device displays After the first preset duration of the floating window, the preset pop-up frame is displayed; the electronic device determines that the target application type is a chat dating type; after the electronic device displays the second preset duration of the floating window, Displaying the preset pop-up frame; the electronic device determines that the target application type is a video entertainment game type; after displaying the third preset duration of the floating window, displaying the preset pop-up frame.
在一个可能的实例中,所述电子设备确定预设权限的虚拟功能按钮的显示方式,所述处理单元501具体用于:所述电子设备在检测到针对目标应用的悬浮窗的显示请求时,确定所述目标应用的类型;所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式。In a possible example, the electronic device determines a display mode of a virtual function button with preset permissions, and the processing unit 501 is specifically configured to: when the electronic device detects a display request for a floating window of a target application, Determine the type of the target application; the electronic device determines the display mode of the virtual function button with preset authority according to the type of the target application.
在一个可能的实例中,所述电子设备根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,所述处理单元501具体用于:所述电子设备以所述目标应用的类型为查询标识,查询预设的映射关系集合,获取所述目标应用的类型对应的预设权限的虚拟功能按钮的显示方式,所述映射关系集合包括应用程序的类型和预设权限的虚拟功能按钮的显示方式之间的对应关系。In a possible example, the electronic device determines the display mode of the virtual function button with preset permissions according to the type of the target application, and the processing unit 501 is specifically configured to: the electronic device uses the type of the target application For querying identifiers, querying a preset mapping relationship set to obtain a display mode of a virtual function button with preset permissions corresponding to the type of the target application, the mapping relationship set includes a virtual function button with application type and preset permissions The corresponding relationship between the display methods.
在一个可能的实例中,所述电子设备映射关系集合中包括电商购物生活类型、聊天交友类型、视频娱乐游戏类型,所述处理单元501具体用于:所述电商购物生活类型对应的所述预设权限的所述虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第一预设时长后,显示预设弹框;所述聊天交友类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第二预设时长后,显示预设弹框;所述视频娱乐游戏类型对应的预设权限的虚拟功能按钮的显示方式为:所述电子设备在显示所述悬浮窗第三预设时长后,显示预设弹框。In a possible example, the electronic device mapping relationship set includes an e-commerce shopping life type, a chat friend type, and a video entertainment game type, and the processing unit 501 is specifically used for: all the locations corresponding to the e-commerce shopping life type The display mode of the virtual function button of the preset authority is: after the electronic device displays the first preset duration of the floating window, a preset pop-up frame is displayed; the virtual of the preset authority corresponding to the chat friend type The display mode of the function button is: after displaying the second preset duration of the floating window, the electronic device displays a preset pop-up frame; the display mode of the virtual function button of the preset authority corresponding to the video entertainment game type is: After displaying the third preset duration of the floating window, the electronic device displays a preset pop-up frame.
在一个可能的实例中,所述电子设备预设权限的所述虚拟功能按钮包括第一功能按钮和第二功能按钮,所述第一功能按钮用于设置所述目标应用的所述悬浮窗的设置权限,第二虚拟功能按钮用于设置所述目标应用的删除权限;所述第一虚拟功能按钮的显示形态,所述处理单元501具体用于:在一个矩形窗口内,文字显示“不喜欢,不要再弹出”;所述第二虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“卸载悬浮窗应用”。In a possible example, the virtual function buttons with preset permissions of the electronic device include a first function button and a second function button, and the first function button is used to set the floating window of the target application Set permissions, the second virtual function button is used to set the delete permission of the target application; the display form of the first virtual function button, the processing unit 501 is specifically used to: in a rectangular window, the text displays "dislike , Do not pop up again "; the display form of the second virtual function button includes: in a rectangular window, the text displays" Uninstall floating window application ".
在一个可能的实例中,所述电子设备执行所述虚拟功能按钮对应的操作,所述处理单元501具体用于:若所述虚拟功能按钮为所述第一虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及标记所述目标应用的悬浮窗的设置权限为禁用状态;若所述虚拟功能按钮为所述第二虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及删除所述目标应用。In a possible example, the electronic device performs an operation corresponding to the virtual function button, and the processing unit 501 is specifically configured to: if the virtual function button is the first virtual function button, the corresponding operation is Close the floating window and mark the setting permission of the floating window of the target application as disabled; if the virtual function button is the second virtual function button, the corresponding operation is to close the floating window and delete The target application.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the foregoing method embodiments , The aforementioned computer includes electronic devices.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to perform any of the methods described in the foregoing method embodiments Some or all steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described action sequence, Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种 逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above-mentioned units is only a division of logical functions. In actual implementation, there may be other division methods, for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections may be indirect couplings or communication connections through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or may be 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the above integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application. The aforementioned memory includes: U disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by a program instructing relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-Only Memory (English: Read-Only Memory, abbreviation: ROM), Random Access Device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and the core idea of the present application; Those of ordinary skill in the art, according to the ideas of the present application, may have changes in specific implementations and application scopes. In summary, the content of this specification should not be construed as limiting the present application.

Claims (13)

  1. 一种悬浮窗控制方法,其特征在于,应用于电子设备,所述方法包括:A method for controlling a floating window, characterized in that it is applied to electronic equipment, the method includes:
    在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;When a display request for a floating window of a target application is detected, a display mode of a virtual function button of a preset authority is determined, where the preset authority includes setting authority of the floating window for the target application and Describe the deletion permission of the target application;
    在显示所述悬浮窗的过程中,按照确定的所述显示方式显示所述预设权限的所述虚拟功能按钮;In the process of displaying the floating window, displaying the virtual function button of the preset authority according to the determined display mode;
    在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。When a selection operation for the virtual function button is detected, an operation corresponding to the virtual function button is performed.
  2. 根据权利要求1所述的方法,其特征在于,所述确定预设权限的虚拟功能按钮的显示方式,包括:The method according to claim 1, wherein the display manner of the virtual function button that determines the preset authority includes:
    在检测到针对目标应用的悬浮窗的显示请求时,确定所述悬浮窗的大小;Determining the size of the floating window when detecting a display request for the floating window of the target application;
    根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式。The display mode of the virtual function button with preset authority is determined according to the size of the floating window.
  3. 根据权利要求2所述的方法,其特征在于,所述根据所述悬浮窗的大小确定预设权限的虚拟功能按钮的显示方式,包括:The method according to claim 2, wherein the determining of the display mode of the virtual function button with preset authority according to the size of the floating window includes:
    在检测到所述悬浮窗的大小大于或等于第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,显示预设弹框,所述预设弹框包括所述预设权限的设置功能的虚拟功能按钮,所述预设弹框和所述悬浮窗有重叠区域;When it is detected that the size of the floating window is greater than or equal to the first threshold, the display mode of the virtual function button that determines the preset authority is: during the process of displaying the floating window, displaying a preset pop-up frame, the preset The pop-up frame includes a virtual function button of the preset permission setting function, and the preset pop-up frame and the floating window have overlapping areas;
    在检测到所述悬浮窗的大小小于所述第一阈值时,确定预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗的过程中,在当前显示界面的预设位置显示所述预设权限的设置功能的虚拟功能按钮,所述预设位置与所述悬浮窗不重合。When it is detected that the size of the floating window is smaller than the first threshold, the display mode of the virtual function button that determines the preset authority is as follows: During the process of displaying the floating window, the displayed position is displayed at the preset position of the current display interface In the virtual function button of the setting function of the preset authority, the preset position does not coincide with the floating window.
  4. 根据权利要求3所述的方法,其特征在于,所述在显示所述悬浮窗的过程中,显示预设弹框,包括:The method according to claim 3, wherein displaying the preset pop-up frame during displaying the floating window includes:
    显示所述悬浮窗;Display the floating window;
    确定延时显示时长,所述延时显示时长的延时显示的时间起点为显示所述悬浮窗的时间点;Determine the duration of the delay display, the starting point of the delay display of the delay display time is the time point of displaying the floating window;
    在所述延时显示时长对应的计时范围内,检测用户是否针对所述悬浮窗进行交互操作;Within the timing range corresponding to the delay display duration, detecting whether the user performs an interactive operation on the floating window;
    若否,则按照所述延时长显示预设弹框;If not, the preset frame is displayed according to the delay time;
    若是,则响应所述交互操作。If yes, respond to the interactive operation.
  5. 根据权利要求4所述的方法,其特征在于,所述确定延时显示时长,包括:The method according to claim 4, wherein the determining of the delayed display duration comprises:
    确定所述目标应用类型为电商购物生活类型;Determine that the target application type is an e-commerce shopping life type;
    在显示所述悬浮窗第一预设时长后,显示所述预设弹框;After displaying the first preset duration of the floating window, displaying the preset pop-up frame;
    确定所述目标应用类型为聊天交友类型;Determine that the target application type is a chat friend type;
    在显示所述悬浮窗第二预设时长后,显示所述预设弹框;After displaying the second preset duration of the floating window, displaying the preset pop-up frame;
    确定所述目标应用类型为视频娱乐游戏类型;Determine that the target application type is a video entertainment game type;
    在显示所述悬浮窗第三预设时长后,显示所述预设弹框。After displaying the third preset duration of the floating window, the preset spring frame is displayed.
  6. 根据权利要求1所述的方法,其特征在于,所述确定预设权限的虚拟功能按钮的显示方式,包括:The method according to claim 1, wherein the display manner of the virtual function button that determines the preset authority includes:
    在检测到针对目标应用的悬浮窗的显示请求时,确定所述目标应用的类型;When a display request for a floating window of a target application is detected, the type of the target application is determined;
    根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式。The display mode of the virtual function button with preset authority is determined according to the type of the target application.
  7. 根据权利要求6所述的方法,其特征在于,所述根据所述目标应用的类型确定预设权限的虚拟功能按钮的显示方式,包括:The method according to claim 6, wherein the determining of the display mode of the virtual function button with preset permissions according to the type of the target application includes:
    以所述目标应用的类型为查询标识,查询预设的映射关系集合,获取所述目标应用的 类型对应的预设权限的虚拟功能按钮的显示方式,所述映射关系集合包括应用程序的类型和预设权限的虚拟功能按钮的显示方式之间的对应关系。Use the type of the target application as a query identifier, query a preset mapping relationship set, and obtain a display mode of a virtual function button with preset permissions corresponding to the target application type. The mapping relationship set includes the application type and Correspondence between the display modes of virtual function buttons with preset permissions.
  8. 根据权利要求7所述的方法,其特征在于,所述映射关系集合中包括电商购物生活类型、聊天交友类型、视频娱乐游戏类型;The method according to claim 7, wherein the mapping relationship set includes an e-commerce shopping life type, a chat friend type, and a video entertainment game type;
    所述电商购物生活类型对应的所述预设权限的所述虚拟功能按钮的显示方式为:在显示所述悬浮窗第一预设时长后,显示预设弹框;The display mode of the virtual function button of the preset authority corresponding to the e-commerce shopping life type is: after displaying the first preset duration of the floating window, a preset pop-up frame is displayed;
    所述聊天交友类型对应的预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗第二预设时长后,显示预设弹框;The display mode of the virtual function button with preset permissions corresponding to the chat dating type is: after displaying the second preset duration of the floating window, displaying a preset pop-up frame;
    所述视频娱乐游戏类型对应的预设权限的虚拟功能按钮的显示方式为:在显示所述悬浮窗第三预设时长后,显示预设弹框。The display mode of the virtual function button of the preset authority corresponding to the video entertainment game type is: after displaying the third preset duration of the floating window, a preset pop-up frame is displayed.
  9. 根据权利要求1-8所述的方法,其特征在于,所述预设权限的所述虚拟功能按钮包括第一功能按钮和第二功能按钮,所述第一功能按钮用于设置所述目标应用的所述悬浮窗的设置权限,第二虚拟功能按钮用于设置所述目标应用的删除权限;The method according to claim 1-8, wherein the virtual function buttons of the preset authority include a first function button and a second function button, and the first function button is used to set the target application The setting permission of the floating window, the second virtual function button is used to set the deleting permission of the target application;
    所述第一虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“不喜欢,不要再弹出”;The display form of the first virtual function button includes: in a rectangular window, the text displays "Don't like it, don't pop it again";
    所述第二虚拟功能按钮的显示形态包括:在一个矩形窗口内,文字显示“卸载悬浮窗应用”。The display form of the second virtual function button includes: in a rectangular window, the text displays "uninstall floating window application".
  10. 根据权利要求9所述的方法,其特征在于,所述执行所述虚拟功能按钮对应的操作包括:The method according to claim 9, wherein the operation corresponding to the execution of the virtual function button comprises:
    若所述虚拟功能按钮为所述第一虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及标记所述目标应用的悬浮窗的设置权限为禁用状态;If the virtual function button is the first virtual function button, the corresponding operation is to close the floating window and mark the setting permission of the target application of the floating window as disabled;
    若所述虚拟功能按钮为所述第二虚拟功能按钮,则对应的操作为关闭所述悬浮窗,以及删除所述目标应用。If the virtual function button is the second virtual function button, the corresponding operations are to close the floating window and delete the target application.
  11. 一种悬浮窗控制装置,其特征在于,应用于电子设备,所述悬浮窗控制装置包括处理单元和通信单元,A floating window control device is characterized by being applied to electronic equipment. The floating window control device includes a processing unit and a communication unit,
    所述处理单元,用于在检测到针对目标应用的悬浮窗的显示请求时,确定预设权限的虚拟功能按钮的显示方式,其中,所述预设权限包括针对所述目标应用的所述悬浮窗的设置权限和针对所述目标应用的删除权限;以及用于在显示所述悬浮窗的过程中,按照确定的所述显示方式通过所述通信单元显示所述预设权限的所述虚拟功能按钮;以及用于在检测到针对所述虚拟功能按钮的选取操作时,执行所述虚拟功能按钮对应的操作。The processing unit is configured to determine a display mode of a virtual function button of a preset authority when detecting a display request for a floating window of a target application, where the preset authority includes the suspension of the target application Setting authority of the window and deleting authority for the target application; and the virtual function for displaying the preset authority through the communication unit according to the determined display mode during the display of the floating window A button; and for performing an operation corresponding to the virtual function button when a selection operation for the virtual function button is detected.
  12. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-10任一项所述的方法中的步骤的指令。An electronic device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and are configured to be executed by the processor, The program includes instructions for performing the steps in the method of any one of claims 1-10.
  13. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-10任一项所述的方法。A computer-readable storage medium characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-10.
PCT/CN2018/115715 2018-11-15 2018-11-15 Floating window control method and related product WO2020097873A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/115715 WO2020097873A1 (en) 2018-11-15 2018-11-15 Floating window control method and related product
CN201880097181.0A CN112654957B (en) 2018-11-15 2018-11-15 Suspended window control method and related products

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115715 WO2020097873A1 (en) 2018-11-15 2018-11-15 Floating window control method and related product

Publications (1)

Publication Number Publication Date
WO2020097873A1 true WO2020097873A1 (en) 2020-05-22

Family

ID=70731306

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/115715 WO2020097873A1 (en) 2018-11-15 2018-11-15 Floating window control method and related product

Country Status (2)

Country Link
CN (1) CN112654957B (en)
WO (1) WO2020097873A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818226A (en) * 2020-07-01 2020-10-23 深圳传音控股股份有限公司 Interface display and attribute conversion method, mobile terminal and storage medium
CN113126845A (en) * 2021-04-23 2021-07-16 北京有竹居网络技术有限公司 Display method, terminal, equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114356162A (en) * 2021-12-30 2022-04-15 Oppo广东移动通信有限公司 Content display method and related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN104793838A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension display implementing method and device
CN105808245A (en) * 2016-03-01 2016-07-27 上海卓易科技股份有限公司 Floating window control method and system
US20170168685A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for controlling terminal window display

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3984736B2 (en) * 1998-10-02 2007-10-03 キヤノン株式会社 Information processing method, information processing apparatus, and storage medium
US20050004844A1 (en) * 2003-04-23 2005-01-06 Olivier Attia Integrating barcode scanner enabled services in existing e-commerce applications using a floating pop-up web window
CN106445345B (en) * 2016-09-30 2019-06-28 北京金山安全软件有限公司 Suspension window display method and device and electronic equipment
CN107908489A (en) * 2017-11-27 2018-04-13 维沃移动通信有限公司 Replicate the method pasted and mobile terminal
CN108108078B (en) * 2017-12-18 2021-03-12 Oppo广东移动通信有限公司 Electronic equipment, display control method and related product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device
CN104793838A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension display implementing method and device
US20170168685A1 (en) * 2015-12-15 2017-06-15 Le Holdings (Beijing) Co., Ltd. Method and electronic device for controlling terminal window display
CN105808245A (en) * 2016-03-01 2016-07-27 上海卓易科技股份有限公司 Floating window control method and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111818226A (en) * 2020-07-01 2020-10-23 深圳传音控股股份有限公司 Interface display and attribute conversion method, mobile terminal and storage medium
CN113126845A (en) * 2021-04-23 2021-07-16 北京有竹居网络技术有限公司 Display method, terminal, equipment and storage medium
CN113126845B (en) * 2021-04-23 2022-06-17 北京有竹居网络技术有限公司 Display method, terminal, equipment and storage medium

Also Published As

Publication number Publication date
CN112654957B (en) 2024-02-09
CN112654957A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
US10958459B2 (en) Method and apparatus for processing group chat message
US10884611B2 (en) Method and apparatus for controlling touch screen of terminal, and terminal
US10261683B2 (en) Electronic apparatus and screen display method thereof
US20160301743A1 (en) Method and system of sharing information in a social networking application
US20190095059A1 (en) Method and device for processing application icon and electronic apparatus
WO2020097873A1 (en) Floating window control method and related product
WO2020057131A1 (en) Content sharing method, terminal device and storage medium
US10474507B2 (en) Terminal application process management method and apparatus
CN106227585B (en) Application program starting method, device and equipment
US20160004425A1 (en) Method of displaying graphic user interface and electronic device implementing same
CN107329865B (en) Method for opening adb function of debugging bridge, mobile terminal and computer readable medium
WO2017032080A1 (en) Method and device for address book control and mobile terminal
CN107729764A (en) Guard method, device, storage medium and the electronic equipment of sensitive information
US20220155939A1 (en) Icon display method and mobile terminal
US9647908B2 (en) Method, apparatus and system for determining software performance
US20150177957A1 (en) Method and apparatus for processing object provided through display
CN107729765B (en) Multimedia data management method and device, storage medium and electronic equipment
US20160092441A1 (en) File Acquiring Method and Device
CN104618223A (en) Information recommendation management method, device and system
US20180349580A1 (en) Information processing method and device, and electronic equipment
CN108090345B (en) Linux system external command execution method and device
US20180357404A1 (en) Information processing method and apparatus, and electronic device
CN107835984B (en) Thermal mitigation user experience
WO2020048159A1 (en) Unlocking control method and related device
US10628078B2 (en) Data access method and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18940362

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18940362

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 06.10.2021)