CN109495699B - Video playing switching method and device - Google Patents

Video playing switching method and device Download PDF

Info

Publication number
CN109495699B
CN109495699B CN201811406290.4A CN201811406290A CN109495699B CN 109495699 B CN109495699 B CN 109495699B CN 201811406290 A CN201811406290 A CN 201811406290A CN 109495699 B CN109495699 B CN 109495699B
Authority
CN
China
Prior art keywords
window
state
video playing
switching mode
video
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.)
Active
Application number
CN201811406290.4A
Other languages
Chinese (zh)
Other versions
CN109495699A (en
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.)
Hisense Broadband Multimedia Technology Co Ltd
Original Assignee
Hisense Broadband Multimedia 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 Hisense Broadband Multimedia Technology Co Ltd filed Critical Hisense Broadband Multimedia Technology Co Ltd
Priority to CN201811406290.4A priority Critical patent/CN109495699B/en
Publication of CN109495699A publication Critical patent/CN109495699A/en
Application granted granted Critical
Publication of CN109495699B publication Critical patent/CN109495699B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Studio Circuits (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a video playing switching method and device, which are used for avoiding the mutual interference of video playing between different windows when different windows are adopted to switch and play videos. The video playing switching method provided by the embodiment of the application comprises the following steps: monitoring the video playing state of the first window and the state of the second window; and determining the video playing switching mode of the second window according to the video playing state of the first window and the state of the second window.

Description

Video playing switching method and device
Technical Field
The application relates to the technical field of smart televisions, in particular to a video playing switching method and device.
Background
At present, digital television broadcasts have the functions of broadcasting television programs such as live broadcasting, on-demand broadcasting and the like, full-screen broadcasting or small-window broadcasting exists in a live broadcasting scene or an on-demand broadcasting scene, and a user can mutually switch television programs between the full-screen broadcasting and the small-window broadcasting. The demands of operators in various regions are different, some operators require live broadcast programs to be switched in a static frame switching mode, some operators require live broadcast programs to be switched in a black screen switching mode, and the live broadcast programs are switched in a static frame switching mode, so that different switching broadcast modes are adopted according to different demands of users. When one window adopts a black screen switching mode, the other window adopts a static frame switching mode, or when both windows adopt the static frame switching mode, the full screen and the small window are repeatedly switched, when the current playing window is established or starts playing, the video playing of the previous window is not completely finished, the current playing window is switched to the static frame switching mode, and the video frame of the previous program is remained in the current window at the moment of playing of the switching window, so that the problem of screen flashing is caused.
Disclosure of Invention
The embodiment of the application provides a video playing switching method and device, which are used for avoiding the mutual interference of video playing between different windows when different windows are adopted to switch and play videos.
The video playing switching method provided by the embodiment of the application comprises the following steps:
monitoring the video playing state of the first window and the state of the second window;
and determining the video playing switching mode of the second window according to the video playing state of the first window and the state of the second window.
By the method, the video playing state of a first window and the state of a second window are monitored; and determining the video playing switching mode of the second window according to the video playing state of the first window and the video playing state of the second window, so that when different windows are adopted to switch and play videos, the mutual interference of video playing among different windows is avoided.
Optionally, when the second window starts to be created, if the video playing state of the first window is a deletion state or a stop state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
According to the method, when the second window starts to be created, if the video playing state of the first window is a deleting state or a stopping state, the video playing switching mode of the second window is set to be a static frame switching mode or a black screen switching mode according to preset conditions; if the video playing state of the first window is the playing starting state or the playing state, the second window is kept in the black screen mode, so that the video frames of the first window cannot remain in the second window at the moment of switching the windows, and the problem of screen flashing is avoided.
Optionally, after the second window is created, if the video playing state of the first window is a deletion state or a stop state, the video playing switching mode of the second window is set to be a static frame switching mode or a black screen switching mode according to a preset condition.
Optionally, when any one of the windows is destroyed, the window is set to be in a black screen mode.
By the method, when any window is destroyed, the window is set to be in a black screen mode so as to clear the playing residual frame.
Optionally, if the video playing state of the destroyed window is a deletion state or a stop state, setting the window to be in a black screen mode;
if the video playing state of the destroyed window is the playing state, the video playing state of the window is set to be the stop state when the video playing of the window is finished, and then the window is set to be the black screen mode.
Correspondingly, on the device side, the video playing switching device provided by the embodiment of the application comprises:
the first unit is used for monitoring the video playing state of the first window and the state of the second window;
and the second unit is used for determining the video playing switching mode of the second window according to the video playing state of the first window and the state of the second window.
Optionally, the second unit is specifically configured to: when the second window begins to be created:
if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
Optionally, the second unit is further configured to: when the second window is established, if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition.
An embodiment of the present application further provides a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing any one of the methods provided by the embodiment of the application according to the obtained program.
Another embodiment of the present application provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a video playback switching method according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a video playing status and window creation status change processing flow provided in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a video playback switching apparatus according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of a video playback switching apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a video playing switching method and device, which are used for avoiding the mutual interference of video playing between different windows when different windows are adopted to switch and play videos.
Various embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the display sequence of the embodiment of the present application only represents the sequence of the embodiment, and does not represent the merits of the technical solutions provided by the embodiments.
The currently common video playback switching scheme includes: and setting the current window video playing switching mode as a static frame switching mode or a black screen switching mode according to preset conditions, namely setting the current window video playing switching mode as the static frame switching mode or the black screen switching mode when the playing starts. For example, the method of switching the programs between live broadcasting and on-demand broadcasting can select black screen switching broadcasting or static frame switching broadcasting according to requirements. Setting the current window to be static frame switching play or black screen switching play according to preset conditions, wherein when the play mode is switched, the switching of a large window and a small window is sometimes caused, for example, a full-screen window is used in live broadcast, and a small window is used in click broadcast. When switching between a full-screen window and a small window, setting a current window video switching mode, wherein the modes comprise: a static frame switching mode (the last frame of the previous program is reserved when the next program is switched, and is not cleared), and a black screen switching mode (the last frame of the previous program is hidden when the next program is switched, and the frame of the next program is displayed when coming).
However, when the actual size window is switched, there is often a problem that when the current window activity is resumed (resume) or starts to be created (start), the video playing of the previous window is not completely finished, and the play mode of setting the still frame die switching mode or the black screen switching mode may cause a screen flashing problem.
The main functional modules of the embodiment of the application comprise:
and setting the second window video playing switching mode to be a static frame switching mode or a black screen switching mode according to a preset condition, and performing time delay setting on the second window video playing switching mode. Starting a background monitoring module, monitoring the next playing behavior of the midi player in real time, monitoring a switching window, namely adjusting the size of a video window, preparing to create a second window, setting the video playing switching mode of the second window to be a black screen mode at this stage, starting playing of the next scene when the video playing of the first window is monitored to be finished or deleted, namely starting playing of the second window video, and setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to preset conditions, thereby solving the problem of screen flashing caused by switching of large and small windows.
Referring to fig. 1, a video playback switching method provided in an embodiment of the present application includes:
s101, monitoring a video playing state of a first window and a video playing state of a second window;
s102, determining a video playing switching mode of a second window according to the video playing state of the first window and the state of the second window.
For example, the first window is a full screen window and the second window is a small window, or the first window is a small window and the second window is a full screen window.
Optionally, when the second window starts to be created:
if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
According to a preset condition, determining that the second window video playing switching mode is a static frame switching mode or a black screen switching mode, for example:
if a full-screen window is adopted for live broadcasting in advance, a static frame switching mode is adopted for a video playing switching mode of the full-screen window, a small window is adopted for on-demand broadcasting, and a black screen switching mode is adopted for a video playing switching mode of the small window, if the second window is the full-screen window and a live video needs to be played, the video playing switching mode of the second window is determined to be the static frame switching mode; and if the second window is a small window and the video on demand needs to be played, determining that the video playing switching mode of the second window is a black screen switching mode.
Or if a small window for live broadcasting is preset, a static frame switching mode is adopted for the video playing switching mode of the small window, a full-screen window is adopted for video on demand, a black screen switching mode is adopted for the video playing switching mode of the full-screen window, and if the second window is the small window and needs to play live video, the video playing switching mode of the second window is determined to be the static frame switching mode; and if the second window is a full-screen window and the video on demand needs to be played, determining that the video playing switching mode of the second window is a black-screen switching mode.
Or if a full-screen window is adopted for live broadcasting in advance, a black-screen switching mode is adopted for video playing switching mode of the full-screen window, a small window is adopted for video on demand, and a static frame switching mode is adopted for video playing switching mode of the small window, if the second window is the full-screen window and live video needs to be played, the video playing switching mode of the second window is determined to be the black-screen switching mode; and if the second window is a small window and the video on demand needs to be played, determining that the video playing switching mode of the second window is the static frame switching mode.
Or if a small window for live broadcasting is preset, a black screen switching mode is adopted as a video playing switching mode of the small window, a full-screen window is adopted for video on demand, a static frame switching mode is adopted as a video playing switching mode of the full-screen window, and if the second window is the small window and a live video needs to be played, the video playing switching mode of the second window is determined to be the black screen switching mode; and if the second window is a full-screen window and the video on demand needs to be played, determining that the video playing switching mode of the second window is the static frame switching mode.
Or if a full-screen window is preset for live broadcasting, a static frame switching mode is adopted for the video playing switching mode of the full-screen window, a small window is adopted for on-demand broadcasting, and a static frame switching mode is adopted for the video playing switching mode of the small window, if the second window is the full-screen window and a live video needs to be played, the video playing switching mode of the second window is determined to be the static frame switching mode; and if the second window is a small window and the video on demand needs to be played, determining that the video playing switching mode of the second window is the static frame switching mode.
Or if a small window for live broadcasting is preset, a static frame switching mode is adopted for the video playing switching mode of the small window, a full-screen window is adopted for video on demand, and a static frame switching mode is adopted for the video playing switching mode of the full-screen window, if the second window is the small window and a live video needs to be played, the video playing switching mode of the second window is determined to be the static frame switching mode; and if the second window is a full-screen window and the video on demand needs to be played, determining that the video playing switching mode of the second window is the static frame switching mode.
The video playing switching mode of the second window is determined by combining the video type (on-demand, live broadcast) and the window type (full-screen window, small window), and of course, the video playing switching mode of the second window can also be determined by combining the video type or the window type, which is not described herein again.
That is to say, optionally, in this embodiment of the application, the video playing switching mode of the second window may be determined in combination with the type of the video and/or the type of the window that the second window needs to play.
Optionally, when the second window is created, if the video playing state of the first window is a deletion state or a stop state, setting the video playing switching mode of the second window to be a still frame switching mode or a black screen switching mode according to a preset condition.
For example, the deletion state needs to release the program resource and quit playing the service, and the stop state does not release the program resource but only stops playing. If the first window video playing state is monitored to be a deleting state or a stopping state, the first window video playing is finished at the moment, no residual frame exists, and the second window video playing switching mode does not need to be set to be a black screen mode at the stage. The video playing switching mode of the app start window is set to be a static frame switching mode or a black screen switching mode by reading the name of the playing app package and the identifier of the activity name, namely the unique identifier of the playing module (for example, the application app package and the activity name which need the channel switching mode and the set video playing switching mode can be recorded by an app text file). The window for playing the app can be a full-screen window or a small window, and switching between the full-screen window and the small window can be performed.
Optionally, when any one of the windows is destroyed, the window is set to be in a black screen mode.
For example, window destruction is the exit of the window from the play service. Setting the window video playing switching mode to a black screen mode can clear the playing residual frame.
Optionally, if the video playing state of the destroyed window is a deletion state or a stop state, setting the window to be in a black screen mode;
if the video playing state of the destroyed window is the playing state, the video playing state of the window is set to be the stop state when the video playing of the window is finished, and then the window is set to be the black screen mode.
The program play management mode includes a video play state machine including a play create (play _ create) state, a play delete (play _ delete) state, a play start (play _ start) state, a play running (play _ running) state, and a play stop (play _ stop) state.
The play _ create module functions to create a playing program channel, uniquely create a playing channel through the information of the currently playing program, and initialize the playing state, that is, uniquely identify the currently playing program according to the currently playing information (such as a program number, an audio/video pid).
The play _ delete module has the functions of deleting the playing channel, releasing the program resource and exiting the playing service;
the play _ start module is used for playing programs according to the information of the programs;
the play _ running module has the function of indicating that the current program is playing;
the play _ stop module has the function of stopping the program playing if the current program state is the play _ running state.
The background detection management module has the functions of:
(1) setting 3 modes of video playing, including:
mode one, static frame switching mode (the last frame of the last program is not cleared when changing channels, and the last frame picture is kept to be displayed);
mode two, black screen switching mode (hide last frame of last program, wait for next program frame to come to show again temporarily, namely the temporary black screen);
mode three, black screen mode (hide video, no video content is displayed, i.e. always black screen).
(2) Monitoring and collecting a video playing state of a first window and a creating state of a second window:
and collecting the second window state and the first window video playing state.
(3) The video playing state and window creation state change processing process comprises the following steps:
referring to fig. 2, a flow chart of a video playing state and window creation state change processing provided in the embodiment of the present application specifically includes:
when the second window (current window) starts to be created, monitoring the video playing state of the first window (previous window), specifically including:
if the video playing state of the first window is a deleting state or a stopping state, setting a second window channel switching playing switching mode to be a static frame switching mode or a black screen switching mode according to a preset condition, and playing corresponding videos;
if the first window video playing state is a playing state or a playing starting state, a second window video playing switching mode needs to be set to be a black screen mode because monitoring of the first window video playing state is not completed, and the black screen state is kept; after the second window is established, waiting for the video playing state of the first window to be in a deleting state or a stopping state, setting the second window channel switching playing switching mode to be in a static frame switching mode or a black screen switching mode according to preset conditions, and playing the corresponding video.
When the first window or the second window is destroyed (i.e. exits the play service), monitoring the video play state of the first window or the second window includes:
if the video playing state of the first window or the second window is a deleting state or a stopping state, setting the video playing switching mode of the first window or the second window to be a black screen mode according to preset conditions, and keeping the black screen state;
if the video playing state of the first window or the second window is the playing state, waiting for the end of the playing of the program of the first window or the second window, wherein the playing state is the stop state, setting the video playing switching mode of the first window or the second window to be the black screen mode according to the preset conditions, and keeping the black screen state.
Referring to fig. 3, a video playback switching apparatus provided for the embodiment of the present application includes:
a first unit 11, configured to monitor a video playing status of a first window and a status of a second window;
and a second unit 12, configured to determine a video playing switching mode of the second window according to the video playing state of the first window and the state of the second window.
Optionally, the second unit 12 is specifically configured to: when the second window begins to be created:
if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
Optionally, the second unit 12 is specifically configured to: when the second window is established, if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition.
Referring to fig. 4, an embodiment of the present application further provides a video playback switching apparatus, including:
the processor 600, for reading the program in the memory 610, executes the following processes:
monitoring the video playing state of the first window and the state of the second window;
and determining the video playing switching mode of the second window according to the video playing state of the first window and the state of the second window.
Monitoring the video playing state of a first window and the state of a second window through the device; and determining a video playing switching mode of the second window according to the video playing state of the first window and the video playing state of the second window, so as to avoid the mutual interference of video playing between different windows when different windows are adopted to switch and play videos.
Optionally, when the second window starts to be created:
if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
Optionally, when the second window is created, if the video playing state of the first window is a deletion state or a stop state, setting the video playing switching mode of the second window to be a still frame switching mode or a black screen switching mode according to a preset condition.
Optionally, when any one of the windows is destroyed, the window is set to be in a black screen mode.
Optionally, if the video playing state of the destroyed window is a deletion state or a stop state, setting the window to be in a black screen mode;
if the video playing state of the destroyed window is the playing state, the video playing state of the window is set to be the stop state when the video playing of the window is finished, and then the window is set to be the black screen mode.
Where in fig. 4, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 600 and memory represented by memory 610. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface.
The embodiment of the present application further provides a computing device, which may specifically be a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The Display terminal may include a Central Processing Unit (CPU), a memory, an input/output device, etc., the input device may include a keyboard, a mouse, a touch screen, etc., and the output device may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
Alternatively to different user devices, the user interface 620 may be an interface capable of interfacing with a desired device externally, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 600 is responsible for managing the bus architecture and general processing, and the memory 610 may store data used by the processor 600 in performing operations.
Alternatively, the processor 600 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array), or a CPLD (Complex Programmable Logic Device).
Memory 610 may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In the embodiments of the present application, the memory may be used for storing a program of any one of the methods provided by the embodiments of the present application.
The processor is used for executing any one of the methods provided by the embodiment of the application according to the obtained program instructions by calling the program instructions stored in the memory.
Embodiments of the present application provide a computer storage medium for storing computer program instructions for an apparatus provided in the embodiments of the present application, which includes a program for executing any one of the methods provided in the embodiments of the present application.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
To sum up, the video playing switching method and device provided in the embodiments of the present application are used to avoid mutual interference of video playing between different windows when different windows are used to switch playing videos.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, 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 specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (8)

1. A video play switching method is characterized by comprising the following steps:
monitoring the video playing state of the first window and the state of the second window;
determining a video playing switching mode of a second window according to the video playing state of the first window and the state of the second window;
when the second window is established, if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
when the second window begins to be created:
and if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition.
2. The method of claim 1, wherein when the second window begins to be created:
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
3. The method of claim 1, further comprising:
and when any window is destroyed, setting the window to be in a black screen mode.
4. The method according to claim 3, wherein if the video playing state of the destroyed window is a deletion state or a stop state, the window is set to a black screen mode;
if the video playing state of the destroyed window is the playing state, the video playing state of the window is set to be the stop state when the video playing of the window is finished, and then the window is set to be the black screen mode.
5. A video playback switching apparatus, comprising:
the first unit is used for monitoring the video playing state of the first window and the state of the second window;
the second unit is used for determining a video playing switching mode of a second window according to the video playing state of the first window and the state of the second window;
the second unit is further configured to:
when the second window is established, if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition;
the second unit is specifically configured to: when the second window begins to be created:
and if the video playing state of the first window is a deleting state or a stopping state, setting the video playing switching mode of the second window to be a static frame switching mode or a black screen switching mode according to a preset condition.
6. The apparatus according to claim 5, wherein the second unit is specifically configured to: when the second window begins to be created:
and if the video playing state of the first window is the starting playing state or the playing state, keeping the second window in a black screen mode.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any one of claims 1 to 4 according to the obtained program.
8. A computer storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 4.
CN201811406290.4A 2018-11-23 2018-11-23 Video playing switching method and device Active CN109495699B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811406290.4A CN109495699B (en) 2018-11-23 2018-11-23 Video playing switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811406290.4A CN109495699B (en) 2018-11-23 2018-11-23 Video playing switching method and device

