Live streaming data processing method and device, and storage medium

By detecting the performance parameters of live broadcast equipment for image quality enhancement and bit rate adjustment, the problem of increased data transmission costs for live streaming is solved and the effect of saving bandwidth and server costs without losing image quality is achieved.

WO2024199012A1PCT designated stage expired Publication Date: 2024-10-03BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/082483
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-27
Filing Date
2024-03-19
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

As live broadcast equipment is updated, live stream data becomes larger and larger, resulting in a significant increase in bandwidth costs and server costs. It is difficult for existing technologies to save costs without losing picture quality.

Method used

By detecting the current performance parameters of the live broadcast equipment, the target image quality enhancement information is determined and the live stream data is enhanced. Then the push bit rate is adjusted based on the enhanced image quality information, and the enhanced live stream is pushed to the server. data.

Benefits of technology

Reduce bandwidth and server costs without losing picture quality, achieving cost savings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024082483_03102024_PF_FP_ABST
    Figure CN2024082483_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure provides a live streaming data processing method and device, and a storage medium. The method comprises: in the process of recording live streaming data by a live streaming device, detecting a current performance parameter of the live streaming device (S201); determining target image quality enhancement information of the live streaming data according to the current performance parameter, and performing image quality enhancement on the live streaming data according to the target image quality enhancement information (S202); and determining a target stream pushing bitrate according to the target image quality enhancement information, and according to the target stream pushing bitrate, pushing to a server the live streaming data subjected to the image quality enhancement (S203).
Need to check novelty before this filing date? Find Prior Art

Description

Live streaming data processing method, device and storage medium

[0001] This application is based on the Chinese application with application number 202310317744.5 and application date March 27, 2023, and claims its priority. The disclosed content of the Chinese application is hereby introduced as a whole into this application. Technical Field

[0002] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a live streaming data processing method, device, and storage medium. Background Art

[0003] The data source of the entire live broadcast process is at the streaming end. The data pushed by the streaming end to the streaming server has a great impact on the user experience of the viewing end. With the continuous updating and upgrading of live broadcast equipment, the live stream data is getting larger and larger. The transmission of live stream data has caused a significant increase in bandwidth costs and server costs.

[0004] Summary of the Invention

[0005] The embodiments of the present disclosure provide a live streaming data processing method, device, and storage medium to save bandwidth costs and server costs without sacrificing picture quality.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for processing live streaming data, including:

[0007] During the process of recording live streaming data by the live streaming device, detecting current performance parameters of the live streaming device;

[0008] Determining target image quality enhancement information of the live streaming data according to the current performance parameter, and performing image quality enhancement on the live streaming data according to the target image quality enhancement information;

[0009] The target streaming bitrate is determined according to the target image quality enhancement information, and the live streaming data with enhanced image quality is pushed to the server according to the target streaming bitrate.

[0010] In a second aspect, an embodiment of the present disclosure provides a live streaming data processing device, comprising:

[0011] A detection unit, configured to detect current performance parameters of the live broadcast device during the process of the live broadcast device recording live stream data;

[0012] a picture quality enhancement unit, configured to determine target picture quality enhancement information of the live streaming data according to the current performance parameter, and perform picture quality enhancement on the live streaming data according to the target picture quality enhancement information;

[0013] A bit rate determination unit, configured to determine a target streaming bit rate according to the target image quality enhancement information;

[0014] The communication unit is used to push the live streaming data with enhanced image quality to the server according to the target streaming bit rate.

[0015] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: at least one processor and a memory;

[0016] The memory stores computer-executable instructions;

[0017] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the live stream data processing method described in the first aspect and various possible designs of the first aspect.

[0018] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the live stream data processing method described in the first aspect and various possible designs of the first aspect is implemented.

[0019] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, comprising computer-executable instructions. When a processor executes the computer-executable instructions, the live stream data processing method as described in the first aspect and various possible designs of the first aspect is implemented.

[0020] The live streaming data processing method, device, and storage medium provided by the embodiments of the present disclosure detect the current performance parameters of the live streaming device during the process of the live streaming device recording the live streaming data; determine the target image quality enhancement information of the live streaming data based on the current performance parameters, and enhance the image quality of the live streaming data based on the target image quality enhancement information; determine the target streaming bitrate based on the target image quality enhancement information, and push the live streaming data with enhanced image quality to the server based on the target streaming bitrate. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or related technologies, the following is a brief introduction to the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0022] FIG1 is a diagram illustrating an example of an application scenario of a live streaming data processing method provided by an embodiment of the present disclosure;

[0023] FIG2 is a flow chart of a method for processing live streaming data according to an embodiment of the present disclosure;

[0024] FIG3 is a flow chart of a method for processing live streaming data according to another embodiment of the present disclosure;

[0025] FIG4 is a flow chart of a method for processing live streaming data according to another embodiment of the present disclosure;

[0026] FIG5 is a structural block diagram of a live streaming data processing device provided by an embodiment of the present disclosure;

[0027] FIG6 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0029] In related technologies, the link for live streaming data transmission is roughly divided into three parts: the push end (anchor end), the stream server end, and the pull end (viewer end). The push end obtains video and audio data through live streaming devices such as cameras and microphones, compresses and packages the live streaming data, and pushes it to the stream server end (server). The stream server end is responsible for transcoding and distribution. The pull end pulls the live streaming data from the stream server end, decompresses it, and restores the video and audio data for playback.

