CN116248941A - Video playing method in display device and display device - Google Patents

Video playing method in display device and display device Download PDF

Info

Publication number
CN116248941A
CN116248941A CN202111489716.9A CN202111489716A CN116248941A CN 116248941 A CN116248941 A CN 116248941A CN 202111489716 A CN202111489716 A CN 202111489716A CN 116248941 A CN116248941 A CN 116248941A
Authority
CN
China
Prior art keywords
video
server
video data
resolution
display device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111489716.9A
Other languages
Chinese (zh)
Inventor
邹东伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN202111489716.9A priority Critical patent/CN116248941A/en
Publication of CN116248941A publication Critical patent/CN116248941A/en
Pending legal-status Critical Current

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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations

Landscapes

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

Abstract

The application discloses a video playing method in display equipment and the display equipment. The method comprises the following steps: receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server issues playing capacity corresponding to the device identifier; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server; determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.

Description

Video playing method in display device and display device
Technical Field
The present disclosure relates to the field of video playing technologies, and in particular, to a method for playing video in a display device and a display device.
Background
The display device refers to a terminal device capable of outputting a specific display screen, and may be a terminal device such as a smart television, a mobile terminal, a smart advertisement screen, and a projector. Taking intelligent electricity as an example, the intelligent television is based on the Internet application technology, has an open operating system and a chip, has an open application platform, can realize a bidirectional man-machine interaction function, and is a television product integrating multiple functions of video, entertainment, data and the like, and the intelligent television is used for meeting the diversified and personalized requirements of users.
Different applications installed on a display device may provide various entertainment resources to a user, for example, the user may view video resources provided by a resource provider through a video application. Because of the variability in the playing capabilities of different display devices, the use of a unified audio/video push scheme may result in significant waste of bandwidth.
Disclosure of Invention
Some embodiments of the present application provide a method for playing video in a display device and a display device, where the method obtains video data corresponding to a playing capability of the display device from a server, so as to reduce a bandwidth requirement required when obtaining the video data as much as possible.
In a first aspect, there is provided a display device including:
A display for displaying a user interface having at least one video control displayed thereon;
a user interface for receiving an input signal;
a controller coupled to the display and the user interface, respectively, for performing:
receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file corresponds to the playing capability and comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification;
determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
In some embodiments, the controller is further configured to perform:
If decoding the video data fails, re-determining a playback capability of the display device, wherein the re-determined playback capability is different from the playback capability requested from the server; and repeatedly executing the step of obtaining the index file through the server according to the playing capability and the video identification corresponding to the video control.
In some embodiments, the controller is further configured to perform:
according to the playing capability and the video identification corresponding to the video control, a resolution list is obtained from a server, and the resolution in the resolution list is the same as the resolution in the index file;
when the video is identified to be played and blocked, selecting one resolution corresponding to the current bandwidth from the resolution list; searching a video data address corresponding to the selected resolution from the index file; transmitting a third request instruction carrying the video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
In some embodiments, the controller is further configured to perform:
in the video playing process, receiving a display instruction of a resolution list, and controlling the display of the resolution list;
Receiving an instruction for selecting a resolution control in the resolution list, and screening out a video data address with resolution corresponding to the resolution control from the index file; transmitting a fourth request instruction carrying the video data address to the server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
In some embodiments, the controller is configured to execute video identification corresponding to the playing capability and the video control according to the following steps, and obtain, through the server, an index file:
a sixth request instruction carrying playing capability and video identification corresponding to the video control is sent to the server, so that the server can send an index file address searched according to the playing capability and the video identification; and sending a seventh request instruction carrying the index file address to the server so that the server can issue the index file corresponding to the index file address.
In some embodiments, the controller, prior to sending the first request instruction to the server, is further configured to:
when a user interface comprising video controls is displayed, a seventh request instruction carrying video identifications corresponding to the video controls is sent to a server, so that the server can send video information corresponding to each video identification, and the video information is used for distinguishing self-operating videos from non-self-operating videos;
And receiving an instruction for selecting the video control, and executing the step of sending a first request instruction to the server if the video information corresponding to the video control indicates that the video is the self-operated video.
In some embodiments, the controller, prior to sending the first request instruction to the server, is further configured to:
sending an authentication request carrying authentication information to a server so that the server can issue an authentication result obtained by authenticating the display device according to the authentication information; and if the verification result is that the verification is successful, executing the step of sending a first request instruction to the server.
In some embodiments, the controller, prior to sending the first request instruction to the server, is configured to:
when a user interface comprising video controls is displayed, controlling the browser to send a seventh request instruction carrying video identifications corresponding to the video controls to the server, so that the server transmits video information corresponding to each video identification to the browser;
receiving an instruction of selecting a video control, and controlling a browser to judge whether video information corresponding to the video control indicates that a video is a self-operating video; if the video information corresponding to the video control indicates that the video is a self-operated video, controlling a browser to notify a download agent by using a browser plug-in, so that the download agent sends a verification request carrying verification information to a server, and receiving a verification result fed back by the server and obtained by verifying a display device according to the verification information;
The download agent is controlled to judge whether the verification result is successful; if the verification result is that the verification is successful, the download agent is controlled to send an acquisition request to the television middleware so that the television middleware feeds back the equipment identifier; the download agent is controlled to perform the step of sending a first request instruction to the server.
In some embodiments, the controller is configured to determine a resolution to be played of the video data to be played according to the following steps: when an instruction for selecting the video control is received, the to-be-played resolution of the to-be-played video data is preset resolution, and the preset resolution is the resolution in the index file.
In a second aspect, a method for playing a video in a display device is provided, including:
receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification;
Determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
In the above embodiment, a video playing method in a display device and a display device, the method acquires video data corresponding to the playing capability of the display device from a server, and reduces the bandwidth requirement required when acquiring the video data as much as possible. The method comprises the following steps: receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification; determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
Drawings
FIG. 1 illustrates an operational scenario between a display device and a control apparatus according to some embodiments;
fig. 2 shows a hardware configuration block diagram of the control device 100 according to some embodiments;
fig. 3 illustrates a hardware configuration block diagram of a display device 200 according to some embodiments;
FIG. 4 illustrates a software configuration diagram in a display device 200 according to some embodiments;
a user interaction diagram displaying a user interface according to some embodiments is illustrated in fig. 5;
a flowchart of a method of playing video in a display device according to some embodiments is shown schematically in fig. 6;
a further user interaction diagram displaying a user interface according to some embodiments is illustrated in fig. 7;
a flowchart of yet another method of playing video in a display device according to some embodiments is shown schematically in fig. 8;
a user interface schematic diagram in accordance with some embodiments is shown schematically in fig. 9;
yet another user interface schematic diagram in accordance with some embodiments is illustrated in fig. 10;
another method of playing video in a display device according to some embodiments is illustrated in a flowchart in fig. 11.
Detailed Description
For purposes of clarity and implementation of the present application, the following description will make clear and complete descriptions of exemplary implementations of the present application with reference to the accompanying drawings in which exemplary implementations of the present application are illustrated, it being apparent that the exemplary implementations described are only some, but not all, of the examples of the present application.
It should be noted that the brief description of the terms in the present application is only for convenience in understanding the embodiments described below, and is not intended to limit the embodiments of the present application. Unless otherwise indicated, these terms should be construed in their ordinary and customary meaning.
The terms "first," second, "" third and the like in the description and in the claims and in the above drawings are used for distinguishing between similar or similar 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," "comprising," and "having," 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 explicitly 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 or/and software code that is capable of performing the function associated with that element.
Fig. 1 is a schematic diagram of an operation scenario between a display device and a control apparatus according to an embodiment. As shown in fig. 1, a user may operate the display device 200 through the smart device 300 or the control apparatus 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 infrared protocol communication or bluetooth protocol communication, and other short-range communication modes, and the display device 200 is controlled by a wireless or wired mode. The user may control the display device 200 by inputting user instructions through keys on a remote control, voice input, control panel input, etc.
In some embodiments, a smart device 300 (e.g., mobile terminal, tablet, computer, notebook, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on a smart device.
In some embodiments, the display device 200 may also perform control in a manner other than the control apparatus 100 and the smart device 300, for example, the voice command control of the user may be directly received through a module configured inside the display device 200 device for acquiring voice commands, or the voice command control of the user may be received through a voice control device configured outside the display device 200 device.
In some embodiments, the display device 200 is also in data communication with a server 400. The display device 200 may be permitted to make communication connections via 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 device 200. The server 400 may be a cluster, or may be multiple clusters, and may include one or more types of servers.
Fig. 2 exemplarily shows a block diagram of a configuration of the control apparatus 100 in accordance with an exemplary embodiment. 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 of a user and convert the operation instruction into an instruction recognizable and responsive to the display device 200, and function as an interaction between the user and the display device 200.
Fig. 3 shows a hardware configuration block diagram of the display device 200 in accordance with an exemplary embodiment.
In some embodiments, display apparatus 200 includes at least one of a modem 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, memory, a power supply, a user interface.
In some embodiments the controller includes a processor, a video processor, an audio processor, a graphics processor, RAM, ROM, a first interface for input/output to an nth interface.
In some embodiments, the display 260 includes a display screen component for presenting a picture, and a driving component for driving an image display, for receiving image signals from the controller output, for displaying video content, image content, and a menu manipulation interface, and for manipulating a UI interface by a user.
In some embodiments, the display 260 may be a liquid crystal display, an OLED display, a projection device, and a projection screen.
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, or other network communication protocol chip or a near field communication protocol chip, and an infrared receiver. The display device 200 may establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
In some embodiments, the user interface may be configured to receive control signals from the control device 100 (e.g., an infrared remote control, etc.).
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 capturing the intensity of ambient light; alternatively, the detector 230 includes an image collector such as a camera, which may be used to collect external environmental scenes, user attributes, or user interaction gestures, or alternatively, the detector 230 includes a sound collector such as a microphone, or the like, 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, or the like. The input/output interface may be a composite input/output interface formed by a plurality of interfaces.
In some embodiments, the modem 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, the controller 250 and the modem 210 may be located in separate devices, i.e., the modem 210 may also be located in an external device to the main device in which the controller 250 is located, such as an external set-top box or the like.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored on the memory. The controller 250 controls the overall operation of the display apparatus 200. For example: in response to receiving a user command to select 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 operable control. The operations related to the selected object are: displaying an operation of connecting to a hyperlink page, a document, an image, or the like, or executing an operation of a program corresponding to the icon.
In some embodiments the controller includes at least one of a central processing unit (Central Processing Unit, CPU), video processor, audio processor, graphics processor (Graphics Processing Unit, GPU), RAM Random Access Memory, RAM), ROM (Read-Only Memory, ROM), first to nth interfaces 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 received from the outside, so as to finally display and play various audio and video contents. The CPU processor may include a plurality of processors. Such as one main processor and one or more sub-processors.
In some embodiments, a graphics processor is used to generate various graphical objects, such as: icons, operation menus, user input instruction display graphics, and the like. The graphic processor comprises an arithmetic unit, which is used for receiving various interactive instructions input by a user to operate and displaying various objects according to display attributes; the device 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, perform video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, image composition, etc., according to a standard codec protocol of an input signal, and may obtain a signal that is displayed or played on the directly displayable device 200.
In some embodiments, the video processor includes a demultiplexing module, a video decoding module, an image synthesis 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 demultiplexed video signal, including decoding, scaling and the like. And an image synthesis module, such as an image synthesizer, for performing superposition mixing processing on the graphic generator and the video image after the scaling processing according to the GUI signal input by the user or generated 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 frame rate into a video output signal and changing the video output signal to be in accordance with a display format, such as outputting RGB data signals.
In some embodiments, the audio processor is configured to receive an external audio signal, decompress and decode the audio signal according to a standard codec protocol of an input signal, and perform noise reduction, digital-to-analog conversion, and amplification processing to obtain a sound signal that can be played in a speaker.
In some embodiments, a user may input a user command through a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command 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 recognizes the sound or gesture through the sensor to receive the user input command.
In some embodiments, a "user interface" is a media interface for interaction and exchange of information between an application or operating system and a user that enables conversion between an internal form of information and a form acceptable to the user. A commonly used presentation form of the user interface is a graphical user interface (Graphic User Interface, GUI), which refers to a user interface related to computer operations that is displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in a display screen of the electronic device, where the control may include a visual interface element such as an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc.
In some embodiments, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.
As shown in fig. 4, a system of display devices may include a Kernel (Kernel), a command parser (shell), a file system, and an application program. The kernel, shell, and file system together form the basic operating system architecture that allows users to manage files, run programs, and use the system. After power-up, the kernel is started, the kernel space is activated, hardware is abstracted, hardware parameters are initialized, virtual memory, a scheduler, signal and inter-process communication (IPC) are operated and maintained. After the kernel is started, shell and user application programs are loaded again. The application program is compiled into machine code after being started to form a process.
As shown in fig. 4, the system of the display device is divided into three layers, an application layer, a middleware layer, and a hardware layer, from top to bottom.
The application layer mainly comprises common applications on the television, and an application framework (Application Framework), wherein the common applications are mainly applications developed based on Browser, such as: HTML5 APPs; native applications (Native APPs);
the application framework (Application Framework) is a complete program model with all the basic functions required by standard application software, such as: file access, data exchange, and the interface for the use of these functions (toolbar, status column, menu, dialog box).
Native applications (Native APPs) may support online or offline, message pushing, or local resource access.
The middleware layer includes middleware such as various television protocols, multimedia protocols, and system components. The middleware can use basic services (functions) provided by the system software to connect various parts of the application system or different applications on the network, so that the purposes of resource sharing and function sharing can be achieved.
The hardware layer mainly comprises a HAL interface, hardware and a driver, wherein the HAL interface is a unified interface for all the television chips to be docked, and specific logic is realized by each chip. The driving mainly comprises: audio drive, display drive, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (e.g., fingerprint sensor, temperature sensor, pressure sensor, etc.), and power supply drive, etc.
In the embodiment of the application, the display device can play video data. When the video control is displayed on the user interface, a user can select the video control through the control device, so that the display equipment plays video data corresponding to the video control.
Illustratively, as shown in fig. 5 (1), the user moves the focus onto the video a control (border is thickened) by the control device and presses the confirm key on the control device to generate an instruction to select the video control, and the user interface jumps to the user interface shown in fig. 5 (2). It should be noted that, in this embodiment of the present application, the focus may be moved to the control, so that the border of the control may be thickened, in addition, other forms may be adopted to indicate that the control is selected, when the focus is moved to the control, the control may change the shape, may be changed from square to circular, or may be selected, and the control is enlarged according to a preset ratio, for example, the display area of the video control on the user interface is the same, and when a certain control is selected, the display area of the control is increased by 1.2 times as compared with the display area of the original control. Because the application does not limit the form of the control in which the focus is located on the control, other forms which can be convenient for the user to distinguish the form selected for the video control can be accepted.
Before playing the video data corresponding to the video control on the user interface, the corresponding video data needs to be acquired from the server. Because the same audio and video pushing scheme is used when video data is sent from the server to the display device, the bandwidth is possibly wasted greatly, because the same audio and video pushing scheme is adopted, the playing capability difference of the display device is not considered, if the currently used display device can support the H.265 coding protocol, the H.265 coding protocol has higher compression ratio compared with the H.264 coding protocol, and higher definition video is played under the condition of the same bandwidth, and in order to ensure the usability of old display device models, the scheme of pushing the video data of the H.264 coding protocol is still adopted in the related art, so that the video data of the H.264 coding protocol is pushed to consume great network resources and waste network resources.
It should be noted that, h.264 (MPEG-4 AVC (Advanced Video Codec, advanced video coding) is a video compression standard as well as h.265, and is a widely used recording, compression and release format of high-precision video, h.265 (HEVC, high Efficiency Video Coding, high-efficiency video coding) is a new generation video coding technology, which surrounds the existing video coding standard h.264, retains some of the original technologies, uses new technologies to improve and optimize some aspects, uses advanced technologies to improve the relationship between code stream, coding quality, delay and algorithm complexity, and achieves the optimal setting.
In order to solve the above technical problems, embodiments of the present application provide a method for playing video in a display device, where the method obtains video data corresponding to the playing capability of the display device from a server, so as to reduce the bandwidth requirement required when obtaining the video data as much as possible. The method, as shown in fig. 6, includes:
when at least one video control is displayed on the user interface, receiving an instruction for selecting the video control, and sending a first request instruction carrying a device identifier to a server.
In this embodiment of the present application, there are many scenes in which video controls are displayed on the mentioned user interface, and exemplary, the display device is turned on, and a homepage application of the display device is started, and the display displays a user interface of the homepage application, on which video controls are displayed, where videos corresponding to the video controls may be movies, television dramas, and the like, and a user may select the video controls through the control device.
In addition, the user interface may also display video controls in other scenes, and exemplary, a secondary page of the homepage application may also display video controls, a primary page of the homepage application displays column classifications including movies, television series columns, and the like, and when the movie classification controls are selected by the user, the user jumps to the secondary page corresponding to the movie classification controls, and the secondary page includes a plurality of video controls corresponding to a movie. As shown in fig. 7 (1), a drama classification control, a movie classification control and an animation classification control are displayed on the primary page, a user can move the focus to the movie classification control and press a confirmation key on the control device, the user interface jumps to a state that a plurality of movie controls are displayed on the secondary page as shown in fig. 7 (2), and the user can move the focus to the movie a control and play a movie corresponding to the movie control a.
In the embodiment of the application, the device identifier corresponds to the display device, and the display device has only one device identifier. The specific form of the device identifier is not limited in this application, and the device identifier may include one or more of a number, letter, and symbol, for example.
The server receives a first request instruction carrying an equipment identifier sent by the display equipment, and searches the playing capability corresponding to the display equipment according to the equipment identifier. The playing capability refers to an encoding protocol supported by the display device, and the encoding protocol can be H.264 or H.265.
In some embodiments, the server itself stores a stored list of device identifiers and playing capabilities, although the device identifiers and playing capabilities may not be stored in a list, and are not limited herein. When the first request instruction is received, the server screens playing capability corresponding to the equipment identifier which is the same as the equipment identifier in the first request instruction from the storage list, wherein the storage list is shown in table 1, the equipment identifier carried by the first request instruction is 001, and the playing capability searched by the server at the moment is H.264.
TABLE 1
Device identification Play capability
001 H.264
002 H.265
003 H.265
In other embodiments, the storage list is not stored in the server, but is stored in a storage device connected to the server, where the storage device stores a storage list of device identifiers and playing capabilities, and when the server receives the first request instruction, the server searches the storage device for the playing capability corresponding to the device identifier in the first request instruction.
After finding the playing capability of the display device, the server transmits the playing capability to the display device. And the display equipment acquires the index file through the server according to the playing capability and the video identification corresponding to the video control.
In this embodiment of the present application, the number of index files of each video is determined according to the number of types of playing capabilities, and for example, the playing capabilities of all display devices at present may support h.265 or support h.264, where the number of types of playing capabilities is two, and at this time, each video has two index files, where one index file corresponds to the playing capability supporting h.265 and the other index file corresponds to the playing capability supporting h.264. There are video data addresses at different resolutions in each index file, and illustratively, index file a includes video data address a at 720P resolution under the h.265 encoding protocol and video data address B at 1080P resolution under the h.265 encoding protocol, and index file B includes video data address C at 720P resolution under the h.264 encoding protocol and video data address D at 1080P resolution under the h.264 encoding protocol. In some embodiments, the index file is stored in a server. In other embodiments, the index file is stored in a storage device, and the server searches the corresponding index file from the storage device and issues the index file to the display device.
In some embodiments, the step of obtaining, by the server, the index file according to the playing capability and the video identifier corresponding to the video control includes: searching all index files corresponding to the video according to the video identification, and determining a unique index file through the playing capability.
In some embodiments, the index file corresponds to an index file address, and the index file address corresponds to the video identifier and the playing capability one to one. The server utilizes the video identification and playing capability to search the corresponding index file address instead of directly searching the index file.
In other embodiments, the step of obtaining, by the server, the index file according to the playing capability and the video identifier corresponding to the video control, as shown in fig. 8, includes: a sixth request instruction carrying playing capability and video identification corresponding to the video control is sent to the server, so that the server can send an index file address searched according to the playing capability and the video identification; and sending a seventh request instruction carrying the index file address to the server so that the server can issue the index file corresponding to the index file address.
In some embodiments, the method further comprises: and determining the waiting resolution of the video data to be played. In some embodiments, when an instruction for selecting a video control is received, the resolution to be played of the video data to be played is a preset resolution, and the preset resolution is one of resolutions in the index file. When a user watches the video by using the display device, the control device selects a video control corresponding to the video which is expected to watch, and the video control is played with preset resolution, and the preset resolution can be 720P.
The method further comprises the steps of: and screening out video data addresses corresponding to the resolution to be played from the index file. In the embodiment of the application, the index file comprises the resolution and the video data address corresponding to the resolution, and the video data address corresponding to the resolution which is the same as the resolution to be played is searched in the index file.
And sending a second request instruction carrying the video data address to a server, receiving the second request instruction by the server, and sending video data corresponding to the video data address to a display device. In this embodiment, the index file corresponds to the encoding protocol, the video data corresponding to the video data address corresponds to the encoding protocol, so that the video data received by the display device can be the video data under the h.265 encoding protocol, the h.265 encoding protocol has a higher compression ratio than the h.264 encoding protocol, and in the case of the same bandwidth, the higher definition video can be played, so that the transmitted video data can occupy network resources as much as possible while still can see clear video, and the bandwidth waste caused by the improvement of the compatibility can be avoided through the self-adaptive capability. If the display device supports the h.265 coding protocol, the server still transmits video data under the h.264 coding protocol, and the compression ratio of the video data of the h.264 coding protocol is low, a problem that the video data is not available for improving the bandwidth utilization occurs.
And the display equipment decodes the video data and plays the video data successfully decoded. In this embodiment of the present application, the video data searched by the server is encoded data encoded according to the playing capability. After the encoded video data is sent from the server to the display device, the display device decodes the video data and plays the video data after the decoding is successful.
During decoding, the display device may have a decoding failure. This is because when the server fails to find the playback capability of the display device, the playback capability may be null. When the playing capability received by the display device is null, the playing capability is automatically assigned, and the display device assigns h.265 for the playing capability, and the display device obtains an index file through the server according to the assigned playing capability and the video identifier corresponding to the video control.
In this embodiment of the present application, if decoding of the video data fails, the playback capability of the display device is redetermined, where the redetermined playback capability is different from the playback capability requested from the server, and exemplary playback capability includes two types, one is for supporting the h.265 coding protocol, and the other is for supporting the h.264 coding protocol, at this time, the playback capability is redetermined from the supported h.265 coding protocol with automatic assignment, and is for supporting the h.264 coding protocol, and then the steps of obtaining the index file through the server according to the playback capability and the video identifier corresponding to the video control are repeatedly performed. The index file obtained at this time corresponds to the h.264 coding protocol, the display device may find the video data address from the index file corresponding to the h.264 coding protocol, and at this time, the video data corresponding to the video data address obtained from the server is video data under the h.264 coding protocol, and the display device may decode successfully.
Therefore, when the video data which is issued to the display equipment by the server cannot be decoded, the user can be ensured to watch the video corresponding to the video control, and when the issued video data is the video data under the H.265 coding protocol, the display equipment cannot be successfully decoded, the video data under the H.264 coding protocol is obtained through the operation, so that the display equipment can normally decode and play. In this way, the compression ratio using h.265 coding can be maximized, making full use of bandwidth. Only if not, the request of the H.264 playing ability to re-download the audio and video is re-initiated.
In some embodiments, the method further comprises: and obtaining a resolution list from the server according to the playing capability and the video identification corresponding to the video control, wherein the resolution in the resolution list is the same as the resolution in the index file.
In the embodiment of the application, the video playing method and device further comprises the steps of downloading the video playing method and device into a resolution list from a server, and selecting a resolution corresponding to the current bandwidth from the resolution list when the video playing device recognizes that the video playing is blocked. Illustratively, identifying that a video is playing stuck may be accomplished by a browser installed in the display device. Because the video is blocked, the bandwidth of the current network is determined, and the resolution of the video is determined according to the current bandwidth, and the resolution of the video is required to be reduced. In this embodiment of the present application, the method for determining the corresponding resolution according to the bandwidth includes multiple methods, which are not described herein.
Searching a video data address corresponding to the resolution selected according to the bandwidth from the index file; and sending a third request instruction carrying the video data address to a server, and receiving the third request instruction by the server to issue video data corresponding to the video data address. And the display equipment decodes the video data and plays the video data successfully decoded. In the embodiment of the application, after the video is blocked, the corresponding resolution is selected in a self-adaptive manner according to the bandwidth, and the video data address corresponding to the resolution is found from the index file, so that the video data is re-acquired according to the video data address, and the re-acquired video data is played.
In some embodiments, in the video playing process, a display instruction of a resolution list is received, and the resolution list is controlled to be displayed. Illustratively, as shown in fig. 9, the user interface displays the currently playing video data with a high definition. The user can move the focus to the resolution control by using the control device, namely, the control is on a high definition control (the border is thickened), and a confirmation key on the control device is pressed to generate a display instruction of the resolution list. When a display instruction of the resolution list is received, the resolution list is controlled to be displayed on a user interface, as shown in fig. 10, wherein the resolution list comprises a fluency control, a definition control, a 720P control and a 1080P control, and in some embodiments, the resolution corresponding to the fluency control is 240P, and the resolution corresponding to the definition control is 360P.
In some embodiments, receiving an instruction for selecting a resolution control in the resolution list, and screening a video data address with resolution corresponding to the resolution control from the index file; and sending a fourth request instruction carrying the video data address to the server so that the server can send the video data corresponding to the video data address. And the display equipment decodes the video data and plays the video data successfully decoded. In the embodiment of the application, the user can select to watch the definition of the video by selecting the resolution control in the resolution list on the user interface.
In fig. 10, the user moves the focus to the 720P control by using a button on the control device, presses the confirm key on the control device, generates an instruction for selecting the resolution control in the resolution list, screens the video data address corresponding to the resolution 720P in the index file, sends the video data address to the server, and sends the video data corresponding to the video data address to play the video data successfully decoded, wherein the resolution of the video data is 720P. In some embodiments, the resolution list including the resolution control further includes a cancel control, and when the cancel control is selected by a user through a button on the control device, the resolution list is controlled to be no longer displayed.
In some embodiments, the resolution list displayed on the user interface is determined according to the highest displayable resolution of the display device, when the highest resolution in the resolution list issued by the server is 4k and the highest displayable resolution of the display device is 2k, it is determined that the highest resolution in the resolution list displayed on the user interface is 2k. The process of determining the resolution list displayed on the user interface may be done in the server or in the display device. When the resolution is determined in the server, the highest displayable resolution of the display device is sent to the server, the server processes the stored resolution list according to the highest displayable resolution, and after deleting the content higher than the highest displayable resolution, the content is sent to the display device for display by the display device. When determined in the display device, the unprocessed resolution list issued by the server is transmitted to the display device, compared with the highest displayable resolution of the display device, and after deleting the content higher than the highest displayable resolution, the content is displayed on the user interface.
Since the embodiments of the present application relate to an index file, the index file includes a resolution and a video data address corresponding to the resolution. The video data corresponding to the video data address is made from the original video data according to different resolutions and playing capabilities of the display device. Video data may be produced at different resolutions and playability for self-operating video, but not for non-self-operating video. In some embodiments, before sending the first request instruction to the server, determining whether the video corresponding to the selected video control is a self-operating video, where the method further includes:
when a user interface comprising video controls is displayed, a seventh request instruction carrying video identifications corresponding to the video controls is sent to the server, so that the server can send video information corresponding to each video identification, and the video information is used for distinguishing self-operating videos from non-self-operating videos. In the embodiment of the application, when the video control is displayed, video information corresponding to all the video controls on the user interface is obtained from the server. The video identifications are used for indicating videos, and each video is provided with a unique video identification. And receiving an instruction for selecting the video control, and executing the step of sending a first request instruction to the server if the video information corresponding to the video control indicates that the video is the self-operated video.
In this embodiment, when an instruction for selecting a video control is received, video information corresponding to the video control is selected from video information obtained from a server, if the video information indicates that a video is a self-operated video, it is indicated that the video has a corresponding index file, if the video confidence indicates that the video is a non-self-operated video, it is indicated that the video does not have a corresponding index file, so that a first request instruction is sent to the server to execute a subsequent operation, so when the video information indicates that the video is a non-self-operated video, a request carrying a video identifier to a video data is sent to the server, the server receives the request, and issues the video data without executing a step of sending the first request instruction to the server.
In some embodiments, before sending the first request instruction to the server, determining whether the display device is capable of executing the method in the embodiments of the present application, the method further includes: sending an authentication request carrying authentication information to a server, and issuing an authentication result obtained by the authentication display device according to the authentication information by the server; and if the verification result is that the verification is successful, executing the step of sending a first request instruction to the server. In this embodiment of the present application, the verification information is a KEY value, and whether the display device can execute the method in the embodiment of the present application is verified by the KEY value, specifically, when verification is successful, the first request instruction is sent to the server, and if verification fails, the first request instruction is not sent to the server.
In some embodiments, the display device further includes a browser, a television middleware, and a download agent, where the browser is responsible for foreground presentation pages, streaming media download, video playback control, and the like. In the playback problem due to decoding failure, the browser application needs to be able to perform retry playback. The browser plug-in provides interfaces for download agents, such as reporting the playback capabilities of the television platform, receiving resolution, starting/stopping downloads, etc. The television middleware provides information such as software/hardware version of the television platform, equipment identification and the like. The download agent takes charge of code stream downloading, coding and the like, and can report the equipment identification according to the equipment identification provided by the browser. The method can generate code streams with different resolutions and different codes according to the playing capability of the display equipment provided by the server. The server provides playing capability corresponding to the television platform and provides streaming media service.
In some embodiments, before sending the first request instruction to the server, the method further includes, as shown in fig. 11:
when a user interface comprising video controls is displayed, controlling the browser to send a seventh request instruction carrying video identifications corresponding to the video controls to the server, so that the server can send video information corresponding to each video identification to the browser.
Receiving an instruction of selecting a video control, and controlling a browser to judge whether video information corresponding to the video control indicates that a video is a self-operating video; if the video information corresponding to the video control indicates that the video is a self-operated video, controlling a browser to notify a download agent by using a browser plug-in, so that the download agent sends a verification request carrying verification information to a server, and receiving a verification result fed back by the server and obtained by verifying a display device according to the verification information;
the download agent is controlled to judge whether the verification result is successful; if the verification result is that the verification is successful, the download agent is controlled to send an acquisition request to the television middleware so that the television middleware feeds back the equipment identifier; the download agent is controlled to perform the step of sending a first request instruction to the server.
It should be noted that, in the embodiment of the present application, the order of the verification step and the step of obtaining the video information through the verification information may be different, or the display device may be verified first, and after the verification is successful, the video information is obtained.
In this embodiment, the download agent receives the playing capability sent by the server according to the first request instruction, and the download agent obtains the index file through the server according to the video identifier and the playing capability. The downloading agent determines the resolution ratio of the video data to be played, searches the corresponding video data address in the index file, sends a second request instruction carrying the video data address to the server, the server issues the corresponding video data, the browser decodes the video data, and if the decoding is successful, the decoded video data is played.
In the above embodiment, a video playing method in a display device and a display device, where the method obtains video data corresponding to the playing capability of the display device from a server, so as to reduce the bandwidth requirement required when obtaining the video data as much as possible. The method comprises the following steps: receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification; determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution 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 scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions 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, characterized by comprising:
a display for displaying a user interface having at least one video control displayed thereon;
a user interface for receiving an input signal;
a controller coupled to the display and the user interface, respectively, for performing:
receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file corresponds to the playing capability and comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification;
Determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
2. The display device of claim 1, wherein the controller is further configured to perform:
if decoding the video data fails, re-determining a playback capability of the display device, wherein the re-determined playback capability is different from the playback capability requested from the server; and repeatedly executing the step of obtaining the index file through the server according to the playing capability and the video identification corresponding to the video control.
3. The display device of claim 1, wherein the controller is further configured to perform:
according to the playing capability and the video identification corresponding to the video control, a resolution list is obtained from a server, and the resolution in the resolution list is the same as the resolution in the index file;
when the video is identified to be played and blocked, selecting one resolution corresponding to the current bandwidth from the resolution list; searching a video data address corresponding to the selected resolution from the index file; transmitting a third request instruction carrying the video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
4. The display device of claim 1, wherein the controller is further configured to perform:
in the video playing process, receiving a display instruction of a resolution list, and controlling the display of the resolution list;
receiving an instruction for selecting a resolution control in the resolution list, and screening out a video data address with resolution corresponding to the resolution control from the index file; transmitting a fourth request instruction carrying the video data address to the server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
5. The display device of claim 1, wherein the controller is configured to perform video identification according to the playability and video control, and obtain, by the server, the index file by:
a sixth request instruction carrying playing capability and video identification corresponding to the video control is sent to the server, so that the server can send an index file address searched according to the playing capability and the video identification; and sending a seventh request instruction carrying the index file address to the server so that the server can issue the index file corresponding to the index file address.
6. The display device of claim 1, wherein the controller, prior to sending the first request instruction to the server, is further to perform:
when a user interface comprising video controls is displayed, a seventh request instruction carrying video identifications corresponding to the video controls is sent to a server, so that the server can send video information corresponding to each video identification, and the video information is used for distinguishing self-operating videos from non-self-operating videos;
and receiving an instruction for selecting the video control, and executing the step of sending a first request instruction to the server if the video information corresponding to the video control indicates that the video is the self-operated video.
7. The display device of claim 6, wherein the controller, prior to sending the first request instruction to the server, is further to perform:
sending an authentication request carrying authentication information to a server so that the server can issue an authentication result obtained by authenticating the display device according to the authentication information; and if the verification result is that the verification is successful, executing the step of sending a first request instruction to the server.
8. The display device of claim 7, wherein the controller, prior to sending the first request instruction to the server, is to perform:
When a user interface comprising video controls is displayed, controlling the browser to send a seventh request instruction carrying video identifications corresponding to the video controls to the server, so that the server transmits video information corresponding to each video identification to the browser;
receiving an instruction of selecting a video control, and controlling a browser to judge whether video information corresponding to the video control indicates that a video is a self-operating video; if the video information corresponding to the video control indicates that the video is a self-operated video, controlling a browser to notify a download agent by using a browser plug-in, so that the download agent sends a verification request carrying verification information to a server, and receiving a verification result fed back by the server and obtained by verifying a display device according to the verification information;
the download agent is controlled to judge whether the verification result is successful; if the verification result is that the verification is successful, the download agent is controlled to send an acquisition request to the television middleware so that the television middleware feeds back the equipment identifier; the download agent is controlled to perform the step of sending a first request instruction to the server.
9. The display device of claim 1, wherein the controller is configured to perform determining a resolution to be played of video data to be played in accordance with the steps of: when an instruction for selecting the video control is received, the to-be-played resolution of the to-be-played video data is preset resolution, and the preset resolution is the resolution in the index file.
10. A method of playing video in a display device, comprising:
receiving an instruction of selecting a video control, and sending a first request instruction carrying a device identifier to a server so that the server can issue playing capability corresponding to the device identifier, wherein the playing capability refers to a coding protocol supported by display equipment; according to the playing capability and the video identification corresponding to the video control, obtaining an index file through a server, wherein the index file comprises a video data address corresponding to at least one resolution of the video corresponding to the video identification;
determining the resolution to be played of the video data to be played; screening video data addresses corresponding to the resolution to be played from the index file; transmitting a second request instruction carrying a video data address to a server so that the server transmits video data corresponding to the video data address; and decoding the video data and playing the video data successfully decoded.
CN202111489716.9A 2021-12-08 2021-12-08 Video playing method in display device and display device Pending CN116248941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111489716.9A CN116248941A (en) 2021-12-08 2021-12-08 Video playing method in display device and display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111489716.9A CN116248941A (en) 2021-12-08 2021-12-08 Video playing method in display device and display device

Publications (1)

Publication Number Publication Date
CN116248941A true CN116248941A (en) 2023-06-09

Family

ID=86633596

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111489716.9A Pending CN116248941A (en) 2021-12-08 2021-12-08 Video playing method in display device and display device

Country Status (1)

Country Link
CN (1) CN116248941A (en)

Similar Documents

Publication Publication Date Title
CN111381896B (en) Awakening method of audio equipment and display equipment
CN111601142B (en) Subtitle display method and display equipment
WO2021169168A1 (en) Video file preview method and display device
CN112887778A (en) Switching method of video resource playing modes on display equipment and display equipment
CN111343492B (en) Display method and display device of browser in different layers
CN113301420A (en) Content display method and display equipment
CN111954059A (en) Screen saver display method and display device
CN113630654B (en) Display equipment and media resource pushing method
CN112733050A (en) Display method of search results on display device and display device
CN113573149B (en) Channel searching method and display device
CN111885415B (en) Audio data rapid output method and display device
CN111901677B (en) Method for uniformly controlling process starting and display equipment
CN113784203A (en) Display device and channel switching method
CN113490030A (en) Display device and channel information display method
CN112732396A (en) Media asset data display method and display device
CN113378092A (en) Video playing management method and display equipment
CN116248941A (en) Video playing method in display device and display device
CN113350781B (en) Display device and game mode switching method
CN113784222B (en) Interaction method of application and digital television program and display equipment
CN113490041B (en) Voice function switching method and display device
CN111246282B (en) Program information acquisition method in display equipment and display equipment
CN111901686B (en) Method for keeping normal display of user interface stack and display equipment
CN113038193B (en) Method for automatically repairing asynchronous audio and video and display equipment
CN113490013B (en) Server and data request method
CN115442651A (en) Display device and method for displaying electronic program guide

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