CN112752152A - Delivery video playing method and display equipment - Google Patents

Delivery video playing method and display equipment Download PDF

Info

Publication number
CN112752152A
CN112752152A CN202011579386.8A CN202011579386A CN112752152A CN 112752152 A CN112752152 A CN 112752152A CN 202011579386 A CN202011579386 A CN 202011579386A CN 112752152 A CN112752152 A CN 112752152A
Authority
CN
China
Prior art keywords
video resource
video
memory space
resolution
resource
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.)
Granted
Application number
CN202011579386.8A
Other languages
Chinese (zh)
Other versions
CN112752152B (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 CN202011579386.8A priority Critical patent/CN112752152B/en
Publication of CN112752152A publication Critical patent/CN112752152A/en
Application granted granted Critical
Publication of CN112752152B publication Critical patent/CN112752152B/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The application provides a delivery video playing method and display equipment, and a user can deliver a video on a mobile terminal to the display equipment to play. Before playing, the mobile terminal needs to send the video resource to the display device, and a controller of the display device obtains the resolution of the video resource; allocating memory space corresponding to the resolution ratio for the video resource; the memory spaces corresponding to different resolutions are different in size; and finally, after the video resources with the preset caching duration are cached in the memory space, controlling a display of the display equipment to play the video resources in the memory space. According to the technical scheme, the memory spaces with different sizes can be distributed for the video resources with different resolutions, so that the video resources are guaranteed to have enough memory for caching, and the problem of playing start failure or playing pause can be avoided.

Description

Delivery video playing method and display equipment
Technical Field
The present application relates to the field of display technologies, and in particular, to a delivery video playing method and a display device.
Background
In daily life, more and more users tend to deliver videos of a mobile terminal to a display device to share and watch with family members. Typically, the local video is ready to use as its own presence in the display device. However, the display device must allocate a fixed memory for the video resource delivered by the mobile terminal, and buffer the video resource for a certain duration in the fixed memory before playing, so as to ensure that the display device can play smoothly.
At present, mobile terminal high definition shooting equipment is more and more, and the quality and the definition of video also improve day by day, put forward higher requirement to display device's broadcast ability simultaneously. The mobile terminal sends the high-definition video resources to the display device frequently, the resolution of the high-definition video resources is higher and can be 2K, 4K, 8K or higher, and meanwhile, the occupied memory of the high-definition video resources is larger and larger. However, the current display device can only allocate a fixed memory for the delivered video resource, and when the allocated memory cannot meet the storage requirement of the video resource, the video resource may have a problem of failed start-up or blocked play.
Disclosure of Invention
The application provides a delivered video playing method and display equipment, and aims to solve the problem that the video resource playing fails or playing is blocked due to the fact that the conventional display equipment can only allocate a fixed memory for a delivered video.
In a first aspect, the present application provides a display device comprising:
the display is configured to play the video resource delivered by the mobile terminal;
a controller configured to:
acquiring the resolution of video resources delivered by a mobile terminal;
allocating a memory space corresponding to the resolution ratio of the video resource; the memory spaces corresponding to different resolutions are different in size;
and after the video resources with preset caching duration are cached in the memory space, controlling a display to play the video resources in the memory space.
In some embodiments, the controller is further configured to:
and under the condition that the resolution of the video resource is less than or equal to 4K, allocating a preset memory space matched with the resolution to the video resource.
In some embodiments, the controller is further configured to:
detecting whether caching of the video resources in the preset memory space is completed within preset time;
under the condition that caching is not finished, detecting whether the preset memory space is larger than or equal to the data amount of the video resource needing caching;
and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space so as to finish the caching of the video resource.
In some embodiments, the controller is further configured to:
under the condition that the resolution of the video resource is larger than 4K, calculating the code rate of the video resource according to the resource size of the video resource; the code rate is used for expressing the data volume of the video resource transmitted every second;
calculating the cache data volume of the video resource by using the code rate and a preset cache duration;
and allocating memory space with corresponding size for the video resource according to the cache data volume.
In some embodiments, the controller is further configured to:
acquiring a Uniform Resource Locator (URL) address of a video resource delivered by a mobile terminal;
and resolving the resolution of the video resource according to the URL address of the uniform resource positioning system.
In some embodiments, the controller is further configured to:
and continuously caching the video resource in the memory space while controlling the display to play the video resource in the memory space.
In a second aspect, the present application further provides a delivery video playing method, including:
acquiring the resolution of video resources delivered by a mobile terminal;
allocating a memory space corresponding to the resolution ratio of the video resource; the memory spaces corresponding to different resolutions are different in size;
and after the video resources with preset caching duration are cached in the memory space, controlling a display to play the video resources in the memory space.
In some embodiments, the step of allocating the memory space corresponding to the resolution of the video resource includes:
and under the condition that the resolution of the video resource is less than or equal to 4K, allocating a preset memory space matched with the resolution to the video resource.
In some embodiments, the step of allocating the memory space corresponding to the resolution of the video resource further includes:
detecting whether caching of the video resources in the preset memory space is completed within preset time;
under the condition that caching is not finished, detecting whether the preset memory space is larger than or equal to the data amount of the video resource needing caching;
and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space so as to finish the caching of the video resource.
In some embodiments, the step of allocating the memory space corresponding to the resolution of the video resource further includes:
under the condition that the resolution of the video resource is larger than 4K, calculating the code rate of the video resource according to the resource size of the video resource; the code rate is used for expressing the data volume of the video resource transmitted every second;
calculating the cache data volume of the video resource by using the code rate and a preset cache duration;
and allocating memory space with corresponding size for the video resource according to the cache data volume.
According to the content, the delivered video playing method and the display device are provided in the technical scheme, and a user can deliver the video on the mobile terminal to the display device to play. Before playing, the mobile terminal needs to send the video resource to the display device, and a controller of the display device obtains the resolution of the video resource; allocating memory space corresponding to the resolution ratio for the video resource; the memory spaces corresponding to different resolutions are different in size; and finally, after the video resources with the preset caching duration are cached in the memory space, controlling a display of the display equipment to play the video resources in the memory space. According to the technical scheme, the memory spaces with different sizes can be distributed for the video resources with different resolutions, so that the video resources are guaranteed to have enough memory for caching, and the problem of playing start failure or playing pause can be avoided.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 illustrates a schematic diagram of a usage scenario of a display device according to some embodiments;
fig. 2 illustrates a hardware configuration block diagram of the control apparatus 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of the display apparatus 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in the display device 200 according to some embodiments;
fig. 5 illustrates an interaction diagram between the mobile terminal and the controller 250 according to some embodiments;
fig. 6 illustrates a second interaction diagram between the mobile terminal and the controller 250 according to some embodiments;
FIG. 7 illustrates a schematic diagram of a control process of the controller 250 according to some embodiments;
FIG. 8 illustrates a schematic diagram of a second control process of the controller 250 according to some embodiments;
FIG. 9 illustrates a schematic diagram of a load page in accordance with some embodiments;
fig. 10 illustrates a flow diagram of a delivery video playback method according to some embodiments.
Detailed Description
To make the purpose and embodiments of the present application clearer, the following will clearly and completely describe the exemplary embodiments of the present application with reference to the attached drawings in the exemplary embodiments of the present application, and it is obvious that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
It should be noted that the brief descriptions of the terms in the present application are only for the convenience of understanding the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
The terms "first," "second," "third," and the like in the description and claims of this application and in the above-described drawings are used for distinguishing between similar or analogous objects or entities and not necessarily for describing a particular sequential or chronological order, unless otherwise indicated. It is to be understood that the terms so used are interchangeable under appropriate circumstances.
The terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a product or apparatus that comprises a list of elements is not necessarily limited to all elements expressly listed, but may include other elements not expressly listed or inherent to such product or apparatus.
The term "module" refers to any known or later developed hardware, software, firmware, artificial intelligence, fuzzy logic, or combination of hardware and/or software code that is capable of performing the functionality associated with that element.
FIG. 1 illustrates a schematic diagram of a usage scenario of a display device according to some embodiments. As shown in fig. 1, the display apparatus 200 is also in data communication with a server 400, and a user can operate the display apparatus 200 through the smart device 300 or the control device 100.
In some embodiments, the control apparatus 100 may be a remote controller, and the communication between the remote controller and the display device includes at least one of an infrared protocol communication or a bluetooth protocol communication, and other short-distance communication methods, and controls the display device 200 in a wireless or wired manner. The user may control the display apparatus 200 by inputting a user instruction through at least one of a key on a remote controller, a voice input, a control panel input, and the like.
In some embodiments, the smart device 300 may include any of a mobile terminal, a tablet, a computer, a laptop, an AR/VR device, and the like.
In some embodiments, the smart device 300 may also be used to control the display device 200. For example, the display device 200 is controlled using an application program running on the smart device.
In some embodiments, the smart device 300 and the display device may also be used for communication of data.
In some embodiments, the display device 200 may also be controlled in a manner other than the control apparatus 100 and the smart device 300, for example, the voice instruction control of the user may be directly received by a module configured inside the display device 200 to obtain a voice instruction, or may be received by a voice control apparatus provided outside the display device 200.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The server 400 may be a cluster or a plurality of clusters, and may include one or more types of servers.
In some embodiments, software steps executed by one step execution agent may be migrated on demand to another step execution agent in data communication therewith for execution. Illustratively, software steps performed by the server may be migrated to be performed on a display device in data communication therewith, and vice versa, as desired.
Fig. 2 illustrates a block diagram of a hardware configuration of the control apparatus 100 according to some embodiments. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an input operation instruction from a user and convert the operation instruction into an instruction recognizable and responsive by the display device 200, serving as an interaction intermediary between the user and the display device 200.
In some embodiments, the communication interface 130 is used for external communication, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module.
In some embodiments, the user input/output interface 140 includes at least one of a microphone, a touchpad, a sensor, a key, or an alternative module.
Fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments.
In some embodiments, the display apparatus 200 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, a user interface.
In some embodiments the controller comprises a central processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, a first interface to an nth interface for input/output.
In some embodiments, the display 260 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, displaying video content, image content, and menu manipulation interface, and a user manipulation UI interface, etc.
In some embodiments, the display 260 may be at least one of a liquid crystal display, an OLED display, and a projection display, and may also be a projection device and a projection screen.
In some embodiments, the tuner demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio/video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
In some embodiments, communicator 220 is a component for communicating with external devices or servers according to various communication protocol types. For example: the communicator may include at least one of a Wifi module, a bluetooth module, a wired ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display apparatus 200 may establish transmission and reception of control signals and data signals with the control device 100 or the server 400 through the communicator 220.
In some embodiments, the detector 230 is used to collect signals of the external environment or interaction with the outside. For example, detector 230 includes a light receiver, a sensor for collecting ambient light intensity; alternatively, the detector 230 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the detector 230 includes a sound collector, such as a microphone, which is used to receive external sounds.
In some embodiments, the external device interface 240 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface (USB), RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In some embodiments, the controller 250 and the modem 210 may be located in different separate devices, that is, the modem 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 may perform an operation related to the object selected by the user command.
In some embodiments, the object may be any one of selectable objects, such as a hyperlink, an icon, or other actionable control. The operations related to the selected object are: displaying an operation connected to a hyperlink page, document, image, or the like, or performing an operation of a program corresponding to the icon.
In some embodiments the controller comprises at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphics Processing Unit (GPU), a Random Access Memory (RAM), a ROM (Read-Only Memory), a first interface to an nth interface for input/output, a communication Bus (Bus), and the like.
A CPU processor. For executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The CPU processor may include a plurality of processors. E.g. comprising a main processor and one or more sub-processors.
In some embodiments, a graphics processor for generating various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer for rendering various objects obtained based on the arithmetic unit, wherein the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal displayed or played on the direct display device 200.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the video signal after demultiplexing, including decoding, scaling and the like. And the image synthesis module is used for carrying out superposition mixing processing on the GUI signal input by the user or generated by the user and the video image after the zooming processing by the graphic generator so as to generate an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the received audio signal according to a standard codec protocol of the input signal, and perform at least one of noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in the speaker.
In some embodiments, a user may enter user commands on a Graphical User Interface (GUI) displayed on display 260, and the user input interface receives the user input commands through the Graphical User Interface (GUI). Alternatively, the user may input the user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A commonly used presentation form of the User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
In some embodiments, user interface 280 is an interface that may be used to receive control inputs (e.g., physical buttons on the body of the display device, or the like).
In some embodiments, a system of a display device may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together make up the basic operating system structure that allows users to manage files, run programs, and use the system. After power-on, the kernel is started, kernel space is activated, hardware is abstracted, hardware parameters are initialized, and virtual memory, a scheduler, signals and interprocess communication (IPC) are operated and maintained. And after the kernel is started, loading the Shell and the user application program. The application program is compiled into machine code after being started, and a process is formed.
Referring to fig. 4, in some embodiments, the system is divided into four layers, which are an Application (Applications) layer (abbreviated as "Application layer"), an Application Framework (Application Framework) layer (abbreviated as "Framework layer"), an Android runtime (Android runtime) and system library layer (abbreviated as "system runtime library layer"), and a kernel layer from top to bottom.
In some embodiments, at least one application program runs in the application program layer, and the application programs may be windows (windows) programs carried by an operating system, system setting programs, clock programs or the like; or an application developed by a third party developer. In particular implementations, the application packages in the application layer are not limited to the above examples.
The framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions. The application framework layer acts as a processing center that decides to let the applications in the application layer act. The application program can access the resources in the system and obtain the services of the system in execution through the API interface.
As shown in fig. 4, in the embodiment of the present application, the application framework layer includes a manager (Managers), a Content Provider (Content Provider), and the like, where the manager includes at least one of the following modules: an Activity Manager (Activity Manager) is used for interacting with all activities running in the system; the Location Manager (Location Manager) is used for providing the system service or application with the access of the system Location service; a Package Manager (Package Manager) for retrieving various information related to an application Package currently installed on the device; a Notification Manager (Notification Manager) for controlling display and clearing of Notification messages; a Window Manager (Window Manager) is used to manage the icons, windows, toolbars, wallpapers, and desktop components on a user interface.
In some embodiments, the activity manager is used to manage the lifecycle of the various applications as well as general navigational fallback functions, such as controlling exit, opening, fallback, etc. of the applications. The window manager is used for managing all window programs, such as obtaining the size of a display screen, judging whether a status bar exists, locking the screen, intercepting the screen, controlling the change of the display window (for example, reducing the display window, displaying a shake, displaying a distortion deformation, and the like), and the like.
In some embodiments, the system runtime layer provides support for the upper layer, i.e., the framework layer, and when the framework layer is used, the android operating system runs the C/C + + library included in the system runtime layer to implement the functions to be implemented by the framework layer.
In some embodiments, the kernel layer is a layer between hardware and software. As shown in fig. 4, the core layer includes at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
In daily life, more and more users tend to post videos of the mobile terminal to the display device 200 to share and watch with family members. Typically, the local video is ready to use as its own presence in the display device 200. However, the display device 200 must allocate a fixed memory for the video resource delivered by the mobile terminal, and buffer the video resource in the fixed memory for a certain period of time before playing, so as to ensure that the display device 200 can play smoothly.
At present, mobile terminal high definition shooting devices are more and more, the quality and definition of videos are also increasingly improved, and meanwhile, higher requirements are put on the playing capability of the display device 200. The mobile terminal sends the high-definition video resources to the display device 200, the resolution of the high-definition video resources is higher, and may be 2K, 4K, 8K or higher, and meanwhile, the memory occupied by the high-definition video resources is also larger and larger. However, the current display device 200 can only allocate a fixed memory for the delivered video resource, and when the allocated memory cannot meet the storage requirement of the video resource, the video resource may have a problem of failed start-up or pause playing.
Based on the above, the embodiment of the application provides a delivered video playing method and a display device 200, and a user can deliver a video on a mobile terminal to the display device 200 for playing. In addition, in the technical scheme of the application, memory spaces with different sizes can be allocated to the video resources with different resolutions, so that the video resources are guaranteed to have enough memory for caching, and the problem of playing failure or playing pause can be avoided.
As described in the foregoing embodiments, the display device 200 in the embodiment of the present application may include the display 260 and the controller 250. The controller 250 may parse the content related to the video resource, and control the display 260 to display the video resource according to the parsed content.
Fig. 5 illustrates an interaction diagram between a mobile terminal and a controller 250 according to some embodiments.
As shown in fig. 5, in this embodiment of the application, if a user wants to view delivered video content on the display device 200, the mobile terminal needs to first send a request of a video resource to the display device 200, and then the controller 250 of the display device 200 obtains the resolution of the video resource, for example, 2K, 4K, or higher, according to the content of the request. Since the sizes of the video resources with different resolutions are different, the sizes of the cache files cached in the display device 200 for the same duration are also different, for example, the 10s cache file of the 4K video resource is larger than the 10s cache file of the 2K video resource. Therefore, the controller 250 needs to allocate a memory space sufficient for storing the cache file for the video resource according to the resolution of the video resource, and cache the video resource in the memory space after allocating the memory space. Finally, after the video resource with the preset buffer duration is buffered in the memory space, the controller 250 controls the display 260 to play the video resource in the memory space.
In the embodiment of the present application, the preset buffering duration may be set according to the performance of the display device 200 itself or the actual use requirement, for example, set to 5 s.
In some embodiments, in order to ensure that the mobile terminal used by the user can accurately deliver the video resource to the display device 200, the user needs to set the display device 200 and the mobile terminal in the same local area network before delivering the video resource.
And, in some embodiments, the mobile terminal further needs to send a connection request to the display device 200 first, and after the display device 200 agrees to the connection, the mobile terminal may send a delivery request of the video resource to the display device 200.
Fig. 6 illustrates a second interaction diagram between the mobile terminal and the controller 250 according to some embodiments.
Generally, DLNA protocol is used to support the mobile terminal to deliver video resources to the display device 200. As shown in fig. 6, in some embodiments, the mobile terminal may send the URL address of the video resource as a delivery request to the display device 200 through the DLNA protocol. The URL address is used to describe various information of the video resource, including a file, an address and a directory of a server, and the like, and may also include resolution information of the video resource. After the display device 200 acquires the URL address, the controller 250 may parse the URL address to obtain the resolution of the video resource that the mobile terminal wants to deliver. Then, the controller 250 allocates a memory space corresponding to the resolution of the video resource to the video resource, and the controller 250 needs to acquire the video resource from the server according to the URL address, start to cache the video resource in the memory space, and control the display 260 to play the video resource in the memory space after the video resource with the preset cache duration is cached in the memory space.
FIG. 7 illustrates a schematic diagram of a control process of controller 250 according to some embodiments.
As described in the foregoing embodiments, the controller 250 may allocate a memory space with an appropriate size for the video resource according to the resolution size of the video resource. Specifically, based on the size of the resolution, the video resources can be divided into two types, one type is a video resource with a resolution less than or equal to 4K, and the other type is a video resource with a resolution greater than 4K. For the two types of video resources, the embodiment of the present application may also perform memory allocation in different manners. Furthermore, in some embodiments, as shown in fig. 7, after the resolution of the video resource is obtained, the controller 250 may further determine whether the resolution is less than or equal to 4K.
And the controller 250 allocates a preset memory space matched with the resolution for the video resource when the resolution of the video resource is less than or equal to 4K. For example, a resolution of less than or equal to 4K may typically be 2K or 4K, etc. The resource size of the 2K video resource is generally about 20M-30M, and for such video resource, a preset memory space, for example, 100M, may be allocated. The resource size of the 4K video resource is generally about 70M-80M, and for such video resource, a predetermined memory space, for example 300M, may be allocated.
Or, the controller 250 calculates the code rate of the video resource according to the resource size of the video resource when the resolution of the video resource is greater than 4K; and calculating the cache data volume of the video resource by using the code rate and the preset cache duration. The code rate is used to represent the data amount of video resources transmitted per second, and can be calculated according to the following formula: the code rate (kbps) ═ resource size (KB) × 8/time (S). The preset buffer duration may be 5s as an example, and then the buffer data size of the video resource is the resource size of the buffer 5s, and the controller 250 may allocate a memory space, which is the same as the size of the data size, or allocate a memory space, which is slightly larger than the data size, to the video resource.
FIG. 8 illustrates a schematic diagram of a second control process of the controller 250 according to some embodiments.
When the resolution of the video resource is less than or equal to 4K, the controller 250 presets a memory space for the video resource, but in this case, the preset memory space is insufficient. To address this issue, as shown in fig. 8, in some embodiments, the controller 250 may also actively detect whether the predetermined memory space is sufficient. The specific mode is as follows: detecting whether caching of video resources in a preset memory space is completed within a preset time; if the caching is not finished within the preset time, the situation that the preset memory space is insufficient is likely to result, and therefore, whether the preset memory space is larger than or equal to the data size needing to be cached by the video resource or not is continuously detected under the condition that the caching is not finished; and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space to ensure that the preset memory space is enough to store the data amount to be cached, and further completing the caching of the video resource.
If the preset memory space is larger than or equal to the data amount of the video resource needing to be cached, the preset memory space is enough, and at the moment, the user only needs to continuously wait for the completion of the caching.
It should be noted that, in the embodiment of the present application, the preset time may be used as a timeout time to determine the cache state. The preset time and the preset buffering duration may be regarded as the same time length, that is, the video resource is buffered for 5s, the time for the display 260 to wait for the start of playing is also 5s, and the controller 250 starts to detect whether the buffering is completed after the buffering of the video resource is started for 5s to the memory space. Alternatively, the preset time and the preset buffering time may also be regarded as different time lengths, and the preset time should be greater than the preset buffering time, for example, the preset buffering time is 5s, the preset time is 7s, and the like, that is, after the controller 250 starts buffering the video resource for 7s to the memory space, it starts to detect whether the buffering is completed.
Generally, when the display device 200 plays a video resource delivered by a mobile terminal, a mode of playing while downloading is adopted. When the video resource cached in the memory space meets the play start condition, that is, the preset caching time is reached, the controller 250 can control the display 260 to play the video resource in the memory space, and at the same time, continue to control the video resource to cache in the memory space, so as to realize the function of playing while downloading.
FIG. 9 illustrates a schematic diagram of loading a page, according to some embodiments.
In some embodiments, during the process of caching the video resource by the controller 250, since the video resource has not reached the start-up condition yet, the display 260 does not currently have displayable content, so that only one loaded page may be displayed, as shown in fig. 9 in particular, after the cached video resource reaches the start-up condition, the display 260 plays the specific video content again.
As can be seen from the above, the display device 200 provided in the embodiment of the present application can play the video delivered by the user through the mobile terminal. Moreover, the controller 250 of the display device 200 obtains the resolution of the video resource delivered by the mobile terminal; allocating memory space corresponding to the resolution ratio for the video resource; the memory spaces corresponding to different resolutions are different in size; and finally, after the video resource with the preset caching duration is cached in the memory space, controlling the display 260 to play the video resource in the memory space. According to the scheme of the embodiment of the application, the memory spaces with different sizes can be allocated to the video resources with different resolutions, so that the video resources are guaranteed to have enough memory for caching, and the problem of playing failure or playing blockage can be avoided.
Fig. 10 illustrates a flow diagram of a delivery video playback method according to some embodiments.
The embodiment of the present application further provides a delivery video playing method, which may be applied in the controller 250 of the display device 200 of the foregoing embodiment or in some other component or functional module that may implement a control function, and as shown in fig. 10, the method may include the following steps:
step S101, the resolution of the video resource delivered by the mobile terminal is obtained. Such as 2K, 4K, or higher.
Step S102, video resources are allocated to memory space corresponding to the resolution ratio of the video resources; the memory spaces corresponding to different resolutions are different in size. For example, a 10s cache file for a 4K video asset is larger than a 10s cache file for a 2K video asset.
Step S103, after the video resource with the preset buffer duration is buffered in the memory space, controlling the display 260 to play the video resource in the memory space. In the embodiment of the present application, the preset buffering duration may be set according to the performance of the display device 200 itself or the actual use requirement, for example, set to 5 s.
In some embodiments, the step of allocating a memory space corresponding to the resolution of the video resource to the video resource in the method may include: and under the condition that the resolution of the video resource is less than or equal to 4K, allocating a preset memory space matched with the resolution to the video resource.
In some embodiments, in the method, the step of allocating a memory space corresponding to the resolution of the video resource may further include: detecting whether caching of the video resources in the preset memory space is completed within preset time; under the condition that caching is not finished, detecting whether the preset memory space is larger than or equal to the data amount of the video resource needing caching; and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space so as to finish the caching of the video resource.
In some embodiments, in the method, the step of allocating a memory space corresponding to the resolution of the video resource may further include: under the condition that the resolution of the video resource is larger than 4K, calculating the code rate of the video resource according to the resource size of the video resource; the code rate is used for expressing the data volume of the video resource transmitted every second; calculating the cache data volume of the video resource by using the code rate and a preset cache duration; and allocating memory space with corresponding size for the video resource according to the cache data volume.
In some embodiments, the step of obtaining the resolution of the video resource delivered by the mobile terminal in the method may include: acquiring a Uniform Resource Locator (URL) address of a video resource delivered by a mobile terminal; and resolving the resolution of the video resource according to the URL address of the uniform resource positioning system.
In some embodiments, the step of controlling the display 260 to play the video resource in the memory space in the above method may include: while controlling the display 260 to play the video resource in the memory space, the video resource continues to be cached in the memory space.
As the delivered video playing method in the embodiment of the present application can be applied to the controller 250 in the foregoing embodiment, other contents of the delivered video playing method in the embodiment of the present application can refer to the contents of the foregoing embodiment, and are not described herein again.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
The foregoing description, for purposes of explanation, has been presented in conjunction with specific embodiments. However, the illustrative discussions above are not intended to be exhaustive or to limit the embodiments to the precise forms disclosed above. Many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles and the practical application, to thereby enable others skilled in the art to best utilize the embodiments and various embodiments with various modifications as are suited to the particular use contemplated.

Claims (10)

1. A display device, comprising:
the display is configured to play the video resource delivered by the mobile terminal;
a controller configured to:
acquiring the resolution of video resources delivered by a mobile terminal;
allocating a memory space corresponding to the resolution ratio of the video resource; the memory spaces corresponding to different resolutions are different in size;
and after the video resources with preset caching duration are cached in the memory space, controlling a display to play the video resources in the memory space.
2. The display device of claim 1, wherein the controller is further configured to:
and under the condition that the resolution of the video resource is less than or equal to 4K, allocating a preset memory space matched with the resolution to the video resource.
3. The display device of claim 2, wherein the controller is further configured to:
detecting whether caching of the video resources in the preset memory space is completed within preset time;
under the condition that caching is not finished, detecting whether the preset memory space is larger than or equal to the data amount of the video resource needing caching;
and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space so as to finish the caching of the video resource.
4. The display device of claim 1, wherein the controller is further configured to:
under the condition that the resolution of the video resource is larger than 4K, calculating the code rate of the video resource according to the resource size of the video resource; the code rate is used for expressing the data volume of the video resource transmitted every second;
calculating the cache data volume of the video resource by using the code rate and a preset cache duration;
and allocating memory space with corresponding size for the video resource according to the cache data volume.
5. The display device of claim 1, wherein the controller is further configured to:
acquiring a Uniform Resource Locator (URL) address of a video resource delivered by a mobile terminal;
and resolving the resolution of the video resource according to the URL address of the uniform resource positioning system.
6. The display device of claim 1, wherein the controller is further configured to:
and continuously caching the video resource in the memory space while controlling the display to play the video resource in the memory space.
7. A method for delivering video for playback, comprising:
acquiring the resolution of video resources delivered by a mobile terminal;
allocating a memory space corresponding to the resolution ratio of the video resource; the memory spaces corresponding to different resolutions are different in size;
and after the video resources with preset caching duration are cached in the memory space, controlling a display to play the video resources in the memory space.
8. The method of claim 7, wherein the step of allocating the memory space corresponding to the resolution of the video resource comprises:
and under the condition that the resolution of the video resource is less than or equal to 4K, allocating a preset memory space matched with the resolution to the video resource.
9. The method of claim 8, wherein the step of allocating the memory space corresponding to the resolution of the video resource further comprises:
detecting whether caching of the video resources in the preset memory space is completed within preset time;
under the condition that caching is not finished, detecting whether the preset memory space is larger than or equal to the data amount of the video resource needing caching;
and under the condition that the preset memory space is smaller than the data amount of the video resource to be cached, increasing the preset memory space so as to finish the caching of the video resource.
10. The method of claim 7, wherein the step of allocating the memory space corresponding to the resolution of the video resource further comprises:
under the condition that the resolution of the video resource is larger than 4K, calculating the code rate of the video resource according to the resource size of the video resource; the code rate is used for expressing the data volume of the video resource transmitted every second;
calculating the cache data volume of the video resource by using the code rate and a preset cache duration;
and allocating memory space with corresponding size for the video resource according to the cache data volume.
CN202011579386.8A 2020-12-28 2020-12-28 Delivery video playing method and display equipment Active CN112752152B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011579386.8A CN112752152B (en) 2020-12-28 2020-12-28 Delivery video playing method and display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011579386.8A CN112752152B (en) 2020-12-28 2020-12-28 Delivery video playing method and display equipment

Publications (2)

Publication Number Publication Date
CN112752152A true CN112752152A (en) 2021-05-04
CN112752152B CN112752152B (en) 2022-11-25

Family

ID=75646382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011579386.8A Active CN112752152B (en) 2020-12-28 2020-12-28 Delivery video playing method and display equipment

Country Status (1)

Country Link
CN (1) CN112752152B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130173737A1 (en) * 2011-12-29 2013-07-04 Nokia Corporation Method and apparatus for flexible caching of delivered media
CN104182355A (en) * 2014-08-29 2014-12-03 广州华多网络科技有限公司 Method and device for memory allocation
CN104301786A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Network video playing method
CN105678688A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN105744358A (en) * 2016-03-18 2016-07-06 青岛海信电器股份有限公司 Video play processing method and device
CN106162174A (en) * 2016-08-31 2016-11-23 北京奇艺世纪科技有限公司 A kind of video multi-resolution encoding method and apparatus
CN106612456A (en) * 2015-10-26 2017-05-03 中兴通讯股份有限公司 Network video playing method and system, user terminal and home stream service node
WO2017185951A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 Video transmission method, base station, and system
WO2018000624A1 (en) * 2016-06-29 2018-01-04 乐视控股(北京)有限公司 Video playing control method and device
CN109618179A (en) * 2019-01-21 2019-04-12 北京数码视讯软件技术发展有限公司 Ultra high-definition net cast quickly plays broadcasting method and device
CN110636372A (en) * 2019-10-08 2019-12-31 未来电视有限公司 Video decoding method, video decoder initialization method and device
CN111314772A (en) * 2019-11-29 2020-06-19 广州市百果园信息技术有限公司 Method, device, terminal and storage medium for determining video downloading code rate
WO2020155959A1 (en) * 2019-01-30 2020-08-06 上海哔哩哔哩科技有限公司 Definition switching method and apparatus, computer device, and readable storage medium
CN111976482A (en) * 2020-07-08 2020-11-24 南斗六星系统集成有限公司 Double-screen interaction system and method for vehicle-mounted instrument screen and central control entertainment screen

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130173737A1 (en) * 2011-12-29 2013-07-04 Nokia Corporation Method and apparatus for flexible caching of delivered media
CN104182355A (en) * 2014-08-29 2014-12-03 广州华多网络科技有限公司 Method and device for memory allocation
CN104301786A (en) * 2014-09-28 2015-01-21 四川长虹电器股份有限公司 Network video playing method
CN106612456A (en) * 2015-10-26 2017-05-03 中兴通讯股份有限公司 Network video playing method and system, user terminal and home stream service node
CN105678688A (en) * 2015-12-30 2016-06-15 北京金山安全软件有限公司 Picture processing method and device
CN105744358A (en) * 2016-03-18 2016-07-06 青岛海信电器股份有限公司 Video play processing method and device
WO2017185951A1 (en) * 2016-04-28 2017-11-02 华为技术有限公司 Video transmission method, base station, and system
WO2018000624A1 (en) * 2016-06-29 2018-01-04 乐视控股(北京)有限公司 Video playing control method and device
CN106162174A (en) * 2016-08-31 2016-11-23 北京奇艺世纪科技有限公司 A kind of video multi-resolution encoding method and apparatus
CN109618179A (en) * 2019-01-21 2019-04-12 北京数码视讯软件技术发展有限公司 Ultra high-definition net cast quickly plays broadcasting method and device
WO2020155959A1 (en) * 2019-01-30 2020-08-06 上海哔哩哔哩科技有限公司 Definition switching method and apparatus, computer device, and readable storage medium
CN110636372A (en) * 2019-10-08 2019-12-31 未来电视有限公司 Video decoding method, video decoder initialization method and device
CN111314772A (en) * 2019-11-29 2020-06-19 广州市百果园信息技术有限公司 Method, device, terminal and storage medium for determining video downloading code rate
CN111976482A (en) * 2020-07-08 2020-11-24 南斗六星系统集成有限公司 Double-screen interaction system and method for vehicle-mounted instrument screen and central control entertainment screen

Also Published As

Publication number Publication date
CN112752152B (en) 2022-11-25

Similar Documents

Publication Publication Date Title
CN114302219B (en) Display equipment and variable frame rate display method
CN112612443B (en) Audio playing method, display device and server
CN112672195A (en) Remote controller key setting method and display equipment
CN113064645B (en) Startup interface control method and display device
CN113407142A (en) Display device and screen projection method
CN113781957B (en) Method for preventing screen burn of display device and display device
CN113507638A (en) Display device and screen projection method
CN113141529B (en) Display device and media asset playing method
CN112752156A (en) Subtitle adjusting method and display device
CN113490042A (en) Display device and channel searching method
CN112486921B (en) File synchronization method, display device and mobile terminal
CN114286137A (en) Mirror image screen projection method, display device and terminal
CN112601109A (en) Audio playing method and display device
CN113542852B (en) Display device and control method for fast pairing with external device
CN112584210B (en) Display device, video recording method and recorded file display method
CN113556609B (en) Display device and startup picture display method
CN112752152B (en) Delivery video playing method and display equipment
CN114007119A (en) Video playing method and display equipment
CN114302101A (en) Display apparatus and data sharing method
CN113286185A (en) Display device and homepage display method
CN112668546A (en) Video thumbnail display method and display equipment
CN113064534A (en) Display method and display equipment of user interface
CN112616090A (en) Display equipment system upgrading method and display equipment
CN113971049A (en) Background service management method and display device
CN112835633B (en) Display device and control method of display language

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