Publications (2)

Publication Number Publication Date
CN109495699A CN109495699A (en) 2019-03-19
CN109495699B true CN109495699B (en) 2021-07-16

Family

ID=65697712

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811406290.4A Active CN109495699B (en) 2018-11-23 2018-11-23 Video playing switching method and device

Country Status (1)

Country Link
CN (1) CN109495699B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336961B (en) * 2019-05-30 2022-03-01 深圳小佳科技有限公司 Television channel switching processing method, television and storage medium
CN110267088B (en) * 2019-07-18 2021-09-07 北京字节跳动网络技术有限公司 Video playing control method and device, electronic equipment and storage medium
CN114040243B (en) * 2021-11-04 2023-08-04 上海哔哩哔哩科技有限公司 Live broadcasting room video playing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201528795A (en) * 2014-12-02 2015-07-16 Kauo-Shun Huang A video-audio signal adjusting device and method thereof
CN105979354A (en) * 2015-11-30 2016-09-28 乐视致新电子科技(天津)有限公司 Channel switching method and device
CN106792120A (en) * 2017-02-07 2017-05-31 青岛海信电器股份有限公司 The display methods of video pictures, device and terminal
CN107920273A (en) * 2017-11-30 2018-04-17 深圳Tcl新技术有限公司 Program switching method, television set and the computer-readable storage medium of television set
CN107948716A (en) * 2017-11-28 2018-04-20 青岛海信宽带多媒体技术有限公司 A kind of video broadcasting method, device and set-top box
CN108156487A (en) * 2016-12-02 2018-06-12 北京邦天信息技术有限公司 A kind of video broadcasting method and device
CN108449553A (en) * 2018-03-23 2018-08-24 中国人民解放军92941部队 Instructor in broadcasting's control system and signal processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201528795A (en) * 2014-12-02 2015-07-16 Kauo-Shun Huang A video-audio signal adjusting device and method thereof
CN105979354A (en) * 2015-11-30 2016-09-28 乐视致新电子科技(天津)有限公司 Channel switching method and device
CN108156487A (en) * 2016-12-02 2018-06-12 北京邦天信息技术有限公司 A kind of video broadcasting method and device
CN106792120A (en) * 2017-02-07 2017-05-31 青岛海信电器股份有限公司 The display methods of video pictures, device and terminal
CN107948716A (en) * 2017-11-28 2018-04-20 青岛海信宽带多媒体技术有限公司 A kind of video broadcasting method, device and set-top box
CN107920273A (en) * 2017-11-30 2018-04-17 深圳Tcl新技术有限公司 Program switching method, television set and the computer-readable storage medium of television set
CN108449553A (en) * 2018-03-23 2018-08-24 中国人民解放军92941部队 Instructor in broadcasting's control system and signal processing method

