Media file delivery method and device

By calculating the correlation between media files and serving objects and determining the sorting score, the problem that media files may be placed on objects with low correlation in the prior art is solved, and the delivery accuracy of media files is improved.

CN114386998BActive Publication Date: 2025-04-08SHANGHAI BILIBILI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011132339.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-21
Publication Date
2025-04-08
Estimated Expiration
2040-10-21

AI Technical Summary

Technical Problem

While ensuring the exposure of media files, the prior art may place media files to delivery objects with low correlation, resulting in a decrease in delivery accuracy.

Method used

By receiving media file delivery requests, obtaining relevant order information, calculating the correlation between the media file and the delivery object, and calculating the sorting score of the media file based on the correlation and preset sorting algorithm to determine whether to serve the media file.

Benefits of technology

On the basis of ensuring the exposure of media files, improve the delivery accuracy of media files, place media files to post objects with higher correlation, and reduce the probability of posting to objects with lower correlation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114386998B_ABST
    Figure CN114386998B_ABST
Patent Text Reader

Abstract

The present application discloses a method and device for delivering media files. The method includes: receiving a media file delivery request; obtaining order information corresponding to a first media file to be delivered according to the delivery request, the order information including the total delivery time, the current delivery time, available resources and currently consumed resources; calculating the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, available resources and currently consumed resources in the order information; calculating the ranking score of the first media file according to the correlation and a preset ranking algorithm; obtaining the ranking scores of other second media files to be delivered, and determining whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files. The present application can improve the delivery accuracy of the first media file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a method and device for delivering a media file. Background Art

[0002] With the rapid development of computer technology, the prior art can achieve the purpose of increasing the exposure of the delivered media files by delivering media files to delivery objects. For example, a video file produced by some users of the application is delivered to application users. However, in order to ensure the exposure of the media files, the prior art usually controls the delivery of the media files by adjusting the delivery probability of the media files when delivering the media files. For example, when a media file is faster, the delivery probability of the media file is reduced. However, this method of adjusting the delivery probability of the media files may result in delivering the media files to delivery objects with lower relevance. Summary of the invention

[0003] In view of this, a method, apparatus, computer device and computer-readable storage medium for delivering a media file are now provided to solve the technical problem in the prior art that in order to ensure the exposure of the media file, the media file may be delivered to a delivery object with low relevance.

[0004] The present application provides a method for delivering a media file, including:

[0005] Receive a media file delivery request;

[0006] Acquire order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources;

[0007] Calculate the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information;

[0008] Calculating a ranking score of the first media file according to the correlation and a preset ranking algorithm;

[0009] The ranking scores of other second media files to be delivered are obtained, and it is determined whether to deliver the first media file according to the ranking score of the first media file and the ranking score of the second media file.

[0010] Optionally, the calculating the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information includes:

[0011] Calculate a first proportion of the remaining delivery time according to the total delivery time and the current delivery time;

[0012] Calculating a second proportion of remaining resources according to the available resources and the currently consumed resources;

[0013] The correlation between the first media file and the delivery object is calculated according to the first ratio, the second ratio and a preset formula.

[0014] Optionally, the preset formula is specifically:

[0015] weight = sigmoid(x)*(weight max -weight min )+weight min , where weight is the correlation, x = the second ratio / the first ratio, weight max is the preset first coefficient, weight min is the preset second coefficient.

[0016] Optionally, the preset sorting algorithm is specifically:

[0017] score=ecpm*pctr a *weight b , where score is the ranking score, ecpm is the order revenue corresponding to the delivery of the first media file, pctr is the estimated click rate of the delivery object, and a and b are the preset first weight coefficient and second weight coefficient respectively.

[0018] Optionally, the determining whether to place the first media file according to the ranking score of the first media file and the ranking score of the second media file includes:

[0019] When the ranking score of the first media file is greater than the ranking score of the second media file, it is determined to deliver the first media file.

