[go: up one dir, main page]

CN108235075B - Video quality grade matching method, computer readable storage medium and terminal - Google Patents

Video quality grade matching method, computer readable storage medium and terminal Download PDF

Info

Publication number
CN108235075B
CN108235075B CN201810090722.9A CN201810090722A CN108235075B CN 108235075 B CN108235075 B CN 108235075B CN 201810090722 A CN201810090722 A CN 201810090722A CN 108235075 B CN108235075 B CN 108235075B
Authority
CN
China
Prior art keywords
video
video quality
quality grade
grade
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810090722.9A
Other languages
Chinese (zh)
Other versions
CN108235075A (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.)
Bigo Technology Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information 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 Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201810090722.9A priority Critical patent/CN108235075B/en
Publication of CN108235075A publication Critical patent/CN108235075A/en
Application granted granted Critical
Publication of CN108235075B publication Critical patent/CN108235075B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • 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/440281Processing 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 temporal resolution, e.g. by frame skipping
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Landscapes

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

Abstract

The invention provides a video quality grade matching method, which comprises the following steps: acquiring a frame decoding capability value and a downloading speed of a client; acquiring frame rates and code rates of at least two video quality levels; comparing the frame decoding capability value with the frame rate, the downloading speed and the code rate; and according to the comparison result, obtaining a matched video quality grade from the at least two video quality grades. The video quality grade matching method provided by the invention can automatically and quickly match the video with the most suitable video quality grade of the client side for the user to download, thereby obviously improving the watching experience satisfaction degree of the user.

Description

