Resource processing method, device, equipment and storage medium

By acquiring the first resource data and correction coefficient of the multimedia resource, the changes in the consumption of available conversion resources between the processing methods are determined, and the problem of low evaluation accuracy in the prior art is solved, and a more accurate evaluation of the change in resource consumption is achieved.

CN115988070BActive Publication Date: 2025-02-25BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310028899.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-09
Publication Date
2025-02-25
Estimated Expiration
2043-01-09

AI Technical Summary

Technical Problem

In the prior art, the changes in consumption of available conversion resources determined by the server are inconsistent with the consumption changes in consumption when the number of available conversion resources is fixed, resulting in low accuracy of switching evaluation results between processing methods.

Method used

By obtaining the first resource data of the multimedia resource, the first change result is determined, indicating the consumption change between processing methods when the number of available conversion resources changes, and using the correction coefficient to correct the deviation caused by the change in quantity, the second change result is obtained, indicating that Changes in consumption when the number of available conversion resources is fixed.

Benefits of technology

Improve the accuracy of changes in consumption of available conversion resources and ensure that the evaluation results of switching between processing methods are more valuable for reference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115988070B_ABST
    Figure CN115988070B_ABST
Patent Text Reader

Abstract

The present disclosure is about a resource processing method, device, equipment and storage medium, which relates to the field of Internet technology and can solve the problem of low accuracy of changes corresponding to switching between processing modes. The method includes: obtaining first resource data of a multimedia resource; determining a first change result based on the first resource data; the first change result is used to indicate changes in the consumption of available conversion resources of the multimedia resource when the number of available conversion resources of the multimedia resource changes and the first processing mode is switched to the second processing mode; determining a second change result based on the first change result and a correction coefficient; the second change result is used to indicate changes in the consumption of available conversion resources of the multimedia resource when the first processing mode is switched to the second processing mode when the number of available conversion resources is fixed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular to a resource processing method, device, equipment and storage medium. Background Art

[0002] In the multimedia resource push method, the server can recommend multimedia resources to the client through various processing methods. At the same time, the process of recommending multimedia resources needs to consume the available conversion resources corresponding to the multimedia resources. Accordingly, the server can obtain the available conversion resources consumed by the server. With the development of artificial intelligence algorithms, different processing methods can be switched to obtain a processing method that can improve the conversion resources obtained by the server.

[0003] In order to evaluate the change in available conversion resource consumption caused by switching between processing modes, the general method specifically includes: matching the server through the first processing mode to determine first resource data of available conversion resource consumption of multimedia resources, and matching the server through the second processing mode to determine second resource data of available conversion resource consumption of multimedia resources. Subsequently, the change in available conversion resource consumption caused by switching between the first processing mode and the second processing mode is determined based on the first resource data and the second resource data.

[0004] When the number of available conversion resources is fixed, the corresponding number of available conversion resource consumption cannot exceed the number of available conversion resources. However, in the general method, there is a situation where the number of available conversion resource consumption is greater than the number of available conversion resources. At this time, the change in available conversion resource consumption determined by the server is inconsistent with the change in available conversion resource consumption when the number of available conversion resources is fixed, resulting in a low accuracy of the evaluation result of switching between processing methods and no reference value. Summary of the invention

[0005] The present disclosure provides a resource processing method, apparatus, device and storage medium, which are used to solve the problem that the change of available conversion resource consumption determined by the general method has low accuracy.

[0006] The technical solution of the embodiment of the present disclosure is as follows:

[0007] According to a first aspect of an embodiment of the present disclosure, a resource processing method is provided, including: acquiring first resource data of a multimedia resource; the first resource data including: conversion resource data corresponding to a first processing method and conversion resource data corresponding to a second processing method; the first processing method and the second processing method are used to recommend multimedia resources to a client; determining a first change result based on the first resource data; the first change result is used to indicate changes in consumption of available conversion resources of the multimedia resource corresponding to switching between the first processing method and the second processing method when the number of available conversion resources of the multimedia resource changes; determining a second change result based on the first change result and a correction coefficient; the correction coefficient is used to correct deviations caused by changes in the number of available conversion resources; the second change result is used to indicate changes in consumption of available conversion resources of the multimedia resource corresponding to switching between the first processing method and the second processing method when the number of available conversion resources is fixed.

[0008] Optionally, the resource processing method further includes: acquiring second resource data of the multimedia resource; the second resource data including: a plurality of conversion resource data corresponding one to one to a plurality of available conversion resource quantities; and determining a correction coefficient based on the second resource data.

[0009] Optionally, the second resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; the above-mentioned method of "determining the correction coefficient based on the second resource data" includes: determining a first change rate of the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity and the conversion resource data corresponding to the second available conversion resource quantity; the first available conversion resource quantity and the second available conversion resource quantity are two different available conversion resource quantities among multiple available conversion resource quantities; determining a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity and the expected value; and performing data optimization on the first change rate and the second change rate based on a data optimization algorithm to obtain a correction coefficient.

[0010] Optionally, the first resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; the first change result includes: a third change rate of the available conversion resource consumption quantity, a fourth change rate of the available conversion resource consumption quantity relative to the available conversion resource consumption quantity; the above-mentioned method of "determining the first change result based on the first resource data" includes: determining the third change rate based on the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method; determining the fourth change rate based on the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method and the expected value.

[0011] Optionally, the multimedia resources include: a first resource or a second resource; the amount of available conversion resource consumption of the first resource is equal to the amount of available conversion resource consumption of the first resource; the amount of available conversion resource consumption of the second resource is less than the amount of available conversion resource consumption of the second resource; the second change result includes: a fifth change rate of the amount of available conversion resource consumption of the first resource, a sixth change rate of the amount of available conversion resource consumption of the second resource; the above-mentioned method of "determining the second change result based on the first change result and the correction coefficient" includes: determining the fifth change rate based on the third change rate of the first resource, the fourth change rate of the first resource and the correction coefficient; determining the sixth change rate based on the third change rate of the second resource, the fourth change rate of the second resource and the correction coefficient.

[0012] Optionally, the resource processing method also includes: determining the depreciation rate of the available conversion resource consumption amount of the first resource based on the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource among multiple multimedia resources; the depreciation rate is the ratio of the available conversion resource consumption amount of the second resource to the total available conversion resource consumption; the total available conversion resource consumption includes: the sum of the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource; determining the seventh change rate of the first resource based on the third change rate and the depreciation rate of the first resource; determining the eighth change rate based on the sixth change rate, the seventh change rate, the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource; the eighth change rate is used to represent the change in the available conversion resource consumption of the corresponding multiple multimedia resources when switching between the first processing mode and the second processing mode when the available conversion resource amount of the multiple multimedia resources is fixed.

[0013] Optionally, the resource processing method further includes: executing a target operation according to the second change result; the target operation includes: updating the number of available conversion resources of multimedia resources, updating the resource conversion strategy of multimedia resources, and switching processing methods.

[0014] According to a second aspect of an embodiment of the present disclosure, a resource processing device is provided, including: an acquisition unit and a first processing unit; the acquisition unit is used to acquire first resource data of a multimedia resource; the first resource data includes: conversion resource data corresponding to the first processing method and conversion resource data corresponding to the second processing method; the first processing method and the second processing method are used to recommend multimedia resources to a client; the first processing unit is used to determine a first change result according to the first resource data acquired by the acquisition unit; the first change result is used to indicate the change in the consumption of available conversion resources of the multimedia resource when the first processing method and the second processing method are switched when the number of available conversion resources of the multimedia resource changes; the first processing unit is also used to determine a second change result according to the first change result and a correction coefficient; the correction coefficient is used to correct the deviation caused by the change in the number of available conversion resources; the second change result is used to indicate the change in the consumption of available conversion resources of the multimedia resource when the first processing method and the second processing method are switched when the number of available conversion resources is fixed.

[0015] Optionally, the resource processing device also includes: a second processing unit; the second processing unit is used to: obtain second resource data of the multimedia resource; the second resource data includes: multiple conversion resource data corresponding to multiple available conversion resource quantities one by one; determine the correction coefficient based on the second resource data.

[0016] Optionally, the second resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; a second processing unit, specifically used to: determine a first change rate of the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity and the conversion resource data corresponding to the second available conversion resource quantity; the first available conversion resource quantity and the second available conversion resource quantity are two different available conversion resource quantities among multiple available conversion resource quantities; determine a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity and the expected value; perform data optimization on the first change rate and the second change rate based on a data optimization algorithm to obtain a correction coefficient.

[0017] Optionally, the first resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; the first change result includes: a third change rate of the available conversion resource consumption quantity, a fourth change rate of the available conversion resource consumption quantity relative to the available conversion resource consumption quantity; the first processing unit is specifically used to: determine the third change rate based on the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method; determine the fourth change rate based on the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method and the expected value.

[0018] Optionally, the multimedia resources include: a first resource or a second resource; the amount of available conversion resource consumption of the first resource is equal to the amount of available conversion resource consumption of the first resource; the amount of available conversion resource consumption of the second resource is less than the amount of available conversion resource consumption of the second resource; the second change result includes: a fifth change rate of the amount of available conversion resource consumption of the first resource, a sixth change rate of the amount of available conversion resource consumption of the second resource; the first processing unit is specifically used to: determine the fifth change rate based on the third change rate of the first resource, the fourth change rate of the first resource and a correction coefficient; determine the sixth change rate based on the third change rate of the second resource, the fourth change rate of the second resource and a correction coefficient.

[0019] Optionally, the first processing unit is also used to: determine the depreciation rate of the available conversion resource consumption amount of the first resource based on the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource among multiple multimedia resources; the depreciation rate is the ratio of the available conversion resource consumption amount of the second resource to the total available conversion resource consumption; the total available conversion resource consumption includes: the sum of the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource; determine the seventh change rate of the first resource based on the third change rate and the depreciation rate; determine the eighth change rate based on the sixth change rate, the seventh change rate, the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource; the eighth change rate is used to represent the change in the available conversion resource consumption of the corresponding multiple multimedia resources when switching between the first processing mode and the second processing mode when the available conversion resource amount of the multiple multimedia resources is fixed.

[0020] Optionally, the first processing unit is further used to: perform a target operation according to the second change result; the target operation includes: updating the number of available conversion resources of multimedia resources, updating the resource conversion strategy of multimedia resources, and switching processing methods.

[0021] According to a third aspect of an embodiment of the present disclosure, a resource processing device 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 one of the optional resource processing methods in the above-mentioned first aspect.

[0022] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which instructions are stored. When the instructions in the computer-readable storage medium are executed by a processor of a resource processing device, the resource processing device is enabled to execute any one of the optional resource processing methods in the above-mentioned first aspect.

[0023] According to a fifth aspect of an embodiment of the present disclosure, there is provided a computer program product comprising instructions, which, when executed on a processor of an electronic device, enables the electronic device to execute any one of the optional resource processing methods of the first aspect.

[0024] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

[0025] The technical solution provided by the present disclosure brings at least the following beneficial effects:

[0026] Based on any of the above aspects, in the present disclosure, the server can determine the first change result based on the first resource data of the multimedia resource obtained. The first change result is used to indicate the change in the consumption of available conversion resources of the multimedia resource when the number of available conversion resources of the multimedia resource changes and the first processing method and the second processing method are switched. Then, the server can determine the second change result based on the first change result and the correction coefficient. Since the correction coefficient can correct the deviation caused by the change in the number of available conversion resources, the obtained second change result can indicate the change in the consumption of available conversion resources of the multimedia resource when the first processing method and the second processing method are switched when the number of available conversion resources is fixed. Compared with the general method, the problem of low accuracy of the change in the consumption of available conversion resources when the number of available conversion resources is fixed is solved, and the accuracy of the second change result can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0028] Figure 1 A schematic diagram of a resource processing system provided in an embodiment of the present disclosure;

[0029] Figure 2 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 1 ;

[0030] Figure 3 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 2 ;

[0031] Figure 4 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 3 ;

[0032] Figure 5A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 4 ;

[0033] Figure 6 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 5 ;

[0034] Figure 7 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 6 ;

[0035] Figure 8 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 7 ;

[0036] Fig. 9 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 8 ;

[0037] Fig.10 A schematic diagram showing a process of a resource processing method provided by an embodiment of the present disclosure Figure 9 ;

[0038] Fig.11 The structure of a resource processing device provided by the embodiment of the present disclosure is shown in FIG. Figure 1 ;

[0039] Fig.12 The structure of a resource processing device provided by the embodiment of the present disclosure is shown in FIG. Figure 2 . DETAILED DESCRIPTION

[0040] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0041] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0042] It should also be understood that the term “comprising” indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements and / or components.

[0043] The data involved in the present disclosure may be data authorized by the user or fully authorized by all parties.

[0044] As described in the background technology, in the general method, the change in consumption of available conversion resources determined by the server is inconsistent with the change in consumption of available conversion resources when the number of available conversion resources is fixed, which leads to switching between the first processing method and the second processing method. The evaluation result has low accuracy and is of no reference value.

[0045] Based on this, the embodiment of the present disclosure provides a resource processing method, and the server can determine the first change result based on the first resource data of the multimedia resource obtained. Among them, the first change result is used to indicate the change in the consumption of the available conversion resources of the multimedia resource when the number of available conversion resources of the multimedia resource changes and the first processing method and the second processing method are switched. Then, the server can determine the second change result based on the first change result and the correction coefficient. Since the correction coefficient can correct the deviation caused by the change in the number of available conversion resources, the obtained second change result can indicate the change in the consumption of the available conversion resources of the multimedia resource when the first processing method and the second processing method are switched when the number of available conversion resources is fixed. Compared with the general method, it solves the problem of low accuracy of the change in the consumption of the available conversion resources when the number of available conversion resources is fixed, and can effectively improve the accuracy of the second change result, which can be used as a reference for evaluating the effect of switching between the first processing method and the second processing method.