[0030] The data source of the entire live broadcast process is at the streaming end. The quality of the data pushed by the streaming end to the streaming server has a great impact on the user experience of the viewing end. With the continuous updating and upgrading of live broadcast equipment, the live stream data is getting larger and larger. The transmission of live stream data has caused a significant increase in bandwidth and server costs.

[0031] In order to solve the above technical problems, the present disclosure takes into account that reducing the streaming bit rate can reduce bandwidth costs and server costs. The streaming bit rate indicates the number of bits of audio and video data transmitted per second by the streaming end. The streaming bit rate is proportional to the video picture quality. Reducing the streaming bit rate will lead to a decline in picture quality. In order not to lose picture quality, the live streaming data can be enhanced in picture quality first, and then the streaming bit rate can be reduced after the picture quality is enhanced. This can offset the decline in picture quality caused by reducing the streaming bit rate. However, picture quality enhancement will occupy the performance of the live broadcast device. Therefore, the live streaming data can be enhanced to an appropriate degree according to the current performance of the live broadcast device, and then the live streaming data can be pushed to the server at a reduced streaming bit rate, thereby ensuring that bandwidth costs and server costs are saved without losing picture quality.

[0032] Specifically, the live streaming data processing method disclosed herein detects the current performance parameters of the live streaming device during the process of the live streaming device recording the live streaming data; determines the target image quality enhancement information of the live streaming data based on the current performance parameters, and enhances the image quality of the live streaming data based on the target image quality enhancement information; determines the target streaming bitrate based on the target image quality enhancement information, and pushes the live streaming data with enhanced image quality to the server based on the target streaming bitrate.

[0033] The live streaming data processing method provided by the present disclosure is applicable to the live streaming system shown in FIG1 , which includes a live streaming device 101 (streaming pusher) on the host side, a server side 102, and a viewer terminal device 103 (streaming puller). The live streaming device 101 records live streaming data. During the recording process, the live streaming device 101 executes the live streaming data processing method described above and ultimately pushes the live streaming data to the server side 102. The server side 102 is responsible for transcoding and distributing the data to the viewer terminal device 103. The live streaming device 101 includes but is not limited to electronic devices such as mobile phones and tablet computers that can record live streaming data and push the data.

[0034] It should be noted that the user information and data involved in this disclosure are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0035] The live streaming data processing method disclosed herein will be described in detail below with reference to specific embodiments.

[0036] Refer to Figure 2, which is a flow chart of a method for processing live streaming data provided by an embodiment of the present disclosure. The method of this embodiment can be applied in a live streaming device, and the live streaming data processing method includes:

[0037] S201. During the process of a live broadcast device recording live streaming data, detecting current performance parameters of the live broadcast device.

[0038] Optionally, the live broadcast device may start a detection sub-thread to detect the performance parameters.

[0039] S202: Determine target image quality enhancement information of the live streaming data according to the current performance parameter, and perform image quality enhancement on the live streaming data according to the target image quality enhancement information.

[0040] In this embodiment, the live streaming data can be enhanced by running a quality enhancement algorithm in the live streaming device. However, the quality enhancement algorithm consumes the performance of the live streaming device. The better the quality enhancement effect of the live streaming data, the more performance of the live streaming device is consumed.

[0041] Optionally, the picture quality enhancement effect can be divided into levels. Different picture quality enhancement levels run picture quality enhancement algorithms that can achieve the picture quality enhancement effect corresponding to that level. Correspondingly, the performance of the live broadcast equipment consumed is also different. For example, the picture quality enhancement level is divided into three picture quality enhancement levels: the first picture quality enhancement level, the second picture quality enhancement level, and the third picture quality enhancement level. The first picture quality enhancement level is higher than the second picture quality enhancement level, and the second picture quality enhancement level is higher than the third picture quality enhancement level. The higher picture quality enhancement level among the three picture quality enhancement levels (such as the first picture quality enhancement level) requires more equipment performance, but can also output better quality images. Higher-level picture quality enhancement algorithms are suitable for application in live broadcast equipment with higher performance and in live broadcast rooms that meet certain conditions; while the lower-level picture quality enhancement levels among the three picture quality enhancement levels (such as the third picture quality enhancement level) consume low equipment performance. Although the output image quality is not as good as the higher-level picture quality enhancement levels, it is suitable for more live broadcast equipment.

[0042] In order to ensure the stability of the performance of the live broadcast device, the target image quality enhancement information of the live broadcast stream data can be determined based on the current performance parameters of the live broadcast device, where the target image quality enhancement information is the target image quality enhancement level. Specifically, if the performance reflected by the current performance parameters of the live broadcast device is better, it means that the live broadcast device currently allows the operation of a higher level of image quality enhancement algorithm, and therefore the target image quality enhancement level is higher.

[0043] After determining the target image quality enhancement level, image quality enhancement can be performed according to the target image quality enhancement level, so that the image quality of the live streaming data reaches the effect corresponding to the target image quality enhancement level. Specifically, the image quality enhancement algorithm corresponding to the target image quality enhancement level can be used to enhance the image quality of the live streaming data; wherein, the higher the target image quality enhancement level, the higher the image quality enhancement quality of the corresponding image quality enhancement algorithm. Optionally, the image quality enhancement algorithms corresponding to different image quality enhancement levels can differ in data processing granularity to achieve different image quality enhancement qualities. For example, the image quality enhancement algorithm corresponding to the low image quality enhancement level performs image quality enhancement at a granularity of 4×4 pixels, the image quality enhancement algorithm corresponding to the medium image quality enhancement level performs image quality enhancement at a granularity of 2×2 pixels, and the image quality enhancement algorithm corresponding to the high image quality enhancement level performs image quality enhancement at a granularity of a single pixel. The image quality enhancement algorithm can be any algorithm that can achieve image quality enhancement, such as a neural network model.

