CN112181571A - Floating window display method, device, terminal and storage medium - Google Patents

Floating window display method, device, terminal and storage medium Download PDF

Info

Publication number
CN112181571A
CN112181571A CN202011044340.6A CN202011044340A CN112181571A CN 112181571 A CN112181571 A CN 112181571A CN 202011044340 A CN202011044340 A CN 202011044340A CN 112181571 A CN112181571 A CN 112181571A
Authority
CN
China
Prior art keywords
window
floating window
application
floating
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011044340.6A
Other languages
Chinese (zh)
Inventor
刘松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance Network Technology Co Ltd
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 Beijing ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202011044340.6A priority Critical patent/CN112181571A/en
Publication of CN112181571A publication Critical patent/CN112181571A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance

Abstract

The embodiment of the disclosure provides a floating window display method, a floating window display device, a terminal and a storage medium. The method comprises the following steps: opening a floating window of a first application in response to a first instruction; in response to the second instruction, a window of a second application different from the first application is displayed in the floating window. By adopting the floating window display method disclosed by the invention, the window of another application can be displayed in the floating window of one application, the application range of the floating window is expanded, and the user experience is improved.

Description

Floating window display method, device, terminal and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, and more particularly, to a floating window display method, device, terminal and storage medium.
Background
There are many restrictions to present floating window, and this has hindered floating window's further popularization and user experience.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
In order to solve the above problems, the present disclosure provides a floating window display method, device, terminal and storage medium, where the floating window display method of the present disclosure can display a window of another application in a floating window of one application, thereby improving user experience.
According to an embodiment of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; in response to a second instruction, displaying a window of a second application different from the first application in the floating window.
According to another embodiment of the present disclosure, there is provided a floating window display device including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; a floating window control module configured to display a window of a second application different from the first application in the floating window in response to a second instruction.
According to an embodiment of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; and responding to a second instruction, and synchronously moving and/or zooming the floating window and the content displayed in the floating window.
According to another embodiment of the present disclosure, there is provided a floating window display device including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; and the floating window control module is configured to respond to a second instruction, and the floating window and the content displayed in the floating window are synchronously moved and/or zoomed.
According to an embodiment of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; responding to the floating window display, and switching the window of the application displayed in the floating window into the foreground for display; and in response to the floating window hiding, switching a window of an application displayed in the floating window into background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
According to another embodiment of the present disclosure, there is provided a floating window display device including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; and the floating window control module is configured to respond to the floating window display and cut the window of the application displayed in the floating window into the foreground display, and is configured to respond to the floating window hiding and cut the window of the application displayed in the floating window into the background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
According to another embodiment of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the floating window display method.
According to another embodiment of the present disclosure, there is provided a computer storage medium storing program code for executing the above floating window display method.
By adopting the floating window display method disclosed by the invention, the window of another application can be displayed in the floating window of one application, the application range of the floating window is expanded, and the user experience is improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 shows a schematic flow diagram of a floating window display method of an embodiment of the present disclosure.
Fig. 2-4 show schematic diagrams of a floating window display of an embodiment of the present disclosure.
Fig. 5 shows a schematic view of a floating window display device of an embodiment of the present disclosure.
Fig. 6 shows a schematic flow chart of a floating window display method of another embodiment of the present disclosure.
Fig. 7 shows a schematic view of a floating window display device of another embodiment of the present disclosure.
Fig. 8 shows a schematic flow chart of a floating window display method of a further embodiment of the present disclosure.
Fig. 9 shows a schematic view of a floating window display device of a further embodiment of the present disclosure.
FIG. 10 illustrates a schematic structural diagram of an electronic device 1000 suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
In some embodiments of the present disclosure, the "application" in the floating window display method may be various App applications of the terminal. The terminal in the present disclosure may include, but is not limited to, mobile terminal devices such as a mobile phone, a smart phone, a notebook computer, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation apparatus, a vehicle-mounted terminal device, a vehicle-mounted display terminal, a vehicle-mounted electronic rearview mirror, and the like, and fixed terminal devices such as a digital TV, a desktop computer, and the like. In some embodiments of the present disclosure, a mobile phone is taken as an example for illustration, but this is not intended to limit the present disclosure.
As shown in fig. 1, the present disclosure provides a floating window display method, including a step S101 of opening a floating window of a first application in response to a first instruction. In some embodiments, the first instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the first instruction may comprise a click operation, a voice instruction, etc., and the click operation may be, for example, clicking on an existing window of the first application to open a window of the first application in the form of a floating window, and the voice instruction may also be used to open the first application in the form of a floating window. In some embodiments, after opening the floating window of the first application, the floating window displays therein the window content of the first application.
In some embodiments, the floating window display method of the present disclosure further includes step S102 of displaying a window of a second application different from the first application in the floating window in response to a second instruction. In some embodiments, the second instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the second instruction may include clicking a key, gesturing, or voice instruction, etc., for example, clicking on or dragging the second application into the floating window.
The method disclosed by the invention can display different windows of the second application in the floating window of the first application, facilitates the interaction between the first application and the second application, expands the application range of the floating window and improves the user experience.
In some embodiments, the method of the present disclosure further comprises changing to display the window of the first application in the floating window in response to the third instruction. In some embodiments, the third instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the third instruction may include clicking a key, gesturing, or voice instruction, etc., e.g., hitting the first application in the floating window. Therefore, in the floating window of the first application of the present disclosure, not only the window of the different second application but also the window of the own application can be opened in the floating window, that is, the floating window of the present disclosure can be used to open the window of any application in the terminal device, thus facilitating the interaction between applications by the user. In addition, the application window which the user desires to open can be displayed only through one floating window, and the user experience is greatly improved.
In some embodiments, the method of the present disclosure further comprises adjusting, in response to the fourth instruction, a position and/or a size of the window of the second application through the control of the floating window. In some embodiments, the fourth instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the fourth instruction may include a click of a key, a gesture operation, a voice instruction, or the like, e.g., a drag operation. In some embodiments, the window controller (surface control) of the second application is copied from the window management service (WindowManagerService) of the terminal system (e.g., Android system) to the control of the floating window of the first application by means of copying, so that the control of the floating window of the first application has the capability of controlling the window of the second application, and the display position and size of the window of the second application can be freely adjusted through the control of the floating window. This also facilitates the operation and experience of the user, and when the user wants to view the window content covered by the floating window, the position of the floating window can be moved. In addition, when the user desires to view the floating window content in more detail, the size of the window of the application displayed in the floating window may be increased, and then the size of the window of the application displayed in the floating window may be decreased.
In some embodiments, the method of the present disclosure further comprises switching a window of the second application into the foreground display while the floating window is displayed. In some embodiments, the method of the present disclosure further comprises switching the window of the second application into background hiding while the floating window is hidden. In some embodiments, the control of the floating window can control the timing of the display window, the display window is notified to display when the control of the floating window is displayed, and the display window is notified to switch into the background when the control of the floating window is hidden. In some embodiments, the content window displayed by the floating window is switched into the foreground for display by calling startActivity of a terminal system (for example, an Android system) when the control of the floating window is displayed, and the content window displayed by the floating window is switched into the background for hiding by calling moveTaskToBack of the terminal system when the control of the floating window is hidden. Therefore, the display and the hiding of the window displayed by the floating window can be controlled as required, for example, when the user does not expect the floating window to shield the display content, the floating window can be hidden, and the use experience of the user is improved.
In some embodiments, the method of the present disclosure further comprises in response to the fifth instruction, synchronously moving and/or scaling the floating window and the window of the second application. In some embodiments, the fifth instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the fifth instruction may include a click key, a gesture operation, a voice instruction, or the like, for example, a drag operation, a two-finger expansion, or a two-finger pinch. In some embodiments, as a floating window or a window of a floating window display moves and/or zooms, the window or floating window of the floating window display corresponding thereto also moves and/or zooms accordingly to keep the floating window and its displayed window synchronized.
As shown in fig. 2, a display screen 10 of the terminal, a floating window 11 of the first application, and a window 12 displayed in the floating window 11 are shown. As shown in fig. 3, when the floating window 11 is moved from the position shown in fig. 2 to the position shown in fig. 3, the window 12 is synchronously moved accordingly. Similarly, when the window 12 is moved from the position shown in fig. 2 to the position shown in fig. 3, the floating window 11 is synchronously moved accordingly.
In some embodiments, as shown in FIG. 4, as the floating window 11 is enlarged from the size shown in FIG. 2 to the size shown in FIG. 4, the window 12 is correspondingly enlarged synchronously. Similarly, when the window 12 is enlarged from the size shown in fig. 2 to the size shown in fig. 4, the floating window 11 is synchronously enlarged accordingly. Therefore, the synchronism of the floating window and the display window thereof is ensured, and problems caused by the asynchronous floating window and the display window are avoided.
In some embodiments, as the floating window moves and/or scales, a timestamp or frame sequence number of the floating window is obtained, and the floating window and the window of the second application are synchronously moved and/or scaled based on the timestamp or frame sequence number. In some embodiments, the control of the floating window and the content window displayed by the floating window are in different processes, and if the control of the floating window is moved or scaled, the content window displayed by the control of the floating window is moved or scaled together, and the two content windows can be subjected to frame synchronization. For example, the control of the floating window moves to the (50,150) coordinate position of the screen at the 100 th frame of the system, and then the content window (for example, the window of the second application) displayed by the floating window also moves to the (50,150) coordinate position of the screen at the 100 th frame of the system, so that synchronous display of the floating window and the application content in the floating window can be realized, and the problem of display asynchronization is avoided. In some embodiments, in order to keep the floating window and the content window displayed by the floating window synchronized, each frame or a designated frame (e.g., a preset or intelligently identified key frame, a frame spaced a predetermined distance apart, etc.) may record a timestamp or a frame sequence number (frameNumber) submitted by the floating window to a window rendering engine (surface flag) of the system when the control of the floating window moves or scales, and the window rendering engine is informed of the timestamp or the frame sequence number, and the content window displayed in the floating window needs to move to the same position or scale to the same size at the same timestamp or the same frame sequence number. By adopting the mode, the display frame synchronization between the floating window and the content window displayed by the floating window is realized.
In some embodiments, for a single application, multiple floating windows may be generated, each of which may display a window of another application that is different from the application. This may facilitate interaction between multiple applications.
In some embodiments, when a window of a second application is displayed through a floating window of a first application, the display of the second application may be controlled through window controller information of the second application. For example, the second application may be controlled by having the controls of the floating window include a window controller of the second application. As described above, since the control of the floating window already has the window controller of the second application, the display of the second application can be conveniently controlled through the window controller information of the second application. Control of the second application may also be achieved by passing control instructions to a window controller of the second application.
In some embodiments, prior to displaying the window of the second application in the floating window of the first application, the control of the floating window may be caused to comprise a window controller of the second application. In some embodiments, the window controller (surface control) of the second application is copied from the window management service (WindowManagerService) of the terminal system (e.g., Android system) to the control of the floating window of the first application by means of copying, so that the control of the floating window of the first application has the capability of controlling the window of the second application, and thus the window of the second application can be opened in the floating window of the first application, and the display position and size of the window of the second application can be freely controlled as described above.
As described above, the floating-window control of the first application obtains (e.g., by copying) the window controller of the second application from the window management service of the terminal system so that the floating-window control can control the second application. In this way, the control of the floating window of the first application can control the window of the second application, so that the window of the second application can be opened in the floating window of the first application, and the display position and size of the window of the second application can be freely controlled.
The embodiment of the present disclosure further provides a floating window display device 500 corresponding to the above method, which includes a floating window display module 501 and a floating window control module 502. The floating-window display module 501 is configured to open a floating window of a first application in response to a first instruction. The floating-window control module 502 is configured to display a window of a second application, different from the first application, in the floating window in response to a second instruction. It should be understood that the description of the floating window display method is also applicable to the apparatus, which includes modules for implementing the respective components of the above method embodiments, and will not be described herein again.
The embodiment of the present disclosure further provides a floating window display method, which includes step S601, responding to the first instruction, and opening a floating window of the first application. In some embodiments, the first instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the first instruction may comprise a click operation, a voice instruction, etc., and the click operation may be, for example, clicking on an existing window of the first application to open a window of the first application in the form of a floating window, and the voice instruction may also be used to open the first application in the form of a floating window. In some embodiments, after opening the floating window of the first application, the floating window displays therein the window content of the first application.
In some embodiments, the floating window display method of the present disclosure further includes step S602, in response to the second instruction, performing synchronous movement and/or scaling on the floating window and the content displayed in the floating window. In some embodiments, the second instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the second instruction may include a click key, a gesture operation, a voice instruction, or the like, such as a drag operation, a double finger expansion, or a double finger pinch. In some embodiments, as a floating window or a window of a floating window display moves and/or zooms, the window or floating window of the floating window display corresponding thereto also moves and/or zooms accordingly to keep the floating window and its displayed window synchronized.
According to the embodiment of the disclosure, the floating window and the content displayed in the floating window are synchronously moved and/or zoomed, so that the floating window can be moved or zoomed at will, and not only can the floating window be displayed in a maximized and normal mode, the requirements of various occasions of a user are met, and the user experience is improved.
In some embodiments, a timestamp or a frame sequence number of the floating window is obtained when the floating window is moved and/or scaled, and the floating window and the content displayed in the floating window are synchronously moved and/or scaled based on the timestamp or the frame sequence number. The corresponding description of this part can be found from above and will not be repeated here.
In some embodiments, the method of the present disclosure further comprises, in response to a third instruction, determining an application window that needs to be displayed in the floating window, and displaying the determined application window in the floating window, wherein the application window is a window of a first application or a window of a second application different from the first application. In some embodiments, the third instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the third instruction may include clicking a key, a gesture operation, a voice instruction, or the like, for example, clicking on an application to be displayed in the floating window at a point in the floating window or dragging an application to be displayed in the floating window into the floating window. In addition, the floating window of the first application may display a window of the first application, or may display a window of a second application different from the first application. Therefore, the method disclosed by the invention can display different windows of the second application in the floating window of the first application, facilitates the interaction between the first application and the second application, expands the application range of the floating window and improves the user experience.
In some embodiments, the content displayed in the floating window is switched into the foreground display while the floating window is displayed. In some embodiments, the content displayed in the floating window is cut into background hiding while the floating window is hidden. This part of the content may also refer to the above description of the hiding or displaying of the floating window, which is not repeated here.
The embodiment of the present disclosure further provides a floating window display device 700 corresponding to the above method, including a floating window display module 701 and a floating window control module 702. The floating-window display module 701 is configured to open a floating window of a first application in response to a first instruction. The floating window control module 702 is configured to synchronously move and/or zoom the floating window and the content displayed in the floating window in response to a second instruction. It should be understood that the description of the floating window display method is also applicable to the apparatus, which includes modules for implementing the respective components of the above method embodiments, and will not be described herein again.
The embodiment of the present disclosure further provides a floating window display method, including step S801, in response to a first instruction, opening a floating window of a first application. In some embodiments, the first instruction may be an operation instruction of the user, or may be an instruction received from some message or other device. In some embodiments, the first instruction may comprise a click operation, a voice instruction, etc., and the click operation may be, for example, clicking on an existing window of the first application to open a window of the first application in the form of a floating window, and the voice instruction may also be used to open the first application in the form of a floating window. In some embodiments, after opening the floating window of the first application, the floating window displays therein the window content of the first application.
In some embodiments, the floating window display method of the present disclosure further includes step S802, in response to the floating window displaying, switching a window of the application displayed in the floating window into foreground for displaying; in response to the floating window hiding, a window of an application displayed in the floating window is cut into background hiding. In some embodiments, the application displayed in the floating window is a first application or a second application different from the first application. In some embodiments, the control of the floating window can control the timing of the display window, the display window is informed to be displayed when the control of the floating window is displayed, and the display window is informed to be switched into background hiding when the control of the floating window is hidden. In some embodiments, the content window displayed by the floating window is switched into the foreground for display by calling startActivity of a terminal system (for example, an Android system) when the control of the floating window is displayed, and the content window displayed by the floating window is switched into the background for hiding by calling moveTaskToBack of the terminal system when the control of the floating window is hidden. Therefore, the display and the hiding of the window displayed by the floating window can be controlled as required, for example, when the user does not expect the floating window to shield the display content, the floating window can be hidden, and the use experience of the user is improved.
In some embodiments, the floating window and the content displayed in the floating window are synchronously moved and/or scaled in response to the second instruction. By synchronously moving and/or zooming the floating window and the content displayed in the floating window, the floating window can be moved or zoomed arbitrarily, and not only in two modes of maximization and normal display, the requirements of various occasions of a user are met, and the user experience is improved. In some embodiments, a timestamp or a frame sequence number of the floating window is obtained when the floating window is moved and/or scaled, and the floating window and the content displayed in the floating window are synchronously moved and/or scaled based on the timestamp or the frame sequence number. The corresponding description of this part can be found from above and will not be repeated here.
The embodiment of the present disclosure further provides a floating window display device 900 corresponding to the above method, which includes a floating window display module 901 and a floating window control module 902. The floating window display module 901 is configured to open a floating window of a first application in response to a first instruction. The floating window control module 902 is configured to switch a window of an application displayed in a floating window into foreground display in response to the floating window displaying, and is configured to switch a window of the application displayed in the floating window into background hiding in response to the floating window hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application. It should be understood that the description of the floating window display method is also applicable to the apparatus, which includes modules for implementing the respective components of the above method embodiments, and will not be described herein again.
In addition, the present disclosure also provides a terminal, including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the floating window display method.
In addition, the present disclosure also provides a computer storage medium storing program codes for executing the above floating window display method.
In some embodiments, by adopting the floating window display method disclosed by the disclosure, a window of another application is displayed in a floating window of one application, so that the application range of the floating window is expanded, and the user experience is improved. That is, the application may launch a window of its own application or a window of another application through its floating-window control for display as its content window. In addition, the application can control the display position and size of its content window through the controls of the floating window. In addition, the application can control whether its content window is displayed in the foreground or hidden in the background through the control of the floating window. In addition, the method can realize the display frame synchronization of the floating window control and the content window displayed by the floating window control.
Referring now to FIG. 10, a block diagram of an electronic device 1000 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 10 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 1000 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 1001 that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)1002 or a program loaded from a storage means 1008 into a Random Access Memory (RAM) 1003. In the RAM 1003, various programs and data necessary for the operation of the electronic apparatus 1000 are also stored. The processing device 1001, the ROM 1002, and the RAM 1003 are connected to each other by a bus 1004. An input/output (I/O) interface 1005 is also connected to bus 1004.
Generally, the following devices may be connected to the I/O interface 1005: input devices 1006 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 1007 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 1008 including, for example, magnetic tape, hard disk, and the like; and a communication device 1009. The communication device 1009 may allow the electronic device 1000 to communicate with other devices wirelessly or by wire to exchange data. While fig. 10 illustrates an electronic device 1000 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1008, or installed from the ROM 1002. The computer program, when executed by the processing device 1001, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: displaying at least two internet protocol addresses; sending a node evaluation request comprising the at least two internet protocol addresses to node evaluation equipment, wherein the node evaluation equipment selects the internet protocol addresses from the at least two internet protocol addresses and returns the internet protocol addresses; receiving an internet protocol address returned by the node evaluation equipment; wherein the displayed internet protocol address indicates an edge node in the content distribution network.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a node evaluation request comprising at least two internet protocol addresses; selecting an internet protocol address from the at least two internet protocol addresses; returning the selected internet protocol address; wherein the received internet protocol address indicates an edge node in the content distribution network.
Computer program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of a unit does not in some cases constitute a limitation of the unit itself, for example, the first display unit may also be described as a "unit displaying at least two internet protocol addresses".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; in response to a second instruction, displaying a window of a second application different from the first application in the floating window.
According to one or more embodiments of the present disclosure, the floating window display method of the present disclosure further includes: changing to display a window of the first application in the floating window in response to a third instruction.
According to one or more embodiments of the present disclosure, the floating window display method of the present disclosure further includes: and responding to a fourth instruction, and adjusting the position and/or the size of the window of the second application through the control of the floating window.
According to one or more embodiments of the present disclosure, the floating window display method of the present disclosure further includes: when the floating window is displayed, switching the window of the second application into the foreground for displaying; and/or switching the window of the second application into background hiding when the floating window is hidden.
According to one or more embodiments of the present disclosure, the floating window display method of the present disclosure further includes: in response to a fifth instruction, the floating window and the window of the second application are synchronously moved and/or scaled.
According to one or more embodiments of the present disclosure, when the floating window is moved and/or scaled, a timestamp or a frame sequence number of the floating window is acquired, and the floating window and the window of the second application are synchronously moved and/or scaled based on the timestamp or the frame sequence number.
According to one or more embodiments of the present disclosure, the floating window display method of the present disclosure further includes: prior to displaying the window of the second application in the floating window, causing the control of the floating window to include a window controller of the second application.
According to one or more embodiments of the present disclosure, display of the second application is controlled through window controller information of the second application.
There is also provided, in accordance with one or more embodiments of the present disclosure, a floating window display device, including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; a floating window control module configured to display a window of a second application different from the first application in the floating window in response to a second instruction.
According to one or more embodiments of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; and responding to a second instruction, and synchronously moving and/or zooming the floating window and the content displayed in the floating window.
According to one or more embodiments of the present disclosure, when the floating window moves and/or scales, a timestamp or a frame sequence number of the floating window is acquired, and the floating window and content displayed in the floating window are synchronously moved and/or scaled based on the timestamp or the frame sequence number.
According to one or more embodiments of the present disclosure, further comprising: and responding to a third instruction, determining an application window needing to be displayed in the floating window, and displaying the determined application window in the floating window, wherein the application window is a window of the first application or a window of a second application different from the first application.
According to one or more embodiments of the disclosure, when the floating window is displayed, the content displayed in the floating window is switched into the foreground for display; and/or when the floating window is hidden, the content displayed in the floating window is switched into background hiding.
According to one or more embodiments of the present disclosure, there is provided a floating window display device including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; and the floating window control module is configured to respond to a second instruction, and the floating window and the content displayed in the floating window are synchronously moved and/or zoomed.
According to one or more embodiments of the present disclosure, there is provided a floating window display method including: opening a floating window of a first application in response to a first instruction; responding to the floating window display, and switching the window of the application displayed in the floating window into the foreground for display; and in response to the floating window hiding, switching a window of an application displayed in the floating window into background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
According to one or more embodiments of the present disclosure, further comprising: and responding to a second instruction, and synchronously moving and/or zooming the floating window and the content displayed in the floating window.
According to one or more embodiments of the present disclosure, when the floating window moves and/or scales, a timestamp or a frame sequence number of the floating window is acquired, and the floating window and content displayed in the floating window are synchronously moved and/or scaled based on the timestamp or the frame sequence number.
According to one or more embodiments of the present disclosure, there is provided a floating window display device including: the floating window display module is configured to respond to a first instruction and open a floating window of a first application; and the floating window control module is configured to respond to the floating window display and cut the window of the application displayed in the floating window into the foreground display, and is configured to respond to the floating window hiding and cut the window of the application displayed in the floating window into the background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor; the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the floating window display method.
According to one or more embodiments of the present disclosure, there is provided a computer storage medium storing program code for executing the above floating window display method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (20)