[0046] The resource processing method provided by the embodiment of the present disclosure is exemplarily described below with reference to the accompanying drawings:

[0047] Figure 1 A schematic diagram of a resource processing system provided by an embodiment of the present disclosure, such as Figure 1 As shown, the resource processing system may include: a client 110, a service end 120 and a server 130. The service end 120 is connected to the client 110 and the server 130 respectively.

[0048] In some embodiments, the server 120 may be connected to multiple clients and multiple servers. For ease of understanding, Figure 1 The following description is made by taking “the server 120 is connected to a client 110 and a server 130 ” as an example.

[0049] Specifically, the client 110 may send a first request message for requesting multimedia resources to the server 120. The first request message includes information such as the user profile of the client 110. The server 120 may respond to the multimedia resource request message, determine the multimedia resources corresponding to the user profile of the client 110 according to a preset processing method, and send a second request message for requesting multimedia resources to at least one server. In response to the second request message, the at least one server may send an estimated value of the number of available conversion resource consumption corresponding to the multimedia resource to the server 120. The server 120 may determine the server 130 as the server providing the multimedia resource from at least one server based on the estimated value of at least one server, and determine the number of available conversion resource consumption of the multimedia resource provided by the server 130 this time from the estimated value of at least one server. Subsequently, the server 130 may send the multimedia resource to the client 110. Accordingly, the server 120 may obtain the available conversion resources corresponding to the number of available conversion resource consumption.

[0050] In some embodiments, the client 110 may be a device for requesting multimedia resources, a chip in the device, or a system on chip in the device. The device may be any electronic product that can interact with a user through one or more methods such as a keyboard, a touch pad, a touch screen, a remote control, voice interaction, or a handwriting device, such as a mobile phone, a tablet computer, a PDA, a personal computer (PC), a wearable device, a smart TV, etc.

[0051] In some embodiments, the server 120 may be a device used by the application platform to manage multimedia resource push, or a chip in the device, or a system on a chip in the device. The device may be a single server, or a server cluster consisting of multiple servers.

[0052] In some other embodiments, the server 120 may include a database or be connected to a database, and the historical push information of the multimedia resources may be stored in the database.

[0053] In some embodiments, the server 130 is used to provide multimedia resources to the client 110, and may be a single server, or may be a server cluster composed of multiple servers. In some implementations, the server cluster may also be a distributed cluster.

[0054] In some embodiments, the server 130 may provide multimedia resources to the client 110 through the service end 120, or may directly provide multimedia resources to the client 110. When the server 130 directly provides multimedia resources to the client 110, the client 110 may be directly connected to the server 130.

[0055] It should be noted that the client 110 , the service end 120 and the server 130 mentioned above can all be referred to as electronic devices.

[0056] The resource processing method provided in the embodiment of the present disclosure can be applied to the aforementioned Figure 1 The server 120 in the application scenario shown. Figure 2 As shown, the resource processing method provided by the embodiment of the present disclosure includes:

[0057] S201: The server obtains first resource data of a multimedia resource.

[0058] Optionally, multimedia resources may include: image resources, text resources, audio resources, video resources, etc.

[0059] Optionally, the multimedia resource includes: a first resource or a second resource. The available conversion resource consumption quantity of the first resource is equal to the available conversion resource quantity of the first resource. The available conversion resource consumption quantity of the second resource is less than the available conversion resource quantity of the second resource.

[0060] In an achievable manner, the method for the server to determine whether the multimedia resource is the first resource or the second resource may include: the server may obtain the available conversion resource consumption amount and the available conversion resource amount of the multimedia resource during the resource push period by reading the historical push information of the multimedia resource. When the available conversion resource consumption amount is equal to the available conversion resource amount, the server may determine that the multimedia resource is the first resource. When the available conversion resource consumption amount is less than the available conversion resource amount, the server may determine that the multimedia resource is the second resource.

[0061] Optionally, the historical push information may include: a first timestamp of the start time and a second timestamp of the end time of the resource push period, the identifier of the multimedia resource, the identifier of the server providing the multimedia resource, the identifier of the client requesting the multimedia resource, the remaining number of available conversion resources (the difference between the number of available conversion resources and the number of available conversion resources consumed), etc.

[0062] Exemplarily, the pre-stored historical push information includes: the first timestamp of the first resource push time period is "000001", and the second timestamp is "000002". The first timestamp of the second resource push time period is "000002", and the second timestamp is "000003". In the first time period, the corresponding number of remaining available conversion resources of the multimedia resource identified as "10001" is "0". In the second time period, the corresponding number of remaining available conversion resources of the multimedia resource identified as "10001" is greater than "0". Therefore, the server can determine the type of multimedia resource as shown in Table 1. In the first resource push time period, the multimedia resource identified as "10001" is determined to be the first resource, and in the second resource push time period, the multimedia resource identified as "10001" is determined to be the second resource.

[0063] Table 1

[0064] First timestamp Second timestamp Identification of multimedia resources Types of multimedia resources 000001 000002 10001 First Resource 000002 000003 10001 Secondary Resources

[0065] The first resource data includes: conversion resource data corresponding to the first processing method and conversion resource data corresponding to the second processing method.

[0066] The first processing method and the second processing method are used to recommend multimedia resources to the client.

[0067] Optionally, the conversion resource data may include: the available conversion resource consumption quantity of the multimedia resources and the conversion quantity of the multimedia resources.

[0068] Optionally, the first resource data may further include: an expected value of the available conversion resource consumption quantity of the multimedia resource, an identifier of the multimedia resource, a serial number of the data comparison, etc.

[0069] In one achievable manner, the method for the server to obtain the first resource data may include: after the server receives a first request message from the client for requesting a multimedia resource, determining a server that provides the multimedia resource and obtaining the first resource data.

[0070] Exemplarily, as shown in Table 2, the server can obtain the first resource data including: the data comparison serial number is "0001", the multimedia resource identifier is "10001", the expected value is "W", the available conversion resource consumption quantity corresponding to the first processing method is "A" and the conversion quantity is "a", and the available conversion resource consumption quantity corresponding to the second processing method is "B" and the conversion quantity is "b".

[0071] Table 2

[0072]

[0073] S202: The server determines a first change result according to the first resource data.

[0074] The first change result is used to indicate the change in consumption of the available conversion resources of the multimedia resources when the first processing mode and the second processing mode are switched when the number of available conversion resources of the multimedia resources changes.

[0075] Specifically, since the number of available conversion resources of the multimedia resource is not set to be fixed when acquiring the first resource data, the server can obtain the change in the consumption of available conversion resources of the corresponding multimedia resource when switching between the first processing method and the second processing method when the number of available conversion resources changes by comparing the conversion resource data corresponding to the first processing method with the conversion resource data corresponding to the second processing method.

[0076] Optionally, the first change result may include: a third change rate of the available conversion resource consumption quantity, and a fourth change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity.

[0077] S203: The server determines a second change result according to the first change result and the correction coefficient.

[0078] The correction coefficient is used to correct the deviation caused by the change in the number of available conversion resources. The second change result is used to represent the change in the consumption of available conversion resources of the corresponding multimedia resources when the first processing mode and the second processing mode are switched when the number of available conversion resources is fixed.

[0079] Specifically, since the first change result can represent the change in the number of available conversion resources and the switching between the first processing method and the second processing method, the change in the available conversion resource consumption of the corresponding multimedia resources can be obtained by correcting the deviation caused by the change in the number of available conversion resources by using the correction coefficient.

[0080] Optionally, the second change result may include: a fifth change rate of the available conversion resource consumption quantity of the first resource and a sixth change rate of the available conversion resource consumption quantity of the second resource.

[0081] The technical solution provided by the above embodiment brings at least the following beneficial effects: It can be known from S201-S203 that the server can determine the first change result based on the first resource data of the multimedia resource obtained. Among them, the first change result is used to indicate the change in the consumption of the available conversion resources of the multimedia resource when the number of available conversion resources of the multimedia resource changes and the first processing method and the second processing method are switched. Then, the server can determine the second change result based on the first change result and the correction coefficient. Since the correction coefficient can correct the deviation caused by the change in the number of available conversion resources, the obtained second change result can indicate the change in the consumption of the available conversion resources of the multimedia resource when the first processing method and the second processing method are switched when the number of available conversion resources is fixed. Compared with the general method, the problem of low accuracy of the change in the consumption of the available conversion resources when the number of available conversion resources is fixed is solved, and the accuracy of the second change result can be effectively improved.

[0082] In an optional embodiment, Figure 2 Based on the method embodiment shown, this embodiment provides a possible implementation method. Figure 3 As shown, the resource processing method also includes:

[0083] S301: The server obtains second resource data of a multimedia resource.

[0084] The second resource data includes: a plurality of conversion resource data corresponding one to one to a plurality of available conversion resource quantities.

[0085] Optionally, the second resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource, an identifier of the multimedia resource, a serial number of the data comparison, etc.

[0086] In an achievable manner, the method for the server to obtain the second resource data may include: the server obtains the initial available conversion resource quantity of the multimedia resource. Then, the server may determine multiple disturbance coefficients, and respectively determine the product of the initial available conversion resource quantity and each disturbance coefficient as the available conversion resource quantity, to obtain multiple available conversion resource quantities. After receiving the first request message from the client for requesting the multimedia resource, the server providing the multimedia resource is determined, and multiple conversion resource data corresponding to the multiple available conversion resource quantities are obtained.

[0087] Exemplarily, as shown in Table 3, the second resource data that the server can obtain includes: the serial number of the data comparison is "0001", the identifier of the multimedia resource is "10001", the expected value is "W", and the initial number of available conversion resources is "Z". When the disturbance coefficient is "1", the number of available conversion resources is "Z", and the corresponding number of available conversion resource consumption is "A" and the number of conversions is "a". When the disturbance coefficient is "1.2", the number of available conversion resources is "1.2Z", and the corresponding number of available conversion resource consumption is "B" and the number of conversions is "b".

[0088] Table 3

[0089]

[0090] S302: The server determines a correction coefficient according to the second resource data.

[0091] In an achievable manner, the method for determining the correction coefficient by the server according to the second resource data may include: the server may determine, according to the second resource data, a first change rate of the available conversion resource consumption quantity and a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity. Then, the server may obtain the correction coefficient according to the first change rate and the second change rate.

[0092] In this way, the server can obtain the influence of the second change rate on the first change rate according to the first change rate of the available conversion resource consumption quantity and the second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity. Since the second change rate is related to the available conversion resource quantity, the deviation caused by the change in the available conversion resource quantity can be obtained, and then the correction coefficient for correcting the above deviation can be obtained.

[0093] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S301-S302, the server can obtain the second resource data of the multimedia resource. Then, the server can determine the correction coefficient based on the second resource data. In this way, since the second resource data includes multiple conversion resource data corresponding to multiple available conversion resource quantities, the server can determine the correction coefficient that can correct the deviation caused by the change in the available conversion resource quantity based on the second resource data, so that the subsequent server can correct the above deviation based on the correction coefficient and obtain the change result when the available conversion resource quantity is fixed.

[0094] In an optional embodiment, when the second resource data further includes: an expected value of the available conversion resource consumption quantity of the multimedia resource, the server determines a correction coefficient according to the second resource data. Figure 3 Based on the method embodiment shown, this embodiment provides a possible implementation. Figure 3 ,like Figure 4 As shown, in S302, the method in which the server determines the correction coefficient according to the second resource data includes:

[0095] S401. The server determines a first change rate of the available conversion resource consumption quantity according to conversion resource data corresponding to the first available conversion resource quantity and conversion resource data corresponding to the second available conversion resource quantity.

[0096] The first available conversion resource quantity and the second available conversion resource quantity are two different available conversion resource quantities among the multiple available conversion resource quantities.

[0097] In an achievable manner, when the conversion resource data includes the available conversion resource consumption quantity of the multimedia resource, the method for determining the first change rate of the available conversion resource consumption quantity by the server according to the conversion resource data corresponding to the first available conversion resource quantity and the conversion resource data corresponding to the second available conversion resource quantity may include: the server determines the first change rate according to the first available conversion resource consumption quantity corresponding to the first available conversion resource quantity and the second available conversion resource consumption quantity corresponding to the second available conversion resource quantity. The first available conversion resource consumption quantity, the second available conversion resource consumption quantity and the first change rate satisfy the following formula:

[0098]

[0099] S402. The server determines a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity, and the expected value.

[0100] In one achievable manner, when the conversion resource data includes the available conversion resource consumption quantity of multimedia resources and the conversion quantity of multimedia resources, the method for determining the second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity based on the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity and the expected value by the server may include: first, the server may determine the first average expected consumption quantity of the average available conversion resource based on the first available conversion resource consumption quantity and the first conversion quantity corresponding to the first available conversion resource quantity, the second available conversion resource consumption quantity and the second conversion quantity corresponding to the second available conversion resource quantity, and the expected value. Among them, the first available conversion resource consumption quantity, the first conversion quantity, the second available conversion resource consumption quantity, the second conversion quantity, the expected value and the first average expected consumption quantity satisfy the following formula:

[0101]

[0102] Wherein, c is the adjustment coefficient of the multimedia resource push environment.

[0103] Optionally, the adjustment coefficient of the multimedia resource push environment may be related to the number of request messages from the client requesting multimedia resources within a certain period of time. For example, when the number of request messages from the client requesting multimedia resources is large, the adjustment coefficient of the multimedia resource push environment may be increased. Correspondingly, when the number of request messages from the client requesting multimedia resources is small, the adjustment coefficient of the multimedia resource push environment may be decreased.

[0104] Then, the server determines the first parameter according to the first available conversion resource consumption quantity and the second available conversion resource consumption quantity. The first available conversion resource consumption quantity, the second available conversion resource consumption quantity and the first parameter satisfy the following formula:

[0105]

[0106] Subsequently, the server determines the second change rate according to the first average expected consumption quantity, the first parameter, the first available conversion resource consumption quantity, the first conversion quantity, the second available conversion resource consumption quantity, and the second conversion quantity. Among them, the first average expected consumption quantity, the first parameter, the first available conversion resource consumption quantity, the first conversion quantity, the second available conversion resource consumption quantity, the second conversion quantity, and the second change rate satisfy the following formula:

[0107]

[0108] The embodiment of the present application does not limit the order of S401 and S402. The server may execute S401 first and then S402; it may execute S402 first and then S401; it may also execute S401 and S402 simultaneously.

[0109] S403: The server performs data optimization on the first change rate and the second change rate based on a data optimization algorithm to obtain a correction coefficient.

[0110] Specifically, since the data optimization algorithm can be used for parameter estimation, that is, estimating unknown parameters contained in the overall distribution based on samples, the server can perform data optimization on the first change rate and the second change rate based on the data optimization algorithm to obtain a correction coefficient.

[0111] Optionally, the data optimization algorithm may include: loss function, moment estimation, maximum likelihood method, consistent minimum variance unbiased estimation, minimum risk estimation, equivariant estimation, least squares method, Bayesian estimation, maximum posterior method, minimum risk method and minimization maximum entropy method, etc.

[0112] Optionally, when the data optimization algorithm includes a loss function, the correction coefficient is an unknown parameter of the loss function. The loss function satisfies:

[0113] Loss function = SUM[(first change rate + correction coefficient × second change rate) 2 ].

[0114] The technical solution provided by the above embodiment brings at least the following beneficial effects: It can be seen from S401-S403 that the server can determine the first change rate of the available conversion resource consumption quantity and the second change rate of the available conversion resource consumption quantity relative to the available conversion resource consumption quantity according to the second resource data. Then, the server can obtain the correction coefficient according to the first change rate and the second change rate. In this way, the server can obtain the impact of the second change rate on the first change rate according to the first change rate of the available conversion resource consumption quantity and the second change rate of the available conversion resource consumption quantity relative to the available conversion resource consumption quantity. Since the second change rate is related to the available conversion resource quantity, the deviation caused by the change in the available conversion resource quantity can be obtained, and then the correction coefficient for correcting the above deviation can be obtained.

[0115] In an optional embodiment, the server determines the first change result according to the first resource data. Figure 2 Based on the method embodiment shown, this embodiment provides a possible implementation. Figure 2 ,like Figure 5 As shown, in S202, the method in which the server determines the first change result according to the first resource data includes:

[0116] S501. The server determines a third change rate according to the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method.

[0117] In an achievable manner, when the conversion resource data includes the available conversion resource consumption quantity of the multimedia resource, the method for determining the third change rate by the server according to the conversion resource data corresponding to the first processing mode and the conversion resource data corresponding to the second processing mode may include: the server determines the third change rate according to the third available conversion resource consumption quantity corresponding to the first processing mode and the fourth available conversion resource consumption quantity corresponding to the second processing mode. The third available conversion resource consumption quantity, the fourth available conversion resource consumption quantity and the third change rate satisfy the following formula:

[0118]

[0119] S502: The server determines a fourth change rate according to the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method, and the expected value.

[0120] In one achievable manner, when the conversion resource data includes the available conversion resource consumption quantity of multimedia resources and the conversion quantity of multimedia resources, the method for determining the fourth change rate by the server according to the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method, and the expected value may include: first, the server may determine the second average expected consumption quantity of the average available conversion resource according to the third available conversion resource consumption quantity and the third conversion quantity corresponding to the first processing method, the fourth available conversion resource consumption quantity and the fourth conversion quantity corresponding to the second processing method, and the expected value. Among them, the third available conversion resource consumption quantity, the third conversion quantity, the fourth available conversion resource consumption quantity, the fourth conversion quantity, the expected value, and the second average expected consumption quantity satisfy the following formula:

[0121]

[0122] Wherein, c is the adjustment coefficient of the multimedia resource push environment.

[0123] Optionally, the adjustment coefficient of the multimedia resource push environment may be related to the number of request messages from the client requesting multimedia resources within a certain period of time. For example, when the number of request messages from the client requesting multimedia resources is large, the adjustment coefficient of the multimedia resource push environment may be increased. Correspondingly, when the number of request messages from the client requesting multimedia resources is small, the adjustment coefficient of the multimedia resource push environment may be decreased.

[0124] Then, the server determines the second parameter according to the third available conversion resource consumption quantity and the fourth available conversion resource consumption quantity. The third available conversion resource consumption quantity, the fourth available conversion resource consumption quantity and the second parameter satisfy the following formula:

[0125]

[0126] Subsequently, the server determines the fourth change rate according to the second average expected consumption quantity, the second parameter, the third available conversion resource consumption quantity, the third conversion quantity, the fourth available conversion resource consumption quantity, and the fourth conversion quantity. Among them, the second average expected consumption quantity, the second parameter, the third available conversion resource consumption quantity, the third conversion quantity, the fourth available conversion resource consumption quantity, the fourth conversion quantity, and the fourth change rate satisfy the following formula:

[0127]

[0128] The embodiment of the present application does not limit the order of S501 and S502. The server may execute S501 first and then S502; it may execute S502 first and then S501; it may also execute S501 and S502 simultaneously.

[0129] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S501-S502, the server can determine the third change rate based on the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method. The server can also determine the fourth change rate based on the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method, and the expected value. In this way, the server can determine the change in the consumption of available conversion resources of multimedia resources caused by switching between the first processing method and the second processing method, as well as the change in the number of available conversion resources of multimedia resources relative to the consumption of available conversion resources.

[0130] In an optional embodiment, the method for the server to determine the second change result is: Figure 5 Based on the method embodiment shown, this embodiment provides a possible implementation. Figure 5 ,like Figure 6 As shown, in S203, the method for the server to determine the second change result according to the first change result and the correction coefficient includes:

[0131] S601. The server determines a fifth change rate according to a third change rate of the first resource, a fourth change rate of the first resource, and a correction coefficient.

[0132] Specifically, the number of available conversion resources is set by the server providing the multimedia resources. Since the available conversion resource consumption of the second resource does not exceed the available conversion resource consumption, the change in the available conversion resource consumption of the second resource has no effect on the change perceived by the server. By correcting the change of the first resource when the available conversion resources change, the server can obtain the change of the available conversion resources caused by switching between the first processing mode and the second processing mode when the available conversion resources are fixed, which can be perceived by the server.

[0133] In one achievable manner, the third change rate of the first resource, the fourth change rate of the first resource, the correction coefficient, and the fifth change rate may satisfy the following formula:

[0134]

[0135] S602: The server determines a sixth change rate according to the third change rate of the second resource, the fourth change rate of the second resource, and a correction coefficient.

[0136] Specifically, the server can obtain the amount of available conversion resource consumption of the multimedia resources. Since the amount of available conversion resource consumption of the first resource is limited by the amount of available conversion resources, and the amount of available conversion resource consumption of the second resource does not exceed the amount of available conversion resources, the amount of available conversion resources has different effects on the changes in the available conversion resource consumption of the first resource and the second resource. The server needs to separately determine the changes in the available conversion resource consumption of the first resource and the changes in the available conversion resource consumption of the second resource when the available conversion resources are fixed (i.e., the sixth change rate).

[0137] In one achievable manner, the third change rate of the second resource, the fourth change rate of the second resource, the correction coefficient, and the sixth change rate may satisfy the following formula:

[0138] The sixth change rate=the third change rate of the second resource+the fourth change rate of the second resource×correction coefficient.

[0139] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S601-S602, the server can determine the fifth change rate based on the third change rate of the first resource, the fourth change rate of the first resource and the correction coefficient. The server can determine the sixth change rate based on the third change rate of the second resource, the fourth change rate of the second resource and the correction coefficient. In this way, the server can correct the impact caused by the change in the number of available conversion resources, and obtain the change in the available conversion resources of the first resource when the number of available conversion resources is fixed, as well as the change in the available value consumption of the second resource.

[0140] In an optional embodiment, Figure 6 Based on the method embodiment shown, this embodiment provides a possible implementation method. Figure 7 As shown, the resource processing method also includes:

[0141] S701. The server determines a depreciation rate of the available conversion resource consumption amount of the first resource according to the available conversion resource consumption amount of the first resource and the available conversion resource consumption amount of the second resource in multiple multimedia resources.

[0142] The depreciation rate is the ratio of the available conversion resource consumption of the second resource to the total available conversion resource consumption. The total available conversion resource consumption includes: the sum of the available conversion resource consumption of the first resource and the available conversion resource consumption of the second resource.

[0143] Specifically, regardless of whether the number of available conversion resources changes or remains fixed, the number of available conversion resources consumed by the first resource is limited by the number of available conversion resources, so the change in the available conversion resource consumption of the first resource may not be adjusted by the correction factor. In order to correctly calculate the number of available conversion resources consumed by the first resource, the depreciation rate may be determined by the proportion of the total available conversion resource consumption completed according to the number of available conversion resources consumed by the second resource.

[0144] In one achievable manner, the available conversion resource consumption amount of the first resource, the available conversion resource consumption amount of the second resource and the depreciation rate satisfy the following formula:

[0145]

[0146] S702. The server determines a seventh change rate of the first resource according to the third change rate and depreciation rate of the first resource.

[0147] In one achievable manner, the third change rate, the depreciation rate, and the seventh change rate of the first resource satisfy the following formula:

[0148] The seventh change rate = the third change rate of the first resource × the depreciation rate.

[0149] S703: The server determines an eighth change rate according to the sixth change rate, the seventh change rate, the available conversion resource consumption quantity of the first resource, and the available conversion resource consumption quantity of the second resource.

[0150] The eighth change rate is used to represent the change in consumption of available conversion resources of multiple multimedia resources corresponding to switching between the first processing mode and the second processing mode when the number of available conversion resources of multiple multimedia resources is fixed.

[0151] Specifically, the server can determine the weight according to the available conversion resource consumption quantity of the first resource and the available conversion resource consumption quantity of the second resource in the multiple multimedia resources. Then the server can weighted sum the sixth change rate and the seventh change rate to obtain the change in the available conversion resource consumption of the multiple multimedia resources corresponding to the switch between the first processing mode and the second processing mode when the available conversion resource quantity is fixed.

[0152] The technical solution provided by the above-mentioned embodiment brings at least the following beneficial effects: It can be known from S701-S703 that the server can determine the depreciation rate of the available conversion resource consumption quantity of the first resource according to the available conversion resource consumption quantity of the first resource and the available conversion resource consumption quantity of the second resource among multiple multimedia resources. Then, the server can determine the seventh change rate of the first resource according to the third change rate and the depreciation rate of the first resource. Subsequently, the server can determine the eighth change rate according to the sixth change rate, the seventh change rate, the available conversion resource consumption quantity of the first resource and the available conversion resource consumption quantity of the second resource. In this way, when the available conversion resource quantity of multiple multimedia resources is fixed, the server can determine to switch between the first processing mode and the second processing mode, and the corresponding changes in the available conversion resource consumption of multiple multimedia resources, thereby switching between the first processing mode and the second processing mode and evaluating it.

[0153] In an optional embodiment, Figure 2-Figure 7 Based on any of the method embodiments shown, this embodiment provides a possible implementation. Figure 2 ,like Figure 8 As shown, the resource processing method also includes:

[0154] S801. The server performs a target operation according to the second change result.

[0155] Optionally, the target operation may include: updating the number of available conversion resources of the multimedia resources, updating the resource conversion strategy of the multimedia resources, or switching the processing mode.

[0156] In one achievable manner, the server may update the number of available conversion resources for multimedia resources according to the change in the consumption of available conversion resources of the corresponding multimedia resources when switching between the first processing mode and the second processing mode. For example, when the second change result indicates that the consumption of available conversion resources of the corresponding multimedia resources can be increased when switching between the first processing mode and the second processing mode, the server may increase the available conversion resources of the multimedia resources, thereby further increasing the consumption of available conversion resources of the multimedia resources in the resource conversion cycle.

[0157] In one achievable manner, the server can update the resource conversion strategy of the multimedia resource according to the change in the available conversion resource consumption of the corresponding multimedia resource when switching between the first processing mode and the second processing mode. For example, when the second change result indicates that the increase in the available conversion resource consumption of the corresponding multimedia resource does not meet expectations when switching between the first processing mode and the second processing mode, the server can update the current resource conversion strategy corresponding to the multimedia resource to a target resource conversion strategy that can achieve an increase in the available conversion resource consumption.

[0158] In one achievable manner, the server can switch between the first processing mode and the second processing mode according to the change in the consumption of available conversion resources of the corresponding multimedia resources. For example, when the increase in the consumption of available conversion resources of the multimedia resources corresponding to the second processing mode does not meet expectations, the server can switch the processing mode so that the increase in the consumption of available conversion resources of the multimedia resources meets expectations, thereby improving the conversion efficiency of the multimedia resources on the server.

[0159] The technical solution provided by the above embodiment brings at least the following beneficial effects: As can be seen from S801, the server can perform the target operation according to the second change result. The target operation may include: updating the number of available conversion resources of the multimedia resource, updating the resource conversion strategy of the multimedia resource, and switching the processing mode. In this way, the server can adjust the resource conversion process of the multimedia resource with reference to the second change result to obtain the expected resource conversion effect.

[0160] The disclosed embodiment includes: a process for determining the correction coefficient by the server (referred to as "correction coefficient determination process") and a process for switching between the first processing mode and the second processing mode when the server determines that the number of available conversion resources is fixed, and the change of the available conversion resource consumption of multiple multimedia resources (referred to as "change rate determination process"). Fig. 9 and Fig.10 The embodiments of the present disclosure are described.

[0161] like Fig. 9 As shown in Figure 2, the correction factor determination process includes:

[0162] S901. The server determines the number of available conversion resources.

[0163] The server may determine a plurality of disturbance coefficients, and respectively determine the product of the initial available conversion resource quantity and each disturbance coefficient as the available conversion resource quantity, thereby obtaining a plurality of available conversion resource quantities.

[0164] Optionally, the disturbance coefficient may range from 0.9 to 1.1.

[0165] S902: The server obtains a plurality of conversion resource data corresponding to a plurality of available conversion resource quantities.

[0166] S903: The server performs data processing on the conversion resource data corresponding to each available conversion resource quantity and the conversion resource data corresponding to the initial available conversion resource quantity to determine a first change rate and a second change rate.

[0167] Data processing includes: the server determines a first change rate of the available conversion resource consumption quantity and a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity based on the conversion resource data corresponding to any available conversion resource quantity and the conversion resource data corresponding to the initial available conversion resource quantity.

[0168] Exemplarily, as shown in Table 4, the server can determine the first change rate R1 and the second change rate S1 corresponding to the available conversion resource number 1 and the initial available conversion resource number 0, the first change rate R2 and the second change rate S2 corresponding to the available conversion resource number 2 and the initial available conversion resource number 0, the first change rate R3 and the second change rate S3 corresponding to the available conversion resource number 3 and the initial available conversion resource number 0, and the first change rate R4 and the second change rate S4 corresponding to the available conversion resource number 4 and the initial available conversion resource number 0.

[0169] Table 4

[0170] The number of available conversion resources The first rate of change The second rate of change 1-0 R1 S1 2-0 R2 S2 3-0 R3 S3 4-0 R4 S4 ...

[0171] S904: The server performs data optimization on the first change rate and the second change rate based on a data optimization algorithm to obtain a correction coefficient.

[0172] like Fig.10 As shown in FIG. 1 , the change rate determination process includes:

[0173] S1001. The server determines a third change rate and a fourth change rate of each multimedia resource according to first resource data of multiple multimedia resources.

[0174] S1002: The server determines whether the available conversion resource consumption quantity of the target multimedia resource is equal to the available conversion resource quantity.

[0175] The target multimedia resource is any one of the multiple multimedia resources.

[0176] When the available conversion resource consumption quantity of the target multimedia resource is equal to the available conversion resource quantity, S1003 is executed.

[0177] When the available conversion resource consumption quantity of the target multimedia resource is less than the available conversion resource quantity, S1004 is executed.

[0178] S1003: The server determines a fifth change rate according to the correction coefficient, the third change rate and the fourth change rate of the target multimedia resource.

[0179] S1004: The server determines a sixth change rate according to the correction coefficient, the third change rate and the fourth change rate of the target multimedia resource.

[0180] S1005. The server determines an eighth change rate according to the sixth change rate and the seventh change rate, and displays the fifth change rate and the eighth change rate.

[0181] It can be understood that in actual implementation, the resource processing device described in the embodiment of the present disclosure may include one or more hardware structures and / or software modules for implementing the corresponding resource processing method described above, and these execution hardware structures and / or software modules may constitute an electronic device. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiment disclosed herein, the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present disclosure.

[0182] Based on such understanding, the embodiments of the present disclosure also provide a resource processing device. Fig.11 The structure of the resource processing device provided by the embodiment of the present disclosure is shown Figure 1 .like Fig.11 As shown, the resource processing device includes: an acquisition unit 1101 and a first processing unit 1102.

[0183] The acquisition unit 1101 is used to acquire first resource data of a multimedia resource. Figure 2 , the acquisition unit 1101 is used to execute S201.

[0184] The first processing unit 1102 is configured to determine a first change result according to the first resource data acquired by the acquisition unit 1101. Figure 2 , the first processing unit 1102 is used to execute S202.

[0185] The first processing unit 1102 is further configured to determine a second change result based on the first change result and a correction coefficient; the correction coefficient is used to correct the deviation caused by the change in the number of available conversion resources. Figure 2, the first processing unit 1102 is used to execute S203.

[0186] Optionally, the resource processing device further includes: a second processing unit 1103.

[0187] The second processing unit 1103 is used to: obtain second resource data of the multimedia resource; and determine the correction coefficient according to the second resource data. Figure 3 , the second processing unit 1103 is used to execute S301-S302.

[0188] Optionally, the second processing unit 1103 is specifically used to: determine a first change rate of the available conversion resource consumption quantity according to the conversion resource data corresponding to the first available conversion resource quantity and the conversion resource data corresponding to the second available conversion resource quantity; determine a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity according to the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity and the expected value; and optimize the first change rate and the second change rate based on the data optimization algorithm to obtain a correction coefficient. For example, in combination with Figure 4 , the second processing unit 1103 is used to execute S401-S403.

[0189] Optionally, the first processing unit 1102 is specifically configured to: determine a third change rate according to the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method; and determine a fourth change rate according to the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method, and the expected value. Figure 5 , the first processing unit 1102 is used to execute S501-S502.

[0190] Optionally, the first processing unit 1102 is specifically configured to: determine a fifth change rate according to the third change rate of the first resource, the fourth change rate of the first resource, and the correction coefficient; and determine a sixth change rate according to the third change rate of the second resource, the fourth change rate of the second resource, and the correction coefficient. Figure 6 , the first processing unit 1102 is used to execute S601-S602.

[0191] Optionally, the first processing unit 1102 is further configured to: determine the depreciation rate of the available conversion resource consumption quantity of the first resource according to the available conversion resource consumption quantity of the first resource and the available conversion resource consumption quantity of the second resource in the plurality of multimedia resources; determine the seventh change rate of the first resource according to the third change rate and the depreciation rate; and determine the eighth change rate according to the sixth change rate, the seventh change rate, the available conversion resource consumption quantity of the first resource, and the available conversion resource consumption quantity of the second resource. Figure 7, the first processing unit 1102 is used to execute S701-S703.

[0192] Optionally, the first processing unit 1102 is further configured to: perform a target operation according to the second change result; the target operation includes: updating the available conversion resources of the multimedia resource, updating the resource conversion strategy of the multimedia resource, and switching the processing mode. Fig. 9 , the first processing unit 1102 is used to execute S801.

[0193] As described above, the embodiments of the present disclosure can divide the resource processing device into functional modules according to the above method examples. Among them, the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. In addition, it should be noted that the division of modules in the embodiments of the present disclosure is schematic and is only a logical function division. There may be other division methods in actual implementation. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module.

[0194] Regarding the resource processing device in the above embodiment, the specific manner in which each module performs operations and the beneficial effects possessed have been described in detail in the above method embodiment and will not be repeated here.

[0195] The disclosed embodiment also provides a resource processing device. Fig.12 The structure of the resource processing device provided by the embodiment of the present 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 .

[0196] The 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 the program of the disclosed solution. Fig.11 The processor 221 is used to execute the operations performed by the acquisition unit 1101, the first processing unit 1102 and the second processing unit 1103.

[0197] The communication bus 222 may include a pathway for transmitting information between the above-mentioned components.

[0198] The communication interface 224 uses any transceiver-like device for communicating with other devices or communication networks, such as electronic devices, Ethernet, radio access networks (RAN), wireless local area networks (WLAN), etc.

[0199] The memory 223 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.

[0200] The memory 223 is used to store application code for executing the solution of the present disclosure, and the execution is controlled by the processor 221. The processor 221 is used to execute the application code stored in the memory 223, so as to realize the functions in the method of the present disclosure.

[0201] In a specific implementation, as an embodiment, the processor 221 may include one or more CPUs, such as Fig.12 CPU0 and CPU1 in.

[0202] In a specific implementation, as an embodiment, the resource processing device may include multiple processors, such as Fig.12 221 and processor 225 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0203] In a specific implementation, as an embodiment, the resource processing device may further include an input device 226 and an output device 227. The input device 226 communicates with the output device 227 and may receive user input in a variety of ways. For example, the input device 226 may be a mouse, a keyboard, a touch screen device, or a sensor device. The output device 227 communicates with the processor 221 and may display information in a variety of ways. For example, the output device 227 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, or the like.

[0204] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the resource processing device, and may include more or less components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0205] The present disclosure also provides a computer-readable storage medium including instructions, wherein the computer-readable storage medium stores instructions, and when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the resource processing method provided in the above-mentioned embodiment. For example, the computer-readable storage medium may be a memory 223 including instructions, and the above instructions may be executed by a processor 221 of the electronic device to complete the above method.

[0206] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

[0207] The present disclosure also provides a computer program product including instructions, which, when executed on an electronic device, enables the electronic device to execute the resource processing method provided in the above-mentioned embodiment.

[0208] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0209] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A resource processing method, characterized in that: include: Acquire first resource data of multimedia resources; The first resource data includes: conversion resource data corresponding to the first processing method and conversion resource data corresponding to the second processing method; the first processing method and the second processing method are used to recommend the multimedia resource to the client; Determine a first change result according to the first resource data; the first change result is used to indicate a change in consumption of available conversion resources of the multimedia resource corresponding to switching between the first processing mode and the second processing mode when the amount of available conversion resources of the multimedia resource changes; A second change result is determined based on the first change result and the correction coefficient; the correction coefficient is used to correct the deviation caused by the change in the number of available conversion resources; the second change result is used to indicate the change in the available conversion resource consumption of the multimedia resources corresponding to switching between the first processing method and the second processing method when the number of available conversion resources is fixed.

2. The resource processing method according to claim 1, characterized in that: Also includes: Acquire second resource data of the multimedia resource; The second resource data includes: a plurality of conversion resource data corresponding to a plurality of available conversion resource quantities; The correction coefficient is determined according to the second resource data.

3. The resource processing method according to claim 2, characterized in that: The second resource data also includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; and determining the correction coefficient according to the second resource data includes: Determining a first change rate of the available conversion resource consumption quantity according to conversion resource data corresponding to a first available conversion resource quantity and conversion resource data corresponding to a second available conversion resource quantity; the first available conversion resource quantity and the second available conversion resource quantity are two different available conversion resource quantities among the multiple available conversion resource quantities; Determining a second change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity according to the conversion resource data corresponding to the first available conversion resource quantity, the conversion resource data corresponding to the second available conversion resource quantity, and the expected value; Based on a data optimization algorithm, data optimization is performed on the first change rate and the second change rate to obtain the correction coefficient.

4. The resource processing method according to claim 1, characterized in that: The first resource data further includes: an expected value of the available conversion resource consumption quantity of the multimedia resource; the first change result includes: a third change rate of the available conversion resource consumption quantity, and a fourth change rate of the available conversion resource quantity relative to the available conversion resource consumption quantity; determining the first change result according to the first resource data includes: determining the third change rate according to the conversion resource data corresponding to the first processing method and the conversion resource data corresponding to the second processing method; The fourth change rate is determined according to the conversion resource data corresponding to the first processing method, the conversion resource data corresponding to the second processing method, and the expected value.

5. The resource processing method according to claim 4, characterized in that: The multimedia resource includes: a first resource or a second resource; the available conversion resource consumption quantity of the first resource is equal to the available conversion resource consumption quantity of the first resource; the available conversion resource consumption quantity of the second resource is less than the available conversion resource consumption quantity of the second resource; the second change result includes: a fifth change rate of the available conversion resource consumption quantity of the first resource, and a sixth change rate of the available conversion resource consumption quantity of the second resource; Determining a second change result according to the first change result and the correction coefficient includes: determining the fifth change rate according to the third change rate of the first resource, the fourth change rate of the first resource and the correction coefficient; The sixth change rate is determined according to the third change rate of the second resource, the fourth change rate of the second resource, and the correction coefficient.

6. The resource processing method according to claim 5, characterized in that: Also includes: According to the available conversion resource consumption quantity of the first resource and the available conversion resource consumption quantity of the second resource among the multiple multimedia resources, determine the depreciation rate of the available conversion resource consumption quantity of the first resource; the depreciation rate is the ratio of the available conversion resource consumption quantity of the second resource to the total available conversion resource consumption; The total available conversion resource consumption includes: the sum of the available conversion resource consumption of the first resource and the available conversion resource consumption of the second resource; Determining a seventh change rate of the first resource according to the third change rate of the first resource and the depreciation rate; An eighth change rate is determined based on the sixth change rate, the seventh change rate, the amount of available conversion resource consumption of the first resource, and the amount of available conversion resource consumption of the second resource; the eighth change rate is used to indicate the change in the available conversion resource consumption of the multiple multimedia resources corresponding to switching between the first processing mode and the second processing mode when the amount of available conversion resources of the multiple multimedia resources is fixed.

7. The resource processing method according to any one of claims 1 to 6, characterized in that: Also includes: According to the second change result, executing the target operation; The target operation includes: updating the quantity of available conversion resources of the multimedia resource, updating the resource conversion strategy of the multimedia resource, or switching the processing mode.

8. A resource processing device, characterized in that: include: an acquisition unit and a first processing unit; The acquisition unit is used to acquire first resource data of the multimedia resource; The first resource data includes: conversion resource data corresponding to the first processing method and conversion resource data corresponding to the second processing method; the first processing method and the second processing method are used to determine the recommendation of the multimedia resource to the client; The first processing unit is used to determine a first change result according to the first resource data obtained by the obtaining unit; the first change result is used to indicate a change in consumption of available conversion resources of the multimedia resource corresponding to switching between the first processing mode and the second processing mode when the amount of available conversion resources of the multimedia resource changes; The first processing unit is also used to determine a second change result based on the first change result and a correction coefficient; the correction coefficient is used to correct the deviation caused by the change in the number of available conversion resources; the second change result is used to indicate the change in the available conversion resource consumption of the multimedia resources corresponding to switching between the first processing mode and the second processing mode when the number of available conversion resources is fixed.

9. An electronic device, characterized in that: The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the resource processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the resource processing method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Media content pushing control method and device, computer equipment and storage medium

    CN111797250A

  • Recommended content pushing method, device and equipment, and readable storage medium

    CN111932314A