CN114172873A - Resolution adjustment method, resolution adjustment device, server and computer-readable storage medium - Google Patents

Resolution adjustment method, resolution adjustment device, server and computer-readable storage medium Download PDF

Info

Publication number
CN114172873A
CN114172873A CN202111520749.5A CN202111520749A CN114172873A CN 114172873 A CN114172873 A CN 114172873A CN 202111520749 A CN202111520749 A CN 202111520749A CN 114172873 A CN114172873 A CN 114172873A
Authority
CN
China
Prior art keywords
resolution
video
terminal device
determining
received
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111520749.5A
Other languages
Chinese (zh)
Other versions
CN114172873B (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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN202111520749.5A priority Critical patent/CN114172873B/en
Publication of CN114172873A publication Critical patent/CN114172873A/en
Application granted granted Critical
Publication of CN114172873B publication Critical patent/CN114172873B/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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234381Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the temporal resolution, e.g. decreasing the frame rate 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Landscapes

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

Abstract

The application relates to the technical field of data processing, and provides a resolution adjusting method, a device, a server and a computer readable storage medium, wherein a video set is obtained, and the resolution of each video in the video set is obtained to obtain a resolution set; determining a resolution limit value of a video received by each terminal device according to the channel quality of each wireless communication link; determining the receiving quality fraction of each resolution in the receiving resolution set of each terminal device according to the resolution limit value of the video received by each terminal device; determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device; and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution. Adjusting the resolution of each video in the video set to the target resolution can improve the viewing satisfaction of the user viewing the video.

Description

Resolution adjustment method, resolution adjustment device, server and computer-readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a resolution adjustment method, apparatus, server, and computer-readable storage medium.
Background
In recent years, video multimedia applications have taken up the vast majority of traffic on the internet, and have been an integral part of people's daily lives, providing almost any video you want on a wide variety of video websites. With the popularization of mobile intelligent terminal equipment and the great development of the internet, as the bandwidth speed is improved and the internet surfing cost is reduced, a terminal user not only becomes a content consumer but also becomes a content producer, and therefore video live broadcast based on crowdsourcing is increasingly integrated into the life of vast netizens as a new media form.
The video live broadcast industry developing at a high speed also brings a lot of special challenges, a live broadcast platform only provides a single-view video, audiences only obtain one view of the video from one angle, each video also needs to provide watching selection of different viewpoints under a multi-viewpoint condition, but service resources are limited, and transcoding distribution of all videos cannot be performed, so how to reasonably manage video resources is a problem to be solved urgently at present.
Disclosure of Invention
The present application is directed to a method, an apparatus, a server and a computer-readable storage medium for adjusting resolution, which are used to improve the accuracy of adjusting the resolution of video.
In a first aspect, the present application provides a resolution adjustment method, which is applied to a server, where the server establishes connections with a plurality of terminal devices through wireless communication links, and the method includes the following steps:
acquiring a video set, and acquiring the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles acquired aiming at the same target object;
determining a resolution limit value of a video received by each terminal device according to the channel quality of each wireless communication link;
determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the resolution limit value of the video received by each terminal device;
determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device;
and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution.
In a second aspect, the present application further provides a resolution adjustment apparatus, which includes an obtaining module, a determining module, and an adjusting module, wherein:
the acquisition module is used for acquiring a video set and acquiring the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles acquired aiming at the same target object;
the determining module is used for determining the resolution limit value of the video received by each terminal device according to the channel quality of each wireless communication link;
the determining module is further configured to determine, according to a resolution limit of the video received by each terminal device, a reception quality score of each resolution in the resolution set received by each terminal device;
the determining module is further configured to determine, according to the reception quality score of the video of each resolution in the resolution set received by each terminal device, an accumulated reception quality score corresponding to each resolution;
the determining module is further configured to determine a resolution corresponding to the maximum accumulated received quality fraction as a target resolution;
the adjusting module is configured to adjust the resolution of each video in the video set to the target resolution.
In a third aspect, the present application further provides a server comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the resolution adjustment method as described above.
In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the resolution adjustment method as described above.
The method comprises the steps of obtaining a video set, obtaining the resolution ratio of each video in the video set to obtain the resolution ratio set, and then determining the resolution ratio limit value of the video received by each terminal device according to the channel quality of each wireless communication link; then, according to the resolution limit value of the video received by each terminal device, determining the receiving quality fraction of the video of each resolution in the receiving resolution set of each terminal device; determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device; and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution. According to the scheme, the accumulated received quality fraction corresponding to each resolution ratio is determined, the resolution ratio corresponding to the maximum accumulated received quality fraction is determined as the target resolution ratio, the target resolution ratio can be accurately determined, and the watching satisfaction degree of a user watching the videos can be improved by adjusting the resolution ratio of each video in a video set to the target resolution ratio.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a resolution adjustment method according to an embodiment of the present application;
FIG. 2 is a flow diagram illustrating sub-steps of the resolution adjustment method of FIG. 1;
FIG. 3 is a schematic block diagram of a resolution adjustment apparatus according to an embodiment of the present application;
FIG. 4 is a schematic block diagram of a sub-module of the resolution adjustment apparatus of FIG. 3;
fig. 5 is a block diagram schematically illustrating a structure of a server according to an embodiment of the present disclosure.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like. The artificial intelligence software technology mainly comprises a computer vision technology, a robot technology, a biological recognition technology, a voice processing technology, a natural language processing technology, machine learning/deep learning and the like.
The embodiment of the application provides a resolution adjusting method, a resolution adjusting device, a server and a computer readable storage medium. The resolution adjustment method can be applied to a server, and the server can be an independent server, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN), big data and an artificial intelligence platform.
For example, the server is a cloud server, the cloud server acquires a video set and the resolution of each video in the video set to obtain a resolution set, wherein the video set includes videos of a plurality of different viewing angles acquired for the same target object; determining a resolution limit value of a video received by each terminal device according to the channel quality of each wireless communication link; determining the receiving quality fraction of each resolution in the receiving resolution set of each terminal device according to the resolution limit value of the video received by each terminal device; determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device; and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flowchart illustrating a resolution adjustment method according to an embodiment of the present application.
As shown in fig. 1, the resolution adjustment method includes steps S101 to S105.
Step S101, a video set is obtained, and the resolution of each video in the video set is obtained to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles collected aiming at the same target object.
The server may establish a wireless communication link with a plurality of mobile terminals, and the mobile terminals may be selected according to actual situations, which is not specifically limited in this embodiment, for example, the mobile terminals may be devices such as mobile phones, cameras, video cameras, and notebook computers. The wireless Communication link established between the server and the Mobile terminal may be set according to actual situations, which is not specifically limited in this embodiment, for example, the wireless Communication link may be a wireless Communication link of the fourth Generation Mobile Communication Technology (4G), a wireless Communication link of the fifth Generation Mobile Communication Technology (5G), a wireless network Communication Technology (Wi-Fi), and the like.
In an embodiment, each mobile terminal collects videos with the same view angle and/or different view angles for the same target object, each mobile terminal sends the collected videos and metadata of the video to which each video belongs to a server, and the server receives the videos and the metadata of the videos sent by each mobile terminal and establishes a video set according to the metadata of each video and the metadata of the videos. The target object may be set according to an actual situation, which is not specifically limited in this embodiment, for example, the target object may be a singing performance and a dancing performance, and the metadata of the video includes a viewing angle, a shooting time, a shooting location, and a resolution.
In one embodiment, the way to create the video set according to the videos and the metadata of the videos may be: the method comprises the steps of obtaining a preset video format, converting the video format of each video into the preset video format to obtain a video with the converted format, and storing the video with the converted format and metadata of the video into a set to obtain a video set. The preset video format may be set according to an actual situation, which is not specifically limited in this embodiment, for example, the preset video format may be an AVI video format, a WMV video format, an MPEG video format, a QuickTime video format, a RealVideo video format, an MPEG-4 video format, or the like. By converting the format of the video, the accuracy of video resolution adjustment can be improved.
In one embodiment, the resolution of each video in the video set is obtained, and the resolution of each video is stored in one set to obtain a resolution set. The resolutions include 360P, 720P, 1080P, 2K, 4K, and the like.
Step S102, determining the resolution limit value of the video received by each terminal device according to the channel quality of each wireless communication link.
The server is connected with the plurality of terminal devices through wireless communication links, each terminal device is used for receiving one or more videos in a video set, the terminal devices can be selected according to actual conditions, and the embodiment is not particularly limited to this, for example, the terminal devices may be devices such as a mobile phone, a desktop computer, a notebook computer, a tablet computer, an intelligent television, an intelligent wearable device, and the like. The wireless Communication link established between the server and the terminal device may be set according to actual situations, which is not specifically limited in this embodiment, for example, the wireless Communication link may be a wireless Communication link of the fourth Generation Mobile Communication Technology (4G), a wireless Communication link of the fifth Generation Mobile Communication Technology (5G), a wireless network Communication Technology (Wi-Fi), and the like.
It should be noted that the channel quality of the wireless communication link is the communication bandwidth quality of the wireless communication link, and the better the communication bandwidth quality is, the better the channel quality is.
In one embodiment, a mapping relation table between preset channel quality and resolution is obtained; and inquiring the resolution corresponding to the channel quality from the mapping relation table, and determining the resolution corresponding to the channel quality as the resolution limit value of the video received by the terminal equipment. The mapping table is pre-established according to the channel quality and the resolution, and the mapping table may be established according to an actual situation, which is not specifically limited in this embodiment. The resolution corresponding to the channel quality can be accurately determined through the mapping relation, the resolution corresponding to the channel quality is determined as the resolution limit value of the video received by the terminal equipment, and the resolution limit value of the video received by the terminal equipment can be accurately and conveniently determined.
Step S103, determining, according to the resolution limit of the video received by each terminal device, a reception quality score of each terminal device for receiving the video of each resolution in the resolution set.
In an embodiment, as shown in fig. 2, step S103 includes sub-steps S1031 to S1032.
And a substep S1031 of calculating a loss value between the resolution limit value and each of the resolutions of the respective terminal devices.
Acquiring a preset loss value weight; subtracting the resolution limit value of each terminal device from each resolution to obtain a resolution difference value between the resolution limit value of each terminal device and each resolution; and multiplying the resolution difference between the resolution limit value of each terminal device and each resolution and the loss value weight to obtain the loss value between the resolution limit value of each terminal device and each resolution. Wherein the default weight of the loss value is determined by the resolution category in the resolution set.
Illustratively, a preset loss value weight is obtained, wherein the resolution set resolution category includes 360P, 720P, 1080P, 2K and 4K, the preset loss value weight is 0.2, the mapping value of 360P resolution is 1, the mapping value of 720P resolution is 2, the mapping value of 1080P resolution is 3, the mapping value of 2K resolution is 4, and the mapping value of 4K resolution is 5. And obtaining a loss value calculation formula, wherein the loss value calculation formula is d ═ m-n | × a, d is a loss value, m is a resolution limit value mapping value, n is a resolution mapping value of each resolution in the resolution set, and a is a loss value weight. And mapping the resolution limit value of the terminal equipment into a resolution limit value mapping value, mapping each resolution in the resolution set into a resolution mapping value, and substituting the resolution limit value mapping value of the terminal equipment, each resolution mapping value in the resolution set and the loss value weight into the loss value calculation formula to obtain the loss value between the resolution limit value of the terminal equipment and each resolution.
And a sub-step S1032 of determining a receiving quality score of each terminal device for receiving the video of each resolution according to the loss value between the resolution limit value of each terminal device and each resolution.
In one embodiment, the actual receiving quality of the video of each resolution received by each terminal device is determined according to the resolution limit value of each terminal device and the loss value between each resolution; and determining the receiving quality fraction of each resolution video in the receiving resolution set of each terminal device according to the actual receiving quality of each resolution video received by each terminal device. The actual receiving quality of the video with each resolution ratio received by the terminal equipment is determined, and the receiving quality fraction of the video with each resolution ratio in the resolution ratio set received by the terminal equipment can be accurately determined according to the actual receiving quality.
In an embodiment, the manner of determining the actual receiving quality of the video of each resolution received by the terminal device according to the loss value between the resolution limit value of the terminal device and each resolution may be: and subtracting the loss value between the resolution limit value and each resolution from the preset receiving quality to obtain the actual receiving quality of the video with each resolution received by the terminal equipment. The predetermined reception quality may be set according to an actual situation, which is not specifically limited in this embodiment, for example, the predetermined reception quality may be set to 1. By subtracting the loss value from the preset receiving quality, the actual receiving quality of the terminal equipment can be accurately obtained.
Illustratively, the preset reception quality is 1, the loss value between the resolution limit of the terminal device and the 360P resolution is 0.4, the loss value between the resolution limit of the terminal device and the 720P resolution is 0.3, the loss value between the resolution limit of the terminal device and the 1080P resolution is 0, the loss value between the resolution limit of the terminal device and the 2K resolution is 0, the loss value between the resolution limit and each resolution is subtracted from the preset reception quality, the terminal device receives the actual reception quality 0.6 of the video of the 360P resolution, the terminal device receives the actual reception quality 0.7 of the video of the 720P resolution, the terminal device receives the actual reception quality 0.85 of the video of the 1080P resolution, and the terminal device receives the actual reception quality 1 of the video of the 2K resolution.
In an embodiment, according to the actual reception quality of the terminal device receiving the videos of the resolutions, the manner of determining the reception quality score of the terminal device receiving the video of each resolution in the resolution set may be: the method comprises the steps of obtaining a preset receiving quality score and obtaining a preset receiving quality score formula, wherein the preset receiving quality score formula is S-U- | log (q) |, S is a receiving quality score, U is a preset receiving quality score, and q is actual receiving quality, substituting the preset receiving quality score and the actual receiving quality of videos of all resolutions received by terminal equipment into the preset receiving quality score formula, and obtaining the receiving quality score of the video of each resolution in a terminal equipment receiving resolution set. The preset receiving quality score may be set according to an actual situation, and this fact is not particularly limited, for example, the preset receiving quality score may be set to 1. The receiving quality score of the video of each resolution in the terminal equipment receiving resolution set can be accurately known through a preset receiving quality score formula.
Step S104, determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device.
And after the receiving quality scores of the videos with each resolution in the resolution set are obtained, accumulating the receiving quality scores of each resolution to obtain the accumulated receiving quality scores corresponding to each resolution.
Illustratively, the reception quality scores of videos of 360P, 720P, 1080P, and 2K resolutions received by terminal device 1 are 0.6, 0.77, 0.9, and 1, respectively, the reception quality scores of videos of 360P, 720P, and 1080P resolutions received by terminal device 2 are 0.77, 0.9, and 1, respectively, the reception quality scores of videos of 360P and 720P resolutions received by terminal device 3 are 0.9 and 1, respectively, and the cumulative reception quality scores corresponding to each resolution are obtained as cumulative reception quality scores of 2.27 for 360P resolution, 2.67 for 720P resolution, 1.9 for 1080P resolution, and 1 for 2K resolution.
Step S105, determining a resolution corresponding to the maximum accumulated reception quality score as a target resolution, and adjusting the resolution of each video in the video set to the target resolution.
And sequencing the resolution according to the accumulated received quality fraction to obtain a resolution queue, and selecting the resolution corresponding to the maximum quality fraction from the resolution queue to determine the resolution as the target resolution. The resolution may be sorted from the highest accumulated reception quality score to the lowest, or from the lowest accumulated reception quality score to the highest.
In an embodiment, after the target resolution is determined, the resolution of each video in the video set is adjusted to the target resolution, and the video after being adjusted to the target resolution is sent to each terminal device. By adjusting the resolution of each video in the video set to the target resolution, the watching satisfaction of the user watching the video can be improved.
In one embodiment, a video view switching request of a terminal device is acquired; and determining a target video requested by the terminal equipment according to the video view angle switching request, and sending the target video to the terminal equipment. According to the video visual angle switching request of the terminal equipment, the requested target video is sent to the terminal equipment, and the video watching experience of a user can be improved.
The resolution adjusting method provided by the above embodiment includes acquiring a video set, acquiring a resolution of each video in the video set to obtain a resolution set, and then determining a resolution limit value of the video received by each terminal device according to a channel quality of each wireless communication link; then, according to the resolution limit value of the video received by each terminal device, determining the receiving quality fraction of the video of each resolution in the receiving resolution set of each terminal device; determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device; and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution. According to the scheme, the accumulated received quality fraction corresponding to each resolution ratio is determined, the resolution ratio corresponding to the maximum accumulated received quality fraction is determined as the target resolution ratio, the target resolution ratio can be accurately determined, and the watching satisfaction degree of a user watching the videos can be improved by adjusting the resolution ratio of each video in a video set to the target resolution ratio.
Referring to fig. 3, fig. 3 is a schematic block diagram of a resolution adjustment apparatus according to an embodiment of the present application.
As shown in fig. 3, the resolution adjustment apparatus 200 includes an obtaining module 210, a determining module 220, and an adjusting module 230, wherein:
the acquiring module 210 is configured to acquire a video set, and acquire a resolution of each video in the video set to obtain a resolution set, where the video set includes videos of multiple different viewing angles acquired for a same target object;
the determining module 220 is configured to determine a resolution limit of a video received by each terminal device according to the channel quality of each wireless communication link;
the determining module 220 is further configured to determine, according to a resolution limit of the video received by each terminal device, a reception quality score of each resolution in the resolution set received by each terminal device;
the determining module 220 is further configured to determine, according to the reception quality score of the video of each resolution in the resolution set received by each terminal device, an accumulated reception quality score corresponding to each resolution;
the determining module 220 is further configured to determine a resolution corresponding to the maximum accumulated received quality fraction as a target resolution;
the adjusting module 230 is configured to adjust the resolution of each video in the video set to the target resolution.
In one embodiment, as shown in fig. 4, the determining module 220 further comprises a calculating module 221 and a sub-determining module 222, wherein:
a calculating module 221, configured to calculate a loss value between the resolution limit of each terminal device and each resolution;
a sub-determining module 222, configured to determine, according to a loss value between the resolution limit value of each terminal device and each resolution, a reception quality score of each terminal device receiving the video of each resolution.
In one embodiment, the calculation module 221 is further configured to:
acquiring a preset loss value weight;
subtracting the resolution limit value of each terminal device from each resolution to obtain a resolution difference value between the resolution limit value of each terminal device and each resolution;
and multiplying the resolution difference between the resolution limit value of each terminal device and each resolution and the loss value weight to obtain the loss value between the resolution limit value and each resolution.
In an embodiment, the sub-determination module 222 is further configured to:
determining the actual receiving quality of the video of each resolution received by each terminal device according to the loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the actual receiving quality of each terminal device for receiving the video of each resolution.
In an embodiment, the sub-determination module 222 is further configured to:
calculating the receiving quality fraction of each terminal device for receiving the video of each resolution according to the actual receiving quality of each terminal device for receiving the video of each resolution;
and taking the receiving quality score of each resolution video as the receiving quality score of each resolution video corresponding to the resolution set.
In one embodiment, the resolution adjustment apparatus 200 is further configured to:
acquiring a mapping relation table between preset channel quality and resolution;
and inquiring the resolution corresponding to the channel quality from the mapping relation table, and determining the resolution corresponding to the channel quality as a resolution limit value of the video received by the terminal equipment.
In one embodiment, the resolution adjustment apparatus 200 is further configured to:
acquiring a video visual angle switching request of terminal equipment;
and determining a target video requested by the terminal equipment according to the video view angle switching request, and sending the target video to the terminal equipment.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working process of the resolution adjustment apparatus may refer to the corresponding process in the foregoing embodiment of the resolution adjustment method, and will not be described herein again.
Referring to fig. 5, fig. 5 is a schematic block diagram of a server according to an embodiment of the present disclosure.
As shown in fig. 5, the server includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any of the resolution adjustment methods.
The processor is used for providing calculation and control capacity and supporting the operation of the whole server.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by the processor, causes the processor to perform any of the resolution adjustment methods.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 5 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the servers to which the subject application applies, as a particular server may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
acquiring a video set, and acquiring the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles acquired aiming at the same target object;
determining a resolution limit value of a video received by each terminal device according to the channel quality of each wireless communication link;
determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the resolution limit value of the video received by each terminal device;
determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device;
and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution.
In one embodiment, the processor, when implementing the determining, according to the resolution limit of the video received by each of the terminal devices, the reception quality score of each of the resolution sets received by each of the terminal devices, is configured to implement:
calculating a loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of each terminal device for receiving the video of each resolution according to the loss value between the resolution limit value of each terminal device and each resolution.
In one embodiment, the processor, when implementing the calculating of the loss value between the resolution limit and each of the resolutions of the terminal devices, is configured to implement:
acquiring a preset loss value weight;
subtracting the resolution limit value of each terminal device from each resolution to obtain a resolution difference value between the resolution limit value of each terminal device and each resolution;
and multiplying the resolution difference between the resolution limit value of each terminal device and each resolution by the loss value weight to obtain the loss value between the resolution limit value of each terminal device and each resolution.
In one embodiment, the processor, when implementing the determining of the reception quality score of each terminal device for receiving the video of each resolution according to the loss value between the resolution limit value and each resolution of each terminal device, is configured to implement:
determining the actual receiving quality of the video of each resolution received by each terminal device according to the loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the actual receiving quality of each terminal device for receiving the video of each resolution.
In one embodiment, the processor, when implementing the determining, according to actual reception quality of the videos at the resolutions received by the terminal devices, reception quality scores of the videos at each resolution in the resolution set received by the terminal devices, is configured to implement:
calculating the receiving quality fraction of each terminal device for receiving the video of each resolution according to the actual receiving quality of each terminal device for receiving the video of each resolution;
and taking the receiving quality score of each resolution video as the receiving quality score of each resolution video corresponding to the resolution set.
In one embodiment, the processor, when implementing the determining of the resolution limit of the video received by each of the terminal devices according to the channel quality of each of the wireless communication links, is configured to implement:
acquiring a mapping relation table between preset channel quality and resolution;
and inquiring the resolution corresponding to the channel quality from the mapping relation table, and determining the resolution corresponding to the channel quality as a resolution limit value of the video received by the terminal equipment.
In one embodiment, the processor, after implementing the adjusting the resolution of each video in the set of videos to the target resolution, is further configured to implement:
acquiring a video visual angle switching request of the terminal equipment;
and determining a target video requested by the terminal equipment according to the video view angle switching request, and sending the target video to the terminal equipment.
It should be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the server described above may refer to the corresponding process in the foregoing embodiment of the resolution adjustment method, and is not described herein again.
Embodiments of the present application also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed, the method implemented by the computer-readable storage medium may refer to the embodiments of the resolution adjustment method of the present application.
The computer-readable storage medium may be an internal storage unit of the server according to the foregoing embodiment, for example, a hard disk or a memory of the server. The computer readable storage medium may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the server.
Further, the computer-readable storage medium may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the blockchain node, and the like.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
It is to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A resolution adjustment method applied to a server that establishes connections with a plurality of terminal devices via wireless communication links, the method comprising:
acquiring a video set, and acquiring the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles acquired aiming at the same target object;
determining a resolution limit value of a video received by each terminal device according to the channel quality of each wireless communication link;
determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the resolution limit value of the video received by each terminal device;
determining the accumulated receiving quality fraction corresponding to each resolution according to the receiving quality fraction of the video of each resolution in the resolution set received by each terminal device;
and determining the resolution corresponding to the maximum accumulated received quality fraction as a target resolution, and adjusting the resolution of each video in the video set to the target resolution.
2. The resolution adjustment method of claim 1, wherein determining the reception quality score of each terminal device for receiving the video of each resolution in the resolution set according to the resolution limit of the video received by each terminal device comprises:
calculating a loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of each terminal device for receiving the video of each resolution according to the loss value between the resolution limit value of each terminal device and each resolution.
3. The resolution adjustment method of claim 2, wherein said calculating a loss value between said resolution limit and each of said resolutions for each of said terminal devices comprises:
acquiring a preset loss value weight;
subtracting the resolution limit value of each terminal device from each resolution to obtain a resolution difference value between the resolution limit value of each terminal device and each resolution;
and multiplying the resolution difference between the resolution limit value of each terminal device and each resolution by the loss value weight to obtain the loss value between the resolution limit value of each terminal device and each resolution.
4. The resolution adjustment method of claim 2, wherein said determining a reception quality score for each of said terminal devices to receive video of each of said resolutions according to a loss value between said resolution limit of each of said terminal devices and each of said resolutions comprises:
determining the actual receiving quality of the video of each resolution received by each terminal device according to the loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of each terminal device for receiving the video of each resolution in the resolution set according to the actual receiving quality of each terminal device for receiving the video of each resolution.
5. The resolution adjustment method of claim 4, wherein said determining a reception quality score for each resolution in the resolution set received by each of the terminal devices based on an actual reception quality of the video at each resolution received by each of the terminal devices comprises:
calculating the receiving quality fraction of each terminal device for receiving the video of each resolution according to the actual receiving quality of each terminal device for receiving the video of each resolution;
and taking the receiving quality score of each resolution video as the receiving quality score of each resolution video corresponding to the resolution set.
6. The resolution adjustment method of any one of claims 1-5, wherein determining a resolution limit for video received by each of the terminal devices based on the channel quality of each of the wireless communication links comprises:
acquiring a mapping relation table between preset channel quality and resolution;
and inquiring the resolution corresponding to the channel quality from the mapping relation table, and determining the resolution corresponding to the channel quality as a resolution limit value of the video received by the terminal equipment.
7. The resolution adjustment method of any one of claims 1-5, wherein after adjusting the resolution of each video in the video set to the target resolution, further comprising:
acquiring a video visual angle switching request of the terminal equipment;
and determining a target video requested by the terminal equipment according to the video view angle switching request, and sending the target video to the terminal equipment.
8. A resolution adjustment apparatus, comprising an acquisition module, a determination module, and an adjustment module, wherein:
the acquisition module is used for acquiring a video set and acquiring the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises a plurality of videos with different viewing angles acquired aiming at the same target object;
the determining module is used for determining the resolution limit value of the video received by each terminal device according to the channel quality of each wireless communication link;
the determining module is further configured to determine, according to a resolution limit of the video received by each terminal device, a reception quality score of each resolution in the resolution set received by each terminal device;
the determining module is further configured to determine, according to the reception quality score of the video of each resolution in the resolution set received by each terminal device, an accumulated reception quality score corresponding to each resolution;
the determining module is further configured to determine a resolution corresponding to the maximum accumulated received quality fraction as a target resolution;
the adjusting module is configured to adjust the resolution of each video in the video set to the target resolution.
9. A server, characterized in that the server comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of the resolution adjustment method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when being executed by a processor, carries out the steps of the resolution adjustment method according to any one of claims 1 to 7.
CN202111520749.5A 2021-12-13 2021-12-13 Resolution adjustment method, resolution adjustment device, server and computer readable storage medium Active CN114172873B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111520749.5A CN114172873B (en) 2021-12-13 2021-12-13 Resolution adjustment method, resolution adjustment device, server and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111520749.5A CN114172873B (en) 2021-12-13 2021-12-13 Resolution adjustment method, resolution adjustment device, server and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114172873A true CN114172873A (en) 2022-03-11
CN114172873B CN114172873B (en) 2023-05-30

Family

ID=80486059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111520749.5A Active CN114172873B (en) 2021-12-13 2021-12-13 Resolution adjustment method, resolution adjustment device, server and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114172873B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163134A (en) * 2015-08-03 2015-12-16 腾讯科技(深圳)有限公司 Video coding parameter setting method, device and video coding device for live video
CN110460871A (en) * 2019-08-29 2019-11-15 香港乐蜜有限公司 Generation method, device, system and the equipment of live video
WO2021000245A1 (en) * 2019-07-02 2021-01-07 Alibaba Group Holding Limited Constant rate factor control for adaptive resolution video coding
CN113163214A (en) * 2020-01-22 2021-07-23 华为技术有限公司 Video processing method and device
CN113763249A (en) * 2021-09-10 2021-12-07 平安科技(深圳)有限公司 Text image super-resolution reconstruction method and related equipment thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105163134A (en) * 2015-08-03 2015-12-16 腾讯科技(深圳)有限公司 Video coding parameter setting method, device and video coding device for live video
WO2021000245A1 (en) * 2019-07-02 2021-01-07 Alibaba Group Holding Limited Constant rate factor control for adaptive resolution video coding
CN110460871A (en) * 2019-08-29 2019-11-15 香港乐蜜有限公司 Generation method, device, system and the equipment of live video
CN113163214A (en) * 2020-01-22 2021-07-23 华为技术有限公司 Video processing method and device
CN113763249A (en) * 2021-09-10 2021-12-07 平安科技(深圳)有限公司 Text image super-resolution reconstruction method and related equipment thereof

Also Published As

Publication number Publication date
CN114172873B (en) 2023-05-30

Similar Documents

Publication Publication Date Title
CN104053023B (en) A kind of method and device of determining video similarity
CN104994426A (en) Method and system of program video recognition
US20100049864A1 (en) Multimedia broadcast system and method
EP3070950A2 (en) Data publication and distribution
CN108810657B (en) Method and system for setting video cover
US20150100582A1 (en) Association of topic labels with digital content
CA2877360C (en) Methods and systems for content consumption
CN111093094A (en) Video transcoding method, device and system, electronic equipment and readable storage medium
US11470370B2 (en) Crowdsourcing platform for on-demand media content creation and sharing
CN111327921A (en) Video data processing method and device
CN113779395A (en) Media asset recommendation method, device, system, electronic device and storage medium
CN108401163B (en) Method and device for realizing VR live broadcast and OTT service system
Xu et al. Media production using cloud and edge computing: Recent progress and NBMP-based implementation
CN110147481B (en) Media content pushing method and device and storage medium
US10885903B1 (en) Generating transcription information based on context keywords
CN110300118B (en) Streaming media processing method, device and storage medium
CN114172873B (en) Resolution adjustment method, resolution adjustment device, server and computer readable storage medium
US20170195717A1 (en) Mobile search-ready smart display technology utilizing optimized content fingerprint coding and delivery
CN113727136B (en) Live broadcast pushing method, system, device, equipment and storage medium
CN112866750B (en) Video data processing method, video playing method and related equipment
Thang et al. Video streaming over HTTP with dynamic resource prediction
CN110505501B (en) Information processing method, electronic device, and computer-readable storage medium
US11973994B2 (en) Media processing method
CN114501060A (en) Live broadcast background switching method and device, storage medium and electronic equipment
CN115002506A (en) Video downloading method, device, medium and equipment

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