[0044] S203: Determine a target streaming bitrate according to the target image quality enhancement information, and push the live streaming data with enhanced image quality to the server according to the target streaming bitrate.

[0045] In this embodiment, in order to save bandwidth costs and reduce server costs, the push stream bit rate of the live stream data can be reduced. The push stream bit rate represents the number of bits of live stream data (audio and video data) transmitted per second by the push stream end. The lower the push stream bit rate, the lower the bandwidth cost and server cost. However, the push stream bit rate is proportional to the picture quality. The lower the push stream bit rate, the lower the picture quality. Since the live stream data has undergone picture quality enhancement, reducing the push stream bit rate on the basis of picture quality enhancement can ensure that the bandwidth cost and server cost are reduced without losing picture quality.

[0046] When live stream data undergoes different levels of image quality enhancement, the push bitrate needs to be adjusted based on the level of image quality enhancement to ensure that the image quality is not compromised. This means that the target push bitrate is determined based on the target image quality enhancement level, and the live stream data is pushed to the server based on the target push bitrate. Optionally, the higher the image quality enhancement level, the greater the reduction in the push bitrate, thereby reducing bandwidth and server costs while maintaining image quality.

[0047] The live streaming data processing method of this embodiment detects the current performance parameters of the live streaming device during the recording of live streaming data by the live streaming device; determines the target image quality enhancement level of the live streaming data based on the current performance parameters, and performs image quality enhancement on the live streaming data based on the target image quality enhancement level; determines the target streaming bitrate based on the target image quality enhancement level, and pushes the live streaming data with enhanced image quality to the server based on the target streaming bitrate. This embodiment first performs an appropriate degree of image quality enhancement on the live streaming data based on the current performance of the live streaming device, and then reduces the streaming bitrate of the live streaming data and pushes it to the server, thereby ensuring that bandwidth costs and server costs are saved without sacrificing image quality.

[0048] Based on any of the above embodiments, determining the target image quality enhancement information of the live streaming data according to the current performance parameters may specifically include:

[0049] According to the mapping relationship between the preset performance parameters and the image quality enhancement level, the target image quality enhancement level corresponding to the current performance parameters is determined; wherein, in the mapping relationship between the performance parameters and the image quality enhancement level, the better the performance reflected by the performance parameters, the higher the corresponding image quality enhancement level.

[0050] In this embodiment, the mapping relationship between performance parameters and image quality enhancement levels can be pre-configured. For example, the image quality enhancement level is divided into three image quality enhancement levels: the first image quality enhancement level, the second image quality enhancement level, and the third image quality enhancement level. The performance parameter range corresponding to each image quality enhancement level can be configured, where the higher the image quality enhancement level, the better the required performance. In other words, the better the performance reflected by the performance parameter, the higher the corresponding image quality enhancement level.

[0051] When determining the target image quality enhancement level, the current performance parameters can be matched with the performance parameter range corresponding to each image quality enhancement level based on the mapping relationship between the preset performance parameters and the image quality enhancement level, thereby determining the target image quality enhancement level corresponding to the current performance parameters.

[0052] Accordingly, the mapping relationship between the performance parameters and the image quality enhancement levels described in the above embodiments includes a preset range of each performance parameter corresponding to each image quality enhancement level.

[0053] For example, the image quality enhancement level is divided into three image quality enhancement levels: the first image quality enhancement level, the second image quality enhancement level, and the third image quality enhancement level. The current performance parameters include four performance parameters: performance parameter 1, performance parameter 2, performance parameter 3, and performance parameter 4. The preset range of each performance parameter corresponding to each image quality enhancement level is as follows:

[0054] The performance parameters 1 corresponding to the first, second and third image quality enhancement levels are: less than or equal to a%, greater than a% and less than or equal to b%, greater than b% and less than or equal to c%, respectively. If the value exceeds c%, the image quality enhancement function is turned off. The critical values ​​a, b and c of performance parameter 1 are all in the range of 0 to 100, and a <b<c;

[0055] The performance parameters 2 corresponding to the first, second and third image quality enhancement levels are: less than or equal to d%, greater than d% and less than or equal to e%, greater than e% and less than or equal to f%, respectively. If the value exceeds f%, the image quality enhancement function will be turned off. The critical values ​​d, e and f of performance parameter 2 are all in the range of 0 to 100, and d <e<f;

[0056] The performance parameter 3 corresponding to the first, second and third image quality enhancement levels is less than or equal to g, greater than g and less than or equal to h, greater than h and less than or equal to i. If i is exceeded, the image quality enhancement function will be turned off. The critical values ​​of performance parameter 2, g, h and i are all in the range of 0 to 1000, and g <h<i;

[0057] Performance parameter 4 can also be divided into four levels: Level 1, Level 2, Level 3, and Level 4. Level 1 corresponds to better performance than Level 2, Level 2 corresponds to better performance than Level 3, and Level 3 corresponds to better performance than Level 4. The first image quality enhancement level corresponds to Performance parameter 4 at Level 1, the second image quality enhancement level corresponds to Performance parameter 4 at Level 2, the third image quality enhancement level corresponds to Performance parameter 4 at Level 3, and Performance parameter 4 at Level 4 disables the image quality enhancement function.