Video quality grade matching method, computer readable storage medium and terminal
Technical Field
The invention relates to the technical field of computers, in particular to a video quality grade matching method, a computer-readable storage medium and a terminal.
Background
With the rapid development of internet technology, watching videos through the internet becomes one of the important ways for people to learn and entertain. In order to avoid the phenomena that the watching experience of a user is influenced by video blocking, playing incapability and the like as far as possible, the prior art generally uses a self-developed audio and video coding algorithm to transcode an original video to be watched by the user to obtain a video with a smaller code rate and a smaller video quality loss, so that all playing requests use the video; some video websites can also remind users to manually select video gears or automatically shift down after video playing is blocked by measuring speed before playing (advertisement time interval) so as to solve the problem of video blocking.
However, the method for obtaining a video with a small code rate and guaranteed video quality through transcoding has the limitations that the algorithm design threshold of the method is high, the development cycle is long, and the method cannot be compatible with all situations, for example, when a user client can meet the condition of watching the original video with the highest quality, the user client cannot watch the original video with the highest quality; the method of performing manual gear selection or automatic downshift through speed measurement has the problems of low intelligence degree, high speed measurement cost and extra flow waste; the prior art cannot simply and quickly select a video with the most suitable quality level for a user to download, and the watching experience satisfaction of the user is low.
Disclosure of Invention
In order to overcome the technical problems, in particular to the problems that the prior art can not simply and quickly select a video with the most suitable quality level for a user to download, and the watching experience satisfaction of the user is low, the following technical scheme is particularly provided:
according to an aspect, an embodiment of the present invention provides a video quality level matching method, including the steps of:
acquiring a frame decoding capability value and a downloading speed of a client;
acquiring frame rates and code rates of at least two video quality levels;
comparing the frame decoding capability value with the frame rate, the downloading speed and the code rate;
and according to the comparison result, obtaining a matched video quality grade from the at least two video quality grades.
Preferably, the frame decoding capability value is compared with the frame rate, the download speed and the code rate; obtaining a matching video quality grade from the at least two video quality grades according to the comparison result, comprising:
sequentially acquiring the frame rate and the code rate of one video quality grade from the at least two video quality grades according to the grade from high to low;
and if the frame decoding capability value is greater than the frame rate multiplied by the multiple corresponding to the video quality grade, and the downloading speed is greater than the code rate multiplied by the multiple corresponding to the video quality grade, taking the video quality grade as the matched video quality grade.
Preferably, the obtaining of the matched video quality level includes:
obtaining a video quality grade with the highest matched grade;
after the obtaining of the matched video quality grade, the method further comprises:
and acquiring the video with the video quality grade, and issuing the video to the client.
Preferably, the obtaining of the matched video quality level includes:
obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade;
judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; otherwise, acquiring the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the acquired video quality grade;
and issuing the video with the video quality grade to the client.
Preferably, the obtaining of the matched video quality level includes:
obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade;
judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; if not, judging whether the plurality of grades are completely obtained, if not, obtaining the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the obtained video quality grade, if so, obtaining the video with the lowest video quality grade corresponding to the video downloading request of the client;
and issuing the video with the video quality grade to the client.
Further, before the determining whether the video corresponding to the video downloading request of the client has the obtained video quality level, the method further includes:
and receiving a video downloading request of the client.
Preferably, the obtaining the frame-decoding capability value of the client includes:
receiving a hard de-framing capability parameter and/or a soft de-framing capability parameter sent by a client;
and obtaining the frame resolving capability value of the client according to the hard frame resolving capability parameter and/or the soft frame resolving capability parameter.
Further, the hard deframing capability parameter is an average accumulated hard deframing capability parameter of a preset time period; the soft deframing capability parameter is a soft deframing capability parameter of the latest deframing.
According to another aspect, an embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the video quality level matching method described above.
Embodiments of the present invention also provide, in accordance with yet another aspect, a terminal, which includes one or more processors; a memory; one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: the above-described video quality level matching method is performed.
Compared with the prior art, the invention has the following beneficial effects:
according to the video quality grade matching method provided by the invention, the video with the most suitable video quality grade for the client side can be automatically and quickly matched for the user to download by acquiring the frame-decoding capacity value and the downloading speed which are accumulated by the client side and reflect the terminal performance and combining the quality of the video to be watched by the user, so that the user can watch the video with the optimal video quality when the terminal performance of the client side is good, the video can be smoothly watched when the terminal performance is poor, and the watching experience satisfaction degree of the user is further remarkably improved.
In addition, when no video with the video quality level matched with the client exists, the video with the lowest video quality level is issued to the client, so that the problem of video blockage during the process of watching the video by a user is avoided as much as possible.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a flow chart of a method of video quality level matching according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention.
Example one
An embodiment of the present invention provides a video quality level matching method, as shown in fig. 1, the method includes:
step S101: and acquiring the frame decoding capability value and the downloading speed of the client.
For this embodiment, the deframing capability value is a parameter value representing the video decoding capability of the client, the client may have different deframing capability values corresponding to different video quality levels, and the video decoding capability of the same client for processing the video with the low video quality level is higher than the video decoding capability for processing the video with the high video quality level, so the deframing capability value corresponding to the low video quality level is not less than the deframing capability value of the high video quality level. The downloading speed is the speed of the previous video downloading of the client side in the current network.
Step S102: and acquiring the frame rates and code rates of at least two video quality levels.
For the embodiment, the video quality level matching method provided by the invention is used for automatically matching the video with the most suitable video quality level of the client side of the user for downloading, so that before the steps of the method are executed, whether the video to be watched by the user corresponds to at least two video quality levels can be detected in advance. At least one different video parameter is arranged between different video quality levels, and the video parameter at least comprises the frame rate and the code rate of the video and also comprises the resolution of the video. The frame rate is a measure for measuring the number of display frames, and the measurement unit is the number of display frames per second (fps), and a higher frame rate means that a video is more smooth and vivid; the code rate, i.e. bit rate, refers to the number of bits transmitted per second, and the higher the code rate is, the faster the data transmission speed is; the resolution is used to measure the amount of data in the video frame, and in this embodiment, the resolution can be divided into four types, namely 1280 × 720, 960 × 720, 640 × 480, and 480 × 360.
Step S103: and comparing the frame decoding capability value with the frame rate, and comparing the downloading speed with the code rate.
For this embodiment, the frame decoding capability value of a client corresponding to a certain video quality level is compared with the frame rate of a video corresponding to the video quality level to determine whether the frame decoding capability of the user client is redundant; and comparing the downloading speed of the client with the code rate of the corresponding video to judge whether the downloading speed of the user client is greater than the video code rate.
For this embodiment, the comparing step may be performed on at least two video quality levels of the video that the user wants to watch, or the comparing step may be performed on each video quality level one by one in the order of the levels from high to low.
Step S104: and according to the comparison result, obtaining a matched video quality grade from the at least two video quality grades.
For this embodiment, if the comparison in step S103 shows that the decoding capability of the user client is redundant and the download speed is greater than the video bitrate, it indicates that the user client can smoothly play the video corresponding to the video quality level, where the video quality level is the video quality level matched with the user client.
For this embodiment, if the comparison process in step S103 is performed on at least two video quality levels, more than one video quality level matching the user client may be obtained, and in order to meet the best viewing experience of the user, the video quality level with the highest level is used as the best quality level item for the user to download the video.
According to the video quality grade matching method provided by the invention, the video with the most suitable video quality grade for the client side can be automatically and quickly matched for the user to download by acquiring the frame-decoding capacity value and the downloading speed which are accumulated by the client side and reflect the terminal performance and combining the quality of the video to be watched by the user, so that the user can watch the video with the optimal video quality when the terminal performance of the client side is good, the video can be smoothly watched when the terminal performance is poor, and the watching experience satisfaction degree of the user is further remarkably improved.
Example two
Another possible implementation manner of the embodiment of the present invention, on the basis of the steps shown in the first embodiment, further includes the steps shown in the second embodiment, wherein,
the steps S103 and S104 include:
sequentially acquiring the frame rate and the code rate of one video quality grade from the at least two video quality grades according to the grade from high to low;
and if the frame decoding capability value is greater than the frame rate multiplied by the multiple corresponding to the video quality grade, and the downloading speed is greater than the code rate multiplied by the multiple corresponding to the video quality grade, taking the video quality grade as the matched video quality grade.
With the present embodiment, the comparison step in step S103 is performed for each video quality level one by one in order of the level from high to low. In the comparison process, if the video quality level can be used as a matched video quality level, the user client needs to satisfy not only the conditions that the decoding capability value is greater than the frame rate and the download speed is greater than the bitrate, but also the conditions that the decoding capability is greater than the frame rate of a predetermined multiple and the download speed is greater than the bitrate of the predetermined multiple. For example, the frame rate is preset to be 1.15 times of the video quality level corresponding to the first level (the video quality is optimal), the bitrate is preset to be 3 times of the video quality level corresponding to the first level, and if the frame rate with the frame decoding capability value larger than 1.15 times and the download speed is larger than 3 times of the bitrate, the video quality level is used as the matched video quality level.
EXAMPLE III
Another possible implementation manner of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the third embodiment, wherein,
the obtaining of the matched video quality grade in the step S104 includes: obtaining a video quality grade with the highest matched grade;
after the obtaining of the matched video quality grade, the method further comprises: and acquiring the video with the video quality grade, and issuing the video to the client.
For this embodiment, the comparison step in step S103 is performed on each video quality level one by one in the order from high level to low level until a video quality level with the highest matching level is obtained, and the video with the video quality level is delivered to the client. For example, if the video quality level of the first level obtained by the comparison does not match the user client, and the video quality level of the second level (with suboptimal video quality) matches the user client, the video quality level of the second level is taken as the video quality level with the highest matched level, and the video with the video quality level of the second level is delivered to the client.
In the embodiment, the steps of comparing and matching the video quality grades one by one according to the sequence from high grade to low grade are carried out until the matched video quality grade with the highest grade is obtained, so that the video which is matched with the most suitable video quality grade at the client side of the user can be downloaded more simply and quickly, and the watching experience satisfaction degree of the user is further improved.
Example four
Another possible implementation manner of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the fourth embodiment, wherein,
the obtaining of the matched video quality grade in the step S104 includes: obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade; judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; otherwise, acquiring the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the acquired video quality grade; and issuing the video with the video quality grade to the client.
For the present embodiment, the comparison step of step S103 results in more than one video quality level matching the user client. After the matched video quality grades are obtained, judging whether the video of the current video quality grade exists or not according to the sequence of the grades from high to low, stopping executing the judging step until the video of one matched video quality grade is confirmed to exist, and then acquiring the video of the video quality grade and issuing the video to the user client; if no video with the matched video quality grade exists, the video is not issued to the user client, and meanwhile, information of video acquisition failure can be fed back to the user.
EXAMPLE five
Another possible implementation manner of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the fifth embodiment, wherein,
the obtaining of the matched video quality grade in the step S104 includes: obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade; judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; if not, judging whether the plurality of grades are completely obtained, if not, obtaining the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the obtained video quality grade, if so, obtaining the video with the lowest video quality grade corresponding to the existing video downloading request of the client; and issuing the video with the video quality grade to the client.
For the present embodiment, the comparison step of step S103 results in more than one video quality level matching the user client. After the matched video quality grades are obtained, whether the video of the current video quality grade exists or not is judged according to the sequence of the grades from high to low, and the step of judging is not stopped until the video of one matched video quality grade exists or the videos of all matched video quality grades do not exist. And if no video with the matched video quality grade exists, acquiring the video with the lowest video quality grade corresponding to the existing video downloading request of the client, namely, the video resource with the lowest video quality grade corresponding to the video to be watched by the user, and issuing the video with the lowest video quality grade to the client.
In this embodiment, when no video with a video quality level matching with the client exists, the video with the lowest video quality level is issued to the client, so as to ensure that the user avoids the video jam problem as much as possible during the video watching process.
EXAMPLE six
Another possible implementation manner of the embodiment of the present invention, on the basis of the embodiment four or the embodiment five, further includes the step shown in the embodiment six, wherein,
before the step of judging whether the video corresponding to the video downloading request of the client has the obtained video quality grade, the method further comprises the following steps: and receiving a video downloading request of the client.
For this embodiment, the video downloading request of the client carries video information of a video that the user wants to watch, and which video resource the user wants to download and watch can be known by acquiring the video information.
For this embodiment, when a user opens a certain video page, an action of matching the video quality level to the user client is triggered immediately, and the step of determining whether a video of the matched video quality level exists is not continuously executed until a video download request explicitly sent by the user is received.
EXAMPLE seven
Another possible implementation manner of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the seventh embodiment, wherein,
the obtaining of the frame decoding capability value of the client includes: receiving a hard de-framing capability parameter and/or a soft de-framing capability parameter sent by a client; and obtaining the frame resolving capability value of the client according to the hard frame resolving capability parameter and/or the soft frame resolving capability parameter.
For this embodiment, the decoding capability of the user client may be divided into a hard solution capability and a soft solution capability, where the hard solution refers to that video decoding processing is completed through a dedicated device (daughter card) or a GPU without depending on CPU hardware resources, and the hard solution capability parameter is an average accumulated hard solution capability parameter in a preset time period, which is a parameter value representing the hard solution capability of the user client; the soft decoding means that the CPU decodes the video through software, and the soft decoding capability parameter is a soft decoding capability parameter of a latest decoding, which is a parameter value representing the soft decoding capability of the user client.
For this embodiment, the deframing capability value may include two parameter values, namely a hard deframing capability parameter and a soft deframing capability parameter; the frame resolving capability value of the user client can be obtained by carrying out weighted average on the hard frame resolving capability parameter and the soft frame resolving capability parameter; or comparing the hard frame decoding capability parameter with the soft frame decoding capability parameter, and taking the smaller value as the frame decoding capability value of the user client; the calculation method of the frame-decoding capability value is not limited in this embodiment.
Example eight
For the present embodiment, the video quality level matching method in the actual application scene is further elaborated in detail by combining the pre-step of the video quality level matching method.
In this embodiment, before the step of performing the video quality level matching method, it is required to ensure that the video to be watched by the user corresponds to the video resources with at least two video quality levels. In an application scene, the video is a video resource which is uploaded to a server by a user in advance, and after the user uploads the video, the server transcodes the original video to obtain video resources with at least two video quality grades; in another application scenario, the video may also be a video resource pre-stored in a server, and when a user opens a page of the video for the first time, the server transcodes the video immediately to obtain video resources of at least two video quality levels.
Another possible implementation manner of the embodiment of the present invention, on the basis of the first embodiment, further includes the steps shown in the eighth embodiment, wherein,
before step S101, the method further includes: and receiving a video downloading request of the client.
For this embodiment, the step of receiving the video download request of the client occurs before the step S101, where the video download request further carries the download speed of the client, and the hard and soft frame decoding capability parameters for obtaining the frame decoding capability value of the client.
The step S101 includes: extracting a hard de-framing capability parameter, a soft de-framing capability parameter and a downloading speed of the client from a video downloading request of the client; and obtaining the frame resolving capability value of the client according to the hard frame resolving capability parameter and the soft frame resolving capability parameter.
For this embodiment, the decoding capability of the user client may be divided into a hard solution capability and a soft solution capability, where the hard solution refers to that video decoding processing is completed through a dedicated device (daughter card) or a GPU without depending on CPU hardware resources, and the hard solution capability parameter is an average accumulated hard solution capability parameter in a preset time period, which is a parameter value representing the hard solution capability of the user client; the soft decoding means that the CPU decodes the video through software, and the soft decoding capability parameter is a soft decoding capability parameter of a latest decoding, which is a parameter value representing the soft decoding capability of the user client.
For this embodiment, the client has different hard and soft deframing capability parameters corresponding to different video quality levels, and a hard deframing capability parameter table and a soft deframing capability parameter table may be generated according to the obtained hard and soft deframing capability parameters. Because the client may have the problem that the hard or soft frame decoding capability parameter does not exist corresponding to a certain video quality grade, the hard or soft frame decoding capability parameter table can be subjected to completion processing by filling a system default value or meeting the condition that the low-bit-rate frame decoding capability parameter in the video quality grade is not higher than the high-bit-rate frame decoding capability parameter. After a hard frame decoding capability parameter table and a soft frame decoding capability parameter table with complete data are obtained, a hard frame decoding capability parameter corresponding to a certain video quality grade of a client can be obtained from the hard frame decoding capability parameter table, and a soft frame decoding capability parameter corresponding to a certain video quality grade of the client can be obtained from the soft frame decoding capability parameter table.
For this embodiment, the deframing capability value may include two parameter values, namely a hard deframing capability parameter and a soft deframing capability parameter; the frame resolving capability value of the user client can be obtained by carrying out weighted average on the hard frame resolving capability parameter and the soft frame resolving capability parameter; or comparing the hard frame decoding capability parameter with the soft frame decoding capability parameter, and taking the smaller value as the frame decoding capability value of the user client; the calculation method of the frame-decoding capability value is not limited in this embodiment.
Furthermore, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the video quality level matching method described in the above embodiments one to eight. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
The computer-readable storage medium provided by the invention can realize that: by acquiring the frame-decoding capacity value and the downloading speed which are accumulated by the client of the user and reflect the terminal performance and combining the quality of the video to be watched by the user, the video with the most suitable video quality grade can be automatically and quickly matched with the user, the video with the optimal video quality can be watched by the user when the terminal performance of the client of the user is good, the video can be watched smoothly when the terminal performance of the client of the user is poor, and the watching experience satisfaction degree of the user is obviously improved. Furthermore, it is also possible to realize: under the condition that no video with the video quality grade matched with the client exists, the video with the lowest video quality grade is issued to the client, so that the problem that the video is jammed in the process of watching the video by a user is avoided as much as possible.
The computer-readable storage medium provided in the embodiments of the present invention can implement the method embodiments provided above, and for specific function implementation, reference is made to the description in the method embodiments, which is not repeated herein.
In addition, as shown in fig. 2, the terminal may include one or more processors 201, a memory 202, a WiFi (wireless fidelity) circuit 203, a RF (Radio Frequency) circuit 204, an audio circuit 205, a sensor 206, an output device 207, an input device 204, and a power supply 209, where the processor 201 is a control center of the terminal and is connected to the above portions by using various interfaces and lines. Those skilled in the art will appreciate that the terminal configuration shown in fig. 2 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The WiFi circuit 203 may provide wireless local area network or internet access for the user; which may include an antenna, a WiFi module, etc. RF circuitry 204 may receive and transmit information, or signals during a call; which may include an antenna, at least one amplifier, a tuner, one or more oscillators, couplers, duplexers, and so forth. The audio circuit 205 can convert the received audio data into an electrical signal and transmit the electrical signal to a speaker, or convert a sound signal collected by a microphone into audio data and send the audio data to the processor 201 for processing; which may be provided with a speaker, microphone, earphone interface, etc. The sensor 206 can be used for sensing external signals and sending the external signals to the processor 201 for processing; which may include motion sensors, light sensors, etc. The output device 207 may be used to display various signals; the Display panel may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), and the like. The input device 204 may be used to input information such as numbers and characters; which may be physical keys, touch panels, etc. The power supply 209 can supply power to all parts of the terminal and is logically connected with the processor 209 through a power management system; which may include one or more components of a dc or ac power source, a charging system, a power status indicator, etc. Memory 202 may be used to store software programs and modules; it may be a computer readable storage medium, specifically a hard disk, a flash memory, etc. The processor is a control center of the terminal, and executes various functions of the terminal and processes terminal data by operating or executing software programs and/or modules stored in the memory 202 and calling data stored in the memory 202.
As one embodiment, a terminal includes: one or more processors 201, a memory 202, one or more applications, wherein the one or more applications are stored in the memory 202 and configured to be executed by the one or more processors 201, the one or more programs configured to perform the video quality level matching methods of embodiments one through eight above.
The terminal provided by the invention can realize that: by acquiring the frame-decoding capacity value and the downloading speed which are accumulated by the client of the user and reflect the terminal performance and combining the quality of the video to be watched by the user, the video with the most suitable video quality grade can be automatically and quickly matched with the user, the video with the optimal video quality can be watched by the user when the terminal performance of the client of the user is good, the video can be watched smoothly when the terminal performance of the client of the user is poor, and the watching experience satisfaction degree of the user is obviously improved. Furthermore, it is also possible to realize: under the condition that no video with the video quality grade matched with the client exists, the video with the lowest video quality grade is issued to the client, so that the problem that the video is jammed in the process of watching the video by a user is avoided as much as possible.
The terminal provided by the embodiment of the present invention can implement the method embodiment provided above, and for specific function implementation, reference is made to the description in the method embodiment, which is not described herein again.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A video quality level matching method, comprising the steps of:
when a user opens a certain video page, immediately triggering and detecting whether the video to be watched by the user corresponds to at least two video quality levels, if so, acquiring the unframing capability value and the downloading speed of the client; at least one different video parameter is arranged between different video quality levels, and the video parameter at least comprises the frame rate and the code rate of the video;
acquiring frame rates and code rates of at least two video quality levels corresponding to videos to be watched by a user;
comparing the frame decoding capability value with the frame rate, the downloading speed and the code rate;
according to the comparison result, obtaining a matched video quality grade from the at least two video quality grades; the method comprises the following steps: if the frame decoding capability value is larger than the frame rate multiplied by the multiple corresponding to the video quality grade, and the downloading speed is larger than the code rate multiplied by the multiple corresponding to the video quality grade, taking the video quality grade as a matched video quality grade;
judging whether the video of the current video quality grade exists or not according to the sequence of the grades from high to low until the video of a matched video quality grade is determined to exist, acquiring the video of the video quality grade and issuing the video to a client; and if no video with the matched video quality grade exists, acquiring the video with the lowest video quality grade corresponding to the video to be watched by the user and issuing the video to the client.
2. The video quality level matching method according to claim 1, wherein said comparing said deframing capability value with said frame rate, said download speed with said bit rate; obtaining a matching video quality grade from the at least two video quality grades according to the comparison result, comprising:
sequentially acquiring the frame rate and the code rate of one video quality grade from the at least two video quality grades according to the grade from high to low;
and if the frame decoding capability value is greater than the frame rate multiplied by the multiple corresponding to the video quality grade, and the downloading speed is greater than the code rate multiplied by the multiple corresponding to the video quality grade, taking the video quality grade as the matched video quality grade.
3. The video quality level matching method according to claim 1, wherein said obtaining the matched video quality level comprises:
obtaining a video quality grade with the highest matched grade;
after the obtaining of the matched video quality grade, the method further comprises:
and acquiring the video with the video quality grade, and issuing the video to the client.
4. The video quality level matching method according to claim 1, wherein said obtaining the matched video quality level comprises:
obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade;
judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; otherwise, acquiring the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the acquired video quality grade;
and issuing the video with the video quality grade to the client.
5. The video quality level matching method according to claim 1, wherein said obtaining the matched video quality level comprises:
obtaining the video quality grades of a plurality of matched grades;
after the obtaining of the matched video quality grade, the method further comprises:
sequentially acquiring a video quality grade from the video quality grades of the plurality of grades from high to low according to the grade;
judging whether the video corresponding to the video downloading request of the client has the acquired video quality grade or not; if so, acquiring the video with the video quality grade; if not, judging whether the plurality of grades are completely obtained, if not, obtaining the next video quality grade, and continuing the step of judging whether the video corresponding to the video downloading request has the obtained video quality grade, if so, obtaining the video with the lowest video quality grade corresponding to the video downloading request of the client;
and issuing the video with the video quality grade to the client.
6. The video quality level matching method according to claim 4 or 5, wherein before the determining whether the video corresponding to the video download request of the client has the obtained video quality level, the method further comprises:
and receiving a video downloading request of the client.
7. The method for matching video quality levels according to claim 1, wherein the obtaining the deframing capability value of the client comprises:
receiving a hard de-framing capability parameter and/or a soft de-framing capability parameter sent by a client;
and obtaining the frame resolving capability value of the client according to the hard frame resolving capability parameter and/or the soft frame resolving capability parameter.
8. The video quality level matching method according to claim 7, wherein the hard deframing capability parameter is an average accumulated hard deframing capability parameter of a preset time period; the soft deframing capability parameter is a soft deframing capability parameter of the latest deframing.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the video quality level matching method according to any one of claims 1 to 8.
10. A terminal, characterized in that it comprises:
one or more processors;
a memory;
one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to: performing the video quality level matching method according to any of claims 1 to 8.
CN201810090722.9A 2018-01-30 2018-01-30 Video quality grade matching method, computer readable storage medium and terminal Active CN108235075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810090722.9A CN108235075B (en) 2018-01-30 2018-01-30 Video quality grade matching method, computer readable storage medium and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810090722.9A CN108235075B (en) 2018-01-30 2018-01-30 Video quality grade matching method, computer readable storage medium and terminal

