Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
Furthermore, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements and circuits that are well known to those skilled in the art have not been described in detail so as not to obscure the present disclosure.
Example 1
Fig. 1 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure, and fig. 2 illustrates a schematic view of a video window according to an embodiment of the present disclosure. The method can be applied to clients such as smart phones and computers. As shown in fig. 1, the method includes:
step 101, under the condition that a first request command for playing a video input by a user is detected, playing a video corresponding to the first request command on a current display interface.
And step 102, adjusting the display form of the video window according to the first request command, so that the display form of the video window being played is different from the display forms of other video windows.
The client side plays the video corresponding to the first request command on the current display interface by detecting the first request command for playing the video input by the user, and adjusts the display form of the video window according to the first request command so that the display form of the video window being played is different from the display forms of other video windows. Because the display form of the video window being played is different from that of other video windows, the video window being played is particularly prominent, and based on this, the user can conveniently and rapidly find the video window being played in the process of watching the video.
For example, the first request command for playing the video may be a click operation of the user (e.g., an operation of clicking a touch screen, an operation of clicking a mouse, etc.), or may be a key operation of the user. Taking a specific application scenario as an example to explain the first request command, taking a client as an example, when a user uses a certain video APP on a mobile phone with a touch screen to watch a video, a click operation (a first request command to play the video) of the user may act on a play button of a certain video window in a display interface of the video APP, such as aplay button 1 shown in fig. 2; when a user watches a video by using a certain video APP in a key-type mobile phone, the user can find a play button of a certain video window through key operation, and the video window is in a play state by pressing a 'confirm' key.
When the client detects the first request command, the client can play the video corresponding to the first request command on the current display interface without jumping to a new interface to play the video corresponding to the first request command.
In one possible implementation, while or after the current display interface plays the video corresponding to the first request command, the client may further adjust the display form of the video window, so that the display form of the video window being played is different from the display forms of the other video windows. The display form of the video window may be adjusted by adjusting the width and height of the video window or the display background around the video window, as long as the video window being played can be distinguished from other video windows, which is not limited in this disclosure.
The display form of the video window being played is different from that of other video windows, so that the user can conveniently and rapidly find the video window being played. For example, in the case where a user slides a video window being played out of the current display interface, when the user needs to view the video, the window can be quickly found in the process of sliding the video list to find the video window.
Fig. 3 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure. In one possible embodiment, as shown in fig. 3, the adjusting the display form of the video window according to the first request command in step 102, so that the display form of the video window being played is different from the display forms of the other video windows may include:
step 1021, adjusting the width of the video window being played to be larger than the width of other video windows.
For example, as shown in FIG. 2, the width of the playing video window "T-50, whose respective performance exceeds F-22" is adjusted to be larger than the width of the video window "no end of the world, far away to the end of the world" that is not playing.
Still taking the client as an example, in one possible implementation, the client may adjust the width of the video window being played by adjusting the width of the video player corresponding to the video window being played.
The width of the video window being played is adjusted to be larger than the widths of other video windows, so that the user can find the video window being played more intuitively and clearly when watching the video, and the width of the video window being played is adjusted, the display of other parts of the content of the whole display interface is not influenced, and the use experience of the user is improved.
Fig. 4 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure. As shown in fig. 4, in one possible implementation, step 102 may include:
step 1022, adjusting the width of the other window to be smaller than the width of the video window being played.
Still taking the client as an example, in one possible implementation, the client may adjust the widths of the other windows by adjusting the widths of the display components corresponding to the other windows on the display interface.
By adjusting the widths of the other windows to be smaller than the width of the video window being played, the user can find the video window being played more intuitively and clearly when watching the video, and the width of the video window being played is adjusted, so that the display of other contents in the whole display interface is not influenced, and the use experience of the user is improved.
The method of adjusting the display format of the video window is not limited to the method of adjusting the width, and the height of the video window, the display background around the video window, and the like may be adjusted as long as the display format of the video window being played can be distinguished from the display formats of other video windows.
Fig. 5 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure. In one possible embodiment, as shown in fig. 5, the step 1021 adjusting the width of the video window being played to be larger than the widths of the other video windows includes:
in step 10211, the width of the video window being played is adjusted to the width of the display screen.
It is understood that step 10211 is an alternative embodiment of the method shown in step 1021, the manner of adjusting the width of the video window being played is not limited to adjusting the width of the video window being played to the width of the display screen, and the user can also flexibly set the adjustment manner according to personal preference and/or actual application scene, and adjust according to the set adjustment manner.
Fig. 6 and 7 respectively show flowcharts of a display control method of a video window according to an embodiment of the present disclosure.
As shown in fig. 6, the display control method of a video window of the present disclosure may further include:
and 103, under the condition that the video window being played slides out of the current display interface, pausing the video played by the video window being played.
As shown in fig. 7, the display control method of a video window of the present disclosure may further include:
and 104, under the condition that the video window being played completely slides out of the current display interface, playing the video played by the video window being played on the current display interface in a floating window mode, wherein the size of the floating window is smaller than that of the current display interface.
It should be noted that all the video windows being played slide out of the current display interface may slide out from bottom to top, or slide out from top to bottom. Taking the client as an example, as shown in fig. 2, when the client detects that the user slides the display interface from bottom to top and thelower frame 2 of the video window being played slides out of the current display interface, or when the client detects that the user slides the display interface from top to bottom and theupper frame 3 of the video window being played slides out of the current display interface, it may be indicated that the video window being played completely slides out of the current display interface. At this time, the client may pause the video played by the video window being played by controlling the video player, or the client may also create a floating window on the current display interface, and play the video played by the video window being played on the current display interface in the form of the floating window, where the size of the floating window is smaller than the size of the current display interface. The method includes the steps of creating a floating window on a current display interface, and playing a played video on the current display interface in a floating window mode.
It should be noted that sliding the lower border or the upper border of the above video window out of the current display interface is only one example of sliding all the video windows out of the current display interface, and those skilled in the art may also set according to the form of playing the video in the video window (for example, the video content does not occupy the entire player window, etc.), and the like.
Fig. 8 shows a schematic diagram of playing a video in the form of a floating window on a current display interface according to an example of the present disclosure.
The position of the floating window is not limited in the present disclosure, and may be located near the bottom of the display interface as shown in fig. 8, or may be located near the middle of the display interface. Alternatively, the position of the floating window may be changed according to user operation control.
In a possible implementation manner, the client may further control the floating window to disappear according to an operation (e.g., sliding, closing the floating window, etc.) of the user, and not display the floating window on the current display interface. The display position of the floating window is adjusted according to the operation of the user, so that the user can conveniently check the content of the display interface, and the user experience is improved.
Fig. 9 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure.
In one possible embodiment, as shown in fig. 9, the method further comprises:
and 105, controlling the floating window to disappear under the condition that a part of the video window which is playing returns to the current display interface.
In one possible embodiment, the method further comprises: in the event that a portion of the playing video window (in the paused state) returns to the currently displayed interface, the video may resume, or the video may continue to remain paused, for example, upon a user request.
It should be noted that, a part of the video window being played returns to the current display interface, where the height or area of the video window being played returning to the current display interface accounts for the total height or area of the video window and exceeds a certain ratio, and a user may preset the ratio, and when the client detects that the height or area of the video window being played returning to the current display interface accounts for the total height or area of the video window and exceeds the preset ratio, the client controls the floating window to disappear or continue playing the video played by the video window being played.
In a possible embodiment, the video can also be resumed with the floating window being controlled to disappear.
Fig. 10 illustrates a flowchart of a display control method of a video window according to an embodiment of the present disclosure. As shown in fig. 10, the display control method of a video window of the present disclosure may further include:
and 106, stopping the video being played and restoring the width of the video window being played under the condition that a second request command for playing the video input by the user is detected and the video corresponding to the second request command is not the video being played.
For example, when a user opens a new video (a video different from a video being played) to play by clicking or the like (a second request command), the client may determine whether a video corresponding to the second request command is the video being played when detecting the second request command for playing the video input by the user. In the case where the video corresponding to the second request command is not the video that is playing, the client may stop the video that is playing and restore the width of the video window that is playing.
In a possible implementation manner, the client may further play a video corresponding to the second request command, and adjust a display form of a video window in the video list according to the second request command, so that the display form of the video window being played corresponding to the second request command is different from the display forms of other video windows.
And restoring the width of the video window being played so as to adjust the display form of the video window in the video list according to the second request command, so that the video window being played is different from the video window not being played. In the process of watching the video, the user can conveniently and quickly find the video window which is being played, and the user experience is improved.
Example 2
Fig. 11 illustrates a block diagram of a display control apparatus of a video window according to an embodiment of the present disclosure. The device can be used in clients such as smart phones and computers. As shown in fig. 11, the apparatus includes: aplay module 81 and anadjustment module 82.
The playingmodule 81 is configured to, when a first request command for playing a video input by a user is detected, play a video corresponding to the first request command on a current display interface.
And the adjustingmodule 82 is configured to adjust the display form of the video window according to the first request command, so that the display form of the video window being played is different from the display forms of other video windows.
The display control device of the video window can enable a user to conveniently and quickly find the video window which is being played in the process of watching the video. Because the display form of the video window being played is different from that of other video windows, the video window being played is particularly prominent, and based on this, the user can conveniently and rapidly find the video window being played in the process of watching the video.
Fig. 12 illustrates a block diagram of a display control apparatus of a video window according to an embodiment of the present disclosure. As shown in fig. 12, in one possible implementation, the adjustingmodule 82 includes one or more of afirst adjusting unit 821 and asecond adjusting unit 822.
Afirst adjusting unit 821, configured to adjust the width of the video window being played to be larger than the widths of the other video windows.
A second adjusting unit 722, configured to adjust the width of the other video window to be smaller than the width of the video window being played.
In one possible implementation, thefirst adjusting unit 821 includes: an adjustment subunit 8211.
An adjusting subunit 8211, configured to adjust the width of the video window being played to the width of the display screen.
In one possible embodiment, the display control device for a video window further includes: one or more of apause module 83, a floatingwindow play module 84.
And a pausingmodule 83, configured to pause the video played by the video window being played when all of the video window being played slides out of the current display interface.
And the floatingwindow playing module 84 is configured to play the video played by the video window being played on the current display interface in a floating window manner under the condition that the video window being played completely slides out of the current display interface, where the size of the floating window is smaller than that of the current display interface.
In a possible embodiment, the apparatus further comprises: a floatingwindow control module 85.
And the floatingwindow control module 85 is configured to control the floating window to disappear when a part of the video window being played returns to the current display interface.
In a possible embodiment, the apparatus further comprises: a stop and resumemodule 86.
A stopping and resumingmodule 86, configured to, in a case that a second request command for playing a video input by the user is detected, and the video corresponding to the second request command is not the video being played, stop the video being played and resume the width of the video window being played.
Example 3
Fig. 13 is a block diagram illustrating adisplay control apparatus 800 for a video window according to an exemplary embodiment. For example, theapparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like. Referring to fig. 13, theapparatus 800 may include one or more of the following components: processingcomponent 802,memory 804,power component 806,multimedia component 808,audio component 810, input/output (I/O)interface 812,sensor component 814, andcommunication component 816.
Theprocessing component 802 generally controls overall operation of thedevice 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing components 802 may include one ormore processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, theprocessing component 802 can include one or more modules that facilitate interaction between theprocessing component 802 and other components. For example, theprocessing component 802 can include a multimedia module to facilitate interaction between themultimedia component 808 and theprocessing component 802.
Thememory 804 is configured to store various types of data to support operations at theapparatus 800. Examples of such data include instructions for any application or method operating ondevice 800, contact data, phonebook data, messages, pictures, videos, and so forth. Thememory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components ofdevice 800. Thepower components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for theapparatus 800.
Themultimedia component 808 includes a screen that provides an output interface between thedevice 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, themultimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when thedevice 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
Theaudio component 810 is configured to output and/or input audio signals. For example, theaudio component 810 includes a Microphone (MIC) configured to receive external audio signals when theapparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in thememory 804 or transmitted via thecommunication component 816. In some embodiments,audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between theprocessing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Thesensor assembly 814 includes one or more sensors for providing various aspects of state assessment for thedevice 800. For example, thesensor assembly 814 may detect the open/closed status of thedevice 800, the relative positioning of components, such as a display and keypad of thedevice 800, thesensor assembly 814 may also detect a change in the position of thedevice 800 or a component of thedevice 800, the presence or absence of user contact with thedevice 800, the orientation or acceleration/deceleration of thedevice 800, and a change in the temperature of thedevice 800.Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. Thesensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Thecommunication component 816 is configured to facilitate communications between theapparatus 800 and other devices in a wired or wireless manner. Thedevice 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, thecommunication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, theapparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium, such as thememory 804, is also provided that includes computer program instructions executable by theprocessor 820 of thedevice 800 to perform the above-described methods.
The present disclosure may be systems, methods, and/or computer program products. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: 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), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present disclosure may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions 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). In some embodiments, the electronic circuitry that can execute the computer-readable program instructions implements aspects of the present disclosure by utilizing the state information of the computer-readable program instructions to personalize the electronic circuitry, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA).
Various aspects of the present disclosure are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
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 instructions, which comprises one or more executable instructions for implementing the specified logical function(s). 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.
Having described embodiments of the present disclosure, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terms used herein were chosen in order to best explain the principles of the embodiments, the practical application, or technical improvements to the techniques in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.