Resolution determination method and apparatus for cold start of stream ingestion system, and electronic device

The resolution determination method for live streaming systems addresses the challenge of selecting appropriate starting resolutions by considering device and network parameters, ensuring stable and high-quality streaming by avoiding excessive resolution selection.

US20260379881A1Pending Publication Date: 2026-11-26BEIJING ZITIAO NETWORK TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/577779
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-23
Filing Date
2026-03-25
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Existing live streaming ingestion systems face challenges in selecting an appropriate starting resolution during the cold start stage, leading to issues such as device overheating, rapid battery depletion, and live streaming freezes due to excessive resolution selection, or insufficient image quality clarity from low resolution selection.

Method used

A resolution determination method that considers both terminal device performance parameters and current network state parameters to dynamically select a starting resolution upper limit and network adaptive resolution, avoiding excessive resolution selection that could cause device instability or image quality issues.

Benefits of technology

The method ensures stable live streaming by selecting a resolution that balances device performance and network conditions, preventing overheating, battery depletion, and freezing while maintaining image clarity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260379881A1-D00000_ABST
    Figure US20260379881A1-D00000_ABST
Patent Text Reader

Abstract

The present disclosure provides a resolution determination method and apparatus for cold start of a stream ingestion system, and an electronic device, which relates to the field of streaming media technologies. The method includes: in response to a stream ingestion system entering a cold start stage, acquiring a target influence parameter that influences a cold start resolution of the stream ingestion system, the target influence parameter including a terminal device performance parameter and a current network state parameter; determining a target resolution adapted to the target influence parameter, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; and determining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.
Need to check novelty before this filing date? Find Prior Art

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application is based on and claims priority to Chinese Patent Application No. 202510678190.0, filed on May 23, 2025, the disclosures of which is incorporated herein by reference in its entirety.TECHNICAL FIELD

[0002] The present disclosure relates to the field of streaming media technologies, and in particular, to a resolution determination method, apparatus for cold start of a stream ingestion system, an electronic device, and a storage medium, and a program product.BACKGROUND

[0003] With the popularization of network live streaming applications, it is crucial to provide high-quality live streaming content supply for the rapid development of streaming media distribution services. A live streaming ingestion system allows a streaming host user to configure an appropriate resolution before the live streaming starts, for example, any one of 480P, 540P, 720P, 720P&60 FPS, 1080P, and 1080P&60 FPS may be configured, and each resolution corresponds to a different bit rate adjustment interval.

[0004] In the related art, a related live streaming ingestion system generally selects a corresponding starting resolution based on a current network speed measurement result and an upper limit threshold of a bit rate adjustment interval during cold start.SUMMARY

[0005] In a first aspect, the present disclosure provides a resolution determination method for cold start of a stream ingestion system, including: in response to the stream ingestion system entering a cold start stage, acquiring a target influence parameter that influences a cold start resolution of the stream ingestion system, the target influence parameter including: a terminal device performance parameter and a current network state parameter; determining a target resolution adapted to the target influence parameter, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; and determining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

[0006] In a second aspect, the present disclosure provides a resolution determination apparatus for cold start of a stream ingestion system, including: a first acquiring module, configured to, in response to the stream ingestion system entering a cold start stage, acquire a target influence parameter that influences a cold start resolution of the stream ingestion system, the target influence parameter including: a terminal device performance parameter and a current network state parameter; a first determination module, configured to determine a target resolution adapted to the target influence parameter, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; and a second determination module, configured to determine the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

[0007] In a third aspect, the present disclosure provides an electronic device, including: a memory and a processor, where the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to implement a resolution determination method for cold start of a stream ingestion system according to the first aspect or any corresponding implementation thereof.

[0008] In a fourth aspect, the present disclosure provides a non-transitory computer-readable storage medium having computer instructions stored thereon, where the computer instructions are configured to cause a computer to perform a resolution determination method for cold start of a stream ingestion system according to the first aspect or any corresponding implementation thereof.

[0009] In a fifth aspect, the present disclosure provides a computer program product including computer instructions, where the computer instructions are configured to cause a computer to perform the resolution determination method for cold start of a stream ingestion system according to the first aspect or any corresponding implementation thereof.BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly explain the technical solutions in the specific embodiments of the present disclosure or in the related art, the following will briefly introduce the drawings that need to be used in the description of the specific embodiments or the related art. Obviously, the drawings in the following description are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings may be obtained based on these drawings without creative efforts.

[0011] FIG. 1 is a schematic diagram of an application scenario of a resolution determination method for cold start of a stream ingestion system according to embodiments of the present disclosure;

[0012] FIG. 2 is a schematic flowchart of a resolution determination method for cold start of a stream ingestion system according to embodiments of the present disclosure;

[0013] FIG. 3A is a schematic diagram corresponding to a resolution determination method for cold start of a stream ingestion system according to embodiments of the present disclosure;

[0014] FIG. 3B is a schematic diagram corresponding to a resolution determination method for cold start of a stream ingestion system according to embodiments of the present disclosure;

[0015] FIG. 4 is a schematic flowchart of a resolution determination method for cold start of a stream ingestion system according to embodiments of the present disclosure;

[0016] FIG. 5 is a structural block diagram of a resolution determination apparatus for cold start of a stream ingestion system according to embodiments of the present disclosure; and

[0017] FIG. 6 is a schematic diagram of a hardware structure of an electronic device according to embodiments of the present disclosure.DETAILED DESCRIPTION

[0018] In order to make objectives, technical solutions and advantages of embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure are described clearly and comprehensively with reference to the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present disclosure without paying creative efforts shall fall within the protection scope of the present disclosure.

[0019] It may be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, users shall be informed of the type, range of use, use scenarios, etc. of personal information involved in the present disclosure and authorization shall be obtained from the users in an appropriate manner in accordance with relevant laws and regulations.

[0020] For example, in response to receiving an active request from a user, prompt information is sent to the user to clearly prompt the user that the requested operation requires access to and use of the user's personal information. As such, the user may independently choose, based on the prompt information, whether to provide the personal information to software or hardware, such as an electronic device, an application, a server, or a storage medium, that performs the operations of the technical solutions of the present disclosure.

[0021] As an optional but non-limiting implementation, in response to receiving the active request from the user, the prompt information may be sent to the user in the form of, for example, a pop-up window, in which the prompt information may be presented in text. Furthermore, the pop-up window may also include a selection control for the user to choose whether to “agree” or “disagree” to provide the personal information to the electronic device.

[0022] It may be understood that the above process of notifying and obtaining user authorization is only illustrative and does not limit the implementations of the present disclosure, and other manners that satisfy the relevant laws and regulations may also be applied in the implementations of the present disclosure.

[0023] It may be understood that the data involved in the technical solutions (including but not limited to the data itself, acquisition or use of the data) shall comply with requirements of corresponding laws, regulations and related provisions.

[0024] With the popularization of network live streaming applications, it is crucial to provide high-quality live streaming content supply for the rapid development of streaming media distribution services. A live streaming ingestion system allows a streaming host user to configure an appropriate resolution before the live streaming starts, for example, any one of 480P, 540P, 720P, 720P&60 FPS, 1080P, and 1080P&60 FPS may be configured, and each resolution corresponds to a different bit rate adjustment interval, for example, a bit rate adjustment interval of a 1080P definition grade is [1 Mbps, 4.5 Mbps].