1. A floating window display method, comprising:
opening a floating window of a first application in response to a first instruction;
in response to a second instruction, displaying a window of a second application different from the first application in the floating window.
2. The floating-window display method according to claim 1, further comprising:
changing to display a window of the first application in the floating window in response to a third instruction.
3. The floating-window display method according to claim 1, further comprising:
and responding to a fourth instruction, and adjusting the position and/or the size of the window of the second application through the control of the floating window.
4. The floating-window display method according to claim 1, further comprising:
when the floating window is displayed, switching the window of the second application into the foreground for displaying; and/or
And when the floating window is hidden, switching the window of the second application into background hiding.
5. The floating-window display method according to claim 1, further comprising:
in response to a fifth instruction, the floating window and the window of the second application are synchronously moved and/or scaled.
6. The floating-window display method according to claim 5, wherein when the floating window is moved and/or scaled, a timestamp or a frame sequence number of the floating window is obtained, and based on the timestamp or the frame sequence number, the floating window and the window of the second application are synchronously moved and/or scaled.
7. The floating-window display method according to claim 1, further comprising:
prior to displaying the window of the second application in the floating window, causing the control of the floating window to include a window controller of the second application.
8. The floating-window display method according to claim 1 or 7, wherein display of the second application is controlled by window controller information of the second application.
9. A floating window display device, comprising:
the floating window display module is configured to respond to a first instruction and open a floating window of a first application;
a floating window control module configured to display a window of a second application different from the first application in the floating window in response to a second instruction.
10. A floating window display method, comprising:
opening a floating window of a first application in response to a first instruction;
and responding to a second instruction, and synchronously moving and/or zooming the floating window and the content displayed in the floating window.
11. The floating-window display method according to claim 10, wherein when the floating window is moved and/or scaled, a time stamp or a frame sequence number of the floating window is obtained, and based on the time stamp or the frame sequence number, the floating window and content displayed in the floating window are synchronously moved and/or scaled.
12. The floating-window display method according to claim 10, further comprising:
and responding to a third instruction, determining an application window needing to be displayed in the floating window, and displaying the determined application window in the floating window, wherein the application window is a window of the first application or a window of a second application different from the first application.
13. The floating-window display method according to claim 10,
when the floating window is displayed, switching the content displayed in the floating window into the foreground for displaying; and/or
And when the floating window is hidden, the content displayed in the floating window is switched into a background to be hidden.
14. A floating window display device, comprising:
the floating window display module is configured to respond to a first instruction and open a floating window of a first application;
and the floating window control module is configured to respond to a second instruction, and the floating window and the content displayed in the floating window are synchronously moved and/or zoomed.
15. A floating window display method, comprising:
opening a floating window of a first application in response to a first instruction;
responding to the floating window display, and switching the window of the application displayed in the floating window into the foreground for display;
and in response to the floating window hiding, switching a window of an application displayed in the floating window into background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
16. The floating-window display method according to claim 15, further comprising:
and responding to a second instruction, and synchronously moving and/or zooming the floating window and the content displayed in the floating window.
17. The floating-window display method according to claim 16, wherein when the floating window is moved and/or scaled, a time stamp or a frame sequence number of the floating window is obtained, and based on the time stamp or the frame sequence number, the floating window and the content displayed in the floating window are synchronously moved and/or scaled.
18. A floating window display device, comprising:
the floating window display module is configured to respond to a first instruction and open a floating window of a first application;
and the floating window control module is configured to respond to the floating window display and cut the window of the application displayed in the floating window into the foreground display, and is configured to respond to the floating window hiding and cut the window of the application displayed in the floating window into the background hiding, wherein the application displayed in the floating window is a first application or a second application different from the first application.
19. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the floating window display method of any one of claims 1 to 8, or the floating window display method of any one of claims 10 to 13, or the floating window display method of any one of claims 15 to 17.
20. A storage medium for storing program code for executing the floating window display method of any one of claims 1 to 8, or the floating window display method of any one of claims 10 to 13, or the floating window display method of any one of claims 15 to 17.
CN202011044340.6A 2020-09-28 2020-09-28 Floating window display method, device, terminal and storage medium Pending CN112181571A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011044340.6A CN112181571A (en) 2020-09-28 2020-09-28 Floating window display method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011044340.6A CN112181571A (en) 2020-09-28 2020-09-28 Floating window display method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112181571A true CN112181571A (en) 2021-01-05