[0058] Based on the above embodiment, determining the target image quality enhancement level corresponding to the current performance parameter according to the preset mapping relationship between the performance parameter and the image quality enhancement level may specifically include:

[0059] If at least one of the current performance parameters is within the preset range of the performance parameters corresponding to a certain image quality enhancement level, and all of the performance parameters in the current performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the image quality enhancement level, then the image quality enhancement level is determined to be the target image quality enhancement level corresponding to the current performance parameters.

[0060] In this embodiment, when comparing each performance parameter in the current performance parameters with the preset ranges of various performance parameters corresponding to each image quality enhancement level, a method similar to the barrel effect is adopted. As long as any performance parameter falls within the preset range of the performance parameter of the lower image quality enhancement level and does not exceed the upper limit of the preset range, the target image quality enhancement level is determined to be the lower image quality enhancement level.

[0061] For example, in the above embodiment, if performance parameter 1 ≤ a%, performance parameter 2 ≤ d%, performance parameter 3 ≤ g, and performance parameter 4 is at the first level, then all performance parameters in the current performance parameters are within the preset ranges of various performance parameters corresponding to the first image quality enhancement level, and the target image quality enhancement level is determined to be the first image quality enhancement level;

[0062] If at least one of performance parameter 1, performance parameter 2, performance parameter 3, and performance parameter 4 does not satisfy the preset ranges of various performance parameters corresponding to the first image quality enhancement level, but the unsatisfied performance parameter satisfies the preset ranges of each performance parameter corresponding to the second image quality enhancement level: a% < performance parameter 1 ≤ b%, d% < performance parameter 2 ≤ e%, g < performance parameter 3 ≤ h, performance parameter 4 is at the second level, that is, at this time, at least one performance parameter among the current performance parameters is within the preset range of the performance parameter corresponding to the second image quality enhancement level, and all performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the second image quality enhancement level, then the target image quality enhancement level is determined to be the second image quality enhancement level;

[0063] If at least one of performance parameter 1, performance parameter 2, performance parameter 3, and performance parameter 4 exceeds the upper limit of the preset range of each performance parameter corresponding to the second image quality enhancement level, but the performance parameter satisfies the preset range of each performance parameter corresponding to the third image quality enhancement level: b% < performance parameter 1 ≤ c%, e% < performance parameter 2 ≤ f%, h < performance parameter 3 ≤ i, performance parameter 4 is at the third level, that is, at this time, at least one performance parameter among the current performance parameters is within the preset range of the performance parameter corresponding to the third image quality enhancement level, and all performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the third image quality enhancement level, then the target image quality enhancement level is determined to be the third image quality enhancement level;

[0064] If at least one of performance parameter 1, performance parameter 2, performance parameter 3, and performance parameter 4 exceeds the upper limit of the preset range of each performance parameter corresponding to the third image quality enhancement level, that is, at least one performance parameter satisfies performance parameter 1>c%, performance parameter 2>f%, and performance parameter 3>i, and performance parameter 4 is at the fourth level, then image quality enhancement is turned off, that is, the image quality enhancement level is the lowest.

[0065] Based on any of the above embodiments, considering that the current live broadcast mode is certain special live broadcast modes, such as multi-person live broadcast mode (such as PK (Player Kill) mode), which consumes more device performance, in order to ensure the normal operation of the current live broadcast mode, it is necessary to disable image quality enhancement to avoid performance issues caused by image quality enhancement. Therefore, before determining the target image quality enhancement level of the live streaming data based on the current performance parameters, it can be shown in Figure 3.

[0066] S301, determining whether the current live broadcast mode is the target live broadcast mode;

[0067] The target live broadcast mode includes but is not limited to a multi-person live broadcast mode.

[0068] S302: If it is determined that the current live broadcast mode is not the target live broadcast mode, the target image quality enhancement information of the live broadcast stream data may be determined according to the current performance parameters.

[0069] S303: If it is determined that the current live broadcast mode is the target live broadcast mode, stop determining the target image quality enhancement information of the live broadcast stream data according to the current performance parameters, and push the live broadcast stream data to the server with the initial image quality and initial push stream bit rate.

[0070] In this embodiment, if the current live broadcast mode is the target live broadcast mode, in order to avoid performance problems caused by image quality enhancement, the target image quality enhancement information of the live broadcast stream data determined according to the current performance parameters is stopped, that is, the image quality is still the initial image quality at this time, and in order to ensure that the image quality is not lost, the push stream bit rate is no longer reduced, that is, the live broadcast stream data is pushed to the server with the initial image quality and initial push stream bit rate, thereby ensuring the smooth operation of the target live broadcast mode.

[0071] Based on any of the above embodiments, as shown in FIG4 , determining the target streaming bitrate according to the target image quality enhancement information in S203 may specifically include:

[0072] S401, determining a reduction range of the streaming bitrate according to the target image quality enhancement level;

[0073] S402: Determine the target streaming bitrate according to the initial streaming bitrate of the live streaming data and the extent of reduction in the streaming bitrate.

[0074] In this embodiment, because the live streaming data has undergone image quality enhancement, the streaming bitrate can be reduced, ensuring that bandwidth and server costs are reduced without sacrificing image quality. The higher the image quality enhancement level, the greater the reduction in the streaming bitrate. Therefore, the bitrate reduction can be determined based on the target image quality enhancement level. The target bitrate can then be determined by reducing the initial streaming bitrate of the live streaming data by the determined bitrate reduction. For example, if the initial streaming bitrate is m Mbps, the target bitrate is n*m Mbps, where 0 < n < 1.