Also Published As

Publication number Publication date
CN109495699A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
CN109495699B (en) Video playing switching method and device
CN109275011B (en) Processing method and device for switching motion modes of smart television and user equipment
CN107454475A (en) Control method and device, computer installation and the readable storage medium storing program for executing of video playback
WO2016074327A1 (en) Control method, apparatus and system of media stream
CN110580125A (en) partial refreshing method, device, equipment and medium for display interface
US20240289398A1 (en) Method, apparatus, device and storage medium for content display
CN110401877B (en) Video playing control method and device, electronic equipment and storage medium
US20170134789A1 (en) Operation instructing method and apparatus for remote controller of intelligent television
WO2021208607A1 (en) Video stream playing control method and apparatus, and storage medium
US20240143649A1 (en) Multimedia information processing method, apparatus, electronic device, and medium
CN110704202A (en) Multimedia recording data sharing method and terminal equipment
CN112738633A (en) Video playing method, device, equipment and readable storage medium
US20240118794A1 (en) Control display method, apparatus, and device, and medium
CN110267088B (en) Video playing control method and device, electronic equipment and storage medium
WO2017219872A1 (en) Set top box upgrading and channel changing methods and systems
CN109495776B (en) Audio sending and playing method and intelligent terminal
CN112162683A (en) Image amplification method and device and storage medium
CN106940722B (en) Picture display method and device
CN116244471A (en) Player instance management method and device, electronic equipment and storage medium
CN109714626B (en) Information interaction method and device, electronic equipment and computer readable storage medium
CN113596584B (en) Video playing method, device and storage medium
CN116456139A (en) Live broadcast processing method, device, electronic equipment, storage medium and program product
CN113760611A (en) System site switching method and device, electronic equipment and storage medium
CN112181329B (en) Data display method and device
CN109819329B (en) Window display method and smart television

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
GR01 Patent grant
GR01 Patent grant