[0020] Optionally, before the step of calculating the ranking score of the first media file according to the correlation and a preset ranking algorithm, the step further includes:

[0021] The preset click rate prediction model is used to calculate the estimated click rate of the delivery object.

[0022] Optionally, after the step of determining whether to place the first media file according to the ranking score of the first media file and the ranking score of the second media file, the step further includes:

[0023] After delivering the first media file, the current delivery time and the currently consumed resources in the order information are updated.

[0024] The present application also provides a media file delivery device, including:

[0025] A receiving module, used for receiving a media file delivery request;

[0026] An acquisition module, configured to acquire order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources;

[0027] A first calculation module, configured to calculate the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information;

[0028] A second calculation module, configured to calculate a ranking score of the first media file according to the correlation and a preset ranking algorithm;

[0029] The confirmation module is used to obtain the ranking scores of other second media files to be delivered, and determine whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files.

[0030] Beneficial effects of the above technical solution:

[0031] In an embodiment of the present application, a media file delivery request is received; order information corresponding to a first media file to be delivered is obtained according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources; a correlation between the first media file and a delivery object is calculated according to the total delivery time, the current delivery time, the available resources, and the currently consumed resources in the order information; a ranking score of the first media file is calculated according to the correlation and a preset ranking algorithm; the ranking scores of other second media files to be delivered are obtained, and it is determined whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files. In an embodiment of the present application, the correlation between the first media file and the delivery object is calculated based on the total delivery time in the order information, the current delivery time, the available resources and the currently consumed resources, and then the ranking score of the first media file is calculated based on the correlation. Finally, the media file is delivered based on the ranking score, that is, the ranking score of the first media file with high correlation is improved, thereby increasing the exposure probability, and the ranking score of the first media file with low correlation is reduced, thereby reducing the exposure probability, thereby achieving delivery of the media file based on the correlation between the first media file and the delivery object, achieving the purpose of delivering the media file to the delivery object with higher correlation on the basis of ensuring the exposure of the media file, thereby achieving improved delivery accuracy of the media file. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a network architecture of an embodiment of the present application;

[0033] Figure 2 A flowchart of an embodiment of the method for delivering media files described in the present application;

[0034] Figure 3 A flowchart of a detailed step of calculating the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information in one embodiment of the present application;

[0035] Figure 4 A program module diagram of an embodiment of the media file delivery device described in the present application;

[0036] Figure 5 A schematic diagram of the hardware structure of a computer device for executing a method for delivering a media file provided in an embodiment of the present application. DETAILED DESCRIPTION

[0037] The advantages of the present application are further described below in conjunction with the accompanying drawings and specific embodiments.

[0038] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. 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.

[0039] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0040] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0041] In the description of the present application, it should be understood that the numerical labels before the steps do not indicate the order in which the steps are executed, but are only used to facilitate the description of the present application and to distinguish each step, and therefore should not be understood as a limitation on the present application.

[0042] Figure 1 A schematic diagram of a network architecture that may be used to implement the solution of the embodiment of the present invention is shown schematically. Figure 1 The network architecture shown includes: a server 102 and a terminal 104. The server 102 is connected to the terminal 104 via a network, and the network includes but is not limited to: a wide area network, a metropolitan area network or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. The method for delivering a media file in the embodiment of the present invention can be executed by the server 102, or by the terminal 104, or by the server 102 and the terminal 104 together. The terminal 104 can also execute the method for delivering a media file in the embodiment of the present invention by a client installed thereon.

[0043] See also Figure 2, which is a flowchart of a method for delivering media files in an embodiment of the present application. It is understood that the flowchart in the embodiment of the present method is not used to limit the order of executing steps. The following is an exemplary description using a computer device as the execution subject. It can be seen from the figure that the method for delivering media files provided in the present embodiment includes:

[0044] Step S20: receiving a media file delivery request.

[0045] Specifically, the delivery request can be used to request a computer device to deliver a media file, wherein the embodiment of the present application does not specifically limit the type of media files delivered by the computer device, and the media files delivered by the computer device can be video files, audio files, picture files, or text files, etc., or any combination of these files, such as a combination of text files and picture files, or a combination of video files and text files. The specific product form of the media file can be a video advertisement, a native advertisement, a banner advertisement, a search advertisement, or an ordinary video file (for example, a short video), an ordinary audio file, etc. The delivery request can be initiated by the client. In the embodiment of the present application, the media file is illustrated by taking the video file to be delivered by the UP master as an example.

[0046] It should be noted that the embodiments of the present invention do not specifically limit the triggering operation that can trigger the client to initiate the first delivery request. For example, the triggering operation that triggers the client to initiate the delivery request may include but is not limited to the following: the client user clicks on any media file, the client downloads and installs any application, the client logs in and uses any application, etc., and examples are not given here one by one. It should also be noted that the client that initiates the delivery request can be any terminal device, such as a mobile phone, a computer, etc., or it can be any application client, such as an instant messaging application client, a browser application client, etc. The client that initiates the delivery request can be understood as the delivery object of the first media file to be delivered.

[0047] It should also be noted that the delivery request initiated by the client and received by the computer device may include but is not limited to the following information: client information, that is, information about the delivery object of the first media file to be delivered, which may include client identification, client address, etc.; the type of the requested first media file may include video files, audio files, image files, etc.; the delivery form of the requested first media file may include message push, pop-up window, etc. The delivery request may also include other information, which will not be explained one by one here.

[0048] Step S21, obtaining order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes the total delivery time, the current delivery time, available resources and the currently consumed resources.

[0049] Specifically, when the first media file is put into placement, it is achieved through an order. That is to say, if the owner of the first media file (such as a UP host) needs to place the first media file, an order needs to be triggered to achieve the placement of the first media file. In this embodiment, the triggered order may include the total placement duration of the first media file, the current placement duration, available resources, and the currently consumed resources.

[0050] In a specific scenario, when the first media file is a video file to be placed by a UP host, the total placement duration T in the order of the UP host is the duration for which the to-be-placed video file is placed. The total placement duration T is set by the UP host. For example, the total placement duration is 20 days, that is, T = 20 days; the current placement duration t is the duration for which the to-be-placed video file has been placed so far. For example, the current placement duration is 5 days, that is, t = 5 days; the available resources are the budget of the UP host, that is, the upper limit of the consumption amount for the UP host to promote the to-be-placed video file. For example, the budget is 1000 yuan; the currently consumed resources are the budget consumed by the UP host so far, that is, the consumption amount for the UP host to promote the to-be-placed video file. For example, the currently consumed resources are 200 yuan.

[0051] In an implementation manner, after each placement of the to-be-placed video file of the UP host, the currently consumed resources of the UP host are updated, that is, the consumption amount of the UP host is updated. When updating the currently consumed resources, the current placement duration can also be updated. It should be noted that if the current placement duration is measured in days, when updating the current placement duration, the current placement days will only be updated when the counted number of days changes; if the current placement duration is measured in hours, when updating the current placement duration, the current placement days will only be updated when the counted number of hours changes.

[0052] Among them, a UP host refers to a person who uploads video and audio files on video websites, forums, and ftp sites.

[0053] Correspondingly, in this embodiment, the obtained order information includes the total placement duration of the to-be-placed video file, the current placement duration, the placement budget of the to-be-placed video file, and the currently consumed budget.

[0054] Step S22, calculate the relevance between the first media file and the placement object according to the total placement duration, the current placement duration, available resources, and the currently consumed resources in the order information.

[0055] Specifically, the total delivery time, the current delivery time, the available resources and the currently consumed resources will affect the correlation between the first media file and the delivery object. The greater the correlation between the first media file and the delivery object, the more the delivery object likes the first media file. The lower the correlation between the first media file and the delivery object, the less the delivery object likes the first media file.

[0056] In an exemplary embodiment, referring to Figure 3 , the calculating of the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information includes:

[0057] Step S30, calculating a first proportion of the remaining delivery time according to the total delivery time and the current delivery time.

[0058] Specifically, the first ratio t =1-current delivery time t / the total delivery time T=1-t / T.

[0059] Step S31, calculating a second proportion of remaining resources according to the available resources and the currently consumed resources.

[0060] Specifically, the second ratio b =1-the currently consumed resource charge / the available resource Budget=1-charge / Budget.

[0061] Step S32: calculating the correlation between the first media file and the delivery object according to the first ratio, the second ratio and a preset formula.

[0062] Specifically, the preset formula is:

[0063] weight = sigmoid(x)*(weight max -weight min )+weight min , where weight is the correlation, x = the second ratio / the first ratio, weight max is the preset first coefficient, weight min is the preset second coefficient.

[0064] Among them, sigmoid(x) is a common S-shaped function in biology, also known as the S-shaped growth curve. Sigmoid(x) is defined by the following formula:

[0065] sigmoid(x)=1 / (1+e -x );

[0066] weight max , weight min They are respectively the preset first coefficient and the second coefficient, which are the upper and lower boundary values ​​of the weight of the correlation, and their specific values ​​are related to the actual application scenario. After a limited number of experimental calculations in different application scenarios, the first coefficient and the second coefficient suitable for the application scenario can be obtained.

[0067] Step S23: calculating a ranking score of the first media file according to the correlation and a preset ranking algorithm.

[0068] Specifically, the preset sorting algorithm is:

[0069] score=ecpm*pctr a *weight b , where score is the ranking score, ecpm is the order revenue corresponding to the delivery of the first media file, weight is the relevance, pctr is the estimated click rate of the delivery object, and a and b are the preset first weight coefficient and second weight coefficient respectively.

[0070] Among them, the order revenue is the revenue of the delivery platform for exposing the first media file thousands of times. For the delivery platform that charges by cpm (Cost Per Mille), the order revenue is cpm bid*1000; for the delivery platform that charges by cpc (Cost Per Click), the order revenue is cpc*pctr*1000.

[0071] a, b are respectively the preset first weight coefficient and the second weight coefficient, which are hyperparameters used to adjust the weights of different factors in the sorting algorithm formula, and their specific values ​​are related to the actual application scenario. After a limited number of experimental calculations in different application scenarios, the first weight coefficient and the second weight coefficient suitable for the application scenario can be obtained. In a specific implementation, the first weight coefficient and the second weight coefficient are both 1, that is, a=1, b=1.

[0072] The estimated click rate is pre-calculated by using a preset click rate prediction model, that is, before the step of calculating the ranking score of the first media file according to the correlation and the preset ranking algorithm, it also includes:

[0073] The preset click rate prediction model is used to calculate the estimated click rate of the delivery object.

[0074] Specifically, the click-through rate prediction model is used to predict the probability of the delivery object clicking or playing the first media file, that is, to calculate the estimated click-through rate. In this embodiment, the click-through rate prediction model can adopt an existing click-through rate prediction model in the field of video recommendation technology, or it can be trained using deep learning technology according to the actual application scenario of this application to obtain the click-through rate prediction model. No specific limitation or explanation is made here.

[0075] In this embodiment, after obtaining the estimated click rate, the order revenue, the relevance, and the first weight coefficient and the second weight coefficient, the ranking score can be calculated.

[0076] Step S24: obtaining ranking scores of other second media files to be delivered, and determining whether to deliver the first media file according to the ranking score of the first media file and the ranking score of the second media file.

[0077] Specifically, the ranking scores of other second media files to be placed may be calculated by the same ranking algorithm in this embodiment, or may be calculated by other ranking algorithms, which is not limited in the embodiment of the present invention.

[0078] When the ranking score of the first media file and the ranking score of the second media file are obtained, it can be determined whether to place the first media file based on the ranking scores.