Family

ID=73946427

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011044340.6A Pending CN112181571A (en) 2020-09-28 2020-09-28 Floating window display method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112181571A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047867A (en) * 2021-09-22 2022-02-15 荣耀终端有限公司 Suspended window display method and electronic equipment
CN115033333A (en) * 2022-07-19 2022-09-09 荣耀终端有限公司 Floating window display method, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929478A (en) * 2012-09-25 2013-02-13 东莞宇龙通信科技有限公司 Application switching method and communication terminal
CN104793838A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension display implementing method and device
CN105554553A (en) * 2015-12-15 2016-05-04 腾讯科技(深圳)有限公司 Method and device for playing video through floating window
CN108008876A (en) * 2017-11-29 2018-05-08 广州视源电子科技股份有限公司 A kind of display methods of suspension windows, device, equipment and storage medium
CN108415752A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device, equipment and storage medium
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage
CN111107411A (en) * 2019-12-30 2020-05-05 威创集团股份有限公司 Distributed cross-node video synchronization method and system
CN111552426A (en) * 2020-04-24 2020-08-18 北京小米移动软件有限公司 Intelligent equipment operation method and device and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929478A (en) * 2012-09-25 2013-02-13 东莞宇龙通信科技有限公司 Application switching method and communication terminal
CN104793838A (en) * 2014-01-20 2015-07-22 中兴通讯股份有限公司 Suspension display implementing method and device
CN105554553A (en) * 2015-12-15 2016-05-04 腾讯科技(深圳)有限公司 Method and device for playing video through floating window
CN108008876A (en) * 2017-11-29 2018-05-08 广州视源电子科技股份有限公司 A kind of display methods of suspension windows, device, equipment and storage medium
CN108415752A (en) * 2018-03-12 2018-08-17 广东欧珀移动通信有限公司 Method for displaying user interface, device, equipment and storage medium
CN108776568A (en) * 2018-06-07 2018-11-09 腾讯科技(深圳)有限公司 Display methods, device, terminal and the storage medium of Webpage
CN111107411A (en) * 2019-12-30 2020-05-05 威创集团股份有限公司 Distributed cross-node video synchronization method and system
CN111552426A (en) * 2020-04-24 2020-08-18 北京小米移动软件有限公司 Intelligent equipment operation method and device and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114047867A (en) * 2021-09-22 2022-02-15 荣耀终端有限公司 Suspended window display method and electronic equipment
CN115033333A (en) * 2022-07-19 2022-09-09 荣耀终端有限公司 Floating window display method, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN112135059B (en) Shooting method, shooting device, electronic equipment and storage medium
CN111291244B (en) House source information display method, device, terminal and storage medium
WO2021073327A1 (en) Window display method and apparatus, and terminal and storage medium
CN113191726A (en) Task detail interface display method, device, equipment and computer readable medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN110795196A (en) Window display method, device, terminal and storage medium
CN112181571A (en) Floating window display method, device, terminal and storage medium
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN114363686B (en) Method, device, equipment and medium for publishing multimedia content
CN110456957B (en) Display interaction method, device, equipment and storage medium
CN111259291B (en) View display method and device and electronic equipment
US20230421623A1 (en) Presentation method and apparatus, and electronic device
CN112083871A (en) Method, device, terminal and storage medium for controlling electronic equipment
CN110262718B (en) Input method window setting method and device, mobile terminal and storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN115237530A (en) Information display method and device, electronic equipment and storage medium
CN115576458A (en) Application window display method, device, equipment and medium
CN112241230B (en) Window display method and device of electronic equipment, terminal and storage medium
US20230199262A1 (en) Information display method and device, and terminal and storage medium
CN110619615A (en) Method and apparatus for processing image
WO2021068964A1 (en) Window arrangement method and device, terminal and storage medium
CN111274513B (en) Window display method, device, terminal and storage medium
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN112312058B (en) Interaction method and device and electronic equipment
CN115048164A (en) Display mode switching method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination