A resource processing method, apparatus, device, and storage medium
By acquiring the device characteristics of the target display device and the content parameters of the multimedia resources, and using a preset bitrate prediction algorithm to determine the target bitrate, the problem of unreasonable bitrate allocation in resource processing methods is solved. This achieves the matching of multimedia resources with the device's processing capabilities on the target display device, thereby improving the user experience.
Patent Information
- Application Number
- CN202310004878.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-03
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-01-03
AI Technical Summary
Existing resource processing methods cannot allocate bitrates reasonably, resulting in mismatched resource utilization of audio playback devices and affecting user experience.
By acquiring the device characteristics of the target display device and the content parameters of the multimedia resources, the target bitrate is determined using a preset bitrate prediction algorithm, and the multimedia resources are encoded according to the target bitrate to ensure that the encoded resources match the device's processing capabilities.
This improved the user experience, ensured that the quality of multimedia resources displayed on the target display device matched the device's processing capabilities, and enhanced resource utilization efficiency.
Smart Images

Figure CN116095373B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of Internet technology, and in particular to a resource processing method, apparatus, device and storage medium. Background Technology
[0002] Users can access audio resources requested from the cloud server by the client through an audio playback device connected to the client. To conserve transmission and storage resources, audio resources need to be encoded during transmission and storage. The bitrate significantly affects the quality of the encoded audio resource.
[0003] Currently, audio resources are typically encoded at a preset bitrate. However, with technological advancements, the resource processing capabilities of audio playback devices vary significantly. Audio resources at the same bitrate may not be able to fully utilize the processing power of the playback device, resulting in a poor user experience. Summary of the Invention
[0004] This disclosure provides a resource processing method, apparatus, device, and storage medium to solve the problem that general methods cannot reasonably allocate bitrates.
[0005] The technical solution of this disclosure is as follows:
[0006] According to a first aspect of the present disclosure, a resource processing method is provided, comprising: acquiring control parameters for a resource processing process; the control parameters including: target device features of a target display device; the target display device being used to display target multimedia resources; the target device features being used to represent the resource processing capability of the target display device; during the resource processing process, determining a target bitrate based on the control parameters; the target bitrate being the bitrate at which the target display device displays the target multimedia resources; and performing an encoding operation on the target multimedia resources based on the target bitrate to obtain encoded target multimedia resources.
[0007] Optionally, the resource content of the target multimedia resource; the method for determining the target bitrate based on control parameters includes: reading the resource content and determining the target content parameters; the target content parameters include at least one of the following: the target resource type to which the target multimedia resource belongs among a variety of preset resource types, the bandwidth of the target multimedia resource, and the spectrum range; and determining the target bitrate based on the target content parameters and the characteristics of the target device.
[0008] Optionally, the method for determining the target bitrate based on the target content parameters and the target device characteristics includes: determining the predicted bitrate of the target multimedia resource based on the target content parameters using a preset first bitrate prediction algorithm; reading the preset correspondence between device characteristics and adjustment coefficients, and determining the adjustment coefficient corresponding to the target device characteristics as the target adjustment coefficient; and determining the target bitrate by multiplying the predicted bitrate by the target adjustment coefficient.
[0009] Optionally, a method for determining the predicted bitrate of the target multimedia resource based on the target content parameters according to a preset first bitrate prediction algorithm includes: inputting the target content parameters into a pre-trained first model to obtain the predicted bitrate; the first model is a model trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to multiple multimedia resources.
[0010] Optionally, based on a preset first bitrate prediction algorithm, the predicted bitrate of the target multimedia resource is determined according to the target content parameters, including: reading the preset correspondence between content parameters and bitrate, and determining the bitrate corresponding to the target content parameters as the predicted bitrate.
[0011] Optionally, the target bitrate is determined based on the target content parameters and target device characteristics, including: determining the target bitrate based on a preset second bitrate prediction algorithm; the second bitrate prediction algorithm includes: inputting the target content parameters and target device characteristics into a pre-trained second model to obtain the target bitrate; the second model is a model trained based on multiple content parameters corresponding to multiple multimedia resources, multiple device characteristics corresponding to multiple display devices, and multiple encoding bitrates corresponding to multiple multimedia resources within a preset historical time period.
[0012] Optionally, the target device features include: the preset bitrate of the target display device; and determining the target bitrate based on control parameters, including: setting the preset bitrate as the target bitrate.
[0013] Optionally, the target bitrate is determined according to control parameters, including: determining resource feature data of the target multimedia resource on the target display device based on the characteristics of the target device; determining the predicted display effect of the target multimedia resource based on a preset display effect prediction algorithm and resource feature data; and determining the target bitrate based on a preset second bitrate prediction algorithm and predicted display effect.
[0014] Optionally, the resource processing method further includes: receiving a resource request message from the target display device; the resource request message is used to request the acquisition of target multimedia resources; and sending the encoded target multimedia resources.
[0015] According to a second aspect of the present disclosure, a resource processing apparatus is provided, comprising an acquisition unit and a processing unit. The acquisition unit is configured to acquire control parameters for a resource processing process. The control parameters include: target device features of a target display device; the target display device is used to display target multimedia resources; the target device features represent the resource processing capability of the target display device. The processing unit is configured to determine a target bitrate based on the control parameters during the resource processing process; the target bitrate is the bitrate at which the target display device displays the target multimedia resources. The processing unit is further configured to perform an encoding operation on the target multimedia resources according to the target bitrate to obtain encoded target multimedia resources.
[0016] Optionally, the control parameters also include: the resource content of the target multimedia resource; the processing unit is specifically used to: read the resource content and determine the target content parameters; the target content parameters include: at least one of the target resource type, bandwidth, and spectrum range of the target multimedia resource among a variety of preset resource types; and determine the target bitrate based on the target content parameters and the characteristics of the target device.
[0017] Optionally, the processing unit is specifically used for: determining the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and the target content parameters; reading the preset correspondence between device features and adjustment coefficients, and determining the adjustment coefficient corresponding to the target device features as the target adjustment coefficient; and determining the target bitrate by multiplying the predicted bitrate and the target adjustment coefficient.
[0018] Optionally, the processing unit is specifically used to: input the target content parameters into a pre-trained first model to obtain the predicted bitrate; the first model is a model trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to multiple multimedia resources.
[0019] Optionally, the processing unit is specifically used to: read the preset correspondence between content parameters and bitrate, and determine the bitrate corresponding to the target content parameters as the predicted bitrate.
[0020] Optionally, the processing unit is specifically used to: determine the target bitrate based on a preset second bitrate prediction algorithm, according to the target content parameters and target device characteristics; the second bitrate prediction algorithm includes: inputting the target content parameters and target device characteristics into a pre-trained second model to obtain the target bitrate; the second model is a model trained based on multiple content parameters corresponding to multiple multimedia resources, multiple device characteristics corresponding to multiple display devices, and multiple encoding bitrates corresponding to multiple multimedia resources within a preset historical time period.
[0021] Optionally, the target device features include: a preset bitrate of the target display device; and a processing unit specifically used to: determine the preset bitrate as the target bitrate.
[0022] Optionally, the processing unit is specifically used for: determining resource feature data of the target multimedia resource on the target display device based on the characteristics of the target device; determining the predicted display effect of the target multimedia resource based on a preset display effect prediction algorithm and the resource feature data; and determining the target bitrate based on a preset second bitrate prediction algorithm and the predicted display effect.
[0023] Optionally, the processing unit is further configured to: receive a resource request message from the target display device; the resource request message is used to request the acquisition of target multimedia resources; and send the encoded target multimedia resources.
[0024] According to a third aspect of the present disclosure, a resource processing apparatus is provided, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement any of the resource processing methods in the first aspect or any of the optional resource processing methods in the second aspect.
[0025] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored, such that when the instructions in the computer-readable storage medium are executed by a processor of a resource processing apparatus, the resource processing apparatus is able to perform any of the optional resource processing methods of the first aspect described above.
[0026] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising instructions that, when executed on a processor of an electronic device, cause the electronic device to perform any of the optional resource processing methods of the first aspect described above.
[0027] The technical solution provided in this disclosure brings at least the following beneficial effects:
[0028] Based on any of the above aspects, in this disclosure, control parameters for the resource processing process can first be obtained. Then, a target bitrate can be determined based on the control parameters, and encoding operations can be performed on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource. Since the control parameters in this disclosure may include target device characteristics of the target display device used to display the target multimedia resource, and the target device characteristics represent the resource processing capability of the target display device, the target bitrate determined based on the control parameters is related to the resource processing capability of the target display device. Subsequently, when the target display device displays the target multimedia resource according to the target bitrate, the user of the target display device can obtain the quality of the target multimedia resource matching the resource processing capability of the target display device, thereby improving the user experience. Attached Figure Description
[0029] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure, and are not intended to unduly limit this disclosure.
[0030] Figure 1 A schematic diagram of a resource processing system provided in an embodiment of this disclosure;
[0031] Figure 2 This is a schematic diagram of the structure of a cloud server provided in an embodiment of the present disclosure;
[0032] Figure 3 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 1 ;
[0033] Figure 4 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 2 ;
[0034] Figure 5 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 3 ;
[0035] Figure 6 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 4 ;
[0036] Figure 7 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 5 ;
[0037] Figure 8 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 6 ;
[0038] Figure 9 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 7 ;
[0039] Figure 10 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 8 ;
[0040] Figure 11 A schematic diagram of a method for determining a target bit rate provided in an embodiment of this disclosure is shown;
[0041] Figure 12 This illustration shows a flowchart of a resource processing method provided in an embodiment of the present disclosure. Figure 9 ;
[0042] Figure 13 A schematic diagram illustrating a method for transmitting target multimedia resources according to an embodiment of this disclosure is shown;
[0043] Figure 14 A schematic diagram of the structure of a resource processing apparatus provided in an embodiment of this disclosure is shown. Figure 1 ;
[0044] Figure 15 A schematic diagram of the structure of a resource processing apparatus provided in an embodiment of this disclosure is shown. Figure 2 . Detailed Implementation
[0045] To enable those skilled in the art to better understand the technical solutions of this disclosure, the technical solutions in the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0046] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this disclosure described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0047] It should also be understood that the term "comprising" indicates the presence of the described feature, whole, step, operation, element and / or component, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements and / or components.
[0048] The data disclosed herein may be data authorized by the user or fully authorized by all parties.
[0049] As described in the background section, common resource processing methods cannot reasonably allocate bitrates, resulting in a mismatch between the quality of audio resources obtained by users and the processing capabilities of audio playback devices, leading to a poor user experience.
[0050] Based on this, embodiments of this disclosure provide a resource processing method. First, control parameters for the resource processing process are obtained. Then, a target bitrate is determined based on the control parameters, and encoding is performed on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource. Since the control parameters in this disclosure may include target device characteristics of the target display device used to display the target multimedia resource, and these target device characteristics represent the resource processing capability of the target display device, the target bitrate determined based on the control parameters is related to the resource processing capability of the target display device. Subsequently, when the target display device displays the target multimedia resource according to the target bitrate, the user of the target display device can obtain target multimedia resource quality matching the resource processing capability of the target display device, thereby improving the user experience.
[0051] The resource processing method provided in this disclosure is illustrated below with reference to the accompanying drawings:
[0052] Figure 1 This is a schematic diagram of a resource processing system provided in an embodiment of the present disclosure, such as... Figure 1 As shown, the resource processing system may include: a cloud server 101, a client device 102, and a target display device 103.
[0053] The client device 102 is interconnected with the cloud server 101 and the target display device 103.
[0054] Optionally, cloud server 101 can connect to multiple client devices, and client device 102 can also connect to multiple display devices. For ease of understanding, Figure 1 The following example illustrates the concept of "cloud server 101 connecting to a client device 102, and client device 102 connecting to a target display device 103".
[0055] Optionally, the client device 102 can be connected to the cloud server 101 and the target display device 103 via a wired connection or a wireless connection. The wireless connection can include wireless communication technologies such as Bluetooth and wireless local area network (Wi-Fi). This disclosure does not limit the scope of the embodiments.
[0056] Specifically, client device 102 can request multimedia resources that the user wants to use from cloud server 101. Cloud server 101 performs encoding operations on the multimedia resources based on the bitrate, and then sends the encoded multimedia resources to client device 102. Client 102 performs decoding operations on the received encoded multimedia resources, and then instructs target display device 103 to display the multimedia resources.
[0057] In some embodiments, the cloud server 101 may be a single server, or it may be a server cluster consisting of multiple servers. In some embodiments, the server cluster may also be a distributed cluster. This application does not limit the specific implementation of the cloud server 101.
[0058] In some embodiments, the cloud server 101 may also include or be connected to a database, and the multimedia resources of the multimedia resource service platform may be stored in the database. The client device 102 can access the multimedia resources in the database through the cloud server 101.
[0059] In some embodiments, the client device 102 can be any electronic product that can interact with the user through one or more means such as a keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device, such as mobile phone, tablet computer, handheld computer, personal computer (PC), wearable device, smart TV, etc.
[0060] In some embodiments, the target display device 103 can be any electronic product used to display multimedia resources, such as an audio device, headphones, a speaker, a projector, etc.
[0061] Optionally, the target display device 103 can be connected to the client device 102 through a target interface. For example, when the multimedia resource is an audio resource, the target interface can be an audio interface.
[0062] Optionally, the target display device 103 can be a resource display module on the client device 102, or it can be a physical device that is set up independently of the client device 102.
[0063] It is easy to understand that when the target display device 103 is a resource display module on the client device 102, the interaction between the target display device 103 and the client device 102 is an interaction between modules within the client device 102. In this case, the interaction process between the two is the same as when "the target display device 103 is a physical device that is independently set up from the client device 102".
[0064] For ease of understanding, such as Figure 1 As shown, this application mainly uses the example of "the target display device 103 is a physical device that is independently set up from the client device 102" for illustration.
[0065] It should be noted that the cloud server 101, client device 102 and target display device 103 mentioned above can all be referred to as electronic devices.
[0066] In some embodiments, such as Figure 2 As shown, the cloud server 101 may include the following service modules: bitrate estimation module 201 and multimedia resource encoding module 202.
[0067] The bitrate estimation module 201 is used to assign a corresponding bitrate to any display device displaying multimedia resources and send the bitrate to the multimedia resource encoding module 202.
[0068] The multimedia resource encoding module 202 is used to perform encoding operations on the multimedia resources according to the bitrate sent by the bitrate estimation module 201, so as to obtain the encoded multimedia resources.
[0069] The resource processing method provided in this disclosure can be applied to the aforementioned... Figure 1 The cloud server 101 in the application scenario shown.
[0070] like Figure 3 As shown, the resource processing method may include:
[0071] S301, The cloud server obtains control parameters for the resource processing process.
[0072] The control parameters may include: target device characteristics of the target display device. The target display device is used to display target multimedia resources. The target device characteristics represent the resource processing capabilities of the target display device.
[0073] Optionally, multimedia resources may include: image resources, text resources, audio resources, video resources, etc.
[0074] Optionally, the target device characteristics may include: the target display device's model, device type, preset bitrate, and the range of preset display parameters.
[0075] Optionally, the device type may include: a variety of pre-defined device types, such as high-end headphones, low-end headphones, high-end speakers, low-end speakers, etc.
[0076] Optionally, the preset bitrate can be the highest bitrate that the target display device can handle, or the preset optimal bitrate.
[0077] Optionally, preset display parameters may include: the frequency, loudness, and sound quality of playable audio on the target display device, or the frame rate, color saturation, contrast, and sharpness of playable video.
[0078] In one feasible way, combining Figure 1 The cloud server 101 may obtain control parameters for the resource processing process through methods including but not limited to the following two methods, which are not limited in this disclosure.
[0079] Method 1: Client device 102 sends a resource request message to cloud server 101. This resource request message includes control parameters. Accordingly, cloud server 101 reads the received resource request message and obtains the control parameters.
[0080] Method 2: When client device 102 registers with the multimedia resource service platform, it sends the target device characteristics to cloud server 101. Cloud server 101 can store the target device characteristics in its database. Subsequently, cloud server 101 can read control parameters from the database.
[0081] Optionally, the control parameters may also include: the resource content of the target multimedia resource.
[0082] In one possible implementation, the method by which a cloud server obtains the resource content of a target multimedia resource may include: the cloud server receiving a resource request message sent by a client device. The resource request message includes a resource identifier of the target multimedia resource. Then, the cloud server, based on the resource identifier, identifies the multimedia resource corresponding to the resource identifier stored in its database as the target multimedia resource and reads the resource content of the target multimedia resource.
[0083] S302. During resource processing, the cloud server determines the target bitrate based on control parameters.
[0084] The target bitrate is the bitrate at which the target display device displays the target multimedia resources.
[0085] It's easy to understand that when the control parameters only include the target device characteristics, the target bitrate determined by the cloud server is only related to the target display device. When the control parameters include both the target device characteristics and the resource content of the target multimedia resource, the target bitrate determined by the cloud server can be related to both the target display device and the target multimedia resource.
[0086] In one feasible approach, the cloud server determines the target bitrate based on control parameters using methods including, but not limited to, the following three methods, which are not limited in this disclosure.
[0087] Method 1: When the control parameters also include the resource content of the target multimedia resource, the cloud server can read the resource content and determine the target content parameters. These parameters include at least one of the following: the target resource type of the target multimedia resource among a set of preset resource types, and the bandwidth of the target multimedia resource. Then, the cloud server can determine the target bitrate based on the target content parameters, the characteristics of the target device, and a pre-trained neural network model.
[0088] Method 2: When the target device features include the preset bitrate of the target display device, the cloud server can determine the preset bitrate as the target bitrate.
[0089] Method 3: The cloud server can determine the resource characteristic data of the target multimedia resource on the target display device based on the characteristics of the target device. Then, based on a preset display effect prediction algorithm and the resource characteristic data, it can determine the predicted display effect of the target multimedia resource. Subsequently, the cloud server can determine the target bitrate based on a preset bitrate prediction algorithm and the predicted display effect.
[0090] S303, The cloud server performs encoding operations on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource.
[0091] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S301-S303, control parameters for the resource processing process can first be obtained. Then, the target bitrate can be determined according to the control parameters, and encoding operations can be performed on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource. Since the control parameters in this disclosure may include target device features of the target display device used to display the target multimedia resource, and the target device features are used to represent the resource processing capability of the target display device, the target bitrate determined according to the control parameters is related to the resource processing capability of the target display device. Subsequently, when the target display device displays the target multimedia resource according to the target bitrate, the user of the target display device can obtain the quality of the target multimedia resource that matches the resource processing capability of the target display device, thereby improving the user experience.
[0092] In an optional embodiment, when the control parameters also include the resource content of the target multimedia resource, the cloud server determines the target bitrate based on the control parameters. Figure 3 Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 3 ,like Figure 4 As shown in S302, the method by which the cloud server determines the target bitrate based on control parameters during resource processing includes:
[0093] S401, The cloud server reads the resource content and determines the target content parameters.
[0094] The target content parameters include at least one of the following: the target resource type to which the target multimedia resource belongs among a variety of preset resource types, the bandwidth of the target multimedia resource, and the spectrum range.
[0095] Optionally, resource types may include noise, speech, or music.
[0096] Optionally, each resource type can correspond to a range of multimedia resource compression bitrate values. For example, noise is 32-48 kilobits per second (kbps), speech is 48-64 kbps, and music is 64-96 kbps.
[0097] S402. The cloud server determines the target bitrate based on the target content parameters and the characteristics of the target device.
[0098] In one feasible approach, the target content parameters, target device characteristics, and target bitrate satisfy preset bitrate setting rules:
[0099] r = G(x,d)
[0100] Where r is the target bitrate, x is the target content parameter, d is the target device characteristic, and G is the preset bitrate setting rule.
[0101] The technical solutions provided by the above embodiments bring at least the following beneficial effects: As shown in S401-S402, the cloud server can read the resource content, determine the target content parameters, and then determine the target bitrate based on the target content parameters and the characteristics of the target device. This disclosure can provide a method for determining the target bitrate, wherein the obtained target bitrate corresponds to the target content parameters and the characteristics of the target device, that is, a target bitrate corresponding to the resource processing capability of the target display device in processing the target multimedia resources can be allocated to the target display device.
[0102] In one alternative embodiment, in Figure 4 Based on the illustrated method embodiments, this embodiment provides a possible implementation method for a cloud server to determine the target bitrate according to target content parameters and target device characteristics. Combined with... Figure 4 ,like Figure 5 As shown in S402, the method by which the cloud server determines the target bitrate based on the target content parameters and target device characteristics includes:
[0103] S501, the cloud server determines the predicted bitrate of the target multimedia resource based on the preset first bitrate prediction algorithm and the target content parameters.
[0104] In one possible implementation, the cloud server determines the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and target content parameters. This method may include, but is not limited to, the following two methods. This disclosure does not limit this method.
[0105] Method 1: The cloud server can input the target content parameters into a pre-trained first model to obtain the predicted bitrate of the target multimedia resource. The first model is trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to those resources.
[0106] Method 2: The cloud server can read the preset correspondence between content parameters and bitrate, and determine the bitrate corresponding to the target content parameters as the predicted bitrate.
[0107] S502, The cloud server reads the preset correspondence between device characteristics and adjustment coefficients, and determines the adjustment coefficient corresponding to the target device characteristics as the target adjustment coefficient.
[0108] For example, as shown in Table 1, the preset device feature is the device type, which includes: high-end headphones, low-end headphones, high-end speakers, and low-end speakers. The adjustment factor for high-end headphones is 1.0, for low-end headphones it is 0.95, for high-end speakers it is 0.9, and for low-end speakers it is 0.8.
[0109] Table 1
[0110] Equipment type Adjustment coefficient high-end headphones 1.0 low-end headphones 0.95 High-end speakers 0.9 Low-end speakers 0.8
[0111] S503, the cloud server determines the target bitrate by multiplying the predicted bitrate by the target adjustment factor.
[0112] In one feasible approach, the predicted bitrate, the target adjustment factor, and the target bitrate satisfy the following formula:
[0113] r = F(x, θ) * H(d)
[0114] Where r is the target bitrate, x is the target content parameter, θ is the preset interference term, d is the target device feature, H(d) is the target adjustment coefficient, and F is the predicted bitrate.
[0115] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S501-S503, the cloud server can determine the predicted bitrate of the target multimedia resource based on the target content parameters using a preset first bitrate prediction algorithm. The cloud server can also read the preset correspondence between device characteristics and adjustment coefficients, and determine the adjustment coefficient corresponding to the target device characteristics as the target adjustment coefficient. Then, the cloud server multiplies the predicted bitrate by the target adjustment coefficient to determine the target bitrate. This disclosure provides a method for determining the target bitrate based on target content parameters and target device characteristics, so that a target bitrate corresponding to the resource processing capability of the target display device for processing the target multimedia resource can be allocated to the target display device subsequently.
[0116] In one optional embodiment, the cloud server determines the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and target content parameters. Figure 5 Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 5 ,like Figure 6 As shown in S501, the cloud server determines the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and according to the target content parameters, including:
[0117] S601, the cloud server inputs the target content parameters into the pre-trained first model to obtain the predicted bitrate.
[0118] The first model is a model trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to the multiple multimedia resources.
[0119] Optionally, the first model can be a neural network model.
[0120] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S601, the cloud server can input the target content parameters into the pre-trained first model to obtain the predicted bitrate. This disclosure provides a method for determining the predicted bitrate, so that the target bitrate corresponding to the resource processing capability of the target display device can be determined subsequently based on the predicted bitrate and the target parameter coefficients.
[0121] In one optional embodiment, the cloud server determines the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and target content parameters. Figure 5 Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 5 ,like Figure 7 As shown in S501, the cloud server determines the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and according to the target content parameters, including:
[0122] S701: The cloud server reads the preset correspondence between content parameters and bitrate, and determines the bitrate corresponding to the target content parameters as the predicted bitrate.
[0123] It is easy to understand that when the target multimedia resource is fixed, the predicted bitrate will not change, and the target bitrate is only related to the target device characteristics of the target display device.
[0124] For example, the preset bitrate for resource A is 64 kilobits per second. When the target multimedia resource is resource A, the cloud server determines 64 kilobits per second as the predicted bitrate.
[0125] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S701, the cloud server can read the preset correspondence between content parameters and bitrates, and determine the bitrate corresponding to the target content parameters as the predicted bitrate. This disclosure provides a method for determining the predicted bitrate, so that the target bitrate corresponding to the resource processing capability of the target display device can be determined subsequently based on the predicted bitrate and the target parameter coefficients.
[0126] In one alternative embodiment, in Figure 4 Based on the illustrated method embodiments, this embodiment provides a possible implementation method for a cloud server to determine the target bitrate according to target content parameters and target device characteristics. Combined with... Figure 4 ,like Figure 8 As shown in S402, the method by which the cloud server determines the target bitrate based on the target content parameters and target device characteristics includes:
[0127] The S801 cloud server determines the target bitrate based on a preset second bitrate prediction algorithm, according to the target content parameters and target device characteristics.
[0128] In one feasible approach, the target content parameters, target device characteristics, and target bitrate satisfy the following formula:
[0129] r = F(x, θ) d )
[0130] Where r is the target bitrate, x is the target content parameter, and θ d is the device reference term corresponding to the target device features, and F is the second bit rate prediction algorithm.
[0131] There is a correspondence between the target device features and the device reference items. For example, as shown in Table 2, the preset device feature is device type, which includes: high-end headphones, low-end headphones, high-end speakers, and low-end speakers. Specifically, the device reference item corresponding to high-end headphones is 4.0, the device reference item corresponding to low-end headphones is 3.9, the device reference item corresponding to high-end speakers is 3.8, and the device reference item corresponding to low-end speakers is 3.5.
[0132] Table 2
[0133] Equipment type Equipment Reference Items high-end headphones 4.0 low-end headphones 3.9 High-end speakers 3.8 Low-end speakers 3.5
[0134] In one possible approach, the cloud server determines the target bitrate based on a pre-set second bitrate prediction algorithm, according to the target content parameters and target device characteristics. This method may include: the cloud server inputs the target content parameters and target device characteristics into a pre-trained second model to obtain the target bitrate of the target multimedia resource.
[0135] The second model is a model trained based on multiple content parameters corresponding to multiple multimedia resources, multiple device features corresponding to multiple display devices, and multiple encoding bitrates corresponding to multiple multimedia resources within a preset historical time period.
[0136] Optionally, the second model can be a neural network model.
[0137] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S801, the cloud server can determine the target bitrate based on the preset second bitrate prediction algorithm, according to the target content parameters and target device characteristics. This disclosure provides a method for determining the target bitrate based on the target content parameters and target device characteristics, so that a target bitrate corresponding to the resource processing capability of the target display device for processing target multimedia resources can be allocated to the target display device subsequently.
[0138] In one optional embodiment, when the target device characteristic is a preset bitrate of the target display device, the cloud server determines the target bitrate according to control parameters using a method that... Figure 3 Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 3 ,like Figure 9 As shown in S302, the method by which the cloud server determines the target bitrate based on control parameters during resource processing includes:
[0139] S901, the cloud server sets the preset bitrate as the target bitrate.
[0140] Optionally, the preset bitrate can be the highest bitrate that the target display device can handle, or the preset optimal bitrate.
[0141] In one possible approach, the cloud server may obtain the preset bitrate using methods including, but not limited to, the following two methods, which are not limited in this disclosure.
[0142] Method 1: The client device sends a resource request message to the cloud server. This resource request message includes a preset bitrate. Correspondingly, the cloud server reads the received resource request message and obtains the preset bitrate.
[0143] Method 2: When the client device registers on the multimedia resource service platform, it sends a preset bitrate to the cloud server. The cloud server can store the preset bitrate in its database. Subsequently, the cloud server can retrieve the preset bitrate from the database.
[0144] The technical solutions provided by the above embodiments bring at least the following beneficial effects: As can be seen from S901, when the target device characteristic is the preset bitrate of the target display device, the cloud server can determine the preset bitrate as the target bitrate. This disclosure can provide a method for determining the target bitrate, and the obtained target bitrate is the preset bitrate of the target display device, that is, a target bitrate corresponding to the resource processing capability of the target display device for processing target multimedia resources can be allocated to the target display device.
[0145] In one alternative embodiment, the cloud server determines the target bitrate based on control parameters. Figure 3 Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 3 ,like Figure 10 As shown in S302, the method by which the cloud server determines the target bitrate based on control parameters during resource processing includes:
[0146] S1001, The cloud server determines the resource characteristic data of the target multimedia resources on the target display device based on the characteristics of the target device.
[0147] It is easy to understand that, based on the characteristics of the target device, the resource characteristic data of the target multimedia resource on the target display device can be determined, which can be used to simulate the display effect of the target multimedia resource on the target display device.
[0148] In one feasible way, such as Figure 11 As shown, when the target device characteristic is the device frequency response, the cloud server can perform a convolution operation on the target multimedia resources and the device frequency response to simulate the target display device and obtain multiple reference bitrates. Then, the cloud server can encode the target multimedia resources according to each reference bitrate and obtain the resource feature data corresponding to the encoded target multimedia resources. The above steps can be called the "data synthesis" process.
[0149] Optionally, the resource characteristic data can be the audio quality index specified in the perceptual evaluation of audio quality (PEAQ) recommended by ITU-R BS.1387.
[0150] Optionally, the device frequency response can be the device's own frequency response curve, or it can be superimposed with the transmission function corresponding to the audio propagation from the device through the air to the human ear. This disclosure does not limit this.
[0151] The frequency response of a device can be the frequency response of a specific device, or it can be the average of the frequency responses of multiple devices of a certain type. This disclosure does not limit it in this respect.
[0152] S1002, The cloud server determines the predicted display effect of the target multimedia resource based on a preset display effect prediction algorithm and resource feature data.
[0153] In one feasible way, such as Figure 11 As shown, the method by which a cloud server determines the predicted display effect of a target multimedia resource based on a preset display effect prediction algorithm and resource feature data may include: the cloud server acquiring multiple resource feature data corresponding to multiple reference bitrates, and then inputting the multiple resource feature data into a pre-trained neural network to obtain the predicted display effect of the target multimedia resource. The above steps can be referred to as the "effect prediction" process.
[0154] S1003, the cloud server determines the target bitrate based on the preset second bitrate prediction algorithm and the predicted display effect.
[0155] In one feasible way, such as Figure 11 As shown, the method by which the cloud server determines the target bitrate based on a preset second bitrate prediction algorithm and the predicted display effect can include: after obtaining the predicted display effect, the cloud server can input the predicted display effect into a pre-trained neural network to construct a curve corresponding to the predicted display effect and the bitrate, and then determine the bitrate corresponding to the preset target display effect as the target bitrate. The above steps can be called the "bitrate prediction" process.
[0156] The technical solution provided by the above embodiments brings at least the following beneficial effects: As shown in S1001-S1003, the cloud server can determine the resource feature data of the target multimedia resource on the target display device based on the characteristics of the target device. Then, the cloud server can determine the predicted display effect of the target multimedia resource based on a preset display effect prediction algorithm and the resource feature data, and determine the target bitrate based on a preset second bitrate prediction algorithm and the predicted display effect. This disclosure can provide a method for determining the target bitrate, wherein the obtained target bitrate corresponds to the target content parameters and the target device characteristics, that is, a target bitrate corresponding to the resource processing capability of the target display device in processing the target multimedia resource can be allocated to the target display device.
[0157] In one alternative embodiment, in Figure 3Based on the illustrated method embodiments, this embodiment provides a possible implementation. In conjunction with... Figure 3 ,like Figure 12 As shown, the resource processing method further includes:
[0158] S1201, The cloud server receives the resource request message from the target display device.
[0159] The resource request message is used to request the acquisition of the target multimedia resource.
[0160] Optionally, the order of S1201 and S301-S303 is not limited in the embodiments of this disclosure. The cloud server may execute S1201 first and then S301-S303; or it may execute S301-S303 first and then S1201; or it may execute S1201 and S301-S303 simultaneously. For ease of understanding, this disclosure uses "execute S1201 first and then S301-S303" as an example for explanation.
[0161] S1202, The cloud server sends the encoded target multimedia resources.
[0162] like Figure 13 As shown, the client device can send target device characteristics to the server through the target interface. After receiving the resource request message from the target display device, the cloud server can perform a bitrate estimation operation to determine the target bitrate corresponding to the target device characteristics. Then, the cloud server can perform encoding operations on the target multimedia resource according to the target bitrate, and then send the encoded target multimedia resource to the client device.
[0163] After receiving the encoded target multimedia resource, the client device can perform a decoding operation on the encoded target multimedia resource, and then instruct the target display device to display the multimedia resource through the target interface.
[0164] The technical solution provided by the above embodiments brings at least the following beneficial effects: As can be seen from S1201-S1202, after the cloud server receives the resource request message from the target display device, it can send the encoded target multimedia resources so that the target display device can display the target multimedia resources according to the target bitrate.
[0165] The following description uses "multimedia resources as audio resources" as an example to illustrate the embodiments of this disclosure. The resource processing method includes:
[0166] S1. The target playback device sends a resource request message to the cloud server through the audio interface.
[0167] The resource request message includes: the resource identifier of the target audio resource, and the target device characteristics of the target playback device.
[0168] S2. The cloud server responds to the resource request message, determines the target audio resource corresponding to the resource identifier, and the target device type corresponding to the target device characteristics.
[0169] S3. During resource processing, the cloud server determines the target bitrate for the target audio resource to be played on the target playback device based on the target device type.
[0170] S4. The cloud server performs encoding operations on the target audio resource according to the target bitrate, obtains the encoded target audio resource, and sends the encoded target audio resource to the client.
[0171] S5. The client will perform a decoding operation on the received encoded multimedia resources and send the target audio resources to the target playback device through the audio interface.
[0172] S6. The target playback device plays the target audio resource.
[0173] It is understood that, in actual implementation, the resource processing apparatus described in the embodiments of this disclosure may include one or more hardware structures and / or software modules for implementing the aforementioned corresponding resource processing methods. These hardware structures and / or software modules can constitute an electronic device. Those skilled in the art should readily recognize that, based on the algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this disclosure can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in a hardware or software-driven manner depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this disclosure.
[0174] Based on this understanding, the present disclosure also provides a resource processing device. Figure 14 A schematic diagram of the structure of the resource processing apparatus provided in an embodiment of this disclosure is shown. Figure 1 .like Figure 14 As shown, the resource processing device includes an acquisition unit 1401 and a processing unit 1402.
[0175] The acquisition unit 1401 is used to acquire control parameters of the resource processing process; the control parameters include: target device characteristics of the target display device; the target display device is used to display target multimedia resources; the target device characteristics are used to represent the resource processing capabilities of the target display device.
[0176] The processing unit 1402 is used to determine the target bitrate according to control parameters during resource processing; the target bitrate is the bitrate at which the target display device displays the target multimedia resource.
[0177] The processing unit 1402 is also used to perform encoding operations on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource.
[0178] Optionally, the control parameters also include: the resource content of the target multimedia resource; the processing unit 1402 is specifically used to: read the resource content and determine the target content parameters; the target content parameters include: at least one of the target resource type to which the target multimedia resource belongs among a variety of preset resource types, the bandwidth of the target multimedia resource, and the spectrum range; and determine the target bitrate based on the target content parameters and the characteristics of the target device.
[0179] Optionally, the processing unit 1402 is specifically used for: determining the predicted bitrate of the target multimedia resource based on a preset first bitrate prediction algorithm and the target content parameters; reading the preset correspondence between device features and adjustment coefficients, determining the adjustment coefficient corresponding to the target device features as the target adjustment coefficient; and determining the target bitrate by multiplying the predicted bitrate by the target adjustment coefficient.
[0180] Optionally, the processing unit 1402 is specifically used to: input the target content parameters into a pre-trained first model to obtain the predicted bitrate; the first model is a model trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to multiple multimedia resources.
[0181] Optionally, the processing unit 1402 is specifically used to: read the preset correspondence between content parameters and bitrate, and determine the bitrate corresponding to the target content parameters as the predicted bitrate.
[0182] Optionally, the processing unit 1402 is specifically used to: determine the target bitrate based on a preset second bitrate prediction algorithm, according to the target content parameters and target device characteristics; the second bitrate prediction algorithm includes: inputting the target content parameters and target device characteristics into a pre-trained second model to obtain the target bitrate; the second model is a model trained based on multiple content parameters corresponding to multiple multimedia resources, multiple device characteristics corresponding to multiple display devices, and multiple encoding bitrates corresponding to multiple multimedia resources within a preset historical time period.
[0183] Optionally, the target device features include: a preset bitrate of the target display device; the processing unit 1402 is specifically used to: determine the preset bitrate as the target bitrate.
[0184] Optionally, the processing unit 1402 is specifically used to: determine the resource feature data of the target multimedia resource on the target display device according to the characteristics of the target device; determine the predicted display effect of the target multimedia resource based on a preset display effect prediction algorithm and the resource feature data; and determine the target bitrate based on a preset second bitrate prediction algorithm and the predicted display effect.
[0185] Optionally, the processing unit 1402 is further configured to: receive a resource request message from the target display device; the resource request message is used to request the acquisition of target multimedia resources; and send the encoded target multimedia resources.
[0186] As described above, the embodiments of this disclosure can divide the cloud server into functional modules according to the above method examples. The integrated modules can be implemented in hardware or as software functional modules. Furthermore, it should be noted that the module division in these embodiments is illustrative and represents only one logical functional division; in actual implementation, other division methods may be used. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into a single processing module.
[0187] Regarding the resource processing device in the above embodiments, the specific methods by which each module performs operations and the beneficial effects thereof have been described in detail in the foregoing method embodiments, and will not be repeated here.
[0188] This disclosure also provides a resource processing apparatus. Figure 15 A schematic diagram of the structure of the resource processing apparatus provided in an embodiment of this disclosure is shown. Figure 2 The resource processing device may include at least one processor 221, a communication bus 222, a memory 223, and at least one communication interface 224.
[0189] Processor 221 may be a central processing unit (CPU), a microprocessor unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure. Figure 14 The processor 221 is used to execute the operations performed by the acquisition unit 1401 and the processing unit 1402.
[0190] The communication bus 222 may include a path for transmitting information between the aforementioned components.
[0191] Communication interface 224 uses any transceiver-like device for communicating with other devices or communication networks, such as electronic devices, Ethernet, radio access network (RAN), wireless local area network (WLAN), etc.
[0192] The memory 223 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital versatile optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto. The memory may exist independently and be connected to the processing unit via a bus. The memory may also be integrated with the processing unit.
[0193] The memory 223 stores the application code that executes the scheme of this disclosure, and its execution is controlled by the processor 221. The processor 221 executes the application code stored in the memory 223 to implement the functions of the method of this disclosure.
[0194] In a specific implementation, as one embodiment, processor 221 may include one or more central processing units, such as... Figure 15 Central Processing Unit 0 and Central Processing Unit 1.
[0195] In a specific implementation, as one example, the resource processing device may include multiple processors, for example... Figure 15 Processors 221 and 225 are described herein. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor here may refer to one or more devices, circuits, and / or processing cores used to process data (e.g., computer program instructions).
[0196] In a specific implementation, as one embodiment, the resource processing device may further include an input device 226 and an output device 227. The input device 226 and output device 227 communicate and can accept user input in various ways. For example, the input device 226 may be a mouse, keyboard, touchscreen device, or sensing device. The output device 227 communicates with the processor 221 and can display information in various ways. For example, the output device 227 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, etc.
[0197] Those skilled in the art will understand that Figure 15 The structure shown does not constitute a limitation on the resource processing device and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0198] This disclosure also provides a computer-readable storage medium including instructions stored thereon, which, when executed by a processor of a resource processing apparatus, enables the resource processing apparatus to perform the resource processing method provided in the embodiments described above. For example, the computer-readable storage medium may be a memory 223 including instructions, which may be executed by a processor 221 of the resource processing apparatus to perform the method described above.
[0199] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as ROM, RAM, CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0200] This disclosure also provides a computer program product containing instructions that, when run on an electronic device, cause the electronic device to perform the resource processing method provided in the embodiments described above.
[0201] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
[0202] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.
Claims
1. A resource processing method, characterized in that, include: Obtain control parameters for the resource processing procedure; The control parameters include: target device characteristics of the target display device; or, the control parameters include the target device characteristics of the target display device and the resource content of the target multimedia resource; the target display device is used to display the target multimedia resource; the target device characteristics are used to represent the resource processing capability of the target display device; During the resource processing, a target bitrate is determined based on the control parameters; the target bitrate is the bitrate at which the target display device displays the target multimedia resource. The target multimedia resource is encoded according to the target bitrate to obtain the encoded target multimedia resource. Wherein, when the control parameters include target device characteristics of the target display device, determining the target bitrate based on the control parameters includes: Based on the target device characteristics, the resource feature data of the target multimedia resource on the target display device is determined; each of the resource feature data is the feature data corresponding to the resource after the target multimedia resource is encoded based on a reference bitrate; Based on a preset display effect prediction algorithm and multiple resource feature data corresponding to multiple reference bitrates, the predicted display effect of the target multimedia resource is determined. Based on a preset second bitrate prediction algorithm, a curve corresponding to the predicted display effect and bitrate is constructed, and the bitrate corresponding to the preset target display effect is determined as the target bitrate.
2. The resource processing method according to claim 1, characterized in that, The control parameters include the target device characteristics of the target display device and the resource content of the target multimedia resource; Determining the target bitrate based on the control parameters includes: Read the resource content and determine the target content parameters; the target content parameters include at least one of the following: the target resource type to which the target multimedia resource belongs among a preset variety of resource types, the bandwidth of the target multimedia resource, and the spectrum range; The target bitrate is determined based on the target content parameters and the target device characteristics.
3. The resource processing method according to claim 2, characterized in that, Determining the target bitrate based on the target content parameters and the target device characteristics includes: Based on a preset first bitrate prediction algorithm, the predicted bitrate of the target multimedia resource is determined according to the target content parameters; Read the preset correspondence between device features and adjustment coefficients, and determine the adjustment coefficient corresponding to the target device feature as the target adjustment coefficient; The target bitrate is determined by multiplying the predicted bitrate by the target adjustment factor.
4. The resource processing method according to claim 3, characterized in that, The first bitrate prediction algorithm based on a preset bitrate, which determines the predicted bitrate of the target multimedia resource according to the target content parameters, includes: The target content parameters are input into a pre-trained first model to obtain the predicted bitrate; the first model is a model trained based on multiple content parameters corresponding to multiple multimedia resources within a preset historical time period, and multiple encoding bitrates corresponding to the multiple multimedia resources.
5. The resource processing method according to claim 3, characterized in that, The first bitrate prediction algorithm based on a preset bitrate, which determines the predicted bitrate of the target multimedia resource according to the target content parameters, includes: The preset correspondence between content parameters and bitrate is read, and the bitrate corresponding to the target content parameters is determined as the predicted bitrate.
6. The resource processing method according to claim 2, characterized in that, Determining the target bitrate based on the target content parameters and the target device characteristics includes: Based on a preset second bitrate prediction algorithm, the target bitrate is determined according to the target content parameters and the target device features; the second bitrate prediction algorithm includes: inputting the target content parameters and the target device features into a pre-trained second model to obtain the target bitrate; the second model is a model trained based on multiple content parameters corresponding to multiple multimedia resources, multiple device features corresponding to multiple display devices, and multiple encoding bitrates corresponding to the multiple multimedia resources within a preset historical time period.
7. The resource processing method according to claim 1, characterized in that, The target device is characterized by: the preset bitrate of the target display device; determining the target bitrate according to the control parameters includes: The preset bitrate is determined as the target bitrate.
8. The resource processing method according to any one of claims 1-7, characterized in that, Also includes: Receive the resource request message from the target display device; The resource request message is used to request the acquisition of the target multimedia resource; Send the encoded target multimedia resource.
9. A resource processing device, characterized in that, include: Acquisition unit and processing unit; The acquisition unit is used to acquire control parameters for the resource processing process; the control parameters include: target device characteristics of the target display device; the target display device is used to display target multimedia resources; the target device characteristics are used to represent the resource processing capabilities of the target display device; The processing unit is configured to determine a target bitrate based on the control parameters during the resource processing process; the target bitrate is the bitrate at which the target display device displays the target multimedia resource. The processing unit is further configured to perform an encoding operation on the target multimedia resource according to the target bitrate to obtain the encoded target multimedia resource; Specifically, the processing unit is used for: Based on the target device characteristics, the resource feature data of the target multimedia resource on the target display device is determined; each of the resource feature data is the feature data corresponding to the resource after the target multimedia resource is encoded based on a reference bitrate; Based on a preset display effect prediction algorithm and multiple resource feature data corresponding to multiple reference bitrates, the predicted display effect of the target multimedia resource is determined. Based on a preset second bitrate prediction algorithm, a curve corresponding to the predicted display effect and bitrate is constructed, and the bitrate corresponding to the preset target display effect is determined as the target bitrate.
10. An electronic device, characterized in that, The electronic device includes: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the resource processing method as described in any one of claims 1-8.
11. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to perform the resource processing method as described in any one of claims 1-8.
Citation Information
Patent Citations
Method and device for determining of video playing first access code rate
CN103179438A
Audio coding method and device, computer equipment and medium
CN112767956A