[0025] In the related art, as shown in FIG. 1, a live streaming ingestion system integrated in a streaming media terminal 10 generally selects a corresponding starting resolution based on a current network speed measurement result and an upper limit threshold of a bit rate adjustment interval during cold start, and pushes a stream to a server 20 through a streaming media transport protocol such as RTMP or WebRTC to start live streaming. An excessively high starting resolution selection result may cause problems such as live streaming freezes, overheating or rapid battery power depletion of the terminal device during live streaming, and an excessively low starting resolution selection result may cause insufficient image quality clarity. Therefore, how to select an appropriate starting resolution before the official live streaming starts has become an urgent technical problem in the field of cold start of a stream ingestion system.

[0026] In view of this, the present disclosure provides a resolution determination method and apparatus for cold start of a stream ingestion system, an electronic device, a storage medium, and a program product to solve the technical problems in the related art.

[0027] According to the resolution determination method for cold start of a stream ingestion system provided in embodiments of the present disclosure, in response to the stream ingestion system entering a cold start stage, a target influence parameter that influences a cold start resolution of the stream ingestion system is acquired, the target influence parameter including: a terminal device performance parameter and a current network state parameter; a target resolution adapted to the target influence parameter is determined, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; and the cold start resolution of the stream ingestion system is determined based on the target resolution adapted to the target influence parameter. The cold start resolution of the stream ingestion system is determined based on the starting resolution upper limit adapted to the determined terminal device performance parameter and the network adaptive resolution adapted to the current network state parameter, such that the selection process of the cold start resolution takes into account the starting resolution upper limit adapted to the terminal device performance parameter, thereby avoiding problems such as overheating or rapid battery power depletion of the terminal device that may be caused by an excessively high starting resolution selection result during live streaming. Moreover, the selection process of the cold start resolution takes into account the network adaptive resolution adapted to the current network state parameter, such that the starting resolution adapted to the current network state may be dynamically selected, thereby avoiding the problem of live streaming freezes that may be caused by an excessively high starting resolution selection result or the problem of insufficient image quality clarity that may be caused by an excessively low starting resolution selection result during live streaming.

[0028] According to embodiments of the present disclosure, an embodiment of a resolution determination method for cold start of a stream ingestion system is provided. It should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that herein.

[0029] In the present embodiments, a resolution determination method for cold start of a stream ingestion system is provided, which may be used for a streaming media terminal integrated with a stream ingestion system. As shown in FIG. 2, the process includes the following steps.

[0030] Step S101: in response to the stream ingestion system entering a cold start stage, a target influence parameter that influences a cold start resolution of the stream ingestion system is acquired, the target influence parameter including: a terminal device performance parameter and a current network state parameter.

[0031] Exemplarily, the cold start stage of the stream ingestion system refers to a stage in which the stream ingestion system is restarted after being started for the first time or not being used for a long time. In the cold start stage, in order to enable a live stream to be normally pushed and reach a stable state, an initialization configuration may be performed based on the corresponding cold start resolution. Configuring appropriate cold start resolution in response to the stream ingestion system entering the cold start stage may improve stability of live stream ingestion and user experience in a live stream ingestion process.

[0032] In response to the stream ingestion system entering the cold start stage, the target influence parameter that influences the cold start resolution of the stream ingestion system is acquired to determine the cold start resolution of the stream ingestion system. In the embodiments of the present disclosure, the target influence parameter may include the terminal device performance parameter and the current network state parameter, where the terminal device performance parameter may be a terminal device performance level or a terminal device performance score. In the embodiments of the present disclosure, the terminal device performance score is taken as an example, and the terminal device performance score may be obtained by a test using a terminal device performance test program. The terminal device performance test program may determine the corresponding terminal device performance score based on indicators such as a CPU, a GPU, a memory, a hard encoding, and a frame rate of the terminal device to be tested. In the embodiments of the present disclosure, the terminal device performance score may be obtained by a real-time measurement of the terminal device performance test program, or the performance score corresponding to the terminal device of a model may be selected from a database based on the model of the terminal device. The current network state parameter of the terminal device may be a current network speed measurement result or current network state description data (such as a good network state, a poor network state, etc.). In the embodiments of the present disclosure, taking the current network state parameter being the current network speed measurement result as an example, for example, a speed measurement operation on the current network may be implemented through a speed measurement program to obtain the current network speed measurement result. The speed measurement manner is not limited in the embodiments of the present disclosure, and those skilled in the art may determine it according to actual needs.

[0033] Step S102: a target resolution adapted to the target influence parameter is determined, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter.

[0034] Exemplarily, a manner of determining the target resolution adapted to the target influence parameter may be inputting the acquired target influence parameter into a model, such that the model outputs a target resolution adapted to each target influence parameter based on the input target influence parameter. In the embodiments of the present disclosure, the target resolution includes the starting resolution upper limit adapted to the terminal device performance parameter and the network adaptive resolution adapted to the current network state parameter.

[0035] Step S103: the cold start resolution of the stream ingestion system is determined based on the target resolution adapted to the target influence parameter.

[0036] Exemplarily, a manner of determining the cold start resolution of the stream ingestion system based on the obtained plurality of the target resolutions may be sorting the obtained plurality of the target resolutions, and any resolution may be selected as the cold start resolution of the stream ingestion system in a range of resolutions smaller than the minimum target resolution.

[0037] According to the resolution determination method for cold start of a stream ingestion system provided in the present embodiments, the cold start resolution of the stream ingestion system is determined based on the starting resolution upper limit adapted to the determined terminal device performance parameter and the network adaptive resolution adapted to the current network state parameter, such that the selection process of the cold start resolution takes into account the starting resolution upper limit adapted to the terminal device performance parameter, thereby avoiding problems such as overheating or rapid battery power depletion of the terminal device that may be caused by an excessively high starting resolution selection result during live streaming. Moreover, the selection process of the cold start resolution takes into account the network adaptive resolution adapted to the current network state parameter, such that the starting resolution adapted to the current network state may be dynamically selected, thereby avoiding the problem of live streaming freezes that may be caused by an excessively high starting resolution selection result or the problem of insufficient image quality clarity that may be caused by an excessively low starting resolution selection result during live streaming.

[0038] In some embodiments, in the above step S103, a size relationship between the target resolutions adapted to the target influence parameter is determined; and the minimum resolution is selected as the cold start resolution of the stream ingestion system.

[0039] Exemplarily, taking two types of resolution, namely, the starting resolution upper limit adapted to the terminal device performance parameter and the network adaptive resolution adapted to the current network state parameter, as an example, if the starting resolution upper limit is smaller than the network adaptive resolution adapted to the current network state parameter, the starting resolution adapted to the terminal device performance parameter is taken as the cold start resolution of the stream ingestion system, thereby avoiding unstable performance of the terminal device caused by excessively high set resolution. For example, in a case where a high resolution is selected, the live streaming ingestion system requires higher computing and media processing capabilities, which may cause the terminal device to overheat or the battery to be quickly depleted, thereby reducing the willingness of the user to continuously participate in live streaming.

[0040] For example, a low-end machine corresponds to a high current network speed measurement result, and if high resolution of 1080P is selected, the effect of high-resolution streaming may be limited by the performance of the device model rather than the network, causing problems such as heating of the mobile device, frame dropping and freezes, which affects the live streaming experience of the user. In the embodiments of the present disclosure, the starting resolution upper limit adapted to the device performance is determined in combination with the terminal device performance parameter, which may avoid the situation that the set starting resolution is too high, affecting the device performance or user experience. If the starting resolution upper limit is greater than the network adaptive resolution adapted to the current network state parameter, the network adaptive resolution adapted to the current network state parameter is taken as the cold start resolution of the stream ingestion system, thereby avoiding the problem of live streaming freezes or even a service interruption caused by setting excessively high resolution that does not conform to the current network state.

[0041] In some embodiments, relationship searching data is acquired, the relationship searching data is used to represent a correspondence relationship between the target influence parameter and a resolution; and based on the target influence parameter, a resolution corresponding to the target influence parameter is searched from the relationship searching data and a searched resolution is taken as the target resolution.

[0042] Exemplarily, the relationship searching data may be a relationship searching table representing the correspondence relationship between the target influence parameter and the resolution, or may be a piecewise function representing the correspondence relationship between the target influence parameter and the resolution. The correspondence relationship between the target influence parameter and the resolution may be obtained by pre-testing, and the relationship searching data may be constructed based on the result of the pre-testing. In response to the target influence parameter being obtained, a resolution corresponding to the target influence parameter is searched from the relationship searching data based on the target influence parameter by polling or the like and is taken as the target resolution.

[0043] In some embodiments, the relationship searching data includes first relationship searching data and second relationship searching data, the first relationship searching data is configured to represent a correspondence relationship between the terminal device performance parameter and the starting resolution upper limit, and the second relationship searching data is configured to represent a correspondence relationship between a network state parameter and the network adaptive resolution.

[0044] Exemplarily, by constructing corresponding relationship searching data for the relationship searching data separately according to the type of the target influence parameter, it is beneficial to improve searching efficiency of the resolution adapted to the target influence parameter. Taking the first relationship searching data as a first searching table representing the correspondence relationship between the terminal device performance parameter and the starting resolution upper limit and the second relationship searching data as a second searching table representing a correspondence relationship between a network speed measurement result and the network adaptive resolution as an example, resolutions of all definition grades, bit rate adjustment intervals corresponding to the resolutions of different definition grades, performance score distributions of terminal devices of different models, and measured network speed measurement result distributions are acquired in advance. Taking the resolutions of all definition grades, the bit rate adjustment intervals corresponding to the resolutions of different definition grades, the performance score distributions of the terminal devices of different models, the starting resolution upper limit corresponding to the terminal device under different performance scores, the measured network speed measurement result distributions, and the network adaptive resolution corresponding to different network speed measurement results as an input, the first searching table representing the correspondence relationship between the terminal device performance score and the starting resolution upper limit and the second searching table representing the correspondence relationship between the network speed measurement result and the network adaptive resolution may be constructed by an offline statistical analysis method.

[0045] As an exemplary implementation of the present disclosure, taking the first relationship searching data being a piecewise function as an example, the correspondence relationship between the terminal device performance score and the starting resolution upper limit of the terminal devices of different models may be analyzed by offline statistics, to construct the piecewise function representing the correspondence relationship between the terminal device performance score and the starting resolution upper limit.

[0046] For example, a value range space of resolution of m definition grades is defined as: Rmin, R2, R3 . . . Rm-1, Rmax, and Rthreshold is defined as a resolution grade upper limit under the terminal device performance limitation, and the value range of the resolution grade upper limit is Rmin≤Rthreshold≤Rmax. p is defined as the terminal device performance score, and the value range of the terminal device performance score of different models in the embodiments of the present disclosure is 0<p≤12. The piecewise parameters of the device model score constitute a set Q=q1, q2, . . . , qn, where q1<q2< . . . <qn. The greater the terminal device performance score p, the higher the resolution grade upper limit Rthreshold.

[0047] For example, the resolution grade upper limit Rthreshold is defined as a continuous increasing function of the terminal device performance score p, that is, Rthreshold=T(p), T(p) is shown in the following formula (1), and the T(p) piecewise function is shown as the solid line in FIG. 3A:T⁡(p)={Rminif⁢ 0<p⩽q1R2if⁢ q1<p⩽q2… Rm-1if⁢ qm-1<p⩽qnRmaxif⁢ p>qn(1)

[0048] Taking the second relationship searching data as a piecewise function as an example, the correspondence relationship between the network speed measurement result distribution and the network adaptive resolution is analyzed by offline statistics, to construct the piecewise function representing the network speed measurement result-network adaptive resolution. For example, bwe is defined to represent the network speed measurement result, and the piecewise parameters of the network speed measurement result constitute a set B=b1, b2, . . . , bn, where b1<b2< . . . <bn. The definition grade of a network adaptive recommended resolution is defined as Rbwe, and the value range of the network adaptive recommended resolution is Rmin≤Rbwe≤bmax. The higher the network speed measurement result bwe, the higher the definition grade Rbwe of the network adaptive recommended resolution.

[0049] For example, the definition grade Rbwe of the network adaptive resolution is a continuous increasing function of the network speed measurement result bwe, that is, Rbwe=F(bwe), and it is monotonically increasing. The calculation formula of F(bwe) is shown in the following formula (2), and the F(bwe) piecewise function is shown as the solid line in FIG. 3B:F⁡(bwe)={Rminif⁢ 0<bwe⩽b1R2if⁢ b1<bwe⩽b2… Rm-1if⁢ bm-1<bwe⩽bnRmaxif⁢ bwe>bn(2)

[0050] Based on the two constructed piecewise functions, namely, the piecewise function of network speed measurement result-network adaptive resolution and the piecewise function of terminal device performance score-resolution grade upper limit, the smaller value is taken to obtain the final resolution recommendation result R during cold start of the stream ingestion system, as shown in the following formula (3):R={Rbweif⁢ Rbwe⩽RthresholdRthresholdif⁢ Rbwe>Rthreshold(3)

[0051] In some embodiments, taking the constructed first relationship searching data being a piecewise function of terminal device performance score-resolution grade upper limit as an example, the piecewise parameters of the piecewise function are determined through the following steps, and the method, for example, includes:

[0052] Step a1: performance scores of terminal devices of different models and at least one of a power consumption threshold or a performance threshold corresponding to the terminal device of each model in the different models within a live streaming duration are acquired.

[0053] Exemplarily, the relevant performance data of the terminal devices of different models may be acquired from an existing online dataset, or may be acquired from a relevant terminal device platform after authorization. The performance scores corresponding to the terminal devices of different models may be obtained by the above-mentioned testing manner, which is not repeated here. The power consumption parameter may include battery power of the terminal device, and the corresponding power consumption threshold may be obtained by statistically analyzing the different models of the terminal device and the power consumption performance of the different models within the live streaming duration. The performance parameter may include a heating degree, and similarly, the corresponding performance threshold may also be obtained by statistically analyzing the different models of the terminal device and the heating degree performance of the different models within the live streaming duration. The live streaming duration is not limited in the embodiments of the present disclosure, and those skilled in the art may determine it based on parameters such as a user engagement affected by changes in the terminal device performance data or power consumption data during an actual live streaming process, for example, the live streaming duration may be 30 minutes. For example, a terminal device with a performance score of 4 points corresponds to a power consumption threshold of 60% within the live streaming duration (for example, 30 minutes), that is, the power consumption of the terminal device of the model cannot be less than 60% within the live streaming duration. A terminal device with a performance score of 6 points corresponds to a power consumption threshold of 50% within the live streaming duration (for example, 30 minutes), that is, the power consumption of the terminal device of the model cannot be less than 50% within the live streaming duration.

[0054] Step a2: a resolution upper limit is determined, in response to a threshold of a corresponding model being met, based on at least one of power consumption data or performance data of the terminal device of any model at different resolutions within the live streaming duration and the threshold of the corresponding model.

[0055] Exemplarily, for a terminal device of a certain model with a performance score of 6 points, the power consumption data and / or performance data of the terminal device at different resolutions within the live streaming duration are determined, and the resolution upper limit may be determined according to the resolution grade from small to large. For example, the resolution grade includes 480P, 540P, and 720P. In response to 480P or 540P being selected, the corresponding power consumption data performance is not lower than the corresponding power consumption threshold or the corresponding performance data performance is not lower than the corresponding performance within the live streaming duration, and in response to 720P being selected, the corresponding power consumption threshold or the corresponding performance threshold is exceeded, then the corresponding resolution upper limit of the terminal device of the certain model is 540P. By analogy, the resolution upper limit corresponding to the terminal device under each performance score may be obtained.

[0056] Step a3: a statistical analysis is performed on a resolution upper limit corresponding to a terminal device acquired under a plurality of performance scores to obtain a performance partition interval corresponding to different resolution upper limits. By performing a statistical analysis on the resolution upper limit corresponding to the terminal device acquired under the plurality of performance scores, it may be determined which performance scores of the terminal device correspond to the same resolution upper limit, that is, the performance partition intervals corresponding to different resolution upper limits may be obtained.

[0057] Step a4: the first relationship searching data is constructed based on the different resolution upper limits and the performance partition interval corresponding to the different resolution upper limits.

[0058] For example, a maximum definition grade in which a remaining battery power is not less than a threshold x % in a case where a live streaming is performed for 30 minutes at different definition grades on a terminal device with a model performance score of p is defined as the resolution upper limit, and a feasible solution of piecewise parameters may be obtained through a statistical analysis, which may be expressed as Qbaseline=(Q1, Q2, . . . , Qn). Based on the determination of Qbaseline, the piecewise function of terminal device performance score-resolution upper limit may be exemplarily determined as shown in the following formula (4):Tbaseline(p)={Rminif⁢ 0<p⩽Q1R2if⁢ Q1<p⩽Q2… Rm-1if⁢ Qm-1<p⩽QnRmaxif⁢ p>Qn(4)

[0059] In some embodiments, the network state parameter includes a network speed measurement result, and the method further includes:

[0060] Step b1: a bit rate adjustment interval corresponding to different network adaptive resolutions is acquired.

[0061] Exemplarily, for example, the bit rate adjustment interval of a 1080P definition grade may be [1 Mbps, 4.5 Mbps], and the bit rate adjustment interval of a 480P definition grade may be [0.5 Mbps, 1.2 Mbps], and the bit rate adjustment intervals corresponding to different network adaptive resolutions are acquired.

[0062] Step b2: the network speed measurement result within a target test duration in different bandwidth fluctuation scenarios is acquired.

[0063] Exemplarily, the network speed measurement result may be affected by bandwidth fluctuations. In the embodiments of the present disclosure, the corresponding network speed measurement result is acquired within the target test duration in different possible bandwidth fluctuation scenarios, for example, by setting a plurality of random bandwidth fluctuation scenarios, the network speed measurement result may be measured within the target test duration in the different random bandwidth fluctuation scenarios. The target test duration is not limited in the embodiments of the present disclosure, and a short duration, such as 4 seconds, may be selected to meet the network speed measurement duration requirement of the cold start scenario.

[0064] Step b3: the network speed measurement result is matched with the bit rate adjustment interval corresponding to the different network adaptive resolutions to obtain a network adaptive resolution corresponding to different network speed measurement results; and

[0065] Step b4: the second relationship searching data is constructed based on the different network adaptive resolutions and a network test result interval corresponding to the different network adaptive resolutions obtained through a statistical analysis.

[0066] Exemplarily, for example, in a random bandwidth fluctuation scenario of 0.3~10 Mbps, a short-time (such as 4 seconds) network speed measurement result is 1.2 Mbps, which just matches the upper-bound threshold of the bit rate adjustment interval of 480P definition grade resolution. Then, under the network speed measurement result of 1.2 Mbps, the definition grade based on the network adaptive recommended resolution may be 480P. By analogy, the correspondence relationship between different network speed measurement results and the network adaptive resolutions may be obtained in a plurality of different bandwidth fluctuation scenarios. By performing a statistical analysis on the correspondence relationship between a plurality of network speed measurement results and the corresponding network adaptive resolution, it may be obtained which network speed measurement results correspond to the same network adaptive resolution. The network test result intervals corresponding to the different network adaptive resolutions are obtained through the statistical analysis, and the second relationship searching data is constructed based on the different network adaptive resolutions and the network test result intervals corresponding to the different network adaptive resolutions obtained through the statistical analysis. Determining the network adaptive resolution through the upper-bound bit rate threshold of the bit rate adjustment interval may achieve full use of network resources of the current bandwidth.

[0067] For example, the piecewise parameter of F(bwe) is determined based on the upper-bound bit rate threshold method of the bit rate adjustment interval corresponding to the resolution of different definition grades. B is defined as the upper limit of a bit rate corresponding to the resolution grade. In a case where the resolution grade is: Rmin, R2, R3 . . . Rm-1, Rmax, the corresponding upper limits of the bit rate are: BR<sub2>min< / sub2>, BR<sub2>2< / sub2>, BR<sub2>3 < / sub2>. . . BR<sub2>m-1< / sub2>, BR<sub2>max< / sub2>, and a feasible solution of piecewise parameters may be obtained based on F(bwe) of the upper-bound bit rate threshold of the definition grade code table, which may be expressed as: Bbaseline=(BR<sub2>min< / sub2>, BR<sub2>2< / sub2>, BR<sub2>3 < / sub2>. . . BR<sub2>m-1< / sub2>, BR<sub2>max< / sub2>). In the case, the calculation formula of F(bwe) may be

[0033] exemplarily determined as the following formula (5):Fbaseline(bwe)={Rminif⁢ 0<bwe⩽BRminR2if⁢ BRmin<bwe⩽BR2… Rm-1if⁢ BRm-2<bwe⩽BRm-1Rmaxif⁢ bwe>BRm-1(5)

[0068] In some embodiments, the method further includes:

[0069] Step c1: a plurality of groups of historical influence parameters detected in a historical detection process are acquired, and an initial resolution corresponding to each group of the plurality of groups of historical influence parameters is determined according to the relationship searching data;

[0070] Exemplarily, taking the historical influence parameter as the terminal device performance score and the network speed measurement result as an example, the historical detection process may be a process of detecting the terminal device performance score and the network speed measurement result during the cold start process of the historical stream ingestion system, and the terminal device performance score and the network speed measurement result detected during the cold start process of the historical stream ingestion system may be stored in an online dataset. The initial resolution corresponding to each group of the plurality of groups of historical influence parameters is determined based on the relationship searching data determined in the above embodiments, that is, the initial resolution includes based on the resolution grade upper limit corresponding to the terminal device performance score and the network adaptive resolution corresponding to the network speed measurement result, and the distribution of the resolution grade upper limit (as shown by the dotted line in FIG. 3A) corresponding to different terminal device performance scores and the distribution of network adaptive resolution (as shown by the dotted line in FIG. 3B) corresponding to different network speed measurement results in the online dataset are obtained.

[0071] Step c2: based on a distribution of the initial resolution corresponding to the plurality of groups of historical influence parameters, a resolution adjustment operation is responded based on the distribution of the initial resolution to obtain an adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters, the adjusted resolution being a resolution that meets an adjustment requirement.

[0072] Exemplarily, an adjustment manner of responding to the resolution adjustment operation based on the distribution of the initial resolution may be changing the number of resolution grades of the piecewise function based on the initial resolution distribution determined according to the above relationship searching data. For example, within the value range of the resolution grade upper limit of Rmin≤Rthreshold≤Rmax, the initial resolution distribution is determined based on the relationship searching data to obtain three piecewise functions of the resolution grade upper limit and the corresponding terminal device performance score interval, that is, the three piecewise functions include the resolution grade upper limit of three definition grades. After adjusting the resolution, the three piecewise functions may become to include two piecewise functions or four piecewise functions, that is, the three piecewise functions are adjusted to include the resolution grade upper limit of two definition grades or the resolution grade upper limit of four definition grades. By changing the distribution proportion of the resolution of different definition grades, the resolution grade upper limit corresponding to the corresponding group of historical influence parameters is increased or decreased. In the embodiments of the present disclosure, the adjustment requirement may be determining whether an improvement degree index of a user engagement meets a requirement and / or whether an improvement degree of technical indexes such as clarity meets a requirement under the adjusted resolution, which is not limited in the embodiments of the present disclosure, that is, a positive feedback effect may be brought about through the adjustment.

[0073] Step c3: a statistical analysis is performed on the each group of the plurality of groups historical influence parameters and the adjusted resolution corresponding to the each group of the plurality of groups historical influence parameters; and

[0074] Step c4: the relationship searching data based on a statistical analysis result is optimized.

[0075] Exemplarily, the resolution of the overall historical influence parameters is adjusted according to the adjustment requirement to obtain the adjusted resolution and the corresponding historical influence parameter. By performing a statistical analysis on the plurality of adjusted resolutions and which groups of historical influence parameters correspond to the same adjusted resolution, the optimized relationship searching data is obtained based on the statistical analysis result.

[0076] In some embodiments, a utility evaluation on the adjusted resolution and a resolution before a current adjustment is performed based on a utility indicator; and in response to an evaluation result meeting a condition, the resolution before the current adjustment is taken as an adjusted resolution that corresponds to a current group of the historical influence parameters and meets the adjustment requirement.

[0077] Exemplarily, the utility indicator in the embodiments of the present disclosure may include two categories: a streaming media user experience indicator (such as a user engagement indicator) and a streaming ingestion technical indicator (such as a high-definition grade resolution distribution indicator), which may be exemplarily divided into: “an increase in a user engagement” or “no increase in the user engagement but an increase in a high-definition grade resolution and no deterioration in the user engagement”. A manner of performing a utility evaluation on the resolution before and after the adjustment may include: a utility evaluation condition threshold is set for each category of utility indicators, and whether the corresponding utility indicators before and after the adjustment exceed the corresponding threshold is determined.

[0078] For example, it may first be determined whether there is an increase in a user engagement, and the corresponding user engagement before and after the adjustment may be compared. In response to the user engagement after the adjustment exceeding a first engagement threshold compared with the user engagement before the adjustment, it is determined that there is an increase in the user engagement, otherwise it is determined that there is no increase in the user engagement.

[0079] In a case that it is determined that there is an increase in the user engagement, it may be determined that the evaluation result meets the condition, and the resolution before the current adjustment may be taken as the adjusted resolution that corresponds to the historical influence parameter and meets the adjustment requirement. In a case that there is no increase in the user engagement, it may further be determined whether the high-definition grade resolution ratio corresponding to the overall resolution after the adjustment is increased and the user engagement is not deteriorated, that is, in a case that the user engagement is not improved but also not deteriorated, whether the adjusted resolution may improve the overall clarity. If the overall clarity may be improved, the resolution before the current adjustment may be taken as the adjusted resolution that corresponds to the current group of historical influence parameters and meets the adjustment requirement. A determination manner of whether the user engagement is deteriorated may be determining whether the user engagement after the adjustment is lower than a second engagement threshold compared with the user engagement before the adjustment, and if the user engagement after the adjustment is not lower than the second engagement threshold, it is determined that the user engagement is not deteriorated.

[0080] In some embodiments, first indicator data of the utility indicator corresponding to the resolution before the current adjustment and second indicator data of the utility indicator corresponding to the adjusted resolution are acquired; an indicator data change before and after a resolution adjustment is determined according to the first indicator data and the second indicator data; a utility function is determined according to the indicator data change; and the utility evaluation on a resolution before and after the resolution adjustment is performed based on the utility function and a constraint condition corresponding to the utility function.

[0081] Exemplarily, the effects before and after the resolution adjustment may be determined by the utility data performance of an ab test. The measurement standard of the utility data may be divided into two categories: a streaming media user experience indicator and a streaming ingestion technical indicator at the start of live streaming, which may exemplarily include “an increase in a user engagement”, and “no increase in the user engagement but an increase in a high-definition grade resolution and no deterioration in the user engagement”. The first indicator data and the second indicator data before and after the resolution adjustment may be the user engagement. The utility function exemplarily configured for the utility evaluation is determined according to the change in user engagement before and after the resolution adjustment. The utility function formula in the embodiments of the present disclosure may be exemplarily shown in Formula (6), Formula (7) and Formula (8).

[0082] The following formula is formula (6):U⁡(Q,B)=
{Uhd(Q,B)if⁢ Uuser⁢_⁢engagement(Q,B)=0∧ Urebuffer(Q,B)⩽θ1Uuser⁢_⁢engagement(Q,B)if⁢ Uuser⁢_⁢engagement(Q,B)> 0∧Uhd(Q,B)-μ⁢Urebuffer(Q,B)>0;(6)where, the following formula is formula (7):Uhd(Q,B)=∑2≤i≤maxwi*Δ⁢Ri,s.t. Δbandwith_cost⩽θ2;(7)the following formula is formula (8):Uuser_engagement(Q,B)=Δstreaming_time,s.t. Δstreaming_time / Δbandwidth_cost≥γ  (8)For example, if there is no significant improvement in a user engagement compared with the control group of the ab test (that is, before the resolution adjustment), that is, in a case where Uuser<sub2>engagement< / sub2>(QB)=0 is determined, the utility function Uhd(Q,B) of the high-definition grade is the final utility function, which may be exemplarily calculated by formula (6). The formula (6) indicates that the greater the increase in the proportion of high-definition grade, the higher the video clarity and the greater the overall utility Uhd(Q,B), but it is required to satisfy that the freeze rate data Urebuffer(Q,B) does not make the user engagement significantly negative. In the embodiments of the present disclosure, a threshold θ1 is set to measure whether the freeze makes the user engagement Uuser<sub2>engagement< / sub2>(Q,B) significantly negative. In the exemplarily calculation formula (7) of utility Uhd(Q,B), wi is the weight factor of different high-definition grade resolutions, and ΔRi is the proportional change of high-definition grade resolution, where the value of i is the resolution grade of the ith level, and the value interval is counted from the minimum 2 to the maximum max. Moreover, the utility function also needs to satisfy that the deterioration amplitude Δbandwidth_cost of the overall bandwidth cost caused by the increase in the proportion of high-definition grade resolution is less than or equal to the threshold θ2. The values of the parameters such as the threshold θ1, the weight factor wi, and the threshold θ2 are not limited in the embodiments of the present disclosure, and those skilled in the art may determine the values of the parameters according to actual needs.If there is a significant improvement in a user engagement compared with the control group of the ab test, that is, in a case where Uuser<sub2>engagement< / sub2>(QB)>0, the utility function is a user engagement Uuser<sub2>engagement< / sub2>(Q,B), which may be exemplarily calculated with reference to formula (8), that is, there is an increase ratio Δstreaming_time of a live streaming duration, and it satisfies that the increase ratio Δstreaming_time of the live streaming duration is not less than the threshold γ compared with the increase ratio Δbandwidth_cost of bandwidth cost, that is, it may be considered that in the case, the input-output ratio of the algorithm is higher than the threshold γ, which is in line with the optimization direction of better utility value. Moreover, it is required that the technical indicator satisfies one of the following three conditions: “an increase in high-definition grade proportion but no freeze deterioration”, “no increase in definition grade but a reduction in freeze”, or “an increase in high-definition grade proportion and an deterioration in freeze but a greater comprehensive benefit score”, that is, it satisfies the formula: Uhd−μUrebuffer>0, where μ is the weight factor of the importance of freeze relative to high-definition definition grade. The values of parameters such as the threshold γ and the weight factor μ are not limited in the embodiments of the present disclosure, and those skilled in the art may determine the values of the parameters according to actual needs.

[0087] Continuous optimization and iteration based on the result of the utility function may be expressed as:if U+(Qbaseline,Bbaseline)>U−(Qbaseline,Bbaseline), then Qnew=Qbaseline(1+ϵ),Bnew=Bbaseline(1+δ);if U+(Qbaseline,Bbaseline)<U−(Qbaseline,Bbaseline), then Qnew=Qbaseline(1−ϵ),Bnew=Bbaseline(1−δ);where U+ is a corresponding utility index value after the optimization and iteration, U− is a corresponding utility index value before the optimization and iteration, δ and ϵ are the changes before and after the adjustment, and the values are not limited, and those skilled in the art may determine them according to actual needs.Based on the user engagement indicator and streaming ingestion technical indicator data (User Engagement & Performance Metrics) corresponding to the historical influence parameter, the optimized relationship searching data, that is,RthresholdU=TU(p),RbweU=FU(bwe),may be finally obtained through the above iterative calculation.Through the utility evaluation method, the expandability and generalization ability of the constructed relationship searching data may be improved. From a macro perspective, it is based on large-scale user experience indicators and streaming ingestion technical indicator data, rather than technical feature data. Moreover, the measurement standard of the utility function is open and multi-dimensional, and the utility evaluation indicator and the corresponding utility function may be determined according to many actual scenario requirements.In response to running online, the performance score p of the terminal device model and the real-time network speed measurement result bwe are acquired, and then the optimized relationship searching data constructed offline is queried. After knowing which model score segment and speed measurement result segment the current live streaming belongs to, a model definition grade upper limit Rthreshold and a network adaptive recommended definition grade Rbwe may be obtained, and then the starting definition grade selector (quality selector) obtains the final recommended definition grade RU through the following formula (9):RU={RbweUif⁢ RbweU⩽RthresholdURthresholdUif⁢ RbweU>RthresholdU(9)whereRthresholdUis the optimized relationship searching data corresponding to the terminal device performance score and the resolution upper limit; andRbweUis the optimized relationship searching data corresponding to the network speed measurement result and the network adaptive resolution.As an exemplary implementation of the present disclosure, as shown in FIG. 4, it includes an offline analyzer 30 and an online selector 40, where the offline analyzer 30 includes a code table module (including bit rate adjustment intervals corresponding to resolutions of different definition grades), a performance score distribution module (including performance scores of terminal devices of different models), and a network speed measurement result distribution module (including network speed measurement results measured under a plurality of random bandwidth fluctuations). The relationship searching data is constructed based on the code table module, the performance score distribution module, and the network speed measurement result distribution module, and the relationship searching data is optimized based on the utility indicator and the utility function to obtain the optimized relationship searching data. The resolution selector in the online selector 40 obtains the cold start resolution from the optimized relationship searching data based on the current network speed measurement result and the terminal device performance score, and pushes the stream to the server through the streaming media transport protocol (such as RTMP or WebRTC, etc.). The cold start resolution of the stream ingestion system is determined by constructing the relationship searching data, to improve the reliability and robustness of definition grade selection of the starting resolution of live streaming.In the embodiments of the present disclosure, a resolution determination apparatus for cold start of a stream ingestion system is further provided. The apparatus is configured to implement the above embodiments and preferred implementations, which are not repeated here. As used below, the term “module” may implement a combination of software and / or hardware for a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.The embodiments of the present disclosure provide a resolution determination apparatus for cold start of a stream ingestion system, which, as shown in FIG. 5, includes:a first acquiring module 401, configured to, in response to the stream ingestion system entering a cold start stage, acquire a target influence parameter that affects a cold start resolution of the stream ingestion system, the target influence parameter including: a terminal device performance parameter and a current network state parameter;a first determination module 402, configured to determine a target resolution adapted to the target influence parameter, the target resolution including a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; anda second determination module 403, configured to determine the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

[0099] According to the resolution determination apparatus for cold start of a stream ingestion system provided in the present embodiments, the cold start resolution of the stream ingestion system is determined based on the starting resolution upper limit adapted to the determined terminal device performance parameter and the network adaptive resolution adapted to the current network state parameter, such that the selection process of the cold start resolution takes into account the starting resolution upper limit adapted to the terminal device performance parameter, thereby avoiding problems such as overheating or rapid battery power depletion of the terminal device that may be caused by an excessively high starting resolution selection result during live streaming. Moreover, the selection process of the cold start resolution takes into account the network adaptive resolution adapted to the current network state parameter, such that the starting resolution adapted to the current network state may be dynamically selected, thereby avoiding the problem of live streaming freezes that may be caused by an excessively high starting resolution selection result or the problem of insufficient image quality clarity that may be caused by an excessively low starting resolution selection result during live streaming.

[0100] In some embodiments, the second determination module 403 includes: a first determination sub-module, configured to determine a size relationship between the target resolutions adapted to the target influence parameter; and a selection sub-module, configured to select a minimum resolution as the cold start resolution of the stream ingestion system.

[0101] In some embodiments, the first determination module 402 includes: an acquisition sub-module, configured to acquire relationship searching data, the relationship searching data being configured to represent a correspondence relationship between the target influence parameter and a resolution; and a second determination sub-module, configured to, based on the target influence parameter, search a resolution corresponding to the target influence parameter from the relationship searching data and take a searched resolution as the target resolution.

[0102] In some embodiments, the relationship searching data includes first relationship searching data and second relationship searching data, the first relationship searching data being configured to represent a correspondence relationship between the terminal device performance parameter and the starting resolution upper limit, and the second relationship searching data being configured to represent a correspondence relationship between a network state parameter and the network adaptive resolution.

[0103] In some embodiments, the apparatus further includes: a second acquiring module, configured to acquire performance scores of terminal devices of different models and at least one of a power consumption threshold or a performance threshold corresponding to the terminal device of each model in the different models within a live streaming duration; a third determination module, configured to determine a resolution upper limit in response to a threshold of a corresponding model being met, based on at least one of power consumption data or performance data of the terminal device of any model at different resolutions within the live streaming duration and the threshold of the corresponding model; a first statistics module, configured to perform a statistical analysis on a resolution upper limit corresponding to a terminal device acquired under a plurality of performance scores to obtain a performance partition interval corresponding to different resolution upper limits; and a first construction module, configured to construct the first relationship searching data based on the different resolution upper limits and the performance partition interval corresponding to the different resolution upper limits.

[0104] In some embodiments, the apparatus further includes: a third acquiring module, configured to acquire a bit rate adjustment interval corresponding to different network adaptive resolutions; a fourth acquiring module, configured to acquire a network speed measurement result within a target test duration in different bandwidth fluctuation scenarios; a second statistics module, configured to match the network speed measurement result with the bit rate adjustment interval corresponding to the different network adaptive resolutions to obtain a network adaptive resolution corresponding to the different network speed measurement results; and a second construction module, configured to construct the second relationship searching data based on the different network adaptive resolutions and network test result intervals corresponding to the different network adaptive resolutions obtained through a statistical analysis.

[0105] In some embodiments, the apparatus further includes: a fifth acquiring module, configured to acquire a plurality of groups of historical influence parameters detected in a historical detection process, and determine an initial resolution corresponding to each group of the plurality of groups of historical influence parameters according to the relationship searching data; an adjustment module, configured to, based on a distribution of the initial resolution corresponding to the plurality of groups of historical influence parameters, respond to a resolution adjustment operation based on the distribution of the initial resolution to obtain an adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameter, the adjusted resolution being a resolution that meets an adjustment requirement; a third statistics module, configured to perform a statistical analysis on the each group of the plurality of groups of historical influence parameters and the adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters; and an optimization module, configured to optimize the relationship searching data based on a statistical analysis result.

[0106] In some embodiments, the apparatus further includes: an evaluation sub-module, configured to perform a utility evaluation on the adjusted resolution and a resolution before a current adjustment based on a utility indicator; and a third determination sub-module, configured to, in response to an evaluation result meeting a condition, take the resolution before the current adjustment as an adjusted resolution that corresponds to a current group of the historical influence parameters and meets the adjustment requirement.

[0107] In some embodiments, the evaluation sub-module includes: an acquisition unit, configured to acquire first indicator data of the utility indicator corresponding to the resolution before the current adjustment and second indicator data of the utility indicator corresponding to the adjusted resolution; a third determination unit, configured to determine an indicator data change before and after a resolution adjustment according to the first indicator data and the second indicator data; a fourth determination unit, configured to determine a utility function according to the indicator data change; and an evaluation unit, configured to perform the utility evaluation on a resolution before and after the resolution adjustment based on the utility function and a constraint condition corresponding to the utility function.

[0108] In some embodiments, the utility indicator includes: a streaming media user experience indicator and a streaming ingestion technical indicator.

[0109] The resolution determination apparatus for cold start of a stream ingestion system provided in embodiments of the present disclosure may perform the resolution determination method for cold start of a stream ingestion system provided in any embodiments of the present disclosure, and has corresponding functional modules and beneficial effects for performing the method. Further functional descriptions of the above modules and units are the same as the above corresponding embodiments, and are not repeated herein.

[0110] FIG. 6 is a schematic structural diagram of an electronic device provided in embodiments of the present disclosure.

[0111] The following exemplarily refers to FIG. 6, which illustrates a schematic structural diagram of an electronic device suitable for implementing embodiments of the present disclosure. The electronic device may include a processor (such as a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processing according to a program stored in a read-only memory (ROM) 502 or a program loaded from a memory 508 into a random access memory (RAM) 503. The RAM 503 further stores various programs and data required for the operation of the electronic device. The processor 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0112] Usually, the following apparatus may be connected to the I / O interface 505: an input apparatus 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output apparatus 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a memory 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication apparatus 509. The communication apparatus 509 may allow the electronic device to perform wireless or wired communication with other devices to exchange data. Although FIG. 6 shows an electronic device with various apparatuses, it should be understood that it is not required to implement or have all of the shown apparatuses, and more or fewer apparatuses may be implemented or provided alternatively.

[0113] In particular, according to embodiments of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, where the computer program includes program codes for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network through the communication apparatus 509, or installed from the memory 508, or installed from the ROM 502. When the computer program is executed by the processor 501, the above-mentioned functions defined in the resolution determination method for cold start of a stream ingestion system in embodiments of the present disclosure are executed.

[0114] The electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.

[0115] Embodiments of the present disclosure further provide a non-transitory computer-readable storage medium. The method according to embodiments of the present disclosure described above may be implemented in hardware or firmware, or implemented as computer code that may be recorded on a storage medium or originally stored in a remote storage medium or a non-transitory machine-readable storage medium downloaded through a network and to be stored in a local storage medium. Therefore, the method described herein may be performed by such software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk or a solid-state disk, etc. Furthermore, the storage medium may also include a combination of the above-mentioned types of memories. It may be understood that the computer, the processor, the microprocessor controller or the programmable hardware includes a storage component that may store or receive software or computer code, and when the software or computer code is accessed and executed by the computer, the processor or the hardware, the resolution determination method for cold start of a stream ingestion system shown in the above embodiments is implemented.

[0116] A part of the present disclosure may be applied as a computer program product, for example, computer program instructions, which, when executed by a computer, may invoke or provide the method and / or technical solutions according to the present disclosure through operations of the computer. Those skilled in the art should understand that the computer program instructions may exist in a computer-readable medium in a form including but not limited to a source file, an executable file, an installation package file, etc., and accordingly, the computer program instructions may be executed by a computer in a manner including but not limited to: the computer directly executes the instructions, or the computer compiles the instructions and then executes the corresponding compiled program, or the computer reads and executes the instructions, or the computer reads and installs the instructions and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium accessible by a computer.

[0117] Although the embodiments of the present disclosure are described in conjunction with the drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations fall within the scope defined by the appended claims.

Claims

1. A resolution determination method for cold start of a stream ingestion system, comprising:acquiring a target influence parameter that influences a cold start resolution of the stream ingestion system, in response to the stream ingestion system entering a cold start stage, the target influence parameter comprising: a terminal device performance parameter and a current network state parameter;determining a target resolution adapted to the target influence parameter, the target resolution comprising a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; anddetermining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

2. The method of claim 1, wherein the determining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter comprises:determining a size relationship between target resolutions adapted to the target influence parameter; andselecting a minimum resolution as the cold start resolution of the stream ingestion system.

3. The method of claim 1, wherein the determining the target resolution adapted to the target influence parameter comprises:acquiring relationship searching data, the relationship searching data being configured to characterize a correspondence relationship between the target influence parameter and a resolution; andsearching a resolution corresponding to the target influence parameter from the relationship searching data and taking a searched resolution as the target resolution, based on the target influence parameter.

4. The method of claim 3, wherein the relationship searching data comprises first relationship searching data and second relationship searching data, the first relationship searching data being configured to characterize a correspondence relationship between the terminal device performance parameter and the starting resolution upper limit, and the second relationship searching data being configured to characterize a correspondence relationship between a network state parameter and the network adaptive resolution.

5. The method of claim 4, further comprising:acquiring performance scores of terminal devices of different models and at least one of a power consumption threshold or a performance threshold corresponding to a terminal device of each model in the different models within a live streaming duration;determining a resolution upper limit in response to a threshold of a corresponding model being met, based on at least one of power consumption data or performance data of a terminal device of any model at different resolutions within the live streaming duration and the threshold of the corresponding model;performing a statistical analysis on a resolution upper limit corresponding to a terminal device acquired under a plurality of performance scores to obtain a performance partition interval corresponding to different resolution upper limits; andconstructing the first relationship searching data based on the different resolution upper limits and the performance partition intervals corresponding to the different resolution upper limits.

6. The method of claim 4, further comprising:acquiring a bit rate adjustment interval corresponding to different network adaptive resolutions;acquiring a network speed measurement result within a target test duration in different bandwidth fluctuation scenarios, wherein the network state parameter comprises the network speed measurement result;matching the network speed measurement result with the bit rate adjustment interval corresponding to the different network adaptive resolutions to obtain a network adaptive resolution corresponding to different network speed measurement results; andconstructing the second relationship searching data based on the different network adaptive resolutions and a network test result interval corresponding to the different network adaptive resolutions obtained through a statistical analysis.

7. The method of claim 3, further comprising:acquiring a plurality of groups of historical influence parameters detected in a historical detection process, and determining an initial resolution corresponding to each group of the plurality of groups of historical influence parameters according to the relationship searching data;responding, based on a distribution of initial resolutions corresponding to the plurality of groups of historical influence parameters, to a resolution adjustment operation based on the distribution of the initial resolution to obtain an adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters, the adjusted resolution being a resolution that meets an adjustment requirement;performing a statistical analysis on the each group of the plurality of groups of historical influence parameters and the adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters; andoptimizing the relationship searching data based on a statistical analysis result.

8. The method of claim 7, further comprising:performing a utility evaluation on the adjusted resolution and a resolution before a current adjustment based on a utility indicator; andtaking the resolution before the current adjustment as an adjusted resolution that corresponds to the historical influence parameters and meets the adjustment requirement, in response to an evaluation result meeting a condition.

9. The method of claim 8, wherein the performing the utility evaluation on the adjusted resolution and the resolution before the current adjustment based on the utility indicator comprises:acquiring first indicator data of the utility indicator corresponding to the resolution before the current adjustment and second indicator data of the utility indicator corresponding to the adjusted resolution;determining an indicator data change before and after a resolution adjustment according to the first indicator data and the second indicator data;determining a utility function according to the indicator data change; andperforming the utility evaluation on a resolution before and after the resolution adjustment based on the utility function and a constraint condition corresponding to the utility function.

10. The method of claim 8, wherein the utility indicator comprises: a streaming media user experience indicator and a streaming ingestion technical indicator.

11. An electronic device, comprising:a memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to implement a resolution determination method for cold start of a stream ingestion system, comprising:acquiring a target influence parameter that influences a cold start resolution of the stream ingestion system, in response to the stream ingestion system entering a cold start stage, the target influence parameter comprising: a terminal device performance parameter and a current network state parameter;determining a target resolution adapted to the target influence parameter, the target resolution comprising a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; anddetermining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

12. A non-transitory computer-readable storage medium, characterized by the computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions are configured to cause a computer to perform a resolution determination method for cold start of a stream ingestion system, comprising:acquiring a target influence parameter that influences a cold start resolution of the stream ingestion system, in response to the stream ingestion system entering a cold start stage, the target influence parameter comprising: a terminal device performance parameter and a current network state parameter;determining a target resolution adapted to the target influence parameter, the target resolution comprising a starting resolution upper limit adapted to the terminal device performance parameter and a network adaptive resolution adapted to the current network state parameter; anddetermining the cold start resolution of the stream ingestion system based on the target resolution adapted to the target influence parameter.

13. The electronic device of claim 11, wherein the processor is configured to implement following steps:determining a size relationship between target resolutions adapted to the target influence parameter; andselecting a minimum resolution as the cold start resolution of the stream ingestion system.

14. The electronic device of claim 11, wherein the processor is configured to implement following steps:acquiring relationship searching data, the relationship searching data being configured to characterize a correspondence relationship between the target influence parameter and a resolution; andsearching a resolution corresponding to the target influence parameter from the relationship searching data and taking a searched resolution as the target resolution, based on the target influence parameter.

15. The electronic device of claim 14, wherein the relationship searching data comprises first relationship searching data and second relationship searching data, the first relationship searching data being configured to characterize a correspondence relationship between the terminal device performance parameter and the starting resolution upper limit, and the second relationship searching data being configured to characterize a correspondence relationship between a network state parameter and the network adaptive resolution.

16. The electronic device of claim 15, wherein the processor is configured to implement following steps:acquiring performance scores of terminal devices of different models and at least one of a power consumption threshold or a performance threshold corresponding to a terminal device of each model in the different models within a live streaming duration;determining a resolution upper limit in response to a threshold of a corresponding model being met, based on at least one of power consumption data or performance data of a terminal device of any model at different resolutions within the live streaming duration and the threshold of the corresponding model;performing a statistical analysis on a resolution upper limit corresponding to a terminal device acquired under a plurality of performance scores to obtain a performance partition interval corresponding to different resolution upper limits; andconstructing the first relationship searching data based on the different resolution upper limits and the performance partition intervals corresponding to the different resolution upper limits.

17. The electronic device of claim 15, wherein the processor is configured to implement following steps:acquiring a bit rate adjustment interval corresponding to different network adaptive resolutions;acquiring a network speed measurement result within a target test duration in different bandwidth fluctuation scenarios, wherein the network state parameter comprises the network speed measurement result;matching the network speed measurement result with the bit rate adjustment interval corresponding to the different network adaptive resolutions to obtain a network adaptive resolution corresponding to different network speed measurement results; andconstructing the second relationship searching data based on the different network adaptive resolutions and a network test result interval corresponding to the different network adaptive resolutions obtained through a statistical analysis.

18. The electronic device of claim 14, wherein the processor is configured to implement following steps:acquiring a plurality of groups of historical influence parameters detected in a historical detection process, and determining an initial resolution corresponding to each group of the plurality of groups of historical influence parameters according to the relationship searching data;responding, based on a distribution of initial resolutions corresponding to the plurality of groups of historical influence parameters, to a resolution adjustment operation based on the distribution of the initial resolution to obtain an adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters, the adjusted resolution being a resolution that meets an adjustment requirement;performing a statistical analysis on the each group of the plurality of groups of historical influence parameters and the adjusted resolution corresponding to the each group of the plurality of groups of historical influence parameters; andoptimizing the relationship searching data based on a statistical analysis result.

19. The electronic device of claim 18, wherein the processor is configured to implement following steps:performing a utility evaluation on the adjusted resolution and a resolution before a current adjustment based on a utility indicator; andtaking the resolution before the current adjustment as an adjusted resolution that corresponds to a current group of the historical influence parameters and meets the adjustment requirement, in response to an evaluation result meeting a condition.

20. The electronic device of claim 19, wherein the processor is configured to implement following steps:acquiring first indicator data of the utility indicator corresponding to the resolution before the current adjustment and second indicator data of the utility indicator corresponding to the adjusted resolution;determining an indicator data change before and after a resolution adjustment according to the first indicator data and the second indicator data;determining a utility function according to the indicator data change; andperforming the utility evaluation on a resolution before and after the resolution adjustment based on the utility function and a constraint condition corresponding to the utility function.