[0079] In one embodiment, when determining whether to deliver the first media file to the delivery object, it can be determined whether the ranking score of the first media file is greater than the ranking scores of all second media files. When the ranking score of the first media file is greater than the ranking scores of all second media files, it is determined to deliver the first media file to the delivery object.

[0080] In another implementation, the ranking score of the first media file may be compared with the ranking scores of all the second media files. If the ranking score of the first media file is the second largest among the ranking scores of all the second media files, that is, there is a ranking score among all the ranking scores of the second media files that is greater than the ranking score of the first media file, it may be determined to deliver the first media file to the delivery object.

[0081] In an embodiment of the present application, a media file delivery request is received; order information corresponding to a first media file to be delivered is obtained according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources; a correlation between the first media file and a delivery object is calculated according to the total delivery time, the current delivery time, the available resources, and the currently consumed resources in the order information; a ranking score of the first media file is calculated according to the correlation and a preset ranking algorithm; the ranking scores of other second media files to be delivered are obtained, and it is determined whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files. In an embodiment of the present application, the correlation between the first media file and the delivery object is calculated based on the total delivery time in the order information, the current delivery time, the available resources and the currently consumed resources, and then the ranking score of the first media file is calculated based on the correlation. Finally, the media file is delivered based on the ranking score, that is, the ranking score of the first media file with high correlation is improved, thereby increasing the exposure probability, and the ranking score of the first media file with low correlation is reduced, thereby reducing the exposure probability, thereby achieving delivery of the media file based on the correlation between the first media file and the delivery object, achieving the purpose of delivering the media file to the delivery object with higher correlation on the basis of ensuring the exposure of the media file, thereby achieving improved delivery accuracy of the media file.

[0082] See also Figure 4 , which is a program module diagram of an embodiment of a media file delivery device 40 of the present application.

[0083] In this embodiment, the media file delivery device 40 includes a series of computer program instructions stored in the memory. When the computer program instructions are executed by the processor, the media file delivery function of each embodiment of the present application can be implemented. In some embodiments, based on the specific operations implemented by each part of the computer program instructions, the media file delivery device 40 can be divided into one or more modules. For example, in Figure 4 In the embodiment, the media file delivery device 40 may be divided into a receiving module 41 , an acquiring module 42 , a first calculating module 43 , a second calculating module 44 and a determining module 45 .

[0084] in:

[0085] The receiving module 41 is used to receive a media file delivery request.

[0086] The acquisition module 42 is used to acquire order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes the total delivery time, the current delivery time, available resources and the currently consumed resources.

[0087] The first calculation module 43 is used to calculate the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information.

[0088] The second calculation module 44 is configured to calculate a ranking score of the first media file according to the correlation and a preset ranking algorithm.

[0089] The determination module 45 is configured to obtain ranking scores of other second media files to be delivered, and determine whether to deliver the first media file according to the ranking scores of the first media file and the second media file.

[0090] In an exemplary embodiment, the first calculation module 43 is further used to calculate a first proportion of the remaining delivery time based on the total delivery time and the current delivery time; calculate a second proportion of the remaining resources based on the available resources and the currently consumed resources; and calculate the correlation between the first media file and the delivery object based on the first proportion, the second proportion and a preset formula.

[0091] In an exemplary embodiment, the preset formula is specifically:

[0092] weight = sigmoid(x)*(weight max -weight min )+weight min , where weight is the correlation, x = the second ratio / the first ratio, weight max is the preset first coefficient, weight min is the preset second coefficient.

[0093] In an exemplary embodiment, the preset sorting algorithm is specifically:

[0094] score=ecpm*pctr a *weight b , where score is the ranking score, ecpm is the order revenue corresponding to the delivery of the first media file, pctr is the estimated click rate of the delivery object, and a and b are the preset first weight coefficient and second weight coefficient respectively.