[0075] Specifically, a mapping relationship between a preset image quality enhancement level and a reduction in the push stream bit rate can be pre-configured. In the mapping relationship between the image quality enhancement level and the reduction in the push stream bit rate, the higher the image quality enhancement level, the greater the corresponding reduction in the push stream bit rate. For example, the reduction in the push stream bit rate is expressed in the form of a coefficient, and the high, medium, and low image quality enhancement levels correspond to coefficients x, y, and z, respectively, where x, y, and z are floating-point numbers in the range of 0 to 1, and x<y<z, that is, the push stream bit rates corresponding to the high, medium, and low image quality enhancement levels are x times, y times, and z times the initial push stream bit rate, respectively, and the reduction in the push stream bit rate decreases from large to small.

[0076] Therefore, when determining the target streaming bitrate, the streaming bitrate reduction amplitude corresponding to the target image quality enhancement level can be determined based on the mapping relationship between the preset image quality enhancement level and the streaming bitrate reduction amplitude; and then, based on the initial streaming bitrate, the streaming bitrate can be reduced by the determined streaming bitrate reduction amplitude to determine the target streaming bitrate.

[0077] On the basis of the above embodiment, when pre-configuring the mapping relationship between the preset image quality enhancement level and the push stream bit rate reduction amplitude, for any preset image quality enhancement level, multiple image qualities corresponding to the preset image quality enhancement level at different push stream bit rate reduction amplitudes can be obtained, that is, different image qualities after the image quality enhancement of the preset image quality enhancement level and the push stream bit rate reduction amplitudes are reduced by different reduction amplitudes. The multiple image qualities are compared with the original image quality (without image quality enhancement and without push stream bit rate reduction). If the image quality at a certain push stream bit rate reduction amplitude is equivalent to the original image quality, then the push stream bit rate reduction amplitude is determined to be the optimal push stream bit rate reduction amplitude for the preset image quality enhancement level. By performing the above process for different preset image quality enhancement levels, the push stream bit rate reduction amplitude corresponding to each preset image quality enhancement level can be obtained, thereby constructing a mapping relationship between the image quality enhancement level and the push stream bit rate reduction amplitude. Based on the mapping relationship between the image quality enhancement level and the push stream bit rate reduction amplitude, the maximum saving of bandwidth cost and service cost can be achieved.

[0078] Of course, if the image quality is better than the original image quality when the push bitrate is reduced, that is, the degree of image quality enhancement caused by the preset image quality enhancement level is greater than the degradation of image quality caused by the reduction of the push bitrate, then it can ensure that bandwidth costs and server costs are saved while also improving image quality. By adjusting the reduction of the push bitrate, a balance can be achieved between saving bandwidth costs and server costs and improving image quality, thereby improving image quality.

[0079] Corresponding to the live stream data processing method described in the preceding embodiment, Figure 5 is a block diagram of a live stream data processing device provided in an embodiment of the present disclosure. For ease of illustration, only the portions relevant to the present embodiment are shown. Referring to Figure 5 , the live stream data processing device 500 includes a detection unit 501, an image quality enhancement unit 502, a bitrate determination unit 503, and a communication unit 504.

[0080] The detection unit 501 is used to detect the current performance parameters of the live broadcast device during the process of the live broadcast device recording the live streaming data;

[0081] The image quality enhancement unit 502 is configured to determine a target image quality enhancement level of the live streaming data according to the current performance parameter, and perform image quality enhancement on the live streaming data according to the target image quality enhancement level;

[0082] A bitrate determination unit 503 is configured to determine a target streaming bitrate according to the target image quality enhancement level;

[0083] The communication unit 504 is configured to push the live streaming data with enhanced image quality to the server according to the target streaming bit rate.

[0084] In one or more embodiments of the present disclosure, the target image quality enhancement information is a target image quality enhancement level.

[0085] In one or more embodiments of the present disclosure, when determining the target streaming bitrate according to the target image quality enhancement information, the bitrate determination unit 503 is configured to:

[0086] Determining a reduction in the streaming bitrate based on the target image quality enhancement level;

[0087] The target streaming bitrate is determined according to the initial streaming bitrate of the live streaming data and the reduction range of the streaming bitrate.

[0088] In one or more embodiments of the present disclosure, when determining the reduction range of the streaming bitrate according to the target image quality enhancement level, the bitrate determination unit 503 is configured to:

[0089] Determining the stream bitrate reduction amplitude corresponding to the target image quality enhancement level according to a preset mapping relationship between the image quality enhancement level and the stream bitrate reduction amplitude;

[0090] Among them, in the mapping relationship between the image quality enhancement level and the reduction range of the streaming bit rate, the higher the image quality enhancement level, the greater the corresponding reduction range of the streaming bit rate.

[0091] In one or more embodiments of the present disclosure, the code rate determining unit 503 is further configured to:

[0092] Get the multiple image qualities corresponding to the preset image quality enhancement level at different streaming bitrate reduction levels;

[0093] The multiple image qualities are compared with the original image quality, and the reduction amplitude of the streaming bitrate corresponding to the image quality equivalent to the original image quality is determined as the reduction amplitude of the streaming bitrate corresponding to the preset image quality enhancement level, and a mapping relationship between the image quality enhancement level and the reduction amplitude of the streaming bitrate is established.

[0094] In one or more embodiments of the present disclosure, when determining the target image quality enhancement level of the live streaming data according to the current performance parameter, the image quality enhancement unit 502 is configured to:

[0095] According to a preset mapping relationship between performance parameters and image quality enhancement levels, a target image quality enhancement level corresponding to the current performance parameter is determined.

[0096] In one or more embodiments of the present disclosure, the current performance parameters include at least two performance parameters;

[0097] The mapping relationship between the performance parameters and the image quality enhancement levels includes a preset range of each performance parameter corresponding to each image quality enhancement level.

[0098] In one or more embodiments of the present disclosure, when determining the target image quality enhancement level corresponding to the current performance parameter based on a preset mapping relationship between the performance parameter and the image quality enhancement level, the image quality enhancement unit 502 is configured to:

[0099] If at least one of the current performance parameters is within the preset range of the performance parameters corresponding to a certain image quality enhancement level, and all of the performance parameters in the current performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the image quality enhancement level, then the image quality enhancement level is determined to be the target image quality enhancement level corresponding to the current performance parameters.

[0100] In one or more embodiments of the present disclosure, before determining target image quality enhancement information of the live streaming data according to the current performance parameters, the image quality enhancement unit 502 is further configured to:

[0101] Determine whether the current live broadcast mode is the target live broadcast mode;

[0102] The determining target image quality enhancement information of the live streaming data according to the current performance parameter includes:

[0103] If it is determined that the current live broadcast mode is not the target live broadcast mode, the target image quality enhancement information of the live broadcast stream data is determined according to the current performance parameters.

[0104] In one or more embodiments of the present disclosure, the image quality enhancement unit 502 is further configured to:

[0105] If it is determined that the current live broadcast mode is the target live broadcast mode, the target image quality enhancement information of the live streaming data determined according to the current performance parameters is stopped, and the live streaming data is pushed to the server with the initial image quality and initial streaming bit rate.

[0106] In one or more embodiments of the present disclosure, the target live broadcast mode includes a multi-person live broadcast mode.

[0107] The device provided in this embodiment can be used to execute the technical solution of the above method embodiment. Its implementation principle and technical effects are similar and will not be described in detail in this embodiment.

[0108] Referring to FIG6 , a schematic diagram of the structure of an electronic device 600 suitable for implementing an embodiment of the present disclosure is shown. The electronic device 600 may be a terminal device or a server. The terminal device may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices, PADs), portable multimedia players (PMPs), vehicle-mounted terminals (e.g., vehicle-mounted navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG6 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.

[0109] As shown in Figure 6, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0110] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows an electronic device 600 having various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0111] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network via the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0112] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0113] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0114] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

[0115] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0116] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0117] The units involved in the embodiments described in this disclosure may be implemented in software or hardware. In some cases, the name of a unit does not limit the unit itself. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses."

[0118] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

[0119] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0120] In a first aspect, according to one or more embodiments of the present disclosure, a method for processing live streaming data is provided, comprising:

[0121] During the process of recording live streaming data by the live streaming device, detecting current performance parameters of the live streaming device;

[0122] Determining target image quality enhancement information of the live streaming data according to the current performance parameter, and performing image quality enhancement on the live streaming data according to the target image quality enhancement information;

[0123] The target streaming bitrate is determined according to the target image quality enhancement information, and the live streaming data with enhanced image quality is pushed to the server according to the target streaming bitrate.

[0124] According to one or more embodiments of the present disclosure, the target image quality enhancement information is a target image quality enhancement level.

[0125] According to one or more embodiments of the present disclosure, determining a target streaming bitrate based on the target image quality enhancement information includes:

[0126] Determining a reduction in the streaming bitrate based on the target image quality enhancement level;

[0127] The target streaming bitrate is determined according to the initial streaming bitrate of the live streaming data and the reduction range of the streaming bitrate.

[0128] According to one or more embodiments of the present disclosure, determining the extent of reducing the streaming bitrate according to the target image quality enhancement level includes:

[0129] Determining the stream bitrate reduction amplitude corresponding to the target image quality enhancement level according to a preset mapping relationship between the image quality enhancement level and the stream bitrate reduction amplitude;

[0130] Among them, in the mapping relationship between the image quality enhancement level and the reduction range of the streaming bit rate, the higher the image quality enhancement level, the greater the corresponding reduction range of the streaming bit rate.

[0131] According to one or more embodiments of the present disclosure, the method further includes:

[0132] Get the multiple image qualities corresponding to the preset image quality enhancement level at different streaming bitrate reduction levels;

[0133] The multiple image qualities are compared with the original image quality, and the reduction amplitude of the streaming bitrate corresponding to the image quality equivalent to the original image quality is determined as the reduction amplitude of the streaming bitrate corresponding to the preset image quality enhancement level, and a mapping relationship between the image quality enhancement level and the reduction amplitude of the streaming bitrate is established.

[0134] According to one or more embodiments of the present disclosure, determining a target image quality enhancement level of live streaming data according to the current performance parameter includes:

[0135] According to a preset mapping relationship between performance parameters and image quality enhancement levels, a target image quality enhancement level corresponding to the current performance parameter is determined.

[0136] According to one or more embodiments of the present disclosure, the current performance parameters include at least two performance parameters;

[0137] The mapping relationship between the performance parameters and the image quality enhancement levels includes a preset range of each performance parameter corresponding to each image quality enhancement level.

[0138] According to one or more embodiments of the present disclosure, determining the target image quality enhancement level corresponding to the current performance parameter according to a preset mapping relationship between the performance parameter and the image quality enhancement level includes:

[0139] If at least one of the current performance parameters is within the preset range of the performance parameters corresponding to a certain image quality enhancement level, and all of the performance parameters in the current performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the image quality enhancement level, then the image quality enhancement level is determined to be the target image quality enhancement level corresponding to the current performance parameters.

[0140] According to one or more embodiments of the present disclosure, before determining target image quality enhancement information of live streaming data according to the current performance parameters, the method further includes:

[0141] Determine whether the current live broadcast mode is the target live broadcast mode;

[0142] The determining target image quality enhancement information of the live streaming data according to the current performance parameter includes:

[0143] If it is determined that the current live broadcast mode is not the target live broadcast mode, the target image quality enhancement information of the live broadcast stream data is determined according to the current performance parameters.

[0144] According to one or more embodiments of the present disclosure, the method further includes:

[0145] If it is determined that the current live broadcast mode is the target live broadcast mode, the target image quality enhancement information of the live streaming data determined according to the current performance parameters is stopped, and the live streaming data is pushed to the server with the initial image quality and initial streaming bit rate.

[0146] According to one or more embodiments of the present disclosure, the target live broadcast mode includes a multi-person live broadcast mode.

[0147] In a second aspect, according to one or more embodiments of the present disclosure, a live streaming data processing device is provided, comprising:

[0148] A detection unit, configured to detect current performance parameters of the live broadcast device during the process of the live broadcast device recording live stream data;

[0149] a picture quality enhancement unit, configured to determine target picture quality enhancement information of the live streaming data according to the current performance parameter, and perform picture quality enhancement on the live streaming data according to the target picture quality enhancement information;

[0150] A bit rate determination unit, configured to determine a target streaming bit rate according to the target image quality enhancement information;

[0151] The communication unit is used to push the live streaming data with enhanced image quality to the server according to the target streaming bit rate.

[0152] According to one or more embodiments of the present disclosure, the target image quality enhancement information is a target image quality enhancement level.

[0153] According to one or more embodiments of the present disclosure, when determining the target streaming bitrate according to the target image quality enhancement information, the bitrate determination unit is configured to:

[0154] Determining a reduction in the streaming bitrate based on the target image quality enhancement level;

[0155] The target streaming bitrate is determined according to the initial streaming bitrate of the live streaming data and the reduction range of the streaming bitrate.

[0156] According to one or more embodiments of the present disclosure, when determining the extent of reducing the streaming bitrate according to the target image quality enhancement level, the bitrate determination unit is configured to:

[0157] Determining the stream bitrate reduction amplitude corresponding to the target image quality enhancement level according to a preset mapping relationship between the image quality enhancement level and the stream bitrate reduction amplitude;

[0158] Among them, in the mapping relationship between the image quality enhancement level and the reduction range of the streaming bit rate, the higher the image quality enhancement level, the greater the corresponding reduction range of the streaming bit rate.

[0159] According to one or more embodiments of the present disclosure, the code rate determination unit is further configured to:

[0160] Get the multiple image qualities corresponding to the preset image quality enhancement level at different streaming bitrate reduction levels;

[0161] The multiple image qualities are compared with the original image quality, and the reduction amplitude of the streaming bitrate corresponding to the image quality equivalent to the original image quality is determined as the reduction amplitude of the streaming bitrate corresponding to the preset image quality enhancement level, and a mapping relationship between the image quality enhancement level and the reduction amplitude of the streaming bitrate is established.

[0162] According to one or more embodiments of the present disclosure, when determining the target image quality enhancement level of the live streaming data according to the current performance parameter, the image quality enhancement unit is configured to:

[0163] According to a preset mapping relationship between performance parameters and image quality enhancement levels, a target image quality enhancement level corresponding to the current performance parameter is determined.

[0164] According to one or more embodiments of the present disclosure, the current performance parameters include at least two performance parameters;

[0165] The mapping relationship between the performance parameters and the image quality enhancement levels includes a preset range of each performance parameter corresponding to each image quality enhancement level.

[0166] According to one or more embodiments of the present disclosure, when determining the target image quality enhancement level corresponding to the current performance parameter based on a preset mapping relationship between the performance parameter and the image quality enhancement level, the image quality enhancement unit is configured to:

[0167] If at least one of the current performance parameters is within the preset range of the performance parameters corresponding to a certain image quality enhancement level, and all of the performance parameters in the current performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the image quality enhancement level, then the image quality enhancement level is determined to be the target image quality enhancement level corresponding to the current performance parameters.

[0168] According to one or more embodiments of the present disclosure, before determining target image quality enhancement information of live streaming data according to the current performance parameter, the image quality enhancement unit is further configured to:

[0169] Determine whether the current live broadcast mode is the target live broadcast mode;

[0170] The determining target image quality enhancement information of the live streaming data according to the current performance parameter includes:

[0171] If it is determined that the current live broadcast mode is not the target live broadcast mode, the target image quality enhancement information of the live broadcast stream data is determined according to the current performance parameters.

[0172] According to one or more embodiments of the present disclosure, the image quality enhancement unit is further configured to:

[0173] If it is determined that the current live broadcast mode is the target live broadcast mode, the target image quality enhancement information of the live streaming data determined according to the current performance parameters is stopped, and the live streaming data is pushed to the server with the initial image quality and initial streaming bit rate.

[0174] According to one or more embodiments of the present disclosure, the target live broadcast mode includes a multi-person live broadcast mode.

[0175] In a third aspect, according to one or more embodiments of the present disclosure, there is provided an electronic device, comprising: at least one processor and a memory;

[0176] The memory stores computer-executable instructions;

[0177] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the live stream data processing method described in the first aspect and various possible designs of the first aspect.

[0178] In a fourth aspect, according to one or more embodiments of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer execution instructions. When the processor executes the computer execution instructions, the live stream data processing method described in the first aspect and various possible designs of the first aspect is implemented.

[0179] In a fifth aspect, according to one or more embodiments of the present disclosure, a computer program product is provided, comprising computer-executable instructions. When a processor executes the computer-executable instructions, the live stream data processing method as described in the first aspect and various possible designs of the first aspect is implemented.

[0180] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.

[0181] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0182] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.

Claims

1. A method for processing live streaming data, include: During the process of recording live streaming data by the live streaming device, detecting current performance parameters of the live streaming device; Determine target picture quality enhancement information of the live streaming data according to the current performance parameter, and enhance the picture quality of the live streaming data according to the target picture quality enhancement information; The target streaming bitrate is determined according to the target image quality enhancement information, and the live streaming data with enhanced image quality is pushed to the server according to the target streaming bitrate.

2. The method according to claim 1, in, The target image quality enhancement information includes a target image quality enhancement level.

3. The method according to claim 2, in, The determining a target streaming bitrate according to the target image quality enhancement information includes: Determining a reduction range of the streaming bitrate according to the target image quality enhancement level; The target streaming bitrate is determined according to the initial streaming bitrate of the live streaming data and the reduction range of the streaming bitrate.

4. The method according to claim 3, in, The determining the reduction range of the streaming bitrate according to the target image quality enhancement level includes: Determining the stream bitrate reduction amplitude corresponding to the target picture quality enhancement level according to a preset mapping relationship between the picture quality enhancement level and the stream bitrate reduction amplitude; Among them, in the mapping relationship between the image quality enhancement level and the reduction range of the streaming bit rate, the higher the image quality enhancement level, the greater the corresponding reduction range of the streaming bit rate.

5. The method according to claim 4, in, The method further comprises: Obtain multiple image qualities corresponding to the preset image quality enhancement level at different streaming bitrate reduction levels; The multiple picture qualities are compared with the original picture quality, and the reduction amplitude of the streaming bitrate corresponding to the picture quality equivalent to the original picture quality is determined as the reduction amplitude of the streaming bitrate corresponding to the preset picture quality enhancement level, and a mapping relationship between the picture quality enhancement level and the reduction amplitude of the streaming bitrate is constructed.

6. The method according to any one of claims 1 to 5, in, The determining a target picture quality enhancement level of the live streaming data according to the current performance parameter includes: According to the mapping relationship between the preset performance parameters and the image quality enhancement level, the current performance is determined. The target image quality enhancement level corresponding to the energy parameter.

7. The method according to claim 6, in, The current performance parameters include at least two performance parameters; The mapping relationship between the performance parameters and the image quality enhancement levels includes a preset range of each performance parameter corresponding to each image quality enhancement level.

8. The method according to claim 7, in, The determining, according to a preset mapping relationship between the performance parameter and the image quality enhancement level, a target image quality enhancement level corresponding to the current performance parameter includes: If at least one of the current performance parameters is within the preset range of the performance parameters corresponding to a certain image quality enhancement level, and all of the current performance parameters do not exceed the upper limit of the preset range of each performance parameter corresponding to the image quality enhancement level, then the image quality enhancement level is determined to be the target image quality enhancement level corresponding to the current performance parameters.

9. The method according to any one of claims 1 to 8, in, Before determining the target picture quality enhancement information of the live streaming data according to the current performance parameter, the method further includes: Determine whether the current live broadcast mode is the target live broadcast mode; The determining target picture quality enhancement information of the live streaming data according to the current performance parameter includes: If it is determined that the current live broadcast mode is not the target live broadcast mode, the target image quality enhancement information of the live broadcast stream data is determined according to the current performance parameters.

10. The method according to claim 9, in, Also includes: If it is determined that the current live broadcast mode is the target live broadcast mode, the target image quality enhancement information of the live streaming data is determined according to the current performance parameters, and the live streaming data is pushed to the server with the initial image quality and the initial streaming bit rate.

11. The method according to claim 9 or 10, in, The target live broadcast mode includes a multi-person live broadcast mode.

12. A live streaming data processing device, include: A detection unit, used to detect current performance parameters of the live broadcast device during the process of the live broadcast device recording live streaming data; A picture quality enhancement unit, configured to determine target picture quality enhancement information of the live streaming data according to the current performance parameter, and perform picture quality enhancement on the live streaming data according to the target picture quality enhancement information; A bit rate determination unit, configured to determine a target streaming bit rate according to the target image quality enhancement information; The communication unit is used to push the live streaming data with enhanced image quality to the server according to the target streaming bit rate.

13. An electronic device, include: at least one processor and memory; The memory stores computer-executable instructions; The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor performs the method according to any one of claims 1 to 11.

14. A computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 11 is implemented.

15. A computer program product, comprising computer executable instructions, and when a processor executes the computer executable instructions, the method according to any one of claims 1 to 11 is implemented.

16. A computer program, when a processor executes the computer program, implements the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Video encoder and bit rate control method thereof

    CN105516721A

  • Streaming media parameter determination method and device

    CN112738571A

  • Video processing method, device and system and storage medium

    CN113852860A

  • Live broadcast stream pushing method and device

    CN114173160A

  • Image quality enhancement method and device, terminal and readable storage medium

    CN114390307A