CN114172873B - 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
CN114172873B
CN114172873B CN202111520749.5A CN202111520749A CN114172873B CN 114172873 B CN114172873 B CN 114172873B CN 202111520749 A CN202111520749 A CN 202111520749A CN 114172873 B CN114172873 B CN 114172873B
Authority
CN
China
Prior art keywords
resolution
video
terminal device
determining
receiving quality
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
CN202111520749.5A
Other languages
Chinese (zh)
Other versions
CN114172873A (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 adjustment method, a resolution adjustment device, a server and a computer readable storage medium, wherein a video set is acquired, the resolution of each video in the video set is acquired, and a resolution set is obtained; 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 the video 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; according to the receiving quality scores of the videos of each resolution in the receiving resolution set of each terminal device, determining the corresponding accumulated receiving quality score of each resolution; and determining the resolution corresponding to the maximum accumulated receiving quality fraction as the target resolution, and adjusting the resolution of each video in the video set as 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 disclosure relates to the field of data processing technologies, and in particular, to a resolution adjustment method, a resolution adjustment device, a server, and a computer readable storage medium.
Background
In recent years, video multimedia applications have taken up most of the traffic on the internet, and have been an integral part of people's daily lives, and almost any video you want to see can be provided on a variety of video websites. With the popularization of mobile intelligent terminal equipment and the great development of the Internet, with the increase of bandwidth speed and the reduction of Internet surfing cost, terminal users are not only content consumers, but also content producers, so that video live broadcast based on crowdsourcing is increasingly integrated into the life of wide netizens as a new medium form.
The video live broadcast industry of high-speed development also brings a lot of special challenges, the live broadcast platform only provides single-view video, a viewer only obtains one view of the video from one angle, each video also needs to provide watching selection of different viewpoints under the multi-viewpoint condition, but service resources are limited, transcoding distribution of all videos is impossible, and therefore, how to reasonably manage the video resources is a problem to be solved at present.
Disclosure of Invention
The main objective of the present application is to provide a resolution adjustment method, device, server and computer readable storage medium, which aim to improve accuracy of video resolution adjustment.
In a first aspect, the present application provides a resolution adjustment method, which is applied to a server, where the server and a plurality of terminal devices establish a connection through a wireless communication link, 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 videos of a plurality of different view angles acquired for the same target object;
determining a resolution limit of the video received by each terminal device according to the channel quality of each wireless communication link;
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 resolution set received by each terminal device;
according to the receiving quality scores of the videos of each resolution in the resolution set received by the terminal equipment, determining the corresponding accumulated receiving quality score of each resolution;
and determining the resolution corresponding to the maximum accumulated receiving quality fraction as a target resolution, and adjusting the resolution of each video in the video set as the target resolution.
In a second aspect, the present application further provides a resolution adjustment device, where the resolution adjustment device includes an acquisition module, a determination module, and an adjustment module, where:
the acquisition module is used for acquiring a video set and the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises videos of a plurality of different visual angles acquired for 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 value of the video received by each terminal device, a receiving quality score of the video received by each terminal device in each resolution set;
the determining module is further configured to determine, according to the receiving quality scores of the videos of each resolution in the resolution set received by each terminal device, an accumulated receiving quality score corresponding to each resolution;
the determining module is further configured to determine a resolution corresponding to the maximum accumulated receiving quality score as a target resolution;
the adjusting module is used for adjusting the resolution of each video in the video set to the target resolution.
In a third aspect, the present application also 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 also provides a computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of a resolution adjustment method as described above.
The application provides a resolution adjustment method, a resolution adjustment device, a server and a computer readable storage medium, wherein the method comprises the steps of obtaining a video set, obtaining the resolution of each video in the video set, obtaining the resolution set, and then determining the resolution 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 score of the video of each resolution in the receiving resolution set of each terminal device; according to the receiving quality scores of the videos of each resolution in the receiving resolution set of each terminal device, determining the corresponding accumulated receiving quality score of each resolution; and determining the resolution corresponding to the maximum accumulated receiving quality fraction as the target resolution, and adjusting the resolution of each video in the video set as the target resolution. According to the scheme, the respective corresponding accumulated receiving quality score of each resolution is determined, the resolution corresponding to the largest accumulated receiving quality score is determined as the target resolution, the target resolution can be accurately determined, and the resolution of each video in the video set is adjusted to the target resolution, so that the watching satisfaction degree of a user watching the video can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a resolution adjustment method according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating sub-steps of the resolution adjustment method of FIG. 1;
FIG. 3 is a schematic block diagram of a resolution adjustment device 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 schematic block diagram of a server according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The flow diagrams depicted in the figures are merely illustrative and not necessarily all of the elements and operations/steps are included or performed in the order described. For example, some operations/steps may be further divided, combined, or partially combined, so that the order of actual execution may be changed according to actual situations.
The embodiment of the application can acquire and process the related data based on the artificial intelligence technology. Among these, artificial intelligence (Artificial Intelligence, AI) is the theory, method, technique and application system that uses a digital computer or a digital computer-controlled machine to simulate, extend and extend human intelligence, sense the environment, acquire knowledge and use knowledge to obtain optimal results.
Artificial intelligence infrastructure technologies generally include 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 other directions.
The embodiment of the application provides a resolution adjustment method, a resolution adjustment 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 for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDNs), basic cloud computing services such as big data and artificial intelligence platforms, and the like.
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 is acquired to obtain a resolution set, wherein the video set comprises videos of a plurality of different view 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 the video 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; according to the receiving quality scores of the videos of each resolution in the receiving resolution set of each terminal device, determining the corresponding accumulated receiving quality score of each resolution; and determining the resolution corresponding to the maximum accumulated receiving quality fraction as the target resolution, and adjusting the resolution of each video in the video set as the target resolution.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings. The following embodiments and features of the embodiments may be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flow chart of 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, 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 videos of a plurality of different visual angles acquired for the same target object.
The server can establish wireless communication links with a plurality of mobile terminals, and the mobile terminals can be selected according to practical situations, which is not limited in this embodiment, and for example, the mobile terminals can be mobile phones, cameras, video cameras, notebook computers and other devices. The wireless communication link established between the server and the mobile terminal may be set according to the actual situation, and the embodiment is not limited thereto, and for example, the wireless communication link may be a wireless communication link such as a fourth generation mobile communication technology (the 4th generation mobile communication technology,4G), a fifth generation mobile communication technology (5 th-Generation Mobile Communication Technology, 5G), and a wireless network communication technology (Wi-Fi).
In an embodiment, each mobile terminal collects videos of 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 videos to which each video belongs to a server, the server receives the videos and the metadata of the videos sent by each mobile terminal, and a video set is built according to the videos and the metadata of the videos. The target object may be set according to actual situations, and this embodiment is not limited to this, for example, the target object may be a singing performance or a dance performance, and metadata of the video includes a viewing angle, a shooting time, a shooting place, and a resolution.
In one embodiment, the manner of creating the video set according to each video and the metadata of the video 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, obtaining video with converted formats, storing the video with converted formats and metadata of the video into a set, and obtaining a video set. The preset video format may be set according to actual situations, and the embodiment is not limited to this, 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 realndeo video format, an MPEG-4 video format, and 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 a video set is obtained and the resolution of each video is stored in a set to obtain a resolution set. The resolution includes 360P, 720P, 1080P, 2K, 4K, and the like.
Step S102, determining a resolution limit value of the video received by each terminal device according to the channel quality of each wireless communication link.
The connection is established between the server and the plurality of terminal devices through a wireless communication link, each terminal device is configured to receive one or more videos in the video set, the terminal device may be selected according to practical situations, and the embodiment is not particularly limited to this, for example, the terminal device may be a device such as a mobile phone, a desktop computer, a notebook computer, a tablet computer, an intelligent television, and an intelligent wearable device. The wireless communication link established between the server and the terminal device may be set according to the actual situation, and the embodiment is not limited thereto, and for example, the wireless communication link may be a wireless communication link such as a fourth generation mobile communication technology (the 4th generation mobile communication technology,4G), a fifth generation mobile communication technology (5 th-Generation Mobile Communication Technology, 5G), and a wireless network communication technology (Wi-Fi).
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 a resolution limit value of the video received by the terminal equipment. The mapping relation table is established in advance according to the channel quality and the resolution, and the mapping relation table can be established according to practical situations, which is not particularly 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 to be 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, according to the resolution limit value of the video received by each terminal device, the receiving quality score of the video of each resolution in the resolution set received by each terminal device is determined.
In one embodiment, as shown in fig. 2, step S103 includes sub-steps S1031 through S1032.
Substep S1031 calculates a loss value between the resolution limit value of each of the terminal devices and each of the resolutions.
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 value 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 predetermined penalty weight is determined for the resolution category in the resolution set.
For example, a preset loss value weight is obtained, where the resolution concentrated resolution category includes 360P, 720P, 1080P, 2K, and 4K, then 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,2K, and the mapping value of 4,4K resolution is 5. Obtaining a loss value calculation formula, wherein the loss value calculation formula is d= |m-n|x a, d is a loss value, m is a resolution limit value mapping value, the resolution mapping value of each resolution in the n resolution sets, and a is a loss value weight. 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, 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.
Sub-step S1032, determining a reception quality score of each terminal device receiving video of each resolution according to the resolution limit value of each terminal device and a loss value between each resolution.
In an embodiment, determining an actual receiving quality of the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and the loss value between each resolution; and determining the receiving quality score of the video of each resolution in the receiving resolution set of each terminal device according to the actual receiving quality of the video of each resolution received by each terminal device. By determining the actual receiving quality of the video of each resolution received by the terminal device, the receiving quality score of the video of each resolution in the terminal device receiving resolution set can be accurately determined according to the actual receiving quality.
In an embodiment, according to the resolution limit value of the terminal device and the loss value between each resolution, the manner of determining the actual receiving quality of the video of each resolution by the terminal device 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 of each resolution received by the terminal equipment. The preset reception quality may be set according to practical situations, and the embodiment is not limited thereto, for example, the preset reception quality may be set to 1. By subtracting the loss value from the preset reception quality, the actual reception quality of the terminal device can be accurately obtained.
For example, 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.15, the loss value between the resolution limit of the terminal device and the 2K resolution is 0, the preset reception quality minus the loss value between the resolution limit and each resolution is 0.6, the actual reception quality of the video of the 360P resolution received by the terminal device is 0.7, the actual reception quality of the video of the 720P resolution received by the terminal device is 0.85, and the actual reception quality of the video of the 1080P resolution received by the terminal device is 1.
In an embodiment, according to the actual receiving quality of the video of each resolution received by the terminal device, the manner of determining the receiving quality score of the video of each resolution in the receiving resolution set by the terminal device may be: obtaining a preset receiving quality score and a preset receiving quality score formula, wherein the preset receiving quality score formula is S=U-log (q), S is the receiving quality score, U is the preset receiving quality score, q is the actual receiving quality, and the preset receiving quality score and the actual receiving quality of the video of each resolution received by the terminal equipment are substituted into the preset receiving quality score formula to obtain the receiving quality score of the video of each resolution in the terminal equipment receiving resolution set. The preset reception quality score may be set according to the actual situation, which is not specifically limited, and for example, the preset reception quality score may be set to 1. The receiving quality score formula is preset, so that the receiving quality score of the video of each resolution in the receiving resolution set of the terminal equipment can be accurately known.
Step S104, according to the receiving quality scores of the videos of each resolution in the resolution set received by the terminal equipment, determining the corresponding accumulated receiving quality score of each resolution.
After receiving quality scores of videos of each resolution in the receiving resolution set of each terminal device are obtained, the receiving quality scores of each resolution are accumulated, and the accumulated receiving quality scores corresponding to each resolution are obtained.
Illustratively, the receiving quality scores of the terminal device 1 receiving the videos with 360P, 720P, 1080P and 2K resolutions are respectively 0.6, 0.77, 0.9 and 1, the receiving quality scores of the terminal device 2 receiving the videos with 360P, 720P and 1080P resolutions are respectively 0.77, 0.9 and 1, the receiving quality scores of the terminal device 3 receiving the videos with 360P and 720P resolutions are respectively 0.9 and 1, and for each resolution, the respective corresponding cumulative receiving quality score is obtained, the cumulative receiving quality score of 360P resolution is 2.27, the cumulative receiving quality score of 720P resolution is 2.67, and the cumulative receiving quality score of 1080P resolution is 1.9 and 2K resolution is 1.
Step S105, determining the resolution corresponding to the maximum accumulated receiving quality score as a target resolution, and adjusting the resolution of each video in the video set as the target resolution.
And sequencing the resolutions according to the accumulated receiving quality scores to obtain a resolution queue, and selecting the resolution corresponding to the maximum quality score from the resolution queue to determine the resolution as the target resolution. It should be noted that, the resolution may be ranked according to the cumulative receiving quality score from large to small, or may be ranked according to the cumulative receiving quality score from small to large.
In an embodiment, after determining the target resolution, the resolution of each video in the video set is adjusted to the target resolution, and the video 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 viewing satisfaction of the user viewing the video can be improved.
In an embodiment, a video view angle switching request of a terminal device is obtained; and according to the video view angle switching request, determining a target video requested by the terminal equipment, and sending the target video to the terminal equipment. According to the video view angle switching request of the terminal equipment, the requested target video is sent to the terminal equipment, so that the video watching experience of the user can be improved.
The resolution adjustment method provided by the embodiment includes the steps of obtaining a video set, obtaining the resolution of each video in the video set, obtaining the resolution set, and then determining the resolution 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 score of the video of each resolution in the receiving resolution set of each terminal device; according to the receiving quality scores of the videos of each resolution in the receiving resolution set of each terminal device, determining the corresponding accumulated receiving quality score of each resolution; and determining the resolution corresponding to the maximum accumulated receiving quality fraction as the target resolution, and adjusting the resolution of each video in the video set as the target resolution. According to the scheme, the respective corresponding accumulated receiving quality score of each resolution is determined, the resolution corresponding to the largest accumulated receiving quality score is determined as the target resolution, the target resolution can be accurately determined, and the resolution of each video in the video set is adjusted to the target resolution, so that the watching satisfaction degree of a user watching the video can be improved.
Referring to fig. 3, fig. 3 is a schematic block diagram of a resolution adjustment device according to an embodiment of the present application.
As shown in fig. 3, the resolution adjustment device 200 includes an acquisition module 210, a determination module 220, and an adjustment module 230, where:
the obtaining module 210 is configured to obtain a video set, and obtain a resolution of each video in the video set, so as to obtain a resolution set, where the video set includes videos of a plurality of different perspectives acquired for a same target object;
the determining module 220 is configured to determine a resolution limit of the 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 value of the video received by each of the terminal devices, a reception quality score of the video received by each of the terminal devices in the resolution set;
the determining module 220 is further configured to determine, according to the receiving quality scores of the videos of each resolution in the resolution set received by each of the terminal devices, an accumulated receiving quality score corresponding to each of the resolutions;
the determining module 220 is further configured to determine a resolution corresponding to the maximum accumulated receiving quality score as a target resolution;
the adjustment module 230 is configured to adjust the resolution of each video in the video set to the target resolution.
In an embodiment, as shown in fig. 4, the determining module 220 further includes a calculating module 221 and a sub-determining module 222, wherein:
a calculation module 221, configured to calculate a loss value between the resolution limit value and each resolution of each terminal device;
a sub-determining module 222, configured to determine a receiving quality score of the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and a loss value between each resolution.
In an embodiment, the computing 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 value between the resolution limit value and each resolution of each terminal device by the loss value weight to obtain a loss value between the resolution limit value and each resolution.
In one 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 resolution limit value of each terminal device and the loss value between each resolution;
and determining the receiving quality score 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 sub-determination module 222 is further configured to:
calculating the receiving quality score of each terminal device for receiving each resolution video according to the actual receiving quality of each terminal device for receiving each resolution video;
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 an embodiment, the resolution adjustment device 200 is further configured to:
obtaining 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 an embodiment, the resolution adjustment device 200 is further configured to:
acquiring a video view angle switching request of terminal equipment;
and determining the 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, for convenience and brevity of description, a person skilled in the art can clearly understand that the specific working process of the resolution adjustment device may refer to the corresponding process in the foregoing embodiment of the resolution adjustment method, which is not described herein again.
Referring to fig. 5, fig. 5 is a schematic block diagram of a server according to an embodiment of the present application.
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 non-volatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program comprises program instructions that, when executed, cause a processor to perform any of a number of resolution adjustment methods.
The processor is used to provide computing and control capabilities, supporting the operation of the entire server.
The internal memory provides an environment for the execution of a computer program in a non-volatile storage medium that, when executed by a processor, causes the processor to perform any of a number of resolution adjustment methods.
The network interface is used for network communication such as transmitting assigned tasks and the like. It will be appreciated by those skilled in the art that the structure shown in fig. 5 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the server to which the present application applies, and that a particular server may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
It should be appreciated that the processor may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. Wherein the 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 run 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 videos of a plurality of different view angles acquired for the same target object;
determining a resolution limit of the video received by each terminal device according to the channel quality of each wireless communication link;
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 resolution set received by each terminal device;
according to the receiving quality scores of the videos of each resolution in the resolution set received by the terminal equipment, determining the corresponding accumulated receiving quality score of each resolution;
and determining the resolution corresponding to the maximum accumulated receiving quality fraction as a target resolution, and adjusting the resolution of each video in the video set as the target resolution.
In one embodiment, the processor is configured, when implementing the resolution limit value according to the video received by each terminal device, to determine a receiving quality score of each of the videos in the resolution set received by each terminal device, 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 the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and the loss value between each resolution.
In one embodiment, the processor, when implementing the calculating the loss value between the resolution limit value and each of the resolutions of the respective 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 value between the resolution limit value and each resolution of each terminal device by the loss value weight to obtain a loss value between the resolution limit value and each resolution of each terminal device.
In one embodiment, the processor is configured, when implementing the determining, according to the loss value between the resolution limit value of each terminal device and each resolution, a reception quality score of the video received by each terminal device at each resolution, to implement:
determining the actual receiving quality of the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and the loss value between each resolution;
and determining the receiving quality score 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 is configured, when implementing the determining, according to the actual receiving quality of the video of each resolution received by each terminal device, a receiving quality score of the video of each resolution in the resolution set received by each terminal device, to implement:
calculating the receiving quality score of each terminal device for receiving each resolution video according to the actual receiving quality of each terminal device for receiving each resolution video;
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 is configured, when implementing the determining, according to the channel quality of each of the wireless communication links, a resolution limit of the video received by each of the terminal devices, to implement:
obtaining 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 video set to the target resolution, is further configured to implement:
acquiring a video view angle switching request of the terminal equipment;
and determining the 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, for convenience and brevity of description, the specific working process of the server may refer to the corresponding process in the foregoing embodiment of the resolution adjustment method, which is not described herein.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored thereon, where the computer program includes program instructions, where the method implemented when the program instructions are executed may refer to various 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), or the like, which are 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 from the use of blockchain nodes, and the like.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
It is to be understood that the terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification 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 any and all possible combinations of one or more of the associated listed items, and includes such combinations. 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 one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments. While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the 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, the server establishing a connection with a plurality of terminal devices through 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 videos of a plurality of different view angles acquired for the same target object;
determining a resolution limit of the video received by each terminal device according to the channel quality of each wireless communication link;
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 resolution set received by each terminal device;
according to the receiving quality scores of the videos of each resolution in the resolution set received by the terminal equipment, determining the corresponding accumulated receiving quality score of each resolution;
and determining the resolution corresponding to the maximum accumulated receiving quality fraction as a target resolution, and adjusting the resolution of each video in the video set as the target resolution.
2. The resolution adjustment method according to claim 1, wherein the determining, based on the resolution limit value of the video received by each of the terminal devices, the reception quality score of the video received by each of the terminal devices for each of the resolutions set includes:
calculating a loss value between the resolution limit value of each terminal device and each resolution;
and determining the receiving quality fraction of the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and the loss value between each resolution.
3. The resolution adjustment method according to claim 2, wherein said calculating a loss value between the resolution limit value of each of the terminal devices and each of the resolutions includes:
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 value between the resolution limit value and each resolution of each terminal device by the loss value weight to obtain a loss value between the resolution limit value and each resolution of each terminal device.
4. The resolution adjustment method according to claim 2, wherein the determining the reception quality score of the video of each of the resolutions received by each of the terminal devices based on the resolution limit value of each of the terminal devices and a loss value between each of the resolutions includes:
determining the actual receiving quality of the video of each resolution received by each terminal device according to the resolution limit value of each terminal device and the loss value between each resolution;
and determining the receiving quality score 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 according to claim 4, wherein the determining the reception quality score of each of the terminal devices receiving the video of each of the resolutions in the resolution set based on the actual reception quality of each of the terminal devices receiving the video of the resolutions, comprises:
calculating the receiving quality score of each terminal device for receiving each resolution video according to the actual receiving quality of each terminal device for receiving each resolution video;
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 according to any one of claims 1 to 5, wherein the determining a resolution limit of the video received by each of the terminal devices according to the channel quality of each of the wireless communication links includes:
obtaining 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 according to any one of claims 1 to 5, characterized in that after the adjustment of the resolution of each video in the video set to the target resolution, further comprising:
acquiring a video view angle switching request of the terminal equipment;
and determining the 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 device, wherein the resolution adjustment device comprises an acquisition module, a determination module, and an adjustment module, wherein:
the acquisition module is used for acquiring a video set and the resolution of each video in the video set to obtain a resolution set, wherein the video set comprises videos of a plurality of different visual angles acquired for 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 value of the video received by each terminal device, a receiving quality score of the video received by each terminal device in each resolution set;
the determining module is further configured to determine, according to the receiving quality scores of the videos of each resolution in the resolution set received by each terminal device, an accumulated receiving quality score corresponding to each resolution;
the determining module is further configured to determine a resolution corresponding to the maximum accumulated receiving quality score as a target resolution;
the adjusting module is used for adjusting the resolution of each video in the video set to the target resolution.
9. 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 according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when being executed by a processor, implements 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 CN114172873A (en) 2022-03-11
CN114172873B true 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
CN114172873A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
Thang et al. Adaptive streaming of audiovisual content using MPEG DASH
US10306287B2 (en) System and method for organizing multimedia content
EP3070950B1 (en) Data publication and distribution
US20140351871A1 (en) Live media processing and streaming service
CN110876051B (en) Video data processing method, video data transmission method, video data processing system, video data transmission device and video data transmission device
US10820045B2 (en) Method and system for video stream personalization
WO2010096282A2 (en) Video sharing
US20100049864A1 (en) Multimedia broadcast system and method
CN105519123A (en) Live crowdsourced media streaming
CN109644296A (en) A kind of video stream transmission method, relevant device and system
CN114666225B (en) Bandwidth adjustment method, data transmission method, device and computer storage medium
CN108401163B (en) Method and device for realizing VR live broadcast and OTT service system
CN111263183A (en) Singing state identification method and singing state identification device
US10885903B1 (en) Generating transcription information based on context keywords
Xu et al. Media production using cloud and edge computing: Recent progress and NBMP-based implementation
CN105812839B (en) Video stream data acquisition, page data transmission method, system and network server
CN114172873B (en) Resolution adjustment method, resolution adjustment device, server and computer readable storage medium
CN108989905A (en) Media stream control method, calculates equipment and storage medium at device
US9807453B2 (en) Mobile search-ready smart display technology utilizing optimized content fingerprint coding and delivery
CN116980662A (en) Streaming media playing method, streaming media playing device, electronic equipment, storage medium and program product
US11973994B2 (en) Media processing method
CN114501060A (en) Live broadcast background switching method and device, storage medium and electronic equipment
CN110505501B (en) Information processing method, electronic device, and computer-readable storage medium
CN113468348A (en) Multimedia playing method and device, electronic equipment and storage medium
CN115134639A (en) Video gear determining method, device, server, storage medium and system

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