[0095] In an exemplary implementation, the determination module 45 is further configured to determine to deliver the first media file when the ranking score of the first media file is greater than the ranking score of the second media file.

[0096] In an exemplary implementation, the media file delivery device 40 further includes a third calculation module.

[0097] The third calculation module is used to calculate the estimated click rate of the delivery object using a preset click rate prediction model.

[0098] In an exemplary implementation, the media file delivery device 40 further includes an update module.

[0099] The updating module is used to update the current delivery time and the current consumed resources in the order information after delivering the first media file.

[0100] In an embodiment of the present application, in an embodiment of the present application, a media file delivery request is received; order information corresponding to a first media file to be delivered is obtained according to the delivery request, the order information including a total delivery time, a current delivery time, available resources and currently consumed resources; a correlation between the first media file and a delivery object is calculated according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information; a ranking score of the first media file is calculated according to the correlation and a preset ranking algorithm; the ranking scores of other second media files to be delivered are obtained, and it is determined whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files. In an embodiment of the present application, the correlation between the first media file and the delivery object is calculated based on the total delivery time in the order information, the current delivery time, the available resources and the currently consumed resources, and then the ranking score of the first media file is calculated based on the correlation. Finally, the media file is delivered based on the ranking score, that is, the ranking score of the first media file with high correlation is improved, thereby increasing the exposure probability, and the ranking score of the first media file with low correlation is reduced, thereby reducing the exposure probability, thereby achieving delivery of the media file based on the correlation between the first media file and the delivery object, achieving the purpose of delivering the media file to the delivery object with higher correlation on the basis of ensuring the exposure of the media file, thereby achieving improved delivery accuracy of the media file.

[0101] Figure 5 The hardware architecture diagram of a computer device 5 suitable for implementing the method for delivering media files according to an embodiment of the present application is schematically shown. In this embodiment, the computer device 5 is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions. For example, it can be a tablet computer, a laptop computer, a desktop computer, a rack server, a blade server, a tower server or a cabinet server (including an independent server, or a server cluster composed of multiple servers), etc. Figure 5 As shown, the computer device 5 at least includes but is not limited to: a memory 120, a processor 121, and a network interface 123 that can communicate with each other through a system bus. Among them:

[0102] The memory 120 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 120 can be an internal storage module of the computer device 5, such as a hard disk or memory of the computer device 5. In other embodiments, the memory 120 can also be an external storage device of the computer device 5, such as a plug-in hard disk equipped on the computer device 5, a smart memory card (SmartMedia Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the memory 120 can also include both the internal storage module of the computer device 5 and its external storage device. In this embodiment, the memory 120 is generally used to store the operating system and various application software installed on the computer device 5, such as the program code of the method for delivering media files, etc. In addition, the memory 120 can also be used to temporarily store various types that have been output or are to be output.

[0103] In some embodiments, the processor 121 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other processing chip. The processor 121 is generally used to control the overall operation of the computer device 5, such as performing control and processing related to interaction or communication with the computer device 5. In this embodiment, the processor 121 is used to run the program code or process stored in the memory 120.

[0104] The network interface 123 may include a wireless network interface or a wired network interface, and the network interface 123 is generally used to establish a communication link between the computer device 5 and other computer devices. For example, the network interface 123 is used to connect the computer device 5 to an external terminal through a network, to establish a transmission channel and a communication link between the computer device 5 and the external terminal, etc. The network may be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc.

[0105] It should be pointed out that Figure 5 Only a computer device having components 120 - 122 is shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may be implemented instead.

[0106] In this embodiment, the method for delivering the media file stored in the memory 120 may be divided into one or more program modules and executed by one or more processors (processor 121 in this embodiment) to complete the present application.

[0107] An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for delivering a media file in the embodiment are implemented.

[0108] In this embodiment, the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the computer-readable storage medium can be an internal storage unit of a computer device, such as a hard disk or memory of the computer device. In other embodiments, the computer-readable storage medium can also be an external storage device of a computer device, such as a plug-in hard disk equipped on the computer device, a smart memory card (Smart Media Card, referred to as SMC), a secure digital (Secure Digital, referred to as SD) card, a flash card, etc. Of course, the computer-readable storage medium can also include both the internal storage unit of the computer device and its external storage device. In this embodiment, the computer-readable storage medium is generally used to store the operating system and various application software installed on the computer device, such as the program code of the method for delivering media files in the embodiment, etc. In addition, the computer-readable storage medium can also be used to temporarily store various types that have been output or are to be output.

[0109] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on at least two network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the embodiment scheme of the present application. Those of ordinary skill in the art may understand and implement it without creative labor.

[0110] Through the description of the above implementation methods, a person of ordinary skill in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0111] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for delivering a media file, characterized in that: include: Receive a media file delivery request; Acquire order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources; Calculate the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information; Calculating a ranking score of the first media file according to the correlation and a preset ranking algorithm; Obtaining ranking scores of other second media files to be delivered, and determining whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media file; The calculating of the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information includes: Calculate a first proportion of the remaining delivery time according to the total delivery time and the current delivery time; Calculating a second proportion of remaining resources according to the available resources and the currently consumed resources; Calculating the correlation between the first media file and the delivery object according to the first ratio, the second ratio and a preset formula; The preset formula is specifically: ,in, For the correlation, = the second ratio / the first ratio, is the preset first coefficient, is the preset second coefficient.

2. The method for delivering media files according to claim 1, characterized in that: The preset sorting algorithm is specifically: ,in, is the ranking score, is the order revenue corresponding to the first media file delivered, is the estimated click rate of the delivery object. They are respectively a preset first weight coefficient and a preset second weight coefficient.

3. The method for delivering media files according to any one of claims 1 to 2, characterized in that: The determining whether to place the first media file according to the ranking score of the first media file and the ranking score of the second media file includes: When the ranking score of the first media file is greater than the ranking score of the second media file, it is determined to deliver the first media file.

4. The method for delivering media files according to claim 3, characterized in that: Before the step of calculating the ranking score of the first media file according to the correlation and a preset ranking algorithm, the step further includes: The preset click rate prediction model is used to calculate the estimated click rate of the delivery object.

5. The method for delivering media files according to claim 1, characterized in that: After the step of determining whether to place the first media file according to the ranking score of the first media file and the ranking score of the second media file, the method further includes: After delivering the first media file, the current delivery time and the currently consumed resources in the order information are updated.

6. A media file delivery device, characterized in that: include: A receiving module, used for receiving a media file delivery request; An acquisition module, configured to acquire order information corresponding to the first media file to be delivered according to the delivery request, wherein the order information includes a total delivery time, a current delivery time, available resources, and currently consumed resources; A first calculation module, configured to calculate the correlation between the first media file and the delivery object according to the total delivery time, the current delivery time, the available resources and the currently consumed resources in the order information; A second calculation module, configured to calculate a ranking score of the first media file according to the correlation and a preset ranking algorithm; a confirmation module, configured to obtain ranking scores of other second media files to be delivered, and determine whether to deliver the first media file according to the ranking scores of the first media file and the ranking scores of the second media files; The first calculation module is also used for: Calculate a first proportion of the remaining delivery time according to the total delivery time and the current delivery time; Calculating a second proportion of remaining resources according to the available resources and the currently consumed resources; Calculating the correlation between the first media file and the delivery object according to the first ratio, the second ratio and a preset formula; The preset formula is specifically: ,in, For the correlation, = the second ratio / the first ratio, is the preset first coefficient, is the preset second coefficient.

7. A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method for delivering a media file as described in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for delivering a media file according to any one of claims 1 to 5 are implemented.

9. A computer program product, comprising a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for delivering a media file according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for delivering media files

    CN106055666A

  • Media file delivery method and device

    CN106096999A