Publications (2)

Publication Number Publication Date
CN108235075A CN108235075A (en) 2018-06-29
CN108235075B true CN108235075B (en) 2020-11-24

Family

ID=62669905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810090722.9A Active CN108235075B (en) 2018-01-30 2018-01-30 Video quality grade matching method, computer readable storage medium and terminal

Country Status (1)

Country Link
CN (1) CN108235075B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110198427B (en) * 2018-07-05 2021-09-21 腾讯科技(深圳)有限公司 Video call method and device
CN109040802A (en) * 2018-09-03 2018-12-18 青岛海信传媒网络技术有限公司 A kind of method and device that media resource obtains
CN109729385A (en) * 2018-12-25 2019-05-07 广州市百果园信息技术有限公司 Method for downloading video, device, computer equipment, storage medium and terminal
CN111401100B (en) 2018-12-28 2021-02-09 广州市百果园信息技术有限公司 Video quality evaluation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
CN103974135A (en) * 2014-05-07 2014-08-06 广州骏视信息科技有限公司 Video sharing method and system
CN106101766A (en) * 2016-07-11 2016-11-09 乐视控股(北京)有限公司 The control method for playing back of a kind of video ads, device and electronic equipment
CN106657143A (en) * 2017-01-20 2017-05-10 中兴通讯股份有限公司 Streaming media transmission method and device, server and terminal
US10110947B2 (en) * 2013-06-17 2018-10-23 Spotify Ab System and method for determining whether to use cached media

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8896707B2 (en) * 2013-04-05 2014-11-25 Centurylink Intellectual Property Llc Video qualification device, system, and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10110947B2 (en) * 2013-06-17 2018-10-23 Spotify Ab System and method for determining whether to use cached media
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
CN103974135A (en) * 2014-05-07 2014-08-06 广州骏视信息科技有限公司 Video sharing method and system
CN106101766A (en) * 2016-07-11 2016-11-09 乐视控股(北京)有限公司 The control method for playing back of a kind of video ads, device and electronic equipment
CN106657143A (en) * 2017-01-20 2017-05-10 中兴通讯股份有限公司 Streaming media transmission method and device, server and terminal

Also Published As

Publication number Publication date
CN108235075A (en) 2018-06-29

Similar Documents

Publication Publication Date Title
CN112087633B (en) Video decoding method, device and storage medium
CN111135569A (en) Cloud game processing method and device, storage medium and electronic equipment
CN108235075B (en) Video quality grade matching method, computer readable storage medium and terminal
CN111866433B (en) Video source switching method, video source playing method, video source switching device, video source playing device, video source equipment and storage medium
KR102673368B1 (en) Method and Apparatus for Switching Network
CN108900856B (en) Video frame rate prediction method, device and equipment
CN104010232A (en) Method and system for intelligently playing online videos, player and mobile terminal
EP3886447A1 (en) Video enhancement control method and apparatus, electronic device, and storage medium
CN108282164A (en) A kind of data encoding and coding/decoding method and device
CN110944220B (en) Video screen projection playing method, device, equipment and system
US9967830B2 (en) Method for controlling content transmission and electronic device for supporting the same
KR20170085479A (en) IoT management device capable of executing condition modification mode and control method thereof
CN109729384A (en) The selection method and device of video code conversion
CN112929704A (en) Data transmission method, device, electronic equipment and storage medium
CN111010576A (en) Data processing method and related equipment
CN110933706A (en) Network communication setting method, device, storage medium and terminal
CN109005455B (en) Video data processing method and device
CN109587511A (en) More equipment net cast methods, equipment, system and storage medium
CN116156182A (en) Data processing method, device, electronic equipment and medium
CN109474833B (en) Network live broadcast method, related device and system
CN107493478B (en) Method and device for setting coding frame rate
CN116962757B (en) Video code rate grade determining method and device, electronic equipment and storage medium
CN117676249B (en) Live video processing method and device, electronic equipment and storage medium
CN109003313B (en) Method, device and system for transmitting webpage picture
CN117412026A (en) Decoding performance detection method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220601

Address after: 31a, 15th floor, building 30, maple commercial city, bangrang Road, Brazil

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: Building B-1, North District, Wanda Commercial Plaza, Wanbo business district, No. 79, Wanbo 2nd Road, Nancun Town, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right