Display device and response method of control operation thereof
By running the virtual display screen in the display device and displaying its interface with a floating window, the problem that the virtual display screen cannot be displayed separately is solved, and a display effect with high flexibility and accurate response is achieved.
Patent Information
- Application Number
- CN202010490520.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-02
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2040-06-02
AI Technical Summary
In the prior art, the application interface of the virtual display screen cannot be displayed in a split screen manner, resulting in poor display flexibility.
A display device and its response method for controlling operations is provided, a virtual display screen is run through a physical display screen and a processor, a virtual display screen is displayed using a suspended window, and a display screen responding to operations is determined by detecting touch focus.
It realizes flexible switching and response between physical displays and virtual displays, improves display flexibility, and ensures accurate response to user operations.
Smart Images

Figure CN113760164B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a display device and a response method for its control operation. Background Art
[0002] As terminal functions become more abundant, interfaces of different application programs may be displayed in a split-screen manner on the display interface of the terminal to meet the needs of users to view interfaces of multiple application programs at the same time.
[0003] In the related art, the application interface of the virtual display screen running in the terminal cannot be displayed in a split-screen manner, and the display flexibility is poor. Summary of the invention
[0004] The present application provides a display device and a response method for its control operation, which can solve the problem of poor display flexibility in related technologies. The technical solution is as follows:
[0005] In one aspect, a display device is provided, the display device comprising a physical display screen and a processor, wherein a virtual display screen runs in the display device; a first interface is displayed in the physical display screen, and a floating window is displayed on the first interface, wherein the floating window is used to display a second interface of the virtual display screen; and the processor is used to:
[0006] Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface;
[0007] Determine whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen;
[0008] If the touch focus is on the physical display screen, controlling the application to which the first interface belongs to respond to the control operation;
[0009] If the touch focus is on the virtual display screen, the application to which the second interface belongs is controlled to respond to the control operation.
[0010] On the other hand, a display device is provided, the display device comprising a physical display screen, a processor and a communication module, the communication module is connected to an external device, and a virtual display screen is running in the display device; a first interface is displayed in the physical display screen, and a floating window is displayed on the first interface, the floating window is used to display a second interface of the virtual display screen; the processor is used to:
[0011] If a focus switching operation is detected, determining whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen;
[0012] Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface, or the target button is a button of the external device;
[0013] If the touch focus is on the physical display screen, controlling the application to which the first interface belongs to respond to the control operation;
[0014] If the touch focus is on the virtual display screen, the application to which the second interface belongs is controlled to respond to the control operation.
[0015] Optionally, the processor is further configured to:
[0016] Setting a parameter value of a display screen parameter to a first parameter value or a second parameter value, wherein the parameter value of the display screen parameter is used to indicate the display screen where the touch focus is located;
[0017] If it is detected that the parameter value of the display screen parameter is the first parameter value, instructing the application to which the first interface belongs to respond to the control operation;
[0018] If it is detected that the parameter value of the display screen parameter is the second parameter value, the application program to which the second interface belongs is instructed to respond to the control operation.
[0019] Optionally, the processor is further configured to:
[0020] If it is detected that the parameter value of the display screen parameter is the first parameter value, adjusting the display effect of the floating window to the first effect;
[0021] If it is detected that the parameter value of the display screen parameter is the second parameter value, adjusting the display effect of the floating window to the second effect;
[0022] The first effect is different from the second effect.
[0023] Optionally, the processor is further configured to:
[0024] When the first interface is displayed on the physical display screen, receiving a first touch operation on a function key;
[0025] In response to the first touch operation, displaying an icon of at least one application on the first interface;
[0026] receiving a second touch operation on an icon of a target application in the at least one application;
[0027] In response to the second touch operation, the floating window is displayed in a floating manner on the first interface, and an application interface of the target application is displayed in the floating window.
[0028] In another aspect, a control operation response method is provided, which is applied to a display device, wherein the display device includes a physical display screen, and a virtual display screen is running in the display device; a first interface is displayed in the physical display screen, and a floating window is displayed on the first interface, and the floating window is used to display a second interface of the virtual display screen; the method includes:
[0029] Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface;
[0030] Determine whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen;
[0031] If the touch focus is on the physical display screen, controlling the application to which the first interface belongs to respond to the control operation;
[0032] If the touch focus is on the virtual display screen, the application to which the second interface belongs is controlled to respond to the control operation.
[0033] In another aspect, a control operation response method is provided, which is applied to a display device, wherein the display device includes a physical display screen and a communication module, the communication module is connected to an external device, and a virtual display screen is running in the display device; a first interface is displayed in the physical display screen, and a floating window is displayed on the first interface, and the floating window is used to display a second interface of the virtual display screen; the method includes:
[0034] If a focus switching operation is detected, determining whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen;
[0035] Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface, or the target button is a button of the external device;
[0036] If the touch focus is on the physical display screen, controlling the application to which the first interface belongs to respond to the control operation;
[0037] If the touch focus is on the virtual display screen, the application to which the second interface belongs is controlled to respond to the control operation.
[0038] Optionally, an operating system and a floating control component are also running in the display device; and the controlling the application to which the first interface belongs to respond to the control operation includes:
[0039] The operating system sets a parameter value of a display screen parameter to a first parameter value, where the parameter value of the display screen parameter is used to indicate the display screen where the touch focus is located;
[0040] If the floating control component detects that the parameter value of the display screen parameter is the first parameter value, it instructs the application to which the first interface belongs to respond to the control operation;
[0041] The controlling the application to which the second interface belongs to respond to the control operation includes:
[0042] The operating system sets the parameter value of the display screen parameter to a second parameter value;
[0043] If the floating control component detects that the parameter value of the display screen parameter is the second parameter value, it instructs the application to which the second interface belongs to respond to the control operation.
[0044] Optionally, the method further includes:
[0045] If the floating control component detects that the parameter value of the display screen parameter is the first parameter value, the display effect of the floating window is adjusted to the first effect;
[0046] If the floating control component detects that the parameter value of the display screen parameter is the second parameter value, the display effect of the floating window is adjusted to the second effect;
[0047] The first effect is different from the second effect.
[0048] Optionally, the method further includes:
[0049] When the first interface is displayed on the physical display screen, receiving a first touch operation on a function key;
[0050] In response to the first touch operation, displaying an icon of at least one application on the first interface;
[0051] receiving a second touch operation on an icon of a target application in the at least one application;
[0052] In response to the second touch operation, the floating window is displayed in a floating manner on the first interface, and an application interface of the target application is displayed in the floating window.
[0053] On the other hand, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium. When the instructions stored in the computer-readable storage medium are executed on a computer, the computer executes the response method of the control operation as described in the above aspects.
[0054] On the other hand, a computer program product containing instructions is provided. When the instructions contained in the computer program product are executed on the computer, the computer executes the response method of the control operation described in the above aspect.
[0055] The beneficial effects of the technical solution provided by this application include at least:
[0056] The present application provides a display device and a method for responding to control operations thereof, which can control the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed on the virtual display screen belongs to respond to control operations by determining the display screen where the touch focus is currently located. The method provided by the embodiment of the present application can simultaneously display the first interface of the physical display screen and the second interface of the virtual display screen, and the display flexibility is high. In addition, the method can enable the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed in the floating window belongs to accurately respond to the user's control operation, and the reliability of the control operation response is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1 is a schematic diagram of a display device provided in an embodiment of the present application;
[0059] Figure 2 is a flow chart of a response method for a control operation provided in an embodiment of the present application;
[0060] Figure 3 is a flow chart of another control operation response method provided in an embodiment of the present application;
[0061] Figure 4 is a schematic diagram of a first interface and a floating window provided in an embodiment of the present application;
[0062] Figure 5 is a schematic diagram of another first interface and a floating window provided in an embodiment of the present application;
[0063] Figure 6 is a schematic diagram of a first interface provided in an embodiment of the present application;
[0064] Figure 7 is a schematic diagram of another first interface provided in an embodiment of the present application;
[0065] Figure 8 is a schematic diagram of the structure of another display device provided in an embodiment of the present application;
[0066] Fig. 9 is a structural schematic diagram of another display device provided in an embodiment of the present application;
[0067] Fig.10 It is a software structure block diagram of a display device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0068] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0069] The embodiment of the present application provides a display device, which may include a physical display screen (display), and the physical display screen refers to the physical display of the display device. Multiple applications may be installed in the display device, and when the application is running, the application interface of the application may be displayed in the physical display screen. In addition, in order to meet the needs of users to view the interfaces of multiple applications at the same time, a virtual display screen may also be running in the display device. The virtual display screen refers to a virtual display running in the display device.
[0070] In the related art, the application interface of the virtual display screen running in the display device can be displayed on an external display screen, but cannot be displayed on the physical display screen of the display device. Therefore, in the embodiment of the present application, in order to realize the display of the application interface of the virtual display screen in the display interface of the physical display screen, reference is made to Figure 1 The physical display screen displays a first interface 01 and a surface view (SurfaceView) 02 suspended on the first interface 01. The surface view 02 can be placed in a window frame 03 to realize the display of the application interface of the virtual display screen. Optionally, the window frame 03 can be an activity window or a suspended window.
[0071] In an embodiment of the present application, the application to which the application interface of the display screen where the touch focus is located belongs can respond to the user's control operation on the target button. The target button may be a physical button, or the target button may be a virtual button displayed in an area outside the first interface and the second interface. For example, assuming that the target button is a return button, the control operation may be a user's click operation on the return button. Of course, if the display interface has an external device, the target button may also be a button in the external device. For example, the external device may be a keyboard.
[0072] It should be noted that whether the active window obtains the touch focus is controlled by the operating system of the display device, and the operating system may be an Android operating system. If the application interface of the virtual display screen is displayed using an active window, the application interface of the first application and the application interface of the second application are displayed in the physical display screen, and the application interface of the first application is displayed in the first active window, and the application interface of the second application is displayed in the second active window. If the user clicks on the application interface of the first application, the operating system may control the first active window to obtain the touch focus, and the first application may respond to the user's control operation. If the user clicks on the application interface of the second application, the operating system may control the second active window to obtain the touch focus, and the second application may respond to the user's control operation. However, if an active window obtains the focus, the application interface of the application in other active windows will stop responding (for example, the video played by the video player software in an active window will be paused), and the user experience is poor.
[0073] Therefore, in order to improve the user experience, the embodiment of the present application can use a floating window to display the application interface of the virtual display screen. Among them, a floating window refers to a window that is displayed in a floating state in a physical display screen. For example, a floating ball displayed in the application interface of a display device is a floating window. However, whether the floating window can obtain the touch focus is not controlled by the operating system, but by the floating control component of the floating window. That is, after the floating control component sets the floating window to obtain the touch focus, the operating system cannot control the floating window not to obtain the touch focus. Alternatively, after the floating control component sets the floating window to prohibit obtaining the touch focus, the operating system cannot control the floating window to obtain the touch focus. For example, assuming that the floating window component sets the floating ball to prohibit obtaining the touch focus, when the user triggers a click operation on the return key, the floating ball will not be able to respond to the click operation.
[0074] Furthermore, the level of the floating window is higher than that of the active window. Therefore, if a floating window is used to display the application interface of a virtual display screen, if the floating control component controls the floating window to obtain the touch focus, the application to which the application interface displayed by the floating window belongs (i.e., the application to which the second interface of the virtual display screen belongs) can always respond to the control operation until the user clicks the return key multiple times to exit the floating window, and then the application to which the first interface belongs can respond to the control operation. If the floating control component cannot control the floating window to obtain the touch focus, the application to which the application interface displayed by the floating window belongs cannot always respond to the control operation. The reliability of the floating window in responding to the control operation is low.
[0075] In the embodiment of the present application, the display device 10 may be a smart phone, or a computer, a tablet computer, a car navigation system, a multimedia player, a laptop computer, a desktop computer, or a wearable device.
[0076] In an embodiment of the present application, the display device may include a physical display screen, and a virtual display screen, an operating system, and a floating control component may be running in the display device. The operating system may first determine whether the touch focus is on the physical display screen or the virtual display screen. If the touch focus is on the physical display screen, the floating control component may control the floating window not to obtain the focus, and the application to which the first interface of the physical display screen belongs responds to the control operation. If the touch focus is on the virtual display screen, the floating control component may control the floating window to obtain the focus, and the application to which the second interface of the virtual display screen belongs responds to the control operation, and the reliability of the control operation response is high.
[0077] Figure 2 is a flow chart of a control operation response method provided by an embodiment of the present application. The method can be applied to Figure 1 The display device 10 is shown. Figure 2 , the method may include:
[0078] Step 201: Receive a control operation on a target button.
[0079] In an embodiment of the present application, the display device may include a physical display screen, and a virtual display screen may be running in the display device. Multiple applications may be installed in the display device, and when each application is running, its application interface may be displayed in the physical display screen of the display device. The physical display screen displays a first interface, and a floating window suspended on the first interface, and the floating window may be used to display a second interface of the virtual display screen. The first interface and the second interface may be interfaces of different applications.
[0080] When the user triggers a control operation on a target button, the display device can receive the control operation.
[0081] Optionally, the target button may be a physical button of the display device, or the target button may be a virtual button displayed in an area outside the first interface and the second interface. For example, the physical button may include a power button and a volume button of the display device. The virtual button may be a return button.
[0082] Of course, the display device may also include a communication module, and the communication module may be connected to an external device. If the display device is connected to an external device, in this case, the target key may also be a key in the external device. For example, the external device may be a keyboard.
[0083] Step 202: Determine whether the display screen where the touch focus is currently located is a physical display screen or a virtual display screen.
[0084] In an embodiment of the present application, an operating system may be running in the display device. When a user triggers a focus switching operation on a physical display screen of the display device, the operating system may obtain the display screen where the touch focus is currently located according to the focus switching operation.
[0085] If the operating system determines that the display screen where the touch focus is currently located is a physical display screen, the display device can execute the following step 203; if the operating system determines that the display screen where the touch focus is currently located is a virtual display screen, the display device can execute the following step 204.
[0086] Step 203: Control the application program to which the first interface belongs to respond to the control operation.
[0087] In the embodiment of the present application, a floating control component may also be run in the display device. If the display device determines that the display screen where the touch focus is currently located is a physical display screen according to the above step 202, it means that the application to which the first interface belongs is currently being used by the user, and the floating control component in the display device may control the floating window not to obtain the focus, thereby causing the display device to control the application to which the first interface belongs to respond to the control operation triggered by the user.
[0088] Step 204: Control the application program to which the second interface belongs to respond to the control operation.
[0089] In an embodiment of the present application, if the display device determines according to the above step 202 that the display screen where the touch focus is currently located is a virtual display screen, it means that the application to which the second interface belongs is currently being used by the user. The floating control component in the display device can control the floating window to obtain the focus, thereby enabling the display device to control the application to which the second interface belongs to respond to the control operation triggered by the user.
[0090] In summary, the embodiments of the present application provide a method for responding to control operations, which can control the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed on the virtual display screen belongs to respond to control operations by determining the display screen where the touch focus is currently located. The method provided by the embodiments of the present application can simultaneously display the first interface of the physical display screen and the second interface of the virtual display screen, and the display flexibility is high. Moreover, the method can enable the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed in the floating window belongs to accurately respond to the user's control operations, and the reliability of the control operation response is high.
[0091] Figure 3 is a flowchart of another control operation response method provided by an embodiment of the present application. This method can be applied to Figure 1 The display device 10 is shown. Figure 3 It can be seen that the method may include:
[0092] Step 301: Detect whether a focus switching operation is received.
[0093] In an embodiment of the present application, the display device may include a physical display screen, and a virtual display screen, an operating system, and a floating control component may be running in the display device. Multiple applications may be installed in the display device, and when each application is running, its application interface may be displayed in the physical display screen of the display device. The physical display screen displays a first interface, and a floating window that is displayed floating on the first interface, and the floating window may be used to display a second interface of the virtual display screen.
[0094] The display device may include a display policy component, in which control logic code for the active window may be stored, and the control logic code may include a focus change function.
[0095] If the user triggers a focus switching operation for the display device, and the display device can receive the focus switching operation, the operating system running in the display device can execute the control logic code for the active window, that is, it can trigger the focus change function in the control logic code to run, and execute the following step 302; if the display device does not receive the focus switching operation, the operating system running in the display device will not execute the control logic code for the active window, that is, it will not trigger the focus change function to run, so the operation can be terminated without executing the following step 302.
[0096] The focus switching operation may refer to a click operation on an icon of an application installed in the display device, and the focus switching operation is used to indicate that the application interface of the application is displayed in the floating window. Alternatively, if the display screen where the touch focus is located is a physical display screen, the focus switching operation may refer to a control operation on the second interface. Alternatively, if the display screen where the touch focus is located is a virtual display screen, the focus switching operation may refer to a control operation on the first interface.
[0097] Step 302: Determine whether the display screen where the touch focus is currently located is a physical display screen or a virtual display screen.
[0098] In an embodiment of the present application, for an active window, when a user triggers a focus switching operation on a display device, the operating system may execute control logic code for the active window to obtain the display screen where the touch focus is currently located determined according to the focus switching operation.
[0099] If the operating system determines that the display screen where the touch focus is currently located is a physical display screen, the display device can execute the following step 303; if the operating system determines that the display screen where the touch focus is currently located is a virtual display screen, the display device can execute the following step 304.
[0100] Step 303: The operating system sets the parameter value of the display screen parameter to the first parameter value.
[0101] In the embodiment of the present application, in order to facilitate the operating system to adjust the parameter value of the display screen parameter, the developer can add a focus change interface to the display screen strategy component during the development process. The focus change interface can be represented by a display screen focus change function (data type required focus). For example, the display screen focus change interface can be represented as: onDisplayFocusChanged(boolean needFocus). Among them, the data type boolean variable is an 8-bit value, needFocus can be the parameter value of the display screen parameter, and the parameter value can be the first parameter value or the second parameter value.
[0102] If the operating system determines that the display screen where the touch focus is currently located is a physical display screen, the operating system may set the parameter value of the display screen parameter to the first parameter value, for example, needFocus may be set to false.
[0103] It should be noted that the parameter value of the display screen parameter is used to indicate the display screen where the touch focus is located. If the parameter value needFocus of the display screen parameter is the first parameter value (for example, false), the display screen where the touch focus is located is a physical display screen. If the parameter value needFocus of the display screen parameter is true, the display screen where the touch focus is located is a virtual display screen.
[0104] Step 304: The operating system sets the parameter value of the display screen to the second parameter value.
[0105] If the operating system determines that the display screen where the touch focus is currently located is a virtual display screen, the operating system may set the parameter value of the display screen parameter to a second parameter value, for example, needFocus may be set to true.
[0106] Step 305: Obtain a history identifier of the display screen where the touch focus was last located.
[0107] In the embodiment of the present application, the display device may pre-store a history mark of the display screen where the touch focus was last located. The display device may obtain the history mark of the display screen where the touch focus was last located based on the pre-stored content.
[0108] For example, the focus change function may have a first focus variable, and the first focus variable may record a historical focus identifier (mLastFocus). The historical focus identifier may be used to indicate the identifier of the display screen where the touch focus was last located. When the display device detects that the display content of any of the first interface and the second interface has changed, the display device may execute the control logic code for the active window, that is, when the focus change function in the control logic code may be triggered, the display device may obtain the historical identifier of the display screen where the touch focus was last located from the first focus variable in the focus change function.
[0109] Step 306: Determine the display screen where the touch focus was last located according to the history identifier.
[0110] In the embodiment of the present application, the display device may also store the identifier of the virtual display screen and the identifier of the physical display screen. The display device may determine whether the historical identifier is the identifier of the virtual display screen or the identifier of the physical display screen according to the historical identifier obtained in step 305, and further determine whether the display screen where the touch focus was last located is the virtual display screen or the physical display screen.
[0111] For example, if the historical identifier obtained by the display device according to the above step 305 is an identifier of a virtual display screen, the display device can determine that the display screen where the touch focus was last located is a virtual display screen. If the historical identifier obtained by the display device according to the above step 305 is an identifier of a physical display screen, the display device can determine that the display screen where the touch focus was last located is a physical display screen.
[0112] Step 307: Detect whether the display screen where the touch focus is currently located is the same as the display screen where the touch focus was last located.
[0113] In an embodiment of the present application, the display device can detect whether the display screen where the touch focus is currently located is the same as the display screen where the touch focus was last located based on the display screen where the touch focus was last located determined in step 306 and the display screen where the touch focus is currently located determined in step 302 above.
[0114] If it is detected that the display screen where the touch focus is currently located is the same as the display screen where it was last located, it means that the first focus state of the physical display screen and the second focus state of the virtual display screen have not changed, so the operation can be ended, and the display device does not need to perform the following step 308; if it is detected that the display screen where the touch focus is currently located is different from the display screen where it was last located, it means that the first focus state of the physical display screen and the second focus state of the virtual display screen have changed, and the display device performs the following step 308. Among them, the first focus state is used to indicate whether the focus is on the physical display screen, and the second focus state can be used to indicate whether the focus is on the virtual display screen.
[0115] For example, if the display device determines that the display screen where the touch focus was last located is a physical display screen and the display screen where the touch focus is currently located is a virtual display screen, or the display device determines that the display screen where the touch focus was last located is a virtual display screen and the display screen where the touch focus is currently located is a physical display screen, then the display device can detect that the display screen where the touch focus is currently located is different from the display screen where the touch focus was last located. That is, when the touch focus switches from a physical display screen to a virtual display screen, or from a virtual display screen to a physical display screen, it can be determined that the display screen where the touch focus is currently located is different from the display screen where the touch focus was last located.
[0116] If the display device determines that the display screen where the touch focus was last located and the display screen where it is currently located are both virtual display screens, or the display device determines that the display screen where the touch focus was last located and the display screen where it is currently located are both physical display screens, the display device can detect that the display screen where the touch focus is currently located is the same as the display screen where it was last located.
[0117] Step 308: The suspension control component detects whether the parameter value of the display screen parameter is the first parameter value or the second parameter value.
[0118] In the embodiment of the present application, the suspension control component running in the display device can register the monitoring of the display screen focus change function during the initialization process, and the suspension control component can then obtain the parameter value needFocus of the display screen parameter in the display screen focus change function. In addition, the suspension control component can detect whether the parameter value of the display screen parameter is the first parameter value or the second parameter value.
[0119] If the suspension control component detects that the parameter value of the display screen parameter is the first parameter value, the display device executes the following steps 309 and 310; if the suspension control component detects that the parameter value of the display screen parameter is the second parameter value, the display device executes the following steps 311 and 312.
[0120] Step 309: adjust the display effect of the floating window to the first effect.
[0121] In an embodiment of the present application, the first parameter value is used to indicate that the display screen where the touch focus is currently located is a physical display screen. If the floating control component detects that the parameter value of the display screen parameter is the first parameter value, it means that the touch focus is switched from the virtual display screen to the physical display screen, and the application to which the first interface belongs is being used by the user. The display device can adjust the display effect of the floating window to the first effect to remind the user that the application to which the first interface belongs can respond to the control operation at this time.
[0122] Optionally, the display device may adjust the color of the floating window to a first color, which may be gray. Figure 4 , assuming that the application to which the first interface 01 belongs is a calculator, the application to which the second interface belongs is a sticky note, and the application interface of the sticky note is displayed in the floating window 03. If the floating control component detects that the parameter value of the display screen parameter is the first parameter value (false), the display device can adjust the color of the floating window 03 to gray to remind the user that the sticky note cannot respond to the control operation at this time.
[0123] Of course, reference Figure 4 The first effect may also be represented in other ways. For example, if the floating control component detects that the parameter value of the display screen parameter is the first parameter value, the display device may set the border of the floating window to be narrower.
[0124] Step 310: Receive a control operation on a target button, and control the application to which the first interface belongs to respond to the control operation.
[0125] In an embodiment of the present application, when the user triggers a control operation on a target button, the display device can receive the control operation and control the application to which the first interface belongs to respond to the control operation.
[0126] If the floating control component detects that the parameter value of the display screen parameter is the first parameter value (false), the floating control component can set the layout parameter of the floating window to touch focus not accessible (NOT_FOCUSABLE), so that the floating window cannot intercept the control operation triggered by the user, and makes the application belonging to the second interface unable to respond to the control operation, while enabling the application belonging to the first interface to respond to the control operation.
[0127] Optionally, the target button may be a physical button of the display device. For example, the physical button may be a power button or a volume button of the display device. Alternatively, the target button may be a virtual button displayed in an area outside the first interface and the second interface. For example, the target button may be a return button. Alternatively, the display device may include a communication module, which may be connected to an external device. If the display device is connected to an external device, the target button may also be a button in the external device. For example, the external device may be a keyboard.
[0128] refer to Figure 4 When the color of the floating window is gray, if the user triggers a click operation on the return key a, the calculator can return to its upper level interface in response to the click operation.
[0129] Step 311: adjust the display effect of the floating window to the second effect.
[0130] In the embodiment of the present application, the second parameter value is used to indicate that the display screen where the touch focus is currently located is a virtual display screen. If the floating control component detects that the parameter value of the display screen parameter is the second parameter value, it means that the touch focus is switched from the physical display screen to the virtual display screen, and the application to which the second interface belongs is being used by the user, then the display device can adjust the display effect of the floating window to the second effect. In addition, the floating control component can control the floating window to obtain the touch focus.
[0131] Optionally, the display device may adjust the color of the floating window to a second color, which may be different from the first color. For example, the second color may be blue. For example, if the floating control component detects that the parameter value of the display screen parameter is the second parameter value, the display device may adjust the color of the floating window displaying the note to blue to remind the user that the note can respond to the control operation at this time.
[0132] Of course, reference Figure 5 The second effect may also be represented in other ways. For example, if the floating control component detects that the parameter value of the display screen parameter is the first parameter value, the display device may set the border of the floating window to be wider.
[0133] Step 312: Receive a control operation on the target button, and control the application to which the second interface belongs to respond to the control operation.
[0134] In an embodiment of the present application, when the user triggers a control operation on a target button, the display device can receive the control operation and control the application to which the second interface belongs to respond to the control operation.
[0135] If the floating control component detects that the parameter value of the display screen parameter is the second parameter value (true), the floating control component can set the layout parameter of the floating window to focus accessible (FOCUSABLE), so that the floating window can intercept the control operation triggered by the user, and enable the application belonging to the second interface to respond to the control operation, while making the application belonging to the first interface unable to respond to the control operation.
[0136] Example, reference Figure 4 When the color of the floating window is blue, if the user triggers a click operation on the return key a, the sticky note can return to its upper level interface in response to the click operation.
[0137] Step 313: Store the identifier of the display screen where the touch focus is currently located as a history identifier.
[0138] In the embodiment of the present application, after the display device executes the above steps 301 to 312, the user may trigger the next focus switching operation. At this time, the display device may store the identifier of the display screen where the touch focus is located in the above steps as a historical identifier, so that when the display device receives the focus switching operation next time, it can detect whether the display screen where the touch focus is located is the same as the display screen where the touch focus was located last time. Furthermore, when the display device receives the focus switching operation next time, the above steps 301 to 312 may be executed again.
[0139] It should be noted that since steps 308 to 312 are irrelevant to the identifier of the display screen where the touch focus is located, step 313 may also be performed after step 307. That is, after detecting whether the display screen where the touch focus is currently located is the same as the display screen where the touch focus was last located, the display device may store the identifier of the display screen where the touch focus is currently located as a historical identifier.
[0140] For example, the focus change function may also have a second focus variable, and the second focus variable may record a current focus identifier (mCurFocus). The current focus identifier may be used to indicate the identifier of the display screen where the touch focus is currently located. After the display device determines the display screen where the touch focus is currently located, the identifier of the display screen may be recorded in the second focus variable. Furthermore, when the display device receives the next control operation, the identifier recorded in the second focus variable is recorded in the first focus variable.
[0141] It should be noted that the display device may have a function button for displaying a floating window. When the physical display screen displays a first interface, when the display device receives a first touch operation on the function button, the display device can respond to the first touch operation and display at least one application icon on the first interface, wherein the application interface of each application icon displayed can be displayed in a floating manner on the first interface. Afterwards, when the display device receives a second touch operation on the icon of a target application in at least one application, the display device can respond to the second touch operation and display the application interface of the target application in a floating manner on the first interface.
[0142] For example, the function key b may be a physical key of a display device, or the function key b may be a virtual key displayed on a physical display screen of the display device. For example, the function key b may be one of a volume key and a power key. Alternatively, the function key b may be a combination key including a volume key and a power key. This embodiment of the present application is not limited to this.
[0143] Assume that the note records the user's monthly income, for example, Figure 4 and Figure 5 The figure shows that the income for January is X1, the income for February is X2, and the income for March is X3. If the user needs to use a calculator to calculate the income for a year, refer to Figure 6 , when the application to which the first interface displayed on the physical display screen of the display device belongs is a calculator, the user can trigger a first touch operation on a function key b in the display device, for example, the function key b includes a volume key and a power key. That is, the user can press the volume key and the power key at the same time. Then, refer to Figure 7 , the first interface can display multiple application icons. Afterwards, the user triggers a second touch operation on the note icon c among the multiple icons, then refer to Figure 4 or Figure 5, the first interface 01 can be suspended to display the application interface 03 of the sticky note. Thus, the user can refer to the monthly income recorded in the sticky note and use the calculator to calculate his annual income. The first touch operation can be one of a click operation, a single press operation, and a double press operation. The second touch operation can be a click operation.
[0144] Among them, reference Figure 7 , the first interface displays three application icons, namely, a note icon, a calendar icon, and a text message icon. Of course, the first interface may also display icons of other applications installed in the terminal, which is not limited in the present embodiment of the application.
[0145] It should be noted that the order of the steps of the control operation response method provided in the embodiment of the present application can be appropriately adjusted, and the steps can also be increased or decreased accordingly according to the situation. For example, step 305 and step 306 can be executed before step 302, the process of receiving the control operation for the target key in step 310 and step 312 can be executed before step 301, and steps 305 to 307, and step 313 can be deleted according to the actual situation. Any technician familiar with the technical field can easily think of a method of change within the technical scope disclosed in this application, which should be covered within the scope of protection of this application, so it will not be repeated.
[0146] In summary, the embodiments of the present application provide a method for responding to control operations, which can control the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed on the virtual display screen belongs to respond to control operations by determining the display screen where the touch focus is currently located. The method provided by the embodiments of the present application can simultaneously display the first interface of the physical display screen and the second interface of the virtual display screen, and the display flexibility is high. Moreover, the method can enable the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed in the floating window belongs to accurately respond to the user's control operations, and the reliability of the control operation response is high.
[0147] Figure 8 is a schematic diagram of the structure of another display device provided in an embodiment of the present application. Figure 8 It can be seen that the display device 40 may include: a physical display screen 401 and a processor 402, and a virtual display screen is running in the display device 40. The physical display screen 401 displays a first interface, and a floating window suspended on the first interface, and the floating window is used to display the second interface of the virtual display screen.
[0148] The processor 402 may be configured to:
[0149] Receiving a control operation for a target button, wherein the target button may be a physical button of a display device, or the target button may be a virtual button displayed in an area outside the first interface and the second interface;
[0150] Determine whether the display screen where the touch focus is currently located is a physical display screen or a virtual display screen;
[0151] If the touch focus is on the physical display screen, controlling the application to which the first interface belongs to respond to the control operation;
[0152] If the touch focus is on the virtual display screen, the application program to which the second interface belongs is controlled to respond to the control operation.
[0153] Optionally, the processor 402 may be configured to: if a focus switching operation is detected, determine whether the display screen where the touch focus is currently located is a physical display screen or a virtual display screen.
[0154] Optional, reference Figure 8 The display device may further include a communication module 303, and the communication module 303 may be connected to an external device. If the display device has an external device, the target button may also be a button of the external device.
[0155] Optionally, the processor 402 may also be configured to: set a parameter value of a display screen parameter to a first parameter value or a second parameter value, the parameter value of the display screen parameter being used to indicate a display screen where a touch focus is located.
[0156] If the parameter value of the display screen parameter is detected to be a first parameter value, the application program to which the first interface belongs is instructed to respond to the control operation; if the parameter value of the display screen parameter is detected to be a second parameter value, the application program to which the second interface belongs is instructed to respond to the control operation.
[0157] Optionally, the processor 402 is also used to: if the parameter value of the display screen parameter is detected to be a first parameter value, adjust the display effect of the floating window to a first effect; if the parameter value of the display screen parameter is detected to be a second parameter value, adjust the display effect of the floating window to a second effect; wherein the first effect is different from the second effect.
[0158] Optionally, the processor 402 can also be used to: receive a first touch operation on a function key when a first interface is displayed on a physical display screen; display an icon of at least one application on the first interface in response to the first touch operation; receive a second touch operation on an icon of a target application in at least one application; and display a floating window on the first interface in response to the second touch operation, and display the application interface of the target application in the floating window.
[0159] In summary, an embodiment of the present application provides a display device, which can control the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed on the virtual display screen belongs to respond to control operations by determining the display screen where the touch focus is currently located. The display device provided by an embodiment of the present application can simultaneously display the first interface of the physical display screen and the second interface of the virtual display screen, and has high display flexibility. Moreover, the display device can make the application to which the first interface displayed on the physical display screen belongs or the application to which the second interface displayed in the floating window belongs accurately respond to the user's control operations, and the reliability of the control operation response is high.
[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the display device and each device described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0161] Fig. 9 A structural diagram of another display device provided in an embodiment of the present application is as follows: Fig. 9 As shown, the display device 50 can be a mobile terminal, and the mobile terminal 50 can include: a display unit 501, a memory 502, a radio frequency (RF) circuit 503, an audio circuit 504, a wireless fidelity (Wi-Fi) module 505, a Bluetooth module 506, a power supply 507, a camera 508 and a processor 509 and other components.
[0162] Among them, the camera 508 can be used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the processor 509 to convert it into a digital image signal.
[0163] The processor 509 is the control center of the mobile terminal 50. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the mobile terminal 50 and processes data by running or executing software programs stored in the memory 502 and calling data stored in the memory 502. In some embodiments, the processor 509 may include one or more processing units; the processor 509 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 509. In the present application, the processor 509 can run an operating system and an application program, can control the user interface display, and can implement the response method of the control operation described in the embodiment of the present application. In addition, the processor 509 is coupled to the input unit and the display unit 501.
[0164] The display unit 501 may be used to receive input digital or character information, generate signal input related to user settings and function control of the mobile terminal 50, and optionally, the display unit 501 may also be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile terminal 50. The display unit 501 may include a display screen 5011 disposed on the front of the mobile terminal 50. The display screen 5011 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 501 may be used to display various graphical user interfaces described in the present application.
[0165] The display unit 501 includes: a display screen 5011 and a touch screen 5012 disposed on the front of the mobile terminal 50. The display screen 5011 can be used to display preview images. The touch screen 5012 can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc. Among them, the touch screen 5012 can be covered on the display screen 5011, or the touch screen 5012 can be integrated with the display screen 5011 to realize the input and output functions of the mobile terminal 50, and the integration can be simply called a touch display screen.
[0166] The memory 502 can be used to store software programs and data. The processor 509 executes various functions and data processing of the mobile terminal 50 by running the software programs or data stored in the memory 502. The memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 502 stores an operating system that enables the mobile terminal 50 to run. In the present application, the memory 502 can store an operating system and various application programs, and can also store a response method for executing the control operation described in the embodiment of the present application.
[0167] The RF circuit 503 can be used to receive and send signals during the process of sending and receiving information or making calls. It can receive downlink data from the base station and hand it over to the processor 509 for processing; it can send uplink data to the base station. Generally, the RF circuit includes but is not limited to antennas, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer and other devices.
[0168] The audio circuit 504, the speaker 5041, and the microphone 5042 can provide an audio interface between the user and the mobile terminal 50. The audio circuit 504 can transmit the electrical signal converted from the received audio data to the speaker 5041, which is converted into a sound signal for output. The mobile terminal 50 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 5042 converts the collected sound signal into an electrical signal, which is received by the audio circuit 504 and converted into audio data, and then the audio data is output to the RF circuit 503 to be sent to, for example, another terminal, or the audio data is output to the memory 502 for further processing. In this application, the microphone 5042 can obtain the user's voice.
[0169] Wi-Fi is a short-range wireless transmission technology. The mobile terminal 50 can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 505, which provides users with wireless broadband Internet access.
[0170] The Bluetooth module 506 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the mobile terminal 50 can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 506 to exchange data.
[0171] The mobile terminal 50 also includes a power supply 507 (such as a battery) for supplying power to various components. The power supply can be logically connected to the processor 509 through a power management system, so that the power management system can manage functions such as charging, discharging, and power consumption. The mobile terminal 50 can also be configured with a power button for turning on and off the terminal, as well as locking the screen and other functions.
[0172] The mobile terminal 50 may include at least one sensor 510, such as a motion sensor 5101, a distance sensor 5102, a fingerprint sensor 5103, and a temperature sensor 5104. The mobile terminal 50 may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
[0173] Fig.101 is a software structure diagram of a display device provided in an embodiment of the present application. The display device may be a mobile terminal. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, namely, from top to bottom, the application layer, the application framework layer, the Android runtime and the system library, and the kernel layer.
[0174] The application layer can include a series of application packages. Fig.10 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc. The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0175] like Fig.10 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
[0176] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.
[0177] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, pictures, audio, calls made and received, browsing history and bookmarks, phone books, etc.
[0178] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.
[0179] The phone manager is used to provide communication functions for the mobile terminal, such as the management of call status (including answering, hanging up, etc.).
[0180] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0181] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt tone is emitted, the communication terminal vibrates, and the indicator light flashes.
[0182] Android runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.
[0183] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0184] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0185] The system library may include multiple functional modules, such as surface manager, media libraries, 3D graphics processing library (such as openGL ES), 2D graphics engine (such as SGL), etc.
[0186] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.
[0187] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0188] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
[0189] A 2D graphics engine is a drawing engine for 2D drawings.
[0190] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
[0191] The embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions stored in the computer-readable storage medium are executed on a computer, the computer executes the control operation response method provided in the above embodiment, for example Figure 2 and Figure 3 The method shown.
[0192] The present application also provides a computer program product including instructions. When the instructions in the computer program product are executed on a computer, the computer executes the control operation response method provided in the above method embodiment, for example: Figure 2 and Figure 3 The method shown.
[0193] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0194] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A display device, characterized in that: The display device includes a physical display screen and a processor, and a virtual display screen runs in the display device; a first interface is displayed in the physical display screen, and a floating window is displayed on the first interface, and the floating window is used to display a second interface of the virtual display screen, and the second interface does not completely cover the first interface; the processor is used to: Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface; Determine whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen; If the touch focus is on the physical display screen, the floating window is controlled not to obtain the focus, and the application to which the first interface belongs is controlled to respond to the control operation; If the touch focus is on the virtual display screen, the floating window is controlled to obtain the focus, and the application to which the second interface belongs is controlled to respond to the control operation.
2. A display device, characterized in that: The display device includes a physical display screen, a processor and a communication module, the communication module is connected to an external device, and a virtual display screen runs in the display device; the physical display screen displays a first interface, and a floating window suspended on the first interface, the floating window is used to display a second interface of the virtual display screen, and the second interface does not completely cover the first interface; the processor is used to: If a focus switching operation is detected, determining whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen; Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface, or the target button is a button of the external device; If the touch focus is on the physical display screen, the floating window is controlled not to obtain the focus, and the application to which the first interface belongs is controlled to respond to the control operation; If the touch focus is on the virtual display screen, the floating window is controlled to obtain the focus, and the application to which the second interface belongs is controlled to respond to the control operation.
3. The display device according to claim 1 or 2, characterized in that: The processor is further configured to: Setting a parameter value of a display screen parameter to a first parameter value or a second parameter value, wherein the parameter value of the display screen parameter is used to indicate the display screen where the touch focus is located; If it is detected that the parameter value of the display screen parameter is the first parameter value, instructing the application to which the first interface belongs to respond to the control operation; If it is detected that the parameter value of the display screen parameter is the second parameter value, the application program to which the second interface belongs is instructed to respond to the control operation.
4. The display device according to claim 3, characterized in that The processor is further configured to: If it is detected that the parameter value of the display screen parameter is the first parameter value, adjusting the display effect of the floating window to the first effect; If it is detected that the parameter value of the display screen parameter is the second parameter value, adjusting the display effect of the floating window to the second effect; The first effect is different from the second effect.
5. The display device according to claim 3, characterized in that The processor is further configured to: When the first interface is displayed on the physical display screen, receiving a first touch operation on a function key; In response to the first touch operation, displaying an icon of at least one application on the first interface; receiving a second touch operation on an icon of a target application in the at least one application; In response to the second touch operation, the floating window is displayed in a floating manner on the first interface, and an application interface of the target application is displayed in the floating window.
6. A control operation response method, characterized in that: Applied to a display device, the display device includes a physical display screen, and a virtual display screen is running in the display device; the physical display screen displays a first interface, and a floating window is displayed on the first interface, the floating window is used to display a second interface of the virtual display screen, and the second interface does not completely cover the first interface; the method includes: Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface; Determine whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen; If the touch focus is on the physical display screen, the floating window is controlled not to obtain the focus, and the application to which the first interface belongs is controlled to respond to the control operation; If the touch focus is on the virtual display screen, the floating window is controlled to obtain the focus, and the application to which the second interface belongs is controlled to respond to the control operation.
7. A control operation response method, characterized in that: Applied to a display device, the display device includes a physical display screen and a communication module, the communication module is connected to an external device, and a virtual display screen runs in the display device; the physical display screen displays a first interface, and a floating window is displayed on the first interface, the floating window is used to display a second interface of the virtual display screen, and the second interface does not completely cover the first interface; the method includes: If a focus switching operation is detected, determining whether the display screen where the touch focus is currently located is the physical display screen or the virtual display screen; Receiving a control operation for a target button, where the target button is a physical button of the display device, or the target button is a virtual button displayed in an area outside the first interface and the second interface, or the target button is a button of the external device; If the touch focus is on the physical display screen, the floating window is controlled not to obtain the focus, and the application to which the first interface belongs is controlled to respond to the control operation; If the touch focus is on the virtual display screen, the floating window is controlled to obtain the focus, and the application to which the second interface belongs is controlled to respond to the control operation.
8. The method according to claim 6 or 7, characterized in that: The display device also runs an operating system and a floating control component; the application program to which the first interface belongs is controlled to respond to the control operation, including: The operating system sets a parameter value of a display screen parameter to a first parameter value, where the parameter value of the display screen parameter is used to indicate the display screen where the touch focus is located; If the floating control component detects that the parameter value of the display screen parameter is the first parameter value, it instructs the application to which the first interface belongs to respond to the control operation; The controlling the application to which the second interface belongs to respond to the control operation includes: The operating system sets the parameter value of the display screen parameter to a second parameter value; If the floating control component detects that the parameter value of the display screen parameter is the second parameter value, it instructs the application to which the second interface belongs to respond to the control operation.
9. The method according to claim 8, characterized in that The method further comprises: If the floating control component detects that the parameter value of the display screen parameter is the first parameter value, the display effect of the floating window is adjusted to the first effect; If the floating control component detects that the parameter value of the display screen parameter is the second parameter value, the display effect of the floating window is adjusted to the second effect; The first effect is different from the second effect.
10. The method according to claim 8, characterized in that The method further comprises: When the first interface is displayed on the physical display screen, receiving a first touch operation on a function key; In response to the first touch operation, displaying an icon of at least one application on the first interface; receiving a second touch operation on an icon of a target application in the at least one application; In response to the second touch operation, the floating window is displayed in a floating manner on the first interface, and an application interface of the target application is displayed in the floating window.
Citation Information
Patent Citations
Intelligent television terminal and screen control method thereof
CN104168515A
Window management method and apparatus
CN105005427A
Input method interface display method and apparatus, terminal and storage medium
CN108491127A
Picture-in-picture display method and display equipment
CN110659010A