CN106792120B - Video picture display method and device and terminal - Google Patents

Video picture display method and device and terminal Download PDF

Info

Publication number
CN106792120B
CN106792120B CN201710067408.4A CN201710067408A CN106792120B CN 106792120 B CN106792120 B CN 106792120B CN 201710067408 A CN201710067408 A CN 201710067408A CN 106792120 B CN106792120 B CN 106792120B
Authority
CN
China
Prior art keywords
signal source
live broadcast
broadcast signal
live
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
CN201710067408.4A
Other languages
Chinese (zh)
Other versions
CN106792120A (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 Visual Technology Co Ltd
Original Assignee
Hisense Visual 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 Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN201710067408.4A priority Critical patent/CN106792120B/en
Publication of CN106792120A publication Critical patent/CN106792120A/en
Application granted granted Critical
Publication of CN106792120B publication Critical patent/CN106792120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a method, a device and a terminal for displaying a video picture, and belongs to the technical field of terminals. The method comprises the following steps: when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, judging whether a live broadcast video stream of the second live broadcast signal source is cached locally; when a live video stream of a second live broadcast signal source is locally cached, acquiring at least one frame of video picture with the caching time within a first appointed time period from the live video stream of the second live broadcast signal source; and displaying at least one frame of video picture in the switching process of the live broadcast signal source, canceling the display of at least one frame of video picture when the switching to the second live broadcast signal source is successful, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source. The embodiment of the invention improves the smoothness of switching between the video pictures and improves the display effect by displaying at least one frame of video picture which is coherent with the video picture corresponding to the video stream to be played.

Description

Video picture display method and device and terminal
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method and an apparatus for displaying a video frame, and a terminal.
Background
With the rapid development of terminal technology, terminals such as smart televisions, smart phones, computers and the like can be connected with a live broadcast signal source, so that a live broadcast video stream of the live broadcast signal source is obtained, and a video picture of the live broadcast video stream is displayed. The live broadcast signal source generally includes a live broadcast television program or a live network video, etc.
Because the user can switch the live broadcast signal source through the terminal in the process of watching the live broadcast video, so as to watch different live broadcast videos, at the moment, the terminal can firstly interrupt the current live broadcast signal source and cancel the display of the video picture corresponding to the live broadcast video stream of the current live broadcast signal source, and then when the user successfully switches to another live broadcast signal source, the terminal can display the video picture corresponding to the live broadcast video stream of another live broadcast signal source. However, since there is a certain time delay when the terminal accesses the live broadcast signal source, a black screen or a blue screen of the terminal may be caused in the process of switching the live broadcast signal source, and therefore, the terminal may generally display a pre-stored picture in the process of switching the two live broadcast signal sources for playing a transitional role in the process of switching the live broadcast signal source.
However, the terminal performs transition between the current live broadcast signal source and other live broadcast signal sources through the stored pictures, which reduces smoothness of switching between video frames of the two live broadcast signal sources and results in poor display effect.
Disclosure of Invention
In order to solve the problems of low smoothness and poor display effect of switching between video pictures of two live broadcast signal sources, embodiments of the present invention provide a method, an apparatus and a terminal for displaying video pictures. The technical scheme is as follows:
in one aspect, a method for displaying a video frame is provided, the method including:
when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, judging whether a live broadcast video stream of the second live broadcast signal source is locally cached, wherein the first live broadcast signal source is a live broadcast signal source to which a currently displayed video picture belongs;
when the live video stream of the second live broadcast signal source is locally cached, acquiring at least one frame of video picture with the caching time within a first appointed time period from the live video stream of the second live broadcast signal source, wherein the first appointed time period is a time period which is before the current time and is a first preset time length away from the current time;
and displaying the at least one frame of video picture in the switching process of the live broadcast signal source, canceling the display of the at least one frame of video picture when the switching to the second live broadcast signal source is successful, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
Optionally, the acquiring at least one frame of video picture whose buffering time is within a first specified time period from the live video stream of the second live video source includes:
acquiring a frame of video picture with the buffering time within the first specified time period and closest to the current time from the live video stream of the second live broadcast signal source;
correspondingly, the displaying the at least one frame of video picture in the switching process of the live broadcast signal source comprises:
and displaying the obtained latest frame of video picture in the switching process of the live broadcast signal source.
Optionally, the acquiring at least one frame of video picture whose buffering time is within a first specified time period from the live video stream of the second live video source includes:
acquiring a multi-frame video picture with the buffering time within the first specified time period from the live video stream of the second live broadcast signal source;
correspondingly, the displaying the at least one frame of video picture in the switching process of the live broadcast signal source comprises:
and in the switching process of the live broadcast signal source, sequentially displaying the multi-frame video pictures according to the caching time of the multi-frame video pictures.
Optionally, after detecting a switching instruction for switching the first live broadcast signal source to the second live broadcast signal source, the method further includes:
when receiving a live video stream of the first direct-broadcasting signal source, caching the live video stream of the first direct-broadcasting signal source, and determining the starting caching time of the live video stream of the first direct-broadcasting signal source;
when the cache space occupied by the cached live broadcast video stream of the first live broadcast signal source is larger than a preset threshold value, deleting the live broadcast video stream of which the cache time is within a second specified time period from the cache start time in the cached live broadcast video stream of the first live broadcast signal source, wherein the second specified time period is a time period which is after the cache start time and is a second preset time period away from the cache start time.
Optionally, after determining whether the live video stream of the second live signal source is locally cached, the method further includes:
when the live video stream of the second live broadcast signal source is not cached locally, video promotion information is obtained;
and displaying the video promotion information in the switching process of the live broadcast signal source, canceling the display of the video promotion information when the second live broadcast signal source is successfully switched, and displaying a video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
In another aspect, there is provided a display apparatus of a video screen, the apparatus including:
the device comprises a judging module, a display module and a display module, wherein the judging module is used for judging whether a live video stream of a second live signal source is cached locally or not when a switching instruction for switching a first live signal source to the second live signal source is detected, and the first live signal source is a live signal source to which a currently displayed video picture belongs;
the first acquisition module is used for acquiring at least one frame of video picture with the caching time within a first appointed time period from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached, wherein the first appointed time period is a time period which is before the current time and is a first preset time length away from the current time;
and the first display module is used for displaying the at least one frame of video picture in the switching process of the live broadcast signal source, canceling the display of the at least one frame of video picture when the switching is successfully carried out to the second live broadcast signal source, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
Optionally, the first obtaining module includes:
the first obtaining unit is used for obtaining a frame of video image of which the caching time is within the first specified time period and is closest to the current time from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached;
accordingly, the first display module comprises:
and the first display unit is used for displaying the obtained latest frame of video picture in the switching process of the live broadcast signal source.
Optionally, the first obtaining module includes:
the second obtaining unit is used for obtaining multi-frame video pictures with the caching time within the first specified time period from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached;
accordingly, the first display module comprises:
and the second display unit is used for sequentially displaying the multi-frame video pictures according to the buffering time of the multi-frame video pictures in the switching process of the live broadcast signal source.
Optionally, the apparatus further comprises:
the buffer module is used for buffering the live video stream of the first direct-broadcasting signal source when receiving the live video stream of the first direct-broadcasting signal source and determining the starting buffer time of the live video stream of the first direct-broadcasting signal source;
and the deleting module is used for deleting the cached live video stream with the caching time in the live video stream of the first direct-broadcasting signal source within a second designated time period when the cached caching space occupied by the live video stream of the first direct-broadcasting signal source is larger than a preset threshold, wherein the second designated time period is a time period which is after the caching starting time and is away from the caching starting time by a second preset time length.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring video promotion information when the live video stream of the second live broadcast signal source is not cached locally;
and the second display module is used for displaying the video promotion information in the switching process of the live broadcast signal source, canceling the display of the video promotion information when the switching is successfully carried out to the second live broadcast signal source, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
In still another aspect, a terminal is provided, where the terminal includes a processor, a memory, and a program code stored in the memory and executable on the processor, and the processor executes the program code to implement the above-mentioned video display method.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the present invention, when a switching instruction for switching the first live broadcast signal source to the second live broadcast signal source is detected, and when the live broadcast video stream of the second live broadcast signal source is locally cached, at least one frame of video picture whose caching time is within a first specified time period may be obtained from the live broadcast video stream of the second live broadcast signal source, that is, at least one frame of video picture adjacent to and before the video picture corresponding to the video stream to be played is obtained.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, 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 flowchart of a method for displaying a video frame according to an embodiment of the present invention;
fig. 2A is a block diagram of a display device for displaying video frames according to an embodiment of the present invention;
fig. 2B is a block diagram of a first obtaining module according to an embodiment of the present invention;
fig. 2C is a block diagram of another first obtaining module according to an embodiment of the present invention;
fig. 2D is a block diagram of another video frame display device according to an embodiment of the present invention;
FIG. 2E is a block diagram of a display device for displaying a third video frame according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
An embodiment of the present invention provides a method for displaying a video frame, and referring to fig. 1, the method includes:
step 101: when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, whether a live broadcast video stream of the second live broadcast signal source is cached locally is judged, and the first live broadcast signal source is a live broadcast signal source to which a currently displayed video picture belongs.
It should be noted that the first live broadcast signal source and the second live broadcast signal source may both be network live broadcast signal sources, and certainly may also be traditional live broadcast signal sources, such as live broadcast signal sources accessed through DVBC (Digital Video Broadcasting) interfaces, DTMB (Digital Television terrestrial Multimedia Broadcasting) interfaces, ATV (Analog Television) interfaces, HDMI (High Definition Multimedia interface ), VGA (Video graphics array) interfaces, and the like.
The user is watching the in-process of live broadcast video, can switch the live broadcast signal source through the terminal, thereby watch different live broadcast videos, when the terminal detects to switch the current live broadcast signal source to another live broadcast signal source, can be when the live broadcast video stream of another live broadcast signal source of broadcast, carry out the backstage buffering to the live broadcast video stream of current live broadcast signal source, for example to traditional TV live broadcast signal source, can carry out backstage decoding and buffering to the video stream through video decoder, to the network live broadcast signal source, can carry out backstage download and buffering to the video stream, so, can buffer the video stream of the live broadcast signal source before switching in the terminal.
In addition, the first live broadcast signal source may be switched from the second live broadcast signal source before, or may start playing as soon as the terminal is turned on, or may be switched from a live broadcast signal source other than the second live broadcast signal source, and for the first case, after the second live broadcast signal source is switched to the first live broadcast signal source, the video stream of the second live broadcast signal source may be cached in the terminal, and for the second case, the terminal does not have the cached video stream or may cache the video stream of the other live broadcast signal source other than the second live broadcast signal source.
Further, after detecting a switching instruction for switching the first live broadcast signal source to the second live broadcast signal source, the terminal may cache a live broadcast video stream of the first live broadcast signal source in the following manner, including: when receiving a live video stream of a first direct-broadcasting signal source, caching the live video stream of the first direct-broadcasting signal source, and determining the starting caching time of the live video stream of the first direct-broadcasting signal source; and when the cache space occupied by the cached live video stream of the first live broadcast signal source is larger than a preset threshold value, deleting the live video stream of which the cache time is within a second specified time period from the cached live video stream of the first live broadcast signal source, wherein the second specified time period is a time period which is after the cache starting time and is a second preset time period away from the cache starting time.
The terminal can cache the live video stream of the first live broadcast signal source, so that when the first live broadcast signal source is switched back, at least one frame of video picture can be obtained and displayed from the cached live video stream of the first live broadcast signal source, the video picture is used for playing a transition role in the process of switching the live broadcast signal sources, and the two live broadcast signal sources are smoothly switched. In addition, after the user switches the current live broadcast signal source through the terminal, the current live broadcast signal source may not be switched back, or the current live broadcast signal source may be switched back after a long time, and since the storage space of the terminal is limited, after the live broadcast signal source is switched, all the live broadcast video streams of the first signal source are cached, and then the terminal occupies a considerable storage space of the terminal, so that the terminal can delete the live broadcast video streams of the cached first live broadcast signal source whose caching time is within the second designated time period when the cached caching space occupied by the live broadcast video streams of the first live broadcast signal source is greater than a preset threshold, for example, greater than 40MB (megabyte ), that is, that the live broadcast video streams of the cached first live broadcast signal source whose caching time is within the second designated time period, that is, that the terminal.
Step 102: when the live video stream of the second live broadcast signal source is locally cached, at least one frame of video picture with the caching time within a first appointed time period is obtained from the live video stream of the second live broadcast signal source, and the first appointed time period is a time period which is before the current time and is a first preset time length away from the current time.
The obtaining, by the terminal, at least one frame of video picture whose buffering time is within a first specified time period from the live video stream of the second live broadcast signal source may include: and acquiring a frame of video image of which the buffering time is positioned in a first specified time period and is closest to the current time from the live video stream of the second live broadcast signal source, or acquiring a plurality of frames of video images of which the buffering time is positioned in the first specified time period from the live video stream of the second live broadcast signal source. That is, the terminal may only obtain the last frame of the buffered video image, or may obtain the last frames of the buffered video image.
It should be noted that, because at least one frame of acquired video frame is used for displaying in the process of switching the live broadcast signal source, in order to make the transition of the video frame more natural, the first preset duration should be set to be shorter, that is, the number of the video frames acquired by the terminal should not be too large, so as to avoid the problems that the second live broadcast signal source is accessed, and the acquired video frame is not completely displayed, so that the transition of the video frame is not smooth and the display effect is poor.
In addition, the terminal can acquire at least one frame of video image by performing screenshot operation on the cached video stream, and since the time for capturing one frame of video image is very fast, usually less than 150ms (milliseconds), it does not take a long time for the terminal to acquire at least one frame of video image, and thus the fluency of video image display is not affected.
In a possible implementation manner, when the live video stream of the second live broadcast signal source is not locally cached, the terminal can acquire the video promotion information, display the video promotion information in the switching process of the live broadcast signal source, cancel the display of the video promotion information when the second live broadcast signal source is successfully switched, and display the video picture corresponding to the live video stream of the second live broadcast signal source.
It should be noted that the video promotion information may be a section of video, such as an advertisement, captured from the video stream of the first direct-play signal source when the terminal plays the video stream of the first direct-play signal source, and of course, the video promotion information may also be a video provided by a third party, and in addition, the video promotion information may also be a public service advertisement video stored in the terminal in advance, and the like.
In addition, when the live broadcast video stream of the second live broadcast signal source is not locally cached, the terminal may display the video promotion information, and certainly, in practical application, the terminal may also display a picture stored in advance, or display a stored video picture, for example, the video picture may be obtained by capturing a screenshot of the video stream being played when the live broadcast signal source is switched for the time closest to the current time.
Step 103: and displaying at least one frame of video picture in the switching process of the live broadcast signal source, canceling the display of the at least one frame of video picture when the switching to the second live broadcast signal source is successful, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
The terminal can display the obtained latest frame of video picture in the switching process of the live broadcast signal source on the basis that the terminal obtains the frame of video picture with the caching time being positioned in the first appointed time period and the latest time from the live broadcast video stream of the second live broadcast signal source, and when the switching process is successfully switched to the second live broadcast signal source, the obtained latest frame of video picture is cancelled, and the video picture corresponding to the live broadcast video stream of the second live broadcast signal source is displayed.
On the basis that the terminal acquires the multi-frame video pictures with the caching time within the first specified time period from the live video stream of the second live broadcast signal source, the terminal can display the multi-frame video pictures in sequence according to the caching time of the multi-frame video pictures in the switching process of the live broadcast signal source, cancel the display of the multi-frame video pictures when the switching to the second live broadcast signal source is successful, and display the video pictures corresponding to the live video stream of the second live broadcast signal source.
In the embodiment of the present invention, when a switching instruction for switching the first live broadcast signal source to the second live broadcast signal source is detected, and when the live broadcast video stream of the second live broadcast signal source is locally cached, at least one frame of video picture whose caching time is within a first specified time period may be obtained from the live broadcast video stream of the second live broadcast signal source, that is, at least one frame of video picture adjacent to and before the video picture corresponding to the video stream to be played is obtained.
An embodiment of the present invention provides a display apparatus 200 for video pictures, referring to fig. 2A, the apparatus includes: a judging module 201, a first obtaining module 202 and a first displaying module 203.
The determining module 201 is configured to determine, when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, whether a live broadcast video stream of the second live broadcast signal source is locally cached, where the first live broadcast signal source is a live broadcast signal source to which a currently displayed video picture belongs;
the first obtaining module 202 is configured to, when a live video stream of a second live signal source is locally cached, obtain, from the live video stream of the second live signal source, at least one frame of video picture whose caching time is within a first specified time period, where the first specified time period is a time period before a current time and a first preset time period away from the current time;
the first display module 203 is configured to display at least one frame of video picture in a switching process of the live broadcast signal source, cancel display of the at least one frame of video picture when the switching process is successfully switched to the second live broadcast signal source, and display a video picture corresponding to a live broadcast video stream of the second live broadcast signal source.
Optionally, referring to fig. 2B, the first obtaining module 202 includes:
the first obtaining unit 2021, configured to obtain, when a live video stream of the second live broadcast signal source is locally cached, a frame of video frame whose caching time is within a first specified time period and is closest to a current time from the live video stream of the second live broadcast signal source;
accordingly, the first display module 203 includes:
and the first display unit is used for displaying the obtained latest frame of video picture in the switching process of the live broadcast signal source.
Optionally, referring to fig. 2C, the first obtaining module 202 includes:
the second obtaining unit 2022, configured to obtain, when a live video stream of the second live broadcast signal source is locally cached, a multi-frame video frame whose caching time is within a first specified time period from the live video stream of the second live broadcast signal source;
accordingly, the first display module 203 includes:
and the second display unit is used for sequentially displaying the multi-frame video pictures according to the buffering time of the multi-frame video pictures in the switching process of the live broadcast signal source.
Optionally, referring to fig. 2D, the apparatus further comprises:
the caching module 204 is configured to cache a live video stream of the first direct-broadcast signal source when the live video stream of the first direct-broadcast signal source is received, and determine a start caching time of the live video stream of the first direct-broadcast signal source;
the deleting module 205 is configured to delete, when a buffer space occupied by the buffered live video stream of the first live broadcast signal source is greater than a preset threshold, the live video stream whose buffer time is within a second specified time period from the start of the buffer time in the buffered live video stream of the first live broadcast signal source, where the second specified time period is a time period after the start of the buffer time and a second preset time period from the start of the buffer time.
Optionally, referring to fig. 2E, the apparatus further comprises:
a second obtaining module 206, configured to obtain video promotion information when a live video stream of a second live signal source is not locally cached;
the second display module 207 is configured to display the video promotion information in the switching process of the live broadcast signal source, cancel the display of the video promotion information when the switching process is successfully performed to the second live broadcast signal source, and display a video frame corresponding to a live broadcast video stream of the second live broadcast signal source.
In summary, in the embodiment of the present invention, when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, and when a live broadcast video stream of the second live broadcast signal source is locally cached, at least one frame of video frame whose caching time is within a first specified time period may be obtained from the live broadcast video stream of the second live broadcast signal source, that is, at least one frame of video frame adjacent to and before a video frame corresponding to a video stream to be played is obtained, and since the obtained at least one frame of video frame is connected to the video frame corresponding to the video stream to be played, smoothness of switching between video frames of the two live broadcast signal sources may be improved, and thus, a display effect is improved.
It should be noted that: in the display apparatus for video images provided in the above embodiments, when displaying video images, only the division of the above functional modules is exemplified, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the apparatus may be divided into different functional modules to complete all or part of the above described functions. In addition, the display apparatus of the video frame and the display method embodiment of the video frame provided by the above embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
The present embodiment provides a terminal that can be used to execute the video screen display method provided in the above-described embodiments. Referring to fig. 3, the terminal 300 includes:
the terminal 300 may include components such as an RF (Radio Frequency) circuit 310, a memory 320 including one or more computer-readable storage media, an input unit 330, a display unit 340, a sensor 350, an audio circuit 360, a WiFi (Wireless Fidelity) module 370, a processor 380 including one or more processing cores, and a power supply 390. Those skilled in the art will appreciate that the terminal structure shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 310 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then processing the received downlink information by one or more processors 380; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 310 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, RF circuit 310 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code division Multiple Access), WCDMA (Wideband Code division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), etc.
The memory 320 may be used to store software programs and modules, and the processor 380 executes various functional applications and data processing by operating the software programs and modules stored in the memory 320. The memory 320 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal 300, and the like. Further, the memory 320 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 320 may also include a memory controller to provide the processor 380 and the input unit 330 with access to the memory 320.
The input unit 330 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 330 may include a touch-sensitive surface 331 as well as other input devices 332. The touch-sensitive surface 331, also referred to as a touch screen or touch pad, may collect touch operations by a user on or near the touch-sensitive surface 331 (e.g., operations by a user on or near the touch-sensitive surface 331 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 331 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 380, and can receive and execute commands sent by the processor 380. In addition, the touch-sensitive surface 331 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 330 may comprise other input devices 332 in addition to the touch sensitive surface 331. In particular, other input devices 332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 340 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal 300, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 340 may include a Display panel 341, and optionally, the Display panel 341 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 331 may overlay display panel 341, and when touch-sensitive surface 331 detects a touch operation thereon or thereabout, communicate to processor 380 to determine the type of touch event, and processor 380 then provides a corresponding visual output on display panel 341 in accordance with the type of touch event. Although in FIG. 3, touch-sensitive surface 331 and display panel 341 are implemented as two separate components for input and output functions, in some embodiments, touch-sensitive surface 331 and display panel 341 may be integrated for input and output functions.
The terminal 300 may also include at least one sensor 350, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 341 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 341 and/or the backlight when the terminal 300 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal 300, detailed descriptions thereof are omitted.
Audio circuitry 360, speaker 361, microphone 362 may provide an audio interface between a user and terminal 300. The audio circuit 360 may transmit the electrical signal converted from the received audio data to the speaker 361, and the audio signal is converted by the speaker 361 and output; on the other hand, the microphone 362 converts the collected sound signal into an electrical signal, which is received by the audio circuit 360 and converted into audio data, which is then processed by the audio data output processor 380 and then transmitted to, for example, another terminal via the RF circuit 310, or the audio data is output to the memory 320 for further processing. The audio circuit 360 may also include an earbud jack to provide communication of a peripheral headset with the terminal 300.
WiFi belongs to a short-distance wireless transmission technology, and the terminal 300 can help a user send and receive e-mails, browse web pages, access streaming media, and the like through the WiFi module 370, and it provides wireless broadband internet access for the user. Although fig. 3 shows the WiFi module 370, it is understood that it does not belong to the essential constitution of the terminal 300, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 380 is a control center of the terminal 300, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal 300 and processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory 320, thereby integrally monitoring the handset. Optionally, processor 380 may include one or more processing cores; preferably, the processor 380 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 380.
The terminal 300 also includes a power supply 390 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 390 may also include any component including one or more of a dc or ac power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal 300 may further include a camera, a bluetooth module, etc., which will not be described herein. In this embodiment, the display unit of the terminal is a touch screen display, and the terminal further includes a memory and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors. The one or more programs include a display method for executing a video screen provided in any of the above embodiments.
It should be noted that the terminal provided in the foregoing embodiment may include the display device of the video picture in the foregoing embodiment, the terminal provided in the foregoing embodiment and the display device of the video picture and the display method embodiment of the video picture in the foregoing embodiment belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment and is not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A method for displaying a video frame, the method comprising:
when a switching instruction for switching a first live broadcast signal source to a second live broadcast signal source is detected, judging whether a live broadcast video stream of the second live broadcast signal source is locally cached, wherein the first live broadcast signal source is a live broadcast signal source to which a currently displayed video picture belongs, and live broadcast videos live broadcast by the first live broadcast signal source and live broadcast videos live broadcast by the second live broadcast signal source are different live broadcast videos;
when the live video stream of the second live broadcast signal source is not cached locally, acquiring a stored video picture, wherein the stored video picture is obtained by capturing a screenshot of the video stream being played when the live broadcast signal source is switched for the time closest to the current time;
when the live video stream of the second live broadcast signal source is locally cached, acquiring at least one frame of video picture with the caching time within a first appointed time period from the live video stream of the second live broadcast signal source, wherein the first appointed time period is a time period which is before the current time and is a first preset time length away from the current time;
and displaying the at least one frame of video picture or the stored video picture in the switching process of the live broadcast signal source, canceling the display of the at least one frame of video picture or the stored video picture when the switching to the second live broadcast signal source is successful, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
2. The method of claim 1, wherein said obtaining at least one frame of video pictures having a buffering time within a first specified time period from the live video stream of the second live source comprises:
acquiring a frame of video picture with the buffering time within the first specified time period and closest to the current time from the live video stream of the second live broadcast signal source;
correspondingly, the displaying the at least one frame of video picture in the switching process of the live broadcast signal source comprises:
and displaying the obtained latest frame of video picture in the switching process of the live broadcast signal source.
3. The method of claim 1, wherein said obtaining at least one frame of video pictures having a buffering time within a first specified time period from the live video stream of the second live source comprises:
acquiring a multi-frame video picture with the buffering time within the first specified time period from the live video stream of the second live broadcast signal source;
correspondingly, the displaying the at least one frame of video picture in the switching process of the live broadcast signal source comprises:
and in the switching process of the live broadcast signal source, sequentially displaying the multi-frame video pictures according to the caching time of the multi-frame video pictures.
4. The method of claim 1, wherein after detecting a switch instruction to switch the first live signal source to the second live signal source, further comprising:
when receiving a live video stream of the first direct-broadcasting signal source, caching the live video stream of the first direct-broadcasting signal source, and determining the starting caching time of the live video stream of the first direct-broadcasting signal source;
when the cache space occupied by the cached live broadcast video stream of the first live broadcast signal source is larger than a preset threshold value, deleting the live broadcast video stream of which the cache time is within a second specified time period from the cache start time in the cached live broadcast video stream of the first live broadcast signal source, wherein the second specified time period is a time period which is after the cache start time and is a second preset time period away from the cache start time.
5. The method of claim 1, wherein after determining whether the live video stream of the second live source is locally cached, further comprising:
when the live video stream of the second live broadcast signal source is not cached locally, video promotion information is obtained;
and displaying the video promotion information in the switching process of the live broadcast signal source, canceling the display of the video promotion information when the second live broadcast signal source is successfully switched, and displaying a video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
6. A display device for video pictures, said device comprising:
the device comprises a judging module, a judging module and a judging module, wherein the judging module is used for judging whether a live video stream of a second live broadcast signal source is cached locally when a switching instruction for switching a first live broadcast signal source to the second live broadcast signal source is detected, the first live broadcast signal source is a live broadcast signal source to which a currently displayed video picture belongs, and live broadcast videos live broadcast by the first live broadcast signal source and live broadcast videos live broadcast by the second live broadcast signal source are different;
a module, configured to obtain a stored video frame when a live video stream of the second live signal source is not locally cached, where the stored video frame is obtained by capturing a currently played video stream when the stored video frame is a live signal source switched at a time closest to a current time;
the first acquisition module is used for acquiring at least one frame of video picture with the caching time within a first appointed time period from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached, wherein the first appointed time period is a time period which is before the current time and is a first preset time length away from the current time;
the first display module is used for displaying the at least one frame of video picture or the stored video picture in the switching process of the live broadcast signal source, canceling the display of the at least one frame of video picture or the stored video picture when the switching process is successfully switched to the second live broadcast signal source, and displaying the video picture corresponding to the live broadcast video stream of the second live broadcast signal source.
7. The apparatus of claim 6, wherein the first obtaining module comprises:
the first obtaining unit is used for obtaining a frame of video image of which the caching time is within the first specified time period and is closest to the current time from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached;
accordingly, the first display module comprises:
and the first display unit is used for displaying the obtained latest frame of video picture in the switching process of the live broadcast signal source.
8. The apparatus of claim 6, wherein the first obtaining module comprises:
the second obtaining unit is used for obtaining multi-frame video pictures with the caching time within the first specified time period from the live video stream of the second live broadcast signal source when the live video stream of the second live broadcast signal source is locally cached;
accordingly, the first display module comprises:
and the second display unit is used for sequentially displaying the multi-frame video pictures according to the buffering time of the multi-frame video pictures in the switching process of the live broadcast signal source.
9. The apparatus of claim 6, wherein the apparatus further comprises:
the buffer module is used for buffering the live video stream of the first direct-broadcasting signal source when receiving the live video stream of the first direct-broadcasting signal source and determining the starting buffer time of the live video stream of the first direct-broadcasting signal source;
and the deleting module is used for deleting the cached live video stream with the caching time in the live video stream of the first direct-broadcasting signal source within a second designated time period when the cached caching space occupied by the live video stream of the first direct-broadcasting signal source is larger than a preset threshold, wherein the second designated time period is a time period which is after the caching starting time and is away from the caching starting time by a second preset time length.
10. A terminal comprising a processor, a memory and program code stored on the memory and executable on the processor, characterized in that the processor implements the method of displaying a video picture according to any one of claims 1 to 5 when executing the program code.
CN201710067408.4A 2017-02-07 2017-02-07 Video picture display method and device and terminal Active CN106792120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710067408.4A CN106792120B (en) 2017-02-07 2017-02-07 Video picture display method and device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710067408.4A CN106792120B (en) 2017-02-07 2017-02-07 Video picture display method and device and terminal

Publications (2)

Publication Number Publication Date
CN106792120A CN106792120A (en) 2017-05-31
CN106792120B true CN106792120B (en) 2020-06-16

Family

ID=58955670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710067408.4A Active CN106792120B (en) 2017-02-07 2017-02-07 Video picture display method and device and terminal

Country Status (1)

Country Link
CN (1) CN106792120B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108574870A (en) * 2018-04-13 2018-09-25 郑州云海信息技术有限公司 A kind of display methods, device and the equipment in multi channel signals source
CN110809168A (en) * 2018-08-06 2020-02-18 中兴通讯股份有限公司 Video live broadcast processing method and device, terminal and storage medium
CN110830761B (en) * 2018-08-10 2020-12-29 杭州海康威视数字技术股份有限公司 Television wall scene switching method, device and system, electronic equipment and storage medium
CN110858910B (en) * 2018-08-23 2022-05-27 广州虎牙信息科技有限公司 Live video display method, device, equipment and storage medium
CN109495699B (en) * 2018-11-23 2021-07-16 青岛海信宽带多媒体技术有限公司 Video playing switching method and device
CN109348295A (en) * 2018-11-28 2019-02-15 四川长虹电器股份有限公司 A method of solution android advertisement video, which opens, broadcasts preceding blank screen
CN110213600A (en) * 2019-04-29 2019-09-06 网易(杭州)网络有限公司 Net cast method, device and equipment
CN111147939A (en) * 2019-12-30 2020-05-12 深圳Tcl新技术有限公司 Television information source switching method, equipment, storage medium and device
CN111918092B (en) * 2020-08-12 2022-07-01 广州繁星互娱信息科技有限公司 Video stream processing method, device, server and storage medium
CN112328145A (en) * 2020-10-09 2021-02-05 深圳Tcl新技术有限公司 Image display method, device, equipment and computer readable storage medium
CN113194355B (en) * 2021-04-21 2022-10-14 青岛海信传媒网络技术有限公司 Video playing method and display equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881925A (en) * 2006-05-10 2006-12-20 上海市电信有限公司 Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN101742269A (en) * 2008-11-17 2010-06-16 华为技术有限公司 Channel switching over method, device and system
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
WO2015042962A1 (en) * 2013-09-30 2015-04-02 Telefonaktiebolaget L M Ericsson(Publ) System and method of a link surfed http live streaming broadcasting system
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system
CN105472439A (en) * 2015-12-15 2016-04-06 小米科技有限责任公司 Method and device for displaying image data

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132521A (en) * 2007-09-25 2008-02-27 华为技术有限公司 Method and device for switching IPTV channels

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1881925A (en) * 2006-05-10 2006-12-20 上海市电信有限公司 Method and structure for realizing live channel switching in Internet protocol audio-video broadcast network
CN101742269A (en) * 2008-11-17 2010-06-16 华为技术有限公司 Channel switching over method, device and system
CN101909160A (en) * 2009-12-17 2010-12-08 新奥特(北京)视频技术有限公司 Broadcast control switching method and device in network video live broadcast
WO2015042962A1 (en) * 2013-09-30 2015-04-02 Telefonaktiebolaget L M Ericsson(Publ) System and method of a link surfed http live streaming broadcasting system
CN105472439A (en) * 2015-12-15 2016-04-06 小米科技有限责任公司 Method and device for displaying image data
CN105472443A (en) * 2016-01-13 2016-04-06 杭州当贝网络科技有限公司 Direct broadcast source control method and system

Also Published As

Publication number Publication date
CN106792120A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN106792120B (en) Video picture display method and device and terminal
US10165309B2 (en) Method and apparatus for live broadcast of streaming media
JP6877808B2 (en) Methods, devices, and systems for processing video stream data
US9697622B2 (en) Interface adjustment method, apparatus, and terminal
WO2017202348A1 (en) Video playing method and device, and computer storage medium
CN103391473B (en) Method and device for providing and acquiring audio and video
CN111866433B (en) Video source switching method, video source playing method, video source switching device, video source playing device, video source equipment and storage medium
CN107333162B (en) Method and device for playing live video
CN106658064B (en) Virtual gift display method and device
CN108933964B (en) Bullet screen display method, playing device and control terminal
WO2015131768A1 (en) Video processing method, apparatus and system
CN106791916B (en) Method, device and system for recommending audio data
CN109101151B (en) Information display processing method and terminal equipment
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN107622234B (en) Method and device for displaying budding face gift
CN109660445B (en) Message processing method, device and storage medium
CN105513098B (en) Image processing method and device
CN110809186B (en) Video processing method and electronic equipment
CN113612957B (en) Call method and related equipment
CN105282628B (en) A kind of method and apparatus of video playing
CN106817621B (en) Mobile terminal and video backup and play method and device thereof
CN111372127B (en) Data transmission method and related device
CN108769766B (en) Video playing control method and terminal equipment
CN111629263A (en) Display picture compensation method and device, electronic 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
CB02 Change of applicant information

Address after: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant after: Hisense Video Technology Co., Ltd

Address before: 266555 Qingdao economic and Technological Development Zone, Shandong, Hong Kong Road, No. 218

Applicant before: HISENSE ELECTRIC Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant