WO2022228390A1 - Media content processing method, apparatus and device, and storage medium - Google Patents

Media content processing method, apparatus and device, and storage medium Download PDF

Info

Publication number
WO2022228390A1
WO2022228390A1 PCT/CN2022/088995 CN2022088995W WO2022228390A1 WO 2022228390 A1 WO2022228390 A1 WO 2022228390A1 CN 2022088995 W CN2022088995 W CN 2022088995W WO 2022228390 A1 WO2022228390 A1 WO 2022228390A1
Authority
WO
WIPO (PCT)
Prior art keywords
media content
target
cdn node
tree model
target media
Prior art date
Application number
PCT/CN2022/088995
Other languages
French (fr)
Chinese (zh)
Inventor
朱亚光
李孟杰
严冰
黄胜兰
李小成
Original Assignee
北京字跳网络技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京字跳网络技术有限公司 filed Critical 北京字跳网络技术有限公司
Publication of WO2022228390A1 publication Critical patent/WO2022228390A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the embodiments of the present disclosure relate to the technical field of streaming media processing, for example, to a media content processing method, apparatus, device, and storage medium.
  • streaming media applications In order to transmit media content data to clients as quickly as possible, streaming media applications generally use Content Delivery Network (CDN) technology.
  • CDN Content Delivery Network
  • Embodiments of the present disclosure provide a media content processing method, apparatus, device, and storage medium, which improve the hit rate of media content in a CDN node and reduce back-to-source bandwidth.
  • an embodiment of the present disclosure provides a media content processing method, including:
  • the target media content is obtained from the node.
  • an embodiment of the present disclosure further provides a media content processing apparatus, including:
  • the heat level determination module is set to determine the heat level of the target media content
  • a node type determination module configured to determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
  • a target node determination module configured to determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client is based on the target CDN node.
  • the node information acquires the target media content from the target CDN node.
  • an embodiment of the present disclosure further provides a media content processing device, including:
  • processors one or more processors
  • memory arranged to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the media content processing method according to any one of the embodiments of the present disclosure.
  • an embodiment of the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the embodiments of the present disclosure is implemented The media content processing method.
  • Fig. 1 is a CDN typical topology diagram provided by an embodiment of the present disclosure
  • FIG. 2 is a flowchart of a media content processing method provided by an embodiment of the present disclosure
  • FIG. 3 is a flowchart of another media content processing method provided by an embodiment of the present disclosure.
  • 4a is a schematic diagram of a CDN node in the prior art
  • FIG. 4b is a schematic diagram of a CDN node classification provided by an embodiment of the present disclosure.
  • FIG. 5 is a structural diagram of a media content processing device provided by an embodiment of the present disclosure.
  • FIG. 6 is a structural diagram of a media content processing device provided by an embodiment of the present disclosure.
  • the term “including” and variations thereof are open-ended inclusions, ie, "including but not limited to”.
  • the term “based on” is “based at least in part on.”
  • the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
  • the CDN technology in the related art caches the recently accessed media content on the CDN node, so that when the client obtains the media content, it can directly obtain the media content from the CDN node, without the need to return data to the source, thereby reducing the impact on the source site. number of visits.
  • the CDN technology in the related art caches all media content in the CDN node indiscriminately.
  • the media content with low heat level may be squeezed out of the CDN node, resulting in low heat level.
  • the media content is not on the CDN node.
  • the client accesses media content with a low popularity level, the media content cannot be found on the CDN node, resulting in a low hit rate of the media content with a low popularity level. Increase back-to-source bandwidth.
  • the embodiments of the present disclosure can be applied to any scenario of accessing a content distribution network to obtain media content, for example, it can be applied to a feed streaming scenario, can also be applied to a scenario of obtaining media content through a media playback platform or a website, and can also be applied to Click on the media content scene from the home page of the media content publisher.
  • the “feed” in the embodiment of the present disclosure may be a content aggregator that combines several news sources actively subscribed by the user to help the user continuously obtain the latest feed content.
  • the feed is a Really Simple Syndication (RSS) The interface used to receive the source of this information.
  • RSS Really Simple Syndication
  • the feed stream in the embodiment of the present disclosure is a continuously updated information stream, which can push the information in the RSS to the user.
  • the server's recommendation system pushes a series of media content (such as videos) to the client.
  • a series of media content such as videos
  • the client responds to the user's operation and sends a series of media content to the server.
  • the server determines the popularity level of the media content corresponding to the media content request in response to the media content request, obtains the media content from a corresponding type of CDN node according to the popularity level, and distributes it to the client.
  • FIG. 1 is a typical topology structure diagram of a CDN provided by an embodiment of the present disclosure.
  • the CDN technology principle is: when a user requests a certain Uniform Resource Locator (URL), a media content request is initiated to the CDN node, and the CDN node will detect the corresponding media content request sent by the user. Whether the media content is expired, if not, it directly responds to the media content request, and returns the media content corresponding to the media content request to the client. At this point, a complete http request ends.
  • URL Uniform Resource Locator
  • the CDN node needs to send a back to the source request to the origin site to pull the media content corresponding to the latest media content request, update the locally cached media content, and send The media content corresponding to the latest media content request is returned to the client.
  • the expiration of the requested content means that the media content corresponding to the media content request cannot be queried at the CDN node.
  • Embodiments of the present disclosure provide a media content processing method, apparatus, device, and storage medium.
  • the embodiments of the present disclosure differentiate media content by degree of popularity, based on the corresponding relationship between the degree of popularity and node type, in different types of CDNs. Searching for the media content corresponding to the popularity in the node can improve the hit rate of the media content in the CDN node and reduce the back-to-source bandwidth.
  • FIG. 2 is a flowchart of a method for processing media content provided by an embodiment of the present disclosure. This embodiment is applicable to a situation in which a client requests media content from a CDN node.
  • the method may be executed by a media content processing apparatus.
  • the media content processing apparatus may be implemented by means of software and/or hardware.
  • the media content processing method is applied in a server.
  • the media content processing method provided by this embodiment mainly includes steps S11 , S12 , S13 and S14 .
  • the media content refers to the content displayed on the client, which may be one or a combination of video, audio, text, and cards. It should be noted that the media content in this embodiment may be the media content in the feed stream, or may be the media content of a certain video website or the homepage of a video publisher.
  • the target media content refers to the media content requested by the client from the server.
  • a method of determining target media content receives the media content request sent by the client, parses the media content request, and determines the media content corresponding to the media content request as the target media content.
  • a method of determining target media content is provided.
  • the feed stream request sent by the client is received, the feed stream request is parsed, each media content in the feed stream is determined as the target media content, and steps S12, S13 and S14 are performed in sequence.
  • the popularity level is used to represent the attention degree of each media content.
  • the heat level can be divided into multiple levels according to the needs, for example: it can be divided into four levels: S, A, B, and F.
  • S the highest
  • a level is lower than the S level.
  • B grade is lower than the A grade
  • F grade the lowest grade.
  • It can also be divided into three levels: high, medium and low. This embodiment only describes the level division, but is not limited.
  • the heat level is divided into two levels, hot and cold.
  • Hot media content refers to media content with a higher degree of attention in a short period of time.
  • hot media content can be media content with tens of thousands of playbacks within an hour, and hot media content can also be commented and clicked within an hour.
  • Cold media content refers to media content that has received less attention in a short period of time.
  • cold media content can be media content with very low playback volume within an hour, and cold media content can also be media content with comment volume within an hour, and the growth rate of likes is very slow or does not increase.
  • a gradient boosting decision tree (Gradient Boosting Decision Tree, GBDT) tree model is used to predict the growth amount of the media content playback in the next hour, based on the correspondence between the growth amount and the popularity level relationship to determine the popularity level corresponding to the target media content.
  • GDT gradient boosting decision tree
  • the media content has a heat level of hot media content
  • the media content has a heat level of cold. media content.
  • the way of judging the popularity level according to the increase in comments and the increase in likes is similar to the above playback increment, and will not be repeated here.
  • multiple growth amount ranges can also be set to divide the popularity level of the media content in more detail. For example, four growth ranges are set, and the media content can be divided into four levels: S, A, B, and F.
  • the target media content by normalizing the relevant features of the target media content, and assigning different weights to each relevant feature, and performing weighting processing based on the normalized relevant features and their corresponding weights, Obtain the heat index corresponding to the target media content. Based on the correspondence between the popularity index and the popularity level, the popularity level corresponding to the target media content is determined.
  • CDN node group includes at least one CDN node.
  • one popularity level corresponds to one CDN node type.
  • the heat levels S, A, B, and F correspond to the first type of CDN node, the second type of CDN node, the third type of CDN node, and the fourth type of CDN node of the CDN node type, respectively.
  • hot media content corresponds to a hot type CDN node
  • cold media content corresponds to a cold type CDN node.
  • the corresponding relationship between the popularity level and the CDN node type is preselected and stored in the server.
  • the server After determining the popularity level of the target media content, the server searches for the target CDN node type corresponding to the target media content in the correspondence between the popularity level and the CDN node type.
  • the target CDN node may be understood as the CDN node included in the target CDN node type, that is, the type to which the target CDN node belongs is the target CDN node type.
  • the hot type CDN node includes the first CDN node, the second CDN node, the third CDN node, and the fourth CDN node
  • the cold type CDN node includes the fifth CDN node and the sixth CDN node.
  • a CDN node type includes one or more CDN nodes.
  • Determining the target CDN node corresponding to the target media content based on the target CDN node type may be to determine all CDN nodes included in the target CDN node type as target CDN nodes corresponding to the target media content.
  • node information (eg, node identification information) of the target CDN node may be sent to the client. Therefore, the client can request the corresponding target CDN node to acquire the target media content according to the node information.
  • the server when the server determines that the popularity level of the target media content is the hot media content, it determines the hot type CDN node corresponding to the target media content, then determines the CDN node included in the hot type CDN node as the target CDN node, and sets The node information of the target CDN node is sent to the client. Therefore, the client can send a request for acquiring the target media content to the target CDN node based on the node information.
  • the target CDN node when it receives the request from the client to obtain the target media content, it can search for the target media content, and if the target media content is found, transmit the target media content to the client; if the target media content is not found, The target CDN node sends a back to the source request to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
  • the server determines that the target media content is cold media content, it determines that the target media content is cached in the cold type CDN node, determines the CDN node included in the cold type CDN node as the target CDN node, and sends the node information of the target CDN node. to the client. Therefore, the client can send a request for acquiring the target media content to the target CDN node based on the node information.
  • the target CDN node when it receives the request from the client to obtain the target media content, it can search for the target media content, and if the target media content is found, transmit the target media content to the client; if the target media content is not found, The target CDN node sends a back-to-origin request to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
  • the server determines that the target media content is hot media content, it determines that the target media content is cached in the CDN nodes included in the hot type CDN node, then determines the CDN nodes included in the hot type CDN node as the target CDN node, and the target CDN node node information is sent to the client. Therefore, the client can send a request for acquiring the target media content to the CDN nodes included in the hot type CDN node based on the node information.
  • the CDN node included in the hot type CDN node receives the request from the client to obtain the target media content, it searches for the target media content.
  • the target media content is transmitted to the client; if the target media content is not found.
  • a back-to-origin request is sent to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
  • the server determines that the target media content is cold media content, and determines that the target media content is cached in the CDN nodes included in the cold-type CDN node
  • the CDN nodes included in the cold-type CDN node are determined as the target CDN node, and the target CDN node's Node information is sent to the client. Therefore, the client can send a request for acquiring the target media content to the CDN nodes included in the cold-type CDN node based on the node information.
  • the CDN node included in the cold type CDN node searches for the target media content when receiving the request from the client to obtain the target media content, and if the target media content is found, transmits the target media content to the client; For the target media content, a back-to-origin request is sent to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
  • An embodiment of the present disclosure provides a media content processing method, including: determining a popularity level of a target media content; determining a target CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level and the CDN node type are one-to-one Corresponding; determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client obtains the target media content from the target CDN node based on the node information.
  • the embodiment of the present disclosure can improve the hit rate of the media content in CDN nodes by distinguishing the media content by the popularity level, and searching for the media content corresponding to the popularity in different types of CDN nodes based on the corresponding relationship between the popularity level and the node type. , reducing the back-to-source bandwidth.
  • the embodiment of the present disclosure further refines the media content processing method. , using a pre-trained tree model to predict the popularity level of the target media content, wherein the media content features include one or more of the following: media content visits, media content viewing, media content likes, media content comments volume, media content downloads, media content sharing”.
  • the media content feature and the real media content popularity level identifier can be used as input to obtain the media content predicted popularity level output, based on the loss function, the real media content popularity level and the predicted media content popularity level Adjust the model parameters until the model output is as expected, and get the trained tree model.
  • the model can be used to predict the popularity level of the media content, and the media content feature is used as an input to obtain the popularity level of the model. For example, during training and use, the tree model predicts the hotness or coldness of the media content by predicting whether the playback volume of the media content in a preset time period in the future exceeds a playback volume threshold.
  • the media content access volume may be the number of times the client accesses the media content, and the access volume may be determined by counting the number of times the client accesses the CDN address corresponding to the media content, and the specific statistical method is not performed in this embodiment. limited.
  • the media content viewing volume refers to the number of times the client plays the media content.
  • the tree model is also called the decision tree model, and the decision tree model is a simple and easy-to-use non-parametric classifier.
  • any decision tree model can be selected for training to obtain a specific training method of the pre-trained tree model, which is not limited in this embodiment.
  • the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree.
  • the pre-trained tree model directly outputs the popularity level of the target media content.
  • the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree.
  • the pre-trained tree model outputs the target media content playback growth amount, and determines the popularity level of the target media content based on the playback growth amount.
  • the pre-trained tree model is used to predict the popularity level of the target media content, which can improve the accuracy of the prediction required for the hot and cold prediction of the target media content.
  • FIG. 3 is a flowchart of another media content processing method provided by an embodiment of the present disclosure. As shown in FIG. 3 , another media content processing method provided by an embodiment of the present disclosure mainly includes the following steps:
  • the preset time period in the future may refer to one hour in the future, or two hours in the future. In this embodiment, it can be within an hour in the future.
  • the play increment may refer to the play increment of the media content within a preset time period in the future, for example, the play increment of the target media content in the next hour.
  • the relationship between the playback increase and the playback increase threshold includes: the playback increase exceeds the playback increase threshold, or the playback increase is lower than the playback increase threshold.
  • the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree.
  • the pre-trained tree model outputs the relationship between the playback growth of the target media content and the playback growth threshold.
  • determining the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold includes: in response to determining that the play increase amount of the target media content is greater than or equal to An increase amount threshold, it is determined that the popularity level of the target media content is the first popularity; in response to determining that the playback increase amount of the target media content is less than the increase amount threshold, it is determined that the popularity level of the target media content is the second popularity.
  • the popularity level of the media content is the first popularity level, that is, the media content is hot media content, in response to determining that the increase amount is lower than the increase amount threshold.
  • the increase amount threshold, the popularity level of the media content is the second popularity, that is, the media content is cold media content.
  • Fig. 4a is a schematic diagram of a CDN node in the prior art
  • Fig. 4b is a schematic diagram of a CDN node classification provided by an embodiment of the present disclosure
  • each original CDN node in the CDN system contains hot media content and cold media content.
  • the CDN nodes are divided into hot-type CDN nodes that cache hot media content and cold-type CDN nodes that cache cold media content.
  • the target media content is predicted to be hot media content, it is obtained from the hot type CDN node, and the target media content is predicted to be cold media content and obtained from the cold type CDN node, so that the resources are re-divided.
  • Bringing the cold media content back to one node prevents the mixed cold and hot nodes from squeezing the cold resources out of the CDN's cache, resulting in a decrease in the hit rate of the cold resource CDN.
  • the method further includes: a training process of the tree model.
  • the tree model training method provided by the embodiments of the present disclosure mainly includes: using a binary cross-entropy loss function to train the tree model.
  • the tree model can be trained by using the tree model training samples constructed from multiple media contents and the binary cross-entropy loss function determined based on the weight of each media content.
  • using a binary cross-entropy loss function to train the tree model to obtain a pre-trained tree model including: constructing a tree model training sample by using multiple media contents; The feature determines the weight of each media content, and determines the binary cross-entropy loss function according to the weight of each media content; the tree model is trained based on the tree model training samples and the binary-class cross entropy loss function to obtain Pretrained tree model.
  • the binary cross-entropy loss function is:
  • N is the total amount of media content in the tree model training sample
  • yi represents the label of the ith media content in the tree model training sample
  • pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example
  • ⁇ i represents the weight of the i-th media content in the tree model training sample
  • vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future
  • VV represents the total viewing volume of the ith media content sample in the tree model training sample
  • T represents the ith media content sample in the tree model training sample.
  • t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.
  • this embodiment can also use the existing GBDT tree model, which will not be repeated here.
  • more weights are set for the loss of media content with a higher proportion of the viewing volume vv in the future preset time period, thereby improving the prediction effect of the later media content with a relatively high viewing volume.
  • FIG. 5 is a structural diagram of a media content processing apparatus provided by an embodiment of the present disclosure. This embodiment is applicable to a situation where a client requests media content from a CDN node, and the media content processing apparatus can be processed through software and/or implemented in hardware.
  • the media content processing device is integrated in the server.
  • the media content processing apparatus mainly includes a heat level determination module 51 , a node type determination module 52 and a target node determination module 53 .
  • the heat level determination module 51 is set to determine the heat level of the target media content
  • the node type determination module 52 is configured to determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
  • the target node determination module 53 is configured to determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client is based on the target CDN node.
  • the node information acquires the target media content from the target CDN node.
  • An embodiment of the present disclosure provides a media content processing apparatus, which is mainly configured to perform the following operations: determine the popularity level of the target media content; determine the target CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level is the same as One-to-one correspondence between the types of CDN nodes; determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can select the target CDN node based on the node information. obtain the target media content from the target CDN node.
  • the embodiment of the present disclosure can improve the hit rate of the media content in CDN nodes by distinguishing the media content by the popularity level, and searching for the media content corresponding to the popularity in different types of CDN nodes based on the corresponding relationship between the popularity level and the node type. , reducing the back-to-source bandwidth.
  • the popularity level determination module 51 is configured to use a pre-trained tree model to predict the popularity level of the target media content based on the media content characteristics of the target media content, wherein the media content characteristics include the following One or more of: media content visits, media content viewings, media content likes, media content comments, media content downloads, and media content sharing.
  • the heat level determination module 51 includes:
  • an increase amount prediction unit configured to predict the relationship between the play increase amount and the play increase amount threshold of the target media content in a preset time period in the future by using the pre-trained tree model
  • the popularity level determination unit is configured to determine the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
  • the popularity level determination unit is configured to determine that the popularity level of the target media content is the first popularity in response to determining that the play increase of the target media content is greater than or equal to an increase threshold; The play growth amount is less than the growth amount threshold, and it is determined that the popularity level of the target media content is the second popularity.
  • the apparatus further includes: a model training module, configured as:
  • the tree model is trained using a binary cross-entropy loss function to obtain a pre-trained tree model.
  • the model training module is configured to: construct a tree model training sample by using a plurality of media contents; determine the weight of each media content according to the media content characteristics of the plurality of media contents, and The weight of the content determines a binary cross-entropy loss function; the tree model is trained based on the tree model training sample and the binary cross-entropy loss function to obtain a pre-trained tree model.
  • the binary cross-entropy loss function is:
  • N is the total amount of media content in the tree model training sample
  • yi represents the label of the ith media content in the tree model training sample
  • pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example
  • ⁇ i represents the weight of the i-th media content in the tree model training sample
  • vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future
  • VV represents the total viewing volume of the ith media content sample in the tree model training sample
  • T represents the ith media content sample in the tree model training sample.
  • t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.
  • the media content processing apparatus provided in this embodiment can execute the media content processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the media content processing method.
  • FIG. 6 it shows a schematic structural diagram of an electronic device (eg, a terminal device or a server in FIG. 6 ) 600 suitable for implementing an embodiment of the present disclosure.
  • Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like.
  • the electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
  • an electronic device 600 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 601 that may be loaded into random access according to a program stored in a read only memory (ROM) 602 or from a storage device 608
  • a program in a memory (RAM) 603 executes various appropriate actions and processes.
  • the processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604.
  • An input/output (I/O) interface 605 is also connected to bus 604 .
  • I/O interface 605 input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 607 of a computer, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609.
  • Communication means 609 may allow electronic device 600 to communicate wirelessly or by wire with other devices to exchange data.
  • FIG. 6 shows an electronic device 600 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
  • embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program comprising program code arranged to perform the method illustrated in the flowchart.
  • the computer program may be downloaded and installed from the network via the communication device 609, or from the storage device 608, or from the ROM 602.
  • the processing apparatus 601 the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
  • the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
  • the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
  • Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
  • the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects.
  • HTTP HyperText Transfer Protocol
  • Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
  • the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:
  • the target media content is obtained from the node.
  • Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
  • LAN local area network
  • WAN wide area network
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
  • the units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
  • exemplary types of hardware logic components include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
  • FPGAs Field Programmable Gate Arrays
  • ASICs Application Specific Integrated Circuits
  • ASSPs Application Specific Standard Products
  • SOCs Systems on Chips
  • CPLDs Complex Programmable Logical Devices
  • a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device.
  • the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
  • Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing.
  • machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
  • RAM random access memory
  • ROM read only memory
  • EPROM or flash memory erasable programmable read only memory
  • CD-ROM compact disk read only memory
  • magnetic storage or any suitable combination of the foregoing.
  • a media content processing method, apparatus, device, and storage medium including:
  • the target media content is obtained from the node.
  • a media content processing method, apparatus, device, and storage medium which determine the popularity level of target media content, including:
  • a pre-trained tree model is used to predict the popularity level of the target media content, wherein the media content features include one or more of the following: media content visits, media content viewings , media content likes, media content comments, media content downloads, media content sharing.
  • a media content processing method, apparatus, device, and storage medium wherein a pre-trained tree model is used to predict the popularity level of the target media content, including:
  • the popularity level of the target media content is determined based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
  • a media content processing method, apparatus, device, and storage medium wherein the target media content is determined based on the relationship between a play increase amount of the target media content and a play increase amount threshold heat levels, including:
  • determining that the play increase of the target media content is greater than or equal to the increase threshold determining that the popularity level of the target media content is the first popularity
  • determining that the play increase of the target media content is less than the increase threshold In response to determining that the play increase of the target media content is less than the increase threshold, determining that the popularity level of the target media content is the second popularity.
  • a media content processing method, apparatus, device, and storage medium further comprising:
  • the tree model is trained using a binary cross-entropy loss function to obtain a pre-trained tree model.
  • a media content processing method, apparatus, device, and storage medium are provided.
  • the tree model is trained by using a binary cross-entropy loss function to obtain a pre-trained tree model, including:
  • the tree model is trained based on the tree model training samples and the binary cross-entropy loss function to obtain a pre-trained tree model.
  • a media content processing method, apparatus, device, and storage medium wherein the binary cross-entropy loss function is:
  • N is the total amount of media content in the tree model training sample
  • yi represents the label of the ith media content in the tree model training sample
  • pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example
  • ⁇ i represents the weight of the i-th media content in the tree model training sample
  • vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future
  • VV represents the total viewing volume of the ith media content sample in the tree model training sample
  • T represents the ith media content sample in the tree model training sample.
  • t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.

Abstract

Embodiments of the present disclosure provide a media content processing method, apparatus and device, and a storage medium. The media content processing method comprises: determining a popularity level of target media content; on the basis of the popularity level of the target media content, determining a target CDN node type corresponding to the target media content, wherein popularity levels have one-to-one correspondence to CDN node types; on the basis of the target CDN node type, determining a target CDN node corresponding to the target media content, and sending node information of the target CDN node to a client, so that the client obtain the target media content from the target CDN node on the basis of the node information.

Description

媒体内容处理方法、装置、设备和存储介质Media content processing method, apparatus, device and storage medium
本申请要求在2021年4月26日提交中国专利局、申请号为202110454466.9的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 202110454466.9 filed with the China Patent Office on April 26, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本公开实施例涉及流媒体处理技术领域,例如涉及一种媒体内容处理方法、装置、设备和存储介质。The embodiments of the present disclosure relate to the technical field of streaming media processing, for example, to a media content processing method, apparatus, device, and storage medium.
背景技术Background technique
伴随着互联网的高速发展,流媒体应用所占的带宽呈现爆炸性增长,流媒体应用为了将媒体内容数据尽可能快的传输到客户端,普遍使用了内容分发网络(Content Delivery Network,CDN)技术。With the rapid development of the Internet, the bandwidth occupied by streaming media applications has exploded. In order to transmit media content data to clients as quickly as possible, streaming media applications generally use Content Delivery Network (CDN) technology.
发明内容SUMMARY OF THE INVENTION
本公开实施例提供一种媒体内容处理方法、装置、设备和存储介质,提高媒体内容在CDN节点中的命中率,减少回源带宽。Embodiments of the present disclosure provide a media content processing method, apparatus, device, and storage medium, which improve the hit rate of media content in a CDN node and reduce back-to-source bandwidth.
第一方面,本公开实施例提供了一种媒体内容处理方法,包括:In a first aspect, an embodiment of the present disclosure provides a media content processing method, including:
确定目标媒体内容的热度级别;Determine the popularity level of the target media content;
基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型,其中,所述热度级别与所述CDN节点类型一一对应;Determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can access the target CDN based on the node information The target media content is obtained from the node.
第二方面,本公开实施例还提供了一种媒体内容处理装置,包括:In a second aspect, an embodiment of the present disclosure further provides a media content processing apparatus, including:
热度级别确定模块,设置为确定目标媒体内容的热度级别;The heat level determination module is set to determine the heat level of the target media content;
节点类型确定模块,设置为基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型,其中,所述热度级别与所述CDN节点类型一一对应;A node type determination module, configured to determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
目标节点确定模块,设置为基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。A target node determination module, configured to determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client is based on the target CDN node. The node information acquires the target media content from the target CDN node.
第三方面,本公开实施例还提供了一种媒体内容处理设备,包括:In a third aspect, an embodiment of the present disclosure further provides a media content processing device, including:
一个或多个处理器;one or more processors;
存储器,设置为存储一个或多个程序;memory, arranged to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本公开实施例中任一项所述的媒体内容处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the media content processing method according to any one of the embodiments of the present disclosure.
第四方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如本公开实施例中任一项所述的媒 体内容处理方法。In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any one of the embodiments of the present disclosure is implemented The media content processing method.
附图说明Description of drawings
贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,原件和元素不一定按照比例绘制。Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
图l是本公开实施例提供的CDN典型拓扑结构图;Fig. 1 is a CDN typical topology diagram provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种媒体内容处理方法的流程图;FIG. 2 is a flowchart of a media content processing method provided by an embodiment of the present disclosure;
图3是本公开实施例提供的另一种媒体内容处理方法的流程图;3 is a flowchart of another media content processing method provided by an embodiment of the present disclosure;
图4a是现有技术中的一种CDN节点示意图;4a is a schematic diagram of a CDN node in the prior art;
图4b是本公开实施例提供的一种CDN节点分类示意图;FIG. 4b is a schematic diagram of a CDN node classification provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种媒体内容处理方装置的结构图;5 is a structural diagram of a media content processing device provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种媒体内容处理方设备的结构图。FIG. 6 is a structural diagram of a media content processing device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过多种形式来实现,而且不应该被解释为限于这里阐述的实施例,相反提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for the purpose of A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes, and are not intended to limit the protection scope of the present disclosure.
应当理解,本公开的方法实施方式中记载的多个步骤可以按照不同的顺序执行,和/或并行执行。此外,方法实施方式可以包括附加的步骤和/或省略执行示出的步骤。本公开的范围在此方面不受限制。It should be understood that the multiple steps described in the method embodiments of the present disclosure may be performed in different orders and/or in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this regard.
本文使用的术语“包括”及其变形是开放性包括,即“包括但不限于”。术语“基于”是“至少部分地基于”。术语“一个实施例”表示“至少一个实施例”;术语“另一实施例”表示“至少一个另外的实施例”;术语“一些实施例”表示“至少一些实施例”。其他术语的相关定义将在下文描述中给出。As used herein, the term "including" and variations thereof are open-ended inclusions, ie, "including but not limited to". The term "based on" is "based at least in part on." The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions of other terms will be given in the description below.
需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or interdependence.
需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "a" and "a plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, they should be understood as "one or a plurality of". multiple".
本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of these messages or information.
相关技术中的CDN技术,通过将最近访问过的媒体内容缓存在CDN节点上,使得客户端获取媒体内容时,可以直接从CDN节点上获取,不需要进行数据回源,从而降低对源站的访问次数。The CDN technology in the related art caches the recently accessed media content on the CDN node, so that when the client obtains the media content, it can directly obtain the media content from the CDN node, without the need to return data to the source, thereby reducing the impact on the source site. number of visits.
相关技术中的CDN技术,将所有媒体内容无差别的缓存在CDN节点中,当有新媒体内容进入到CDN节点的时候,低热度级别的媒体内容可能被挤出CDN节点,导致低热度级别的媒体内容不在CDN节点上。当客户端访问低热度级别的媒体内容时,在CDN节点上查找不到该媒体内容,导致低热度级别的媒体内容命中率低,此时,需要回源站获取该低热度级别的媒体内容,增加回源宽带。The CDN technology in the related art caches all media content in the CDN node indiscriminately. When new media content enters the CDN node, the media content with low heat level may be squeezed out of the CDN node, resulting in low heat level. The media content is not on the CDN node. When the client accesses media content with a low popularity level, the media content cannot be found on the CDN node, resulting in a low hit rate of the media content with a low popularity level. Increase back-to-source bandwidth.
首先,对本公开实施例的应用场景进行简单解释。本公开实施例可以应用于任意访问内容分发网络进获取媒体内容的场景中,例如:可以应用于feed流场景中,也可以应用于通过媒体播放平台或者网站获取媒体内容的场景,还可以应用于通过媒体内容发布者的主页点击媒体内容场景。First, the application scenarios of the embodiments of the present disclosure are briefly explained. The embodiments of the present disclosure can be applied to any scenario of accessing a content distribution network to obtain media content, for example, it can be applied to a feed streaming scenario, can also be applied to a scenario of obtaining media content through a media playback platform or a website, and can also be applied to Click on the media content scene from the home page of the media content publisher.
本公开实施例中的“feed”可以是将用户主动订阅的若干消息源组合在一起形成内容聚合器,帮助用户持续地获取最新的订阅源内容,feed是简易信息聚合(Really Simple Syndication,RSS)中用来接收该信息来源的接口。The “feed” in the embodiment of the present disclosure may be a content aggregator that combines several news sources actively subscribed by the user to help the user continuously obtain the latest feed content. The feed is a Really Simple Syndication (RSS) The interface used to receive the source of this information.
本公开实施例中的feed流,又称为信息流,是一种持续更新的信息流,可以将RSS中的信息推送给用户。The feed stream in the embodiment of the present disclosure, also referred to as an information stream, is a continuously updated information stream, which can push the information in the RSS to the user.
在feed流场景下,服务器的推荐系统向客户端推送一系列的媒体内容(例如视频),用户在观看feed流中的媒体内容操作时,客户端响应于用户操作,并向服务器发送一系列的媒体内容请求,服务器响应于所述媒体内容请求,确定与媒体内容请求相对应的媒体内容的热度级别,根据热度级别去相应类型的CDN节点上获取媒体内容,并分发至客户端。In the feed stream scenario, the server's recommendation system pushes a series of media content (such as videos) to the client. When the user watches the media content in the feed stream, the client responds to the user's operation and sends a series of media content to the server. For a media content request, the server determines the popularity level of the media content corresponding to the media content request in response to the media content request, obtains the media content from a corresponding type of CDN node according to the popularity level, and distributes it to the client.
图l是本公开实施例提供的CDN典型拓扑结构图。如图l所示,CDN技术原理是:当有用户请求某一个统一资源定位器(Uniform Resource Locator,URL)的时候,向CDN节点发起媒体内容请求,CDN节点会检测用户发送的媒体内容请求对应的媒体内容是否过期,如果没有过期,则直接响应媒体内容请求,将媒体内容请求对应的媒体内容返回客户端,此时一个完成http请求结束。如果媒体内容请求对应的媒体内容已经过期,CDN节点需要向源站发出回源请求(back to the source request)来拉取最新的媒体内容请求对应的媒体内容,更新本地缓存的媒体内容,并将最新的媒体内容请求对应的媒体内容返回给客户端。请求内容过期是指在CDN节点未能查询到媒体内容请求对应的媒体内容。FIG. 1 is a typical topology structure diagram of a CDN provided by an embodiment of the present disclosure. As shown in Figure 1, the CDN technology principle is: when a user requests a certain Uniform Resource Locator (URL), a media content request is initiated to the CDN node, and the CDN node will detect the corresponding media content request sent by the user. Whether the media content is expired, if not, it directly responds to the media content request, and returns the media content corresponding to the media content request to the client. At this point, a complete http request ends. If the media content corresponding to the media content request has expired, the CDN node needs to send a back to the source request to the origin site to pull the media content corresponding to the latest media content request, update the locally cached media content, and send The media content corresponding to the latest media content request is returned to the client. The expiration of the requested content means that the media content corresponding to the media content request cannot be queried at the CDN node.
上述CDN技术,源站拉取的所有媒体内容无差别的缓存在CDN节点中,当有新媒体内容进入到CDN节点的时候,低热度级别的媒体内容可能被挤出CDN节点,导致低热度级别的媒体内容不在CDN节点上。当客户端请求低热度级别的媒体内容时,在CDN节点上查找不到该媒体内容,导致低热度级别的媒体内容命中率低,此时,需要回源站获取该低热度级别的媒体内容,增加回源宽带。With the above CDN technology, all media content pulled by the origin site is indiscriminately cached in the CDN node. When new media content enters the CDN node, the media content with a low level of popularity may be squeezed out of the CDN node, resulting in a low level of popularity. The media content is not on the CDN node. When the client requests media content with a low popularity level, the media content cannot be found on the CDN node, resulting in a low hit rate of the media content with a low popularity level. Increase back-to-source bandwidth.
本公开实施例提供了一种媒体内容处理方法、装置、设备和存储介质,本公开实施例通过将对媒体内容进行热度级别的区分,基于热度级别和节点类型的对应关系,在不同类型的CDN节点中查找对应热度的媒体内容,可以提高媒体内容在CDN节点中的命中率,减少回源带宽。Embodiments of the present disclosure provide a media content processing method, apparatus, device, and storage medium. The embodiments of the present disclosure differentiate media content by degree of popularity, based on the corresponding relationship between the degree of popularity and node type, in different types of CDNs. Searching for the media content corresponding to the popularity in the node can improve the hit rate of the media content in the CDN node and reduce the back-to-source bandwidth.
下面结合具体的实施例,对本公开实施例提供的媒体内容处理方法、装置、设备和存储介质进行详细介绍。The media content processing method, apparatus, device, and storage medium provided by the embodiments of the present disclosure will be described in detail below with reference to specific embodiments.
图2是本公开实施例提供的一种媒体内容处理方法的流程图,本实施例可适用于客户端从CDN节点上的请求媒体内容的情况,该方法可以由媒体内容处理装置来执行,所述媒体内容处理装置可以通过软件和/或硬件的方式来实现。所述媒体内容处理方法应用于服务器中。FIG. 2 is a flowchart of a method for processing media content provided by an embodiment of the present disclosure. This embodiment is applicable to a situation in which a client requests media content from a CDN node. The method may be executed by a media content processing apparatus. The media content processing apparatus may be implemented by means of software and/or hardware. The media content processing method is applied in a server.
如图2所示,本实施例提供的媒体内容处理方法主要包括步骤S11、S12、S13和S14。As shown in FIG. 2 , the media content processing method provided by this embodiment mainly includes steps S11 , S12 , S13 and S14 .
S11、确定目标媒体内容的热度级别。S11. Determine the popularity level of the target media content.
本实施例中,媒体内容是指在客户端进行展示的内容,可以是视频、音频、文字、卡片中的一种或者多种的组合。需要说明的是,本实施例中的媒体内容可以为feed流中的媒体内 容,也可以是某视频网站或者视频发布者主页的媒体内容。目标媒体内容是指客户端向服务器请求的媒体内容。In this embodiment, the media content refers to the content displayed on the client, which may be one or a combination of video, audio, text, and cards. It should be noted that the media content in this embodiment may be the media content in the feed stream, or may be the media content of a certain video website or the homepage of a video publisher. The target media content refers to the media content requested by the client from the server.
在一个实施方式中,提供一种确定目标媒体内容的方法。服务器接收客户端发送的媒体内容请求,解析该媒体内容请求,并将媒体内容请求对应的媒体内容确定为目标媒体内容。In one embodiment, a method of determining target media content is provided. The server receives the media content request sent by the client, parses the media content request, and determines the media content corresponding to the media content request as the target media content.
在另一个实施方式中,提供一种确定目标媒体内容的方法。接收客户端发送的feed流请求,解析该feed流请求,并将feed流中的每个媒体内容均确定为目标媒体内容,并依次执行步骤S12、S13和S14。In another embodiment, a method of determining target media content is provided. The feed stream request sent by the client is received, the feed stream request is parsed, each media content in the feed stream is determined as the target media content, and steps S12, S13 and S14 are performed in sequence.
其中,热度级别用于表征每个媒体内容的受关注程度。热度级别可以根据需求划分为多个级别,例如:可以划分为S级,A级,B级,F级四个级别,其中,S级的级别最高,A级的级别低于S级的级别,B级的级别低于A级的级别,F级的级别最低。级别越高,则表示该媒体内容被观看的次数越多,级别越低,则表示该媒体内容被观看的次数越少。还可以划分为高,中,低三个级别。本实施例仅对级别划分进行说明,而非限定。Among them, the popularity level is used to represent the attention degree of each media content. The heat level can be divided into multiple levels according to the needs, for example: it can be divided into four levels: S, A, B, and F. Among them, the S level is the highest, and the A level is lower than the S level. The B grade is lower than the A grade, and the F grade is the lowest grade. The higher the level, the more times the media content is viewed, and the lower the level, the less the media content is viewed. It can also be divided into three levels: high, medium and low. This embodiment only describes the level division, but is not limited.
在本实施例中,例如,将热度级别划分为热和冷两个级别。热媒体内容是指短时间内受关注程度更高的媒体内容,例如:热媒体内容可以是一个小时之内播放量上万的媒体内容,热媒体内容还可以是一个小时之内评论量、点赞量大幅度增长的媒体内容。冷媒体内容是指短时间内受关注程度较低的媒体内容。例如:冷媒体内容可以是一个小时之内播放量很低的媒体内容,冷媒体内容可以是还可以是一个小时之内评论量,点赞量的增长速度很慢或者没有增长的媒体内容。In this embodiment, for example, the heat level is divided into two levels, hot and cold. Hot media content refers to media content with a higher degree of attention in a short period of time. For example, hot media content can be media content with tens of thousands of playbacks within an hour, and hot media content can also be commented and clicked within an hour. Media content with a significant increase in likes. Cold media content refers to media content that has received less attention in a short period of time. For example, cold media content can be media content with very low playback volume within an hour, and cold media content can also be media content with comment volume within an hour, and the growth rate of likes is very slow or does not increase.
在一个实施方式中,通过目标媒体内容的相关特征,使用梯度提升决策树(Gradient Boosting Decision Tree,GBDT)树模型预测未来一个小时内媒体内容播放量的增长量,基于增长量与热度级别的对应关系,确定目标媒体内容对应的热度级别。In one embodiment, through the relevant features of the target media content, a gradient boosting decision tree (Gradient Boosting Decision Tree, GBDT) tree model is used to predict the growth amount of the media content playback in the next hour, based on the correspondence between the growth amount and the popularity level relationship to determine the popularity level corresponding to the target media content.
例如,可以是判断播放增长量是否超过预设的播放增长量阈值。响应于确定播放增长量超过预设的播放增长量阈值,该媒体内容的热度级别为热媒体内容,响应于确定播放增长量低于预设的播放增长量阈值,该媒体内容的热度级别为冷媒体内容。根据评论增长量、点赞增长量判断热度级别的方式与上述播放增量类似,此处不再赘述。For example, it may be judged whether the play increase amount exceeds a preset play increase amount threshold. In response to determining that the playback increase exceeds the preset playback increase threshold, the media content has a heat level of hot media content, and in response to determining that the playback increase is lower than the preset playback increase threshold, the media content has a heat level of cold. media content. The way of judging the popularity level according to the increase in comments and the increase in likes is similar to the above playback increment, and will not be repeated here.
例如,还可以设置多个增长量范围,将媒体内容的热度级别进行更加详细的划分。例如:设置四个增长量范围,将媒体内容划分为可以划分为S级,A级,B级,F级四个级别。For example, multiple growth amount ranges can also be set to divide the popularity level of the media content in more detail. For example, four growth ranges are set, and the media content can be divided into four levels: S, A, B, and F.
在另一个实施方式中,通过对目标媒体内容的相关特征进行归一化处理,并对每个相关特征赋予不同的权重,基于归一化后的相关特征以及其对应的权重,进行加权处理,得到目标媒体内容对应的热度指标。基于热度指标与热度级别的对应关系,确定目标媒体内容对应的热度级别。In another embodiment, by normalizing the relevant features of the target media content, and assigning different weights to each relevant feature, and performing weighting processing based on the normalized relevant features and their corresponding weights, Obtain the heat index corresponding to the target media content. Based on the correspondence between the popularity index and the popularity level, the popularity level corresponding to the target media content is determined.
需要说明的是,热度指标与热度级别的对应关系的划分方式与上述增长量与热度级别的对应关系的划分方式基本相同,具体可参照上述描述,本实施中不再赘述。It should be noted that the division method of the corresponding relationship between the heat index and the heat level is basically the same as that of the above-mentioned corresponding relationship between the increase amount and the heat level. For details, please refer to the above description, which will not be repeated in this implementation.
S12、基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型,其中,所述热度级别与所述CDN节点类型一一对应。S12. Determine a target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, where the popularity level corresponds to the CDN node type one-to-one.
其中,将CDN系统中的所有CDN节点进行分类,CDN节点类型和热度级别之间存在对应的关系。例如,热度级别与CDN节点类型是一一对应的关系。例如,一个CDN节点组中至少包括一个CDN节点。Among them, all CDN nodes in the CDN system are classified, and there is a corresponding relationship between the CDN node type and the heat level. For example, there is a one-to-one correspondence between popularity levels and CDN node types. For example, a CDN node group includes at least one CDN node.
例如,一个热度级别对应一个CDN节点类型。例如:热度级别S级,A级,B级,F级 分别对应CDN节点类型的第一类CDN节点,第二类CDN节点,第三类CDN节点,第四类CDN节点。再如:热媒体内容对应热类型CDN节点,冷媒体内容对应冷类型CDN节点。For example, one popularity level corresponds to one CDN node type. For example, the heat levels S, A, B, and F correspond to the first type of CDN node, the second type of CDN node, the third type of CDN node, and the fourth type of CDN node of the CDN node type, respectively. Another example: hot media content corresponds to a hot type CDN node, and cold media content corresponds to a cold type CDN node.
例如,热度级别与CDN节点类型的对应关系预选存储在服务器中,服务器确定目标媒体内容的热度级别之后,在热度级别与CDN节点类型的对应关系中查找目标媒体内容对应的目标CDN节点类型。For example, the corresponding relationship between the popularity level and the CDN node type is preselected and stored in the server. After determining the popularity level of the target media content, the server searches for the target CDN node type corresponding to the target media content in the correspondence between the popularity level and the CDN node type.
S13、基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。S13. Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can download from the target based on the node information The target media content is acquired from the target CDN node.
在本实施例中,目标CDN节点可以理解为所述目标CDN节点类型所包括的CDN节点,即目标CDN节点所属类型是目标CDN节点类型。In this embodiment, the target CDN node may be understood as the CDN node included in the target CDN node type, that is, the type to which the target CDN node belongs is the target CDN node type.
例如:热类型CDN节点包括第一CDN节点,第二CDN节点,第三CDN节点,第四CDN节点,冷类型CDN节点包括第五CDN节点,第六CDN节点。需要说明的是,一个CDN节点类型中包括一个或多个CDN节点。For example, the hot type CDN node includes the first CDN node, the second CDN node, the third CDN node, and the fourth CDN node, and the cold type CDN node includes the fifth CDN node and the sixth CDN node. It should be noted that a CDN node type includes one or more CDN nodes.
基于目标CDN节点类型确定目标媒体内容对应的目标CDN节点,可以是将目标CDN节点类型下包括的所有CDN节点均确定为目标媒体内容对应的目标CDN节点。Determining the target CDN node corresponding to the target media content based on the target CDN node type may be to determine all CDN nodes included in the target CDN node type as target CDN nodes corresponding to the target media content.
在确定目标媒体内容对应的目标CDN节点后,可以将目标CDN节点的节点信息(如节点标识信息)发送给客户端。从而,客户端可以根据该节点信息向相应的目标CDN节点请求获取目标媒体内容。After the target CDN node corresponding to the target media content is determined, node information (eg, node identification information) of the target CDN node may be sent to the client. Therefore, the client can request the corresponding target CDN node to acquire the target media content according to the node information.
在一个实施方式中,服务器确定目标媒体内容的热度级别是热媒体内容时,确定目标媒体内容对应的热类型CDN节点,则将热类型CDN节点所包括的CDN节点确定为目标CDN节点,并将目标CDN节点的节点信息发送给客户端。从而,客户端可以基于该节点信息向目标CDN节点发送获取目标媒体内容的请求。相应的,目标CDN节点在接收到客户端获取目标媒体内容的请求时,可以查找目标媒体内容,若是查找到目标媒体内容,则将目标媒体内容传输至客户端;若是未查找到目标媒体内容,目标CDN节点向源站发出回源请求(back to the source request)来拉取最新的目标媒体内容,并缓存该最新的目标媒体内容,同时,将最新的目标媒体内容返回给客户端。In one embodiment, when the server determines that the popularity level of the target media content is the hot media content, it determines the hot type CDN node corresponding to the target media content, then determines the CDN node included in the hot type CDN node as the target CDN node, and sets The node information of the target CDN node is sent to the client. Therefore, the client can send a request for acquiring the target media content to the target CDN node based on the node information. Correspondingly, when the target CDN node receives the request from the client to obtain the target media content, it can search for the target media content, and if the target media content is found, transmit the target media content to the client; if the target media content is not found, The target CDN node sends a back to the source request to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
例如,服务器确定目标媒体内容是冷媒体内容时,确定目标媒体内容缓存在冷类型CDN节点,则将冷类型CDN节点所包括的CDN节点确定为目标CDN节点,并将目标CDN节点的节点信息发送给客户端。从而,客户端可以基于该节点信息向目标CDN节点发送获取目标媒体内容的请求。相应的,目标CDN节点在接收到客户端获取目标媒体内容的请求时,可以查找目标媒体内容,若是查找到目标媒体内容,则将目标媒体内容传输至客户端;若是未查找到目标媒体内容,目标CDN节点向源站发出回源请求来拉取最新的目标媒体内容,并缓存该最新的目标媒体内容,同时,将最新的目标媒体内容返回给客户端。For example, when the server determines that the target media content is cold media content, it determines that the target media content is cached in the cold type CDN node, determines the CDN node included in the cold type CDN node as the target CDN node, and sends the node information of the target CDN node. to the client. Therefore, the client can send a request for acquiring the target media content to the target CDN node based on the node information. Correspondingly, when the target CDN node receives the request from the client to obtain the target media content, it can search for the target media content, and if the target media content is found, transmit the target media content to the client; if the target media content is not found, The target CDN node sends a back-to-origin request to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
在上述实施方式的基础上,提供另一种媒体内容的调度方式。服务器确定目标媒体内容是热媒体内容时,确定目标媒体内容缓存在热类型CDN节点包括的CDN节点中,则将热类型CDN节点包括的CDN节点确定为目标CDN节点,并将目标CDN节点的节点信息发送给客户端。从而,客户端可以基于该节点信息向热类型CDN节点包括的CDN节点发送获取目标媒体内容的请求。相应的,热类型CDN节点包括的CDN节点在接收到客户端获取目标媒体内容的请求时,查找目标媒体内容,若是查找到目标媒体内容,则将目标媒体内容传输至 客户端;若是未查找到目标媒体内容,则向源站发出回源请求来拉取最新的目标媒体内容,并缓存该最新的目标媒体内容,同时,将最新的目标媒体内容返回给客户端。On the basis of the above-mentioned embodiments, another scheduling manner of media content is provided. When the server determines that the target media content is hot media content, it determines that the target media content is cached in the CDN nodes included in the hot type CDN node, then determines the CDN nodes included in the hot type CDN node as the target CDN node, and the target CDN node node information is sent to the client. Therefore, the client can send a request for acquiring the target media content to the CDN nodes included in the hot type CDN node based on the node information. Correspondingly, when the CDN node included in the hot type CDN node receives the request from the client to obtain the target media content, it searches for the target media content. If the target media content is found, the target media content is transmitted to the client; if the target media content is not found. For the target media content, a back-to-origin request is sent to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
例如,服务器确定目标媒体内容是冷媒体内容时,确定目标媒体内容缓存在冷类型CDN节点包括的CDN节点中,则冷类型CDN节点包括的CDN节点确定为目标CDN节点,并将目标CDN节点的节点信息发送给客户端。从而,客户端可以基于该节点信息向冷类型CDN节点包括的CDN节点发送获取目标媒体内容的请求。相应的,冷类型CDN节点包括的CDN节点在接收到客户端获取目标媒体内容的请求时,查找目标媒体内容,若是查找到目标媒体内容,则将目标媒体内容传输至客户端;若是未查找到目标媒体内容,则向源站发出回源请求来拉取最新的目标媒体内容,并缓存该最新的目标媒体内容,同时,将最新的目标媒体内容返回给客户端。For example, when the server determines that the target media content is cold media content, and determines that the target media content is cached in the CDN nodes included in the cold-type CDN node, the CDN nodes included in the cold-type CDN node are determined as the target CDN node, and the target CDN node's Node information is sent to the client. Therefore, the client can send a request for acquiring the target media content to the CDN nodes included in the cold-type CDN node based on the node information. Correspondingly, the CDN node included in the cold type CDN node searches for the target media content when receiving the request from the client to obtain the target media content, and if the target media content is found, transmits the target media content to the client; For the target media content, a back-to-origin request is sent to the origin site to pull the latest target media content, cache the latest target media content, and at the same time, return the latest target media content to the client.
本公开实施例提供一种媒体内容处理方法,包括:确定目标媒体内容的热度级别;基于目标媒体内容的热度级别确定目标媒体内容对应的目标CDN节点类型,其中,热度级别与CDN节点类型一一对应;基于目标CDN节点类型确定目标媒体内容对应的目标CDN节点,并将目标CDN节点的节点信息发送给客户端,以使客户端基于该节点信息自目标CDN节点中获取目标媒体内容。本公开实施例通过将对媒体内容进行热度级别的区分,基于热度级别和节点类型的对应关系,在不同类型的CDN节点中查找对应热度的媒体内容,可以提高媒体内容在CDN节点中的命中率,减少回源带宽。An embodiment of the present disclosure provides a media content processing method, including: determining a popularity level of a target media content; determining a target CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level and the CDN node type are one-to-one Corresponding; determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client obtains the target media content from the target CDN node based on the node information. The embodiment of the present disclosure can improve the hit rate of the media content in CDN nodes by distinguishing the media content by the popularity level, and searching for the media content corresponding to the popularity in different types of CDN nodes based on the corresponding relationship between the popularity level and the node type. , reducing the back-to-source bandwidth.
在上述实施例的基础上,本公开实施例进一步细化了媒体内容处理方法,本实施例中,将“确定目标媒体内容的热度级别”细化为“基于所述目标媒体内容的媒体内容特征,利用预训练的树模型预测所述目标媒体内容的热度级别,其中,所述媒体内容特征包括如下一个或多个:媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量”。On the basis of the above-mentioned embodiment, the embodiment of the present disclosure further refines the media content processing method. , using a pre-trained tree model to predict the popularity level of the target media content, wherein the media content features include one or more of the following: media content visits, media content viewing, media content likes, media content comments volume, media content downloads, media content sharing”.
在训练所述树模型时,可以将所述媒体内容特征及媒体内容真实热度级别标识作为输入得到媒体内容预测热度级别输出,基于所述损失函数、所述媒体内容的真实热度级别及预测热度级别调整模型参数,直至模型输出符合预期,得到训练好的树模型。训练好模型之后即可使用所述模型对媒体内容的热度级别进行预测,在使用时将媒体内容特征作为输入,得到模型的热度级别。例如,在训练和使用时,所述树模型均是通过预测媒体内容未来一预设时间段的播放量是否超过一播放量阈值来预测媒体内容的热冷。When training the tree model, the media content feature and the real media content popularity level identifier can be used as input to obtain the media content predicted popularity level output, based on the loss function, the real media content popularity level and the predicted media content popularity level Adjust the model parameters until the model output is as expected, and get the trained tree model. After the model is trained, the model can be used to predict the popularity level of the media content, and the media content feature is used as an input to obtain the popularity level of the model. For example, during training and use, the tree model predicts the hotness or coldness of the media content by predicting whether the playback volume of the media content in a preset time period in the future exceeds a playback volume threshold.
在本实施例中,媒体内容访问量可以是客户端访问该媒体内容的次数,访问量可以统计客户端访问该媒体内容对应的CDN地址的次数确定,具体的统计方式本实施例中不再进行限定。媒体内容观看量是指客户端播放该媒体内容的次数。In this embodiment, the media content access volume may be the number of times the client accesses the media content, and the access volume may be determined by counting the number of times the client accesses the CDN address corresponding to the media content, and the specific statistical method is not performed in this embodiment. limited. The media content viewing volume refers to the number of times the client plays the media content.
其中,树模型也称为决策树模型,决策树模型是一种简单易用的非参数分类器。本实施例中,可以选用任意决策树模型进行训练,得到预训练的树模型具体的训练方式,本实施例不再进行限定。Among them, the tree model is also called the decision tree model, and the decision tree model is a simple and easy-to-use non-parametric classifier. In this embodiment, any decision tree model can be selected for training to obtain a specific training method of the pre-trained tree model, which is not limited in this embodiment.
在一个实施方式中,将媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量的斜率作为媒体内容特征,输入至预训练的树模型,预训练的树模型直接输出目标媒体内容的热度级别。In one embodiment, the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree. Model, the pre-trained tree model directly outputs the popularity level of the target media content.
在一个实施方式中,将媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量的斜率作为媒体内容特征,输入至预训练的树模 型,预训练的树模型输出目标媒体内容播放增长量,基于播放增长量确定目标媒体内容的热度级别。In one embodiment, the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree. Model, the pre-trained tree model outputs the target media content playback growth amount, and determines the popularity level of the target media content based on the playback growth amount.
本公开实施例中,利用预训练的树模型预测目标媒体内容的热度级别,可以提高目标媒体内容冷热预测需要预测的准确性。In the embodiment of the present disclosure, the pre-trained tree model is used to predict the popularity level of the target media content, which can improve the accuracy of the prediction required for the hot and cold prediction of the target media content.
图3是本公开实施例提供的另一种媒体内容处理方法的流程图,如图3所示,本公开实施例提供的另一种媒体内容处理方法主要包括如下步骤:FIG. 3 is a flowchart of another media content processing method provided by an embodiment of the present disclosure. As shown in FIG. 3 , another media content processing method provided by an embodiment of the present disclosure mainly includes the following steps:
S21、利用预训练的树模型预测未来预设时间段内所述目标媒体内容的播放增长量与播放增长量阈值的关系。S21. Use the pre-trained tree model to predict the relationship between the play increase amount of the target media content and the play increase amount threshold within a preset time period in the future.
在本实施例中,未来预设时间段内可以是指未来的一个小时内,或者未来两个小时内。本实施例中可以为未来的一个小时内。播放增长量可以是指未来预设时间段内该媒体内容的播放增量,例如:未来一个小时内该目标媒体内容的播放增量。播放增长量与播放增长量阈值的关系包括:播放增长量超过播放增长量阈值,或者播放增长量低于播放增长量阈值。In this embodiment, the preset time period in the future may refer to one hour in the future, or two hours in the future. In this embodiment, it can be within an hour in the future. The play increment may refer to the play increment of the media content within a preset time period in the future, for example, the play increment of the target media content in the next hour. The relationship between the playback increase and the playback increase threshold includes: the playback increase exceeds the playback increase threshold, or the playback increase is lower than the playback increase threshold.
在一个实施方式中,将媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量的斜率作为媒体内容特征,输入至预训练的树模型,预训练的树模型输出目标媒体内容播放增长量与播放增长量阈值的关系。In one embodiment, the amount of media content visits, the amount of media content viewing, the amount of media content likes, the amount of media content comments, the amount of media content downloads, and the slope of the amount of media content sharing are used as media content features, and are input into the pre-trained tree. Model, the pre-trained tree model outputs the relationship between the playback growth of the target media content and the playback growth threshold.
S22、基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别。S22. Determine the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
在一个实施方式中,基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别,包括:响应于确定所述目标媒体内容的播放增长量大于或等于增长量阈值,确定所述目标媒体内容的热度级别是第一热度;响应于确定所述目标媒体内容的播放增长量小于增长量阈值,确定所述目标媒体内容的热度级别是第二热度。In one embodiment, determining the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold includes: in response to determining that the play increase amount of the target media content is greater than or equal to An increase amount threshold, it is determined that the popularity level of the target media content is the first popularity; in response to determining that the playback increase amount of the target media content is less than the increase amount threshold, it is determined that the popularity level of the target media content is the second popularity.
例如,可以是判断增长量是否超过增长量阈值,响应于确定增长量超过增长量阈值,该媒体内容的热度级别为第一热度,即该媒体内容是热媒体内容,响应于确定增长量低于增长量阈值,该媒体内容的热度级别为为第二热度,即该媒体内容是冷媒体内容。For example, it can be determined whether the increase amount exceeds the increase amount threshold, and in response to determining that the increase amount exceeds the increase amount threshold, the popularity level of the media content is the first popularity level, that is, the media content is hot media content, in response to determining that the increase amount is lower than the increase amount threshold. The increase amount threshold, the popularity level of the media content is the second popularity, that is, the media content is cold media content.
图4a是现有技术中的一种CDN节点示意图,图4b是本公开实施例提供的一种CDN节点分类示意图;如图4a所示,CDN系统中原来的每个CDN节点都包含热媒体内容和冷媒体内容。将CDN节点进行分类之后,如图4b所示,将CDN节点分为缓存热媒体内容的热类型CDN节点和缓存冷媒体内容的冷类型CDN节点。目标媒体内容预测为热媒体内容时,到热类型CDN节点中获取,目标媒体内容预测为冷媒体内容到冷类型CDN节点获取,这样对资源进行了重新划分。将冷媒体内容的重新归拢到一个节点,防止混合冷热的节点会将冷资源挤出CDN的缓存,导致冷资源的CDN的命中率降低。Fig. 4a is a schematic diagram of a CDN node in the prior art, and Fig. 4b is a schematic diagram of a CDN node classification provided by an embodiment of the present disclosure; as shown in Fig. 4a, each original CDN node in the CDN system contains hot media content and cold media content. After classifying the CDN nodes, as shown in Figure 4b, the CDN nodes are divided into hot-type CDN nodes that cache hot media content and cold-type CDN nodes that cache cold media content. When the target media content is predicted to be hot media content, it is obtained from the hot type CDN node, and the target media content is predicted to be cold media content and obtained from the cold type CDN node, so that the resources are re-divided. Bringing the cold media content back to one node prevents the mixed cold and hot nodes from squeezing the cold resources out of the CDN's cache, resulting in a decrease in the hit rate of the cold resource CDN.
S23、基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型;其中,所述热度级别与所述CDN节点类型一一对应。S23. Determine a target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content; wherein the popularity level corresponds to the CDN node type one-to-one.
S24、基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。S24. Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can download from the target based on the node information The target media content is acquired from the target CDN node.
在上述实施例的基础上,所述方法还包括:树模型的训练过程。本公开实施例提供的树模型训练方法主要包括:利用二分类交叉熵损失函数对所述树模型进行训练。On the basis of the above embodiment, the method further includes: a training process of the tree model. The tree model training method provided by the embodiments of the present disclosure mainly includes: using a binary cross-entropy loss function to train the tree model.
在本实施例中,可利用由多个媒体内容构建得到的树模型训练样本以及基于每个媒体内 容的权重确定的二分类交叉熵损失函数对树模型进行训练。此时,例如,利用二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型,包括:利用多个媒体内容构建树模型训练样本;根据所述多个媒体内容的媒体内容特征确定每个媒体内容的权重,并根据每个媒体内容的权重确定二分类交叉熵损失函数;基于所述树模型训练样本及所述二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型。In this embodiment, the tree model can be trained by using the tree model training samples constructed from multiple media contents and the binary cross-entropy loss function determined based on the weight of each media content. At this time, for example, using a binary cross-entropy loss function to train the tree model to obtain a pre-trained tree model, including: constructing a tree model training sample by using multiple media contents; The feature determines the weight of each media content, and determines the binary cross-entropy loss function according to the weight of each media content; the tree model is trained based on the tree model training samples and the binary-class cross entropy loss function to obtain Pretrained tree model.
在一个实施方式中,所述二分类交叉熵损失函数是:In one embodiment, the binary cross-entropy loss function is:
Figure PCTCN2022088995-appb-000001
Figure PCTCN2022088995-appb-000001
其中,N为树模型训练样本中的媒体内容总量,y i表示树模型训练样本中第i个媒体内容的标签,p i表示预测树模型训练样本中第i个媒体内容为正例的概率,α i表示树模型训练样本中第i个媒体内容的权重,
Figure PCTCN2022088995-appb-000002
vv表示树模型训练样本中第i个媒体内容样本未来预设时间段内的观看量,VV表示树模型训练样本中第i个媒体内容样本总观看量,T表示树模型训练样本中第i个媒体内容样本总观看量对应的总时长,t表示树模型训练样本中第i个媒体内容样本自创建到当前时间点的观看时长。
Among them, N is the total amount of media content in the tree model training sample, yi represents the label of the ith media content in the tree model training sample, and pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example , α i represents the weight of the i-th media content in the tree model training sample,
Figure PCTCN2022088995-appb-000002
vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future, VV represents the total viewing volume of the ith media content sample in the tree model training sample, and T represents the ith media content sample in the tree model training sample. The total duration corresponding to the total viewing amount of media content samples, t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.
需要说明的是,本实施例也可以使用现有的GBDT树模型,此处不再赘述It should be noted that this embodiment can also use the existing GBDT tree model, which will not be repeated here.
在本实施例中,对未来预设时间段内的观看量vv占比较高的媒体内容的损失设置更多的权重,从而提高对后期观看量比较高的媒体内容的预测效果。In this embodiment, more weights are set for the loss of media content with a higher proportion of the viewing volume vv in the future preset time period, thereby improving the prediction effect of the later media content with a relatively high viewing volume.
图5是本公开实施例提供的一种媒体内容处理装置的结构图,本实施例可适用于客户端从CDN节点上的请求媒体内容的情况,所述媒体内容处理装置可以通过软件和/或硬件的方式来实现。所述媒体内容处理装置集成于服务器中。FIG. 5 is a structural diagram of a media content processing apparatus provided by an embodiment of the present disclosure. This embodiment is applicable to a situation where a client requests media content from a CDN node, and the media content processing apparatus can be processed through software and/or implemented in hardware. The media content processing device is integrated in the server.
如图5所示,本实施例提供的媒体内容处理装置主要包括热度级别确定模块51、节点类型确定模块52和目标节点确定模块53。As shown in FIG. 5 , the media content processing apparatus provided in this embodiment mainly includes a heat level determination module 51 , a node type determination module 52 and a target node determination module 53 .
其中,热度级别确定模块51,设置为确定目标媒体内容的热度级别;Wherein, the heat level determination module 51 is set to determine the heat level of the target media content;
节点类型确定模块52,设置为基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型,其中,所述热度级别与所述CDN节点类型一一对应;The node type determination module 52 is configured to determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
目标节点确定模块53,设置为基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。The target node determination module 53 is configured to determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client is based on the target CDN node. The node information acquires the target media content from the target CDN node.
本公开实施例提供一种媒体内容处理装置,主要设置为执行如下操作:确定目标媒体内容的热度级别;基于目标媒体内容的热度级别确定目标媒体内容对应的目标CDN节点类型,其中,热度级别与CDN节点类型一一对应;基于目标CDN节点类型确定目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。本公开实施例通过将对媒体内容进行热度级别的区分,基于热度级别和节点类型的对应关系,在不同类型的CDN节点中查找对应热度的媒体内容,可以提高媒体内容在CDN节点中的命中率,减少回源带宽。An embodiment of the present disclosure provides a media content processing apparatus, which is mainly configured to perform the following operations: determine the popularity level of the target media content; determine the target CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level is the same as One-to-one correspondence between the types of CDN nodes; determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can select the target CDN node based on the node information. obtain the target media content from the target CDN node. The embodiment of the present disclosure can improve the hit rate of the media content in CDN nodes by distinguishing the media content by the popularity level, and searching for the media content corresponding to the popularity in different types of CDN nodes based on the corresponding relationship between the popularity level and the node type. , reducing the back-to-source bandwidth.
在一个实施方式中,热度级别确定模块51,设置为基于所述目标媒体内容的媒体内容特 征,利用预训练的树模型预测所述目标媒体内容的热度级别,其中,所述媒体内容特征包括如下一个或多个:媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量。In one embodiment, the popularity level determination module 51 is configured to use a pre-trained tree model to predict the popularity level of the target media content based on the media content characteristics of the target media content, wherein the media content characteristics include the following One or more of: media content visits, media content viewings, media content likes, media content comments, media content downloads, and media content sharing.
在一个实施方式中,热度级别确定模块51,包括:In one embodiment, the heat level determination module 51 includes:
增长量预测单元,设置为利用所述预训练的树模型预测未来预设时间段内所述目标媒体内容的播放增长量与播放增长量阈值的关系;an increase amount prediction unit, configured to predict the relationship between the play increase amount and the play increase amount threshold of the target media content in a preset time period in the future by using the pre-trained tree model;
热度级别确定单元,设置为基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别。The popularity level determination unit is configured to determine the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
例如,热度级别确定单元,设置为响应于确定所述目标媒体内容的播放增长量大于或等于增长量阈值,确定所述目标媒体内容的热度级别是第一热度;响应于确定所述目标媒体内容的播放增长量小于增长量阈值,确定所述目标媒体内容的热度级别是第二热度。For example, the popularity level determination unit is configured to determine that the popularity level of the target media content is the first popularity in response to determining that the play increase of the target media content is greater than or equal to an increase threshold; The play growth amount is less than the growth amount threshold, and it is determined that the popularity level of the target media content is the second popularity.
在一个实施方式中,所述装置还包括:模型训练模块,设置为:In one embodiment, the apparatus further includes: a model training module, configured as:
利用二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型。The tree model is trained using a binary cross-entropy loss function to obtain a pre-trained tree model.
在一个实施方式中,所述模型训练模块,设置为:利用多个媒体内容构建树模型训练样本;根据所述多个媒体内容的媒体内容特征确定每个媒体内容的权重,并根据每个媒体内容的权重确定二分类交叉熵损失函数;基于所述树模型训练样本及所述二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型。In one embodiment, the model training module is configured to: construct a tree model training sample by using a plurality of media contents; determine the weight of each media content according to the media content characteristics of the plurality of media contents, and The weight of the content determines a binary cross-entropy loss function; the tree model is trained based on the tree model training sample and the binary cross-entropy loss function to obtain a pre-trained tree model.
在一个实施方式中,所述二分类交叉熵损失函数是:In one embodiment, the binary cross-entropy loss function is:
Figure PCTCN2022088995-appb-000003
Figure PCTCN2022088995-appb-000003
其中,N为树模型训练样本中的媒体内容总量,y i表示树模型训练样本中第i个媒体内容的标签,p i表示预测树模型训练样本中第i个媒体内容为正例的概率,α i表示树模型训练样本中第i个媒体内容的权重,
Figure PCTCN2022088995-appb-000004
vv表示树模型训练样本中第i个媒体内容样本未来预设时间段内的观看量,VV表示树模型训练样本中第i个媒体内容样本总观看量,T表示树模型训练样本中第i个媒体内容样本总观看量对应的总时长,t表示树模型训练样本中第i个媒体内容样本自创建到当前时间点的观看时长。
Among them, N is the total amount of media content in the tree model training sample, yi represents the label of the ith media content in the tree model training sample, and pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example , α i represents the weight of the i-th media content in the tree model training sample,
Figure PCTCN2022088995-appb-000004
vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future, VV represents the total viewing volume of the ith media content sample in the tree model training sample, and T represents the ith media content sample in the tree model training sample. The total duration corresponding to the total viewing amount of media content samples, t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.
本实施例所提供的媒体内容处理装置可执行本公开任意实施例所提供的媒体内容处理方法,具备执行媒体内容处理方法相应的功能模块和有益效果。The media content processing apparatus provided in this embodiment can execute the media content processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the media content processing method.
下面参考图6,其示出了适于用来实现本公开实施例的电子设备(例如图6中的终端设备或服务器)600的结构示意图。本公开实施例中的终端设备可以包括但不限于诸如移动电话、笔记本电脑、数字广播接收器、PDA(个人数字助理)、PAD(平板电脑)、PMP(便携式多媒体播放器)、车载终端(例如车载导航终端)等等的移动终端以及诸如数字TV、台式计算机等等的固定终端。图6示出的电子设备仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Referring next to FIG. 6 , it shows a schematic structural diagram of an electronic device (eg, a terminal device or a server in FIG. 6 ) 600 suitable for implementing an embodiment of the present disclosure. Terminal devices in the embodiments of the present disclosure may include, but are not limited to, such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (eg, mobile terminals such as in-vehicle navigation terminals), etc., and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in FIG. 6 is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present disclosure.
如图6所示,电子设备600可以包括处理装置(例如中央处理器、图形处理器等)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储装置608加载到随机访问存储器(RAM)603中的程序而执行多种适当的动作和处理。在RAM 603中,还存储有电子设 备600操作所需的多种程序和数据。处理装置601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6, an electronic device 600 may include a processing device (eg, a central processing unit, a graphics processor, etc.) 601 that may be loaded into random access according to a program stored in a read only memory (ROM) 602 or from a storage device 608 A program in a memory (RAM) 603 executes various appropriate actions and processes. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604 .
通常,以下装置可以连接至I/O接口605:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置606;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置607;包括例如磁带、硬盘等的存储装置608;以及通信装置609。通信装置609可以允许电子设备600与其他设备进行无线或有线通信以交换数据。虽然图6示出了具有多种装置的电子设备600,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。Typically, the following devices can be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 607 of a computer, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. Communication means 609 may allow electronic device 600 to communicate wirelessly or by wire with other devices to exchange data. Although FIG. 6 shows an electronic device 600 having various means, it should be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
例如,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在非暂态计算机可读介质上的计算机程序,该计算机程序包含设置为执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信装置609从网络上被下载和安装,或者从存储装置608被安装,或者从ROM 602被安装。在该计算机程序被处理装置601执行时,执行本公开实施例的方法中限定的上述功能。For example, the processes described above with reference to the flowcharts may be implemented as computer software programs according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program comprising program code arranged to perform the method illustrated in the flowchart. In such an embodiment, the computer program may be downloaded and installed from the network via the communication device 609, or from the storage device 608, or from the ROM 602. When the computer program is executed by the processing apparatus 601, the above-mentioned functions defined in the methods of the embodiments of the present disclosure are executed.
需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.
在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText Transfer Protocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and server can use any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol) to communicate, and can communicate with digital data in any form or medium Communication (eg, a communication network) interconnects. Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet (eg, the Internet), and peer-to-peer networks (eg, ad hoc peer-to-peer networks), as well as any currently known or future development network of.
上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device.
上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device:
确定目标媒体内容的热度级别;Determine the popularity level of the target media content;
基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型;其中,所述热度级别与所述CDN节点类型一一对应;Determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content; wherein the popularity level corresponds to the CDN node type one-to-one;
基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can access the target CDN based on the node information The target media content is obtained from the node.
可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括但不限于面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing operations of the present disclosure may be written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, and This includes conventional procedural programming languages - such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).
附图中的流程图和框图,图示了按照本公开多种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more logical functions for implementing the specified functions executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in dedicated hardware-based systems that perform the specified functions or operations , or can be implemented in a combination of dedicated hardware and computer instructions.
描述于本公开实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。其中,单元的名称在某种情况下并不构成对该单元本身的限定。The units involved in the embodiments of the present disclosure may be implemented in a software manner, and may also be implemented in a hardware manner. Among them, the name of the unit does not constitute a limitation of the unit itself under certain circumstances.
本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), Systems on Chips (SOCs), Complex Programmable Logical Devices (CPLDs) and more.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, including:
确定目标媒体内容的热度级别;Determine the popularity level of the target media content;
基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型;其中,所述热度级别与所述CDN节点类型一一对应;Determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content; wherein the popularity level corresponds to the CDN node type one-to-one;
基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can access the target CDN based on the node information The target media content is obtained from the node.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,确定目标媒体内容的热度级别,包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, which determine the popularity level of target media content, including:
基于所述目标媒体内容的媒体内容特征,利用预训练的树模型预测所述目标媒体内容的热度级别,其中,所述媒体内容特征包括如下一个或多个:媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量。Based on the media content features of the target media content, a pre-trained tree model is used to predict the popularity level of the target media content, wherein the media content features include one or more of the following: media content visits, media content viewings , media content likes, media content comments, media content downloads, media content sharing.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,利用预训练的树模型预测所述目标媒体内容的热度级别,包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, wherein a pre-trained tree model is used to predict the popularity level of the target media content, including:
利用所述预训练的树模型预测未来预设时间段内所述目标媒体内容的播放增长量与播放增长量阈值的关系;Utilize the pre-trained tree model to predict the relationship between the play growth amount of the target media content and the play growth amount threshold in a preset time period in the future;
基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别。The popularity level of the target media content is determined based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别,包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, wherein the target media content is determined based on the relationship between a play increase amount of the target media content and a play increase amount threshold heat levels, including:
响应于确定所述目标媒体内容的播放增长量大于或等于增长量阈值,确定所述目标媒体内容的热度级别是第一热度;In response to determining that the play increase of the target media content is greater than or equal to the increase threshold, determining that the popularity level of the target media content is the first popularity;
响应于确定所述目标媒体内容的播放增长量小于增长量阈值,确定所述目标媒体内容的热度级别是第二热度。In response to determining that the play increase of the target media content is less than the increase threshold, determining that the popularity level of the target media content is the second popularity.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,还包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, further comprising:
利用二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型。The tree model is trained using a binary cross-entropy loss function to obtain a pre-trained tree model.
根据本公开一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,利用二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型,包括:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided. The tree model is trained by using a binary cross-entropy loss function to obtain a pre-trained tree model, including:
利用多个媒体内容构建树模型训练样本;Use multiple media content to build tree model training samples;
根据所述多个媒体内容的媒体内容特征确定每个媒体内容的权重,并根据每个媒体内容的权重确定二分类交叉熵损失函数;Determine the weight of each media content according to the media content characteristics of the plurality of media content, and determine the binary cross-entropy loss function according to the weight of each media content;
基于所述树模型训练样本及所述二分类交叉熵损失函数对所述树模型进行训练,得到预训练的树模型。The tree model is trained based on the tree model training samples and the binary cross-entropy loss function to obtain a pre-trained tree model.
根据本公开的一个或多个实施例,提供了一种媒体内容处理方法、装置、设备和存储介质,所述二分类交叉熵损失函数是:According to one or more embodiments of the present disclosure, a media content processing method, apparatus, device, and storage medium are provided, wherein the binary cross-entropy loss function is:
Figure PCTCN2022088995-appb-000005
Figure PCTCN2022088995-appb-000005
其中,N为树模型训练样本中的媒体内容总量,y i表示树模型训练样本中第i个媒体内容的标签,p i表示预测树模型训练样本中第i个媒体内容为正例的概率,α i表示树模型训练 样本中第i个媒体内容的权重,
Figure PCTCN2022088995-appb-000006
vv表示树模型训练样本中第i个媒体内容样本未来预设时间段内的观看量,VV表示树模型训练样本中第i个媒体内容样本总观看量,T表示树模型训练样本中第i个媒体内容样本总观看量对应的总时长,t表示树模型训练样本中第i个媒体内容样本自创建到当前时间点的观看时长。
Among them, N is the total amount of media content in the tree model training sample, yi represents the label of the ith media content in the tree model training sample, and pi represents the probability that the ith media content in the tree model training sample is predicted to be a positive example , α i represents the weight of the i-th media content in the tree model training sample,
Figure PCTCN2022088995-appb-000006
vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future, VV represents the total viewing volume of the ith media content sample in the tree model training sample, and T represents the ith media content sample in the tree model training sample. The total duration corresponding to the total viewing amount of media content samples, t represents the viewing duration of the i-th media content sample in the tree model training sample from its creation to the current time point.
以上描述仅为本公开的示例实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开中所涉及的公开范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述公开构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The foregoing descriptions are merely exemplary embodiments of the present disclosure and illustrative of the technical principles employed. Those skilled in the art should understand that the scope of the disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, and should also cover, without departing from the above-mentioned disclosed concept, the technical solutions formed by the above-mentioned technical features or Other technical solutions formed by any combination of its equivalent features. For example, a technical solution is formed by replacing the above features with the technical features disclosed in the present disclosure (but not limited to) with similar functions.
此外,虽然采用特定次序描绘了多种操作,但是这不应当理解为要求这些操作以所示出的特定次序或以顺序次序执行来执行。在一定环境下,多任务和并行处理可能是有利的。同样地,虽然在上面论述中包含了若干具体实现细节,但是这些不应当被解释为对本公开的范围的限制。在单独的实施例的上下文中描述的某些特征还可以组合地实现在单个实施例中。相反地,在单个实施例的上下文中描述的多种特征也可以单独地或以任何合适的子组合的方式实现在多个实施例中。Additionally, although various operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, although the above discussion contains several implementation-specific details, these should not be construed as limitations on the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.

Claims (10)

  1. 一种媒体内容处理方法,包括:A media content processing method, comprising:
    确定目标媒体内容的热度级别;Determine the popularity level of the target media content;
    基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型;其中,所述热度级别与所述CDN节点类型一一对应;Determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content; wherein the popularity level corresponds to the CDN node type one-to-one;
    基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。Determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client can access the target CDN based on the node information The target media content is obtained from the node.
  2. 根据权利要求1所述的方法,其中,所述确定目标媒体内容的热度级别,包括:The method according to claim 1, wherein the determining the popularity level of the target media content comprises:
    基于所述目标媒体内容的媒体内容特征,利用预训练的树模型预测所述目标媒体内容的热度级别,其中,所述媒体内容特征包括如下一个或多个:媒体内容访问量、媒体内容观看量、媒体内容点赞量、媒体内容评论量、媒体内容下载量、媒体内容分享量。Based on the media content features of the target media content, a pre-trained tree model is used to predict the popularity level of the target media content, wherein the media content features include one or more of the following: media content visits, media content viewings , media content likes, media content comments, media content downloads, media content sharing.
  3. 根据权利要求2所述的方法,其中,所述利用预训练的树模型预测所述目标媒体内容的热度级别,包括:The method according to claim 2, wherein the predicting the popularity level of the target media content by using a pre-trained tree model comprises:
    利用所述预训练的树模型预测未来预设时间段内所述目标媒体内容的播放增长量与播放增长量阈值的关系;Utilize the pre-trained tree model to predict the relationship between the play growth amount of the target media content and the play growth amount threshold in a preset time period in the future;
    基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别。The popularity level of the target media content is determined based on the relationship between the play increase amount of the target media content and the play increase amount threshold.
  4. 根据权利要求3所述的方法,其中,所述基于所述目标媒体内容的播放增长量与播放增长量阈值的关系确定所述目标媒体内容的热度级别,包括:The method according to claim 3, wherein the determining the popularity level of the target media content based on the relationship between the play increase amount of the target media content and the play increase amount threshold comprises:
    响应于确定所述目标媒体内容的播放增长量大于或等于增长量阈值,确定所述目标媒体内容的热度级别是第一热度;In response to determining that the play increase of the target media content is greater than or equal to the increase threshold, determining that the popularity level of the target media content is the first popularity;
    响应于确定所述目标媒体内容的播放增长量小于增长量阈值,确定所述目标媒体内容的热度级别是第二热度。In response to determining that the play increase of the target media content is less than the increase threshold, determining that the popularity level of the target media content is the second popularity.
  5. 根据权利要求2或3所述的方法,还包括:The method according to claim 2 or 3, further comprising:
    利用二分类交叉熵损失函数对所述树模型进行训练,得到所述预训练的树模型。The tree model is trained using a binary cross-entropy loss function to obtain the pre-trained tree model.
  6. 根据权利要求5所述的方法,其中,所述利用二分类交叉熵损失函数对所述树模型进行训练,得到所述预训练的树模型,包括:The method according to claim 5, wherein the tree model is trained by using a binary cross-entropy loss function to obtain the pre-trained tree model, comprising:
    利用多个媒体内容构建树模型训练样本;Use multiple media content to build tree model training samples;
    根据所述多个媒体内容的媒体内容特征确定每个媒体内容的权重,并根据所述每个媒体内容的权重确定二分类交叉熵损失函数;Determine the weight of each media content according to the media content characteristics of the plurality of media content, and determine the binary cross-entropy loss function according to the weight of each media content;
    基于所述树模型训练样本及所述二分类交叉熵损失函数对所述树模型进行训练,得到所述预训练的树模型。The tree model is trained based on the tree model training samples and the binary cross-entropy loss function to obtain the pre-trained tree model.
  7. 根据权利要求6所述的方法,其中,所述二分类交叉熵损失函数是:The method of claim 6, wherein the binary cross-entropy loss function is:
    Figure PCTCN2022088995-appb-100001
    Figure PCTCN2022088995-appb-100001
    其中,N为所述树模型训练样本中的媒体内容总量,y i表示所述树模型训练样本中第i个媒体内容的标签,p i表示预测所述树模型训练样本中第i个媒体内容为正例的概率,α i表示所述树模型训练样本中第i个媒体内容的权重,
    Figure PCTCN2022088995-appb-100002
    vv表示所述树模型训练 样本中第i个媒体内容样本未来预设时间段内的观看量,VV表示所述树模型训练样本中第i个媒体内容样本总观看量,T表示所述树模型训练样本中第i个媒体内容样本总观看量对应的总时长,t表示所述树模型训练样本中第i个媒体内容样本自创建到当前时间点的观看时长。
    Among them, N is the total amount of media content in the tree model training sample, yi represents the label of the ith media content in the tree model training sample, and pi represents the prediction of the ith media in the tree model training sample. The probability that the content is a positive example, α i represents the weight of the i-th media content in the tree model training sample,
    Figure PCTCN2022088995-appb-100002
    vv represents the viewing volume of the ith media content sample in the tree model training sample in a preset time period in the future, VV represents the total viewing volume of the ith media content sample in the tree model training sample, and T represents the tree model The total duration corresponding to the total viewing amount of the ith media content sample in the training sample, t represents the viewing duration of the ith media content sample in the tree model training sample from the creation to the current time point.
  8. 一种媒体内容处理装置,包括:A media content processing device, comprising:
    热度级别确定模块,设置为确定目标媒体内容的热度级别;The heat level determination module is set to determine the heat level of the target media content;
    节点类型确定模块,设置为基于所述目标媒体内容的热度级别确定所述目标媒体内容对应的目标内容分发网络CDN节点类型,其中,所述热度级别与所述CDN节点类型一一对应;A node type determination module, configured to determine the target content distribution network CDN node type corresponding to the target media content based on the popularity level of the target media content, wherein the popularity level corresponds to the CDN node type one-to-one;
    目标节点确定模块,设置为基于所述目标CDN节点类型确定所述目标媒体内容对应的目标CDN节点,并将所述目标CDN节点的节点信息发送给客户端,以使所述客户端基于所述节点信息自所述目标CDN节点中获取所述目标媒体内容。A target node determination module, configured to determine the target CDN node corresponding to the target media content based on the target CDN node type, and send the node information of the target CDN node to the client, so that the client is based on the target CDN node. The node information acquires the target media content from the target CDN node.
  9. 一种媒体内容处理设备,包括:A media content processing device, comprising:
    一个或多个处理器;one or more processors;
    存储器,设置为存储一个或多个程序;memory, arranged to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-7任一项所述的媒体内容处理方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the media content processing method according to any one of claims 1-7.
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1-7任一项所述的媒体内容处理方法。A computer-readable storage medium storing a computer program, when the computer program is executed by a processor, implements the media content processing method according to any one of claims 1-7.
PCT/CN2022/088995 2021-04-26 2022-04-25 Media content processing method, apparatus and device, and storage medium WO2022228390A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110454466.9A CN115250295A (en) 2021-04-26 2021-04-26 Media content processing method, device, equipment and storage medium
CN202110454466.9 2021-04-26

Publications (1)

Publication Number Publication Date
WO2022228390A1 true WO2022228390A1 (en) 2022-11-03

Family

ID=83696379

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088995 WO2022228390A1 (en) 2021-04-26 2022-04-25 Media content processing method, apparatus and device, and storage medium

Country Status (2)

Country Link
CN (1) CN115250295A (en)
WO (1) WO2022228390A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117119052A (en) * 2023-10-25 2023-11-24 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116450053B (en) * 2023-06-13 2023-09-05 苏州浪潮智能科技有限公司 Data storage method, device, system, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747043A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN server dispatching method, CDN control center and system
CN104702625A (en) * 2015-03-31 2015-06-10 北京奇艺世纪科技有限公司 Method and device for scheduling access request in CDN (Content Delivery Network)
US20180048731A1 (en) * 2016-08-15 2018-02-15 Verizon Digital Media Services Inc. Peer Cache Filling
CN112351088A (en) * 2020-10-29 2021-02-09 平安科技(深圳)有限公司 CDN cache method, device, computer equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259945B (en) * 2018-04-19 2020-09-15 腾讯音乐娱乐科技(深圳)有限公司 Method and device for processing playing request for playing multimedia data
CN111833083A (en) * 2019-04-17 2020-10-27 杭州晨熹多媒体科技有限公司 Data processing method and device for multimedia content

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747043A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN server dispatching method, CDN control center and system
CN104702625A (en) * 2015-03-31 2015-06-10 北京奇艺世纪科技有限公司 Method and device for scheduling access request in CDN (Content Delivery Network)
US20180048731A1 (en) * 2016-08-15 2018-02-15 Verizon Digital Media Services Inc. Peer Cache Filling
CN112351088A (en) * 2020-10-29 2021-02-09 平安科技(深圳)有限公司 CDN cache method, device, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117119052A (en) * 2023-10-25 2023-11-24 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and computer readable storage medium
CN117119052B (en) * 2023-10-25 2024-01-19 腾讯科技(深圳)有限公司 Data processing method, device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN115250295A (en) 2022-10-28

Similar Documents

Publication Publication Date Title
CN110147398B (en) Data processing method, device, medium and electronic equipment
WO2022228390A1 (en) Media content processing method, apparatus and device, and storage medium
JP6073366B2 (en) Application driven CDN pre-caching
CN111414498A (en) Multimedia information recommendation method and device and electronic equipment
US9712612B2 (en) Method for improving mobile network performance via ad-hoc peer-to-peer request partitioning
JP2015509229A5 (en)
CN112906394A (en) Address recognition method, device, equipment and storage medium
CN111680799B (en) Method and device for processing model parameters
CN111309254A (en) Data processing method and device, readable medium and electronic equipment
WO2022116819A1 (en) Model training method and apparatus, machine translation method and apparatus, and device and storage medium
CN117131281B (en) Public opinion event processing method, apparatus, electronic device and computer readable medium
CN111262744B (en) Multimedia information transmitting method, backup server and medium
CN113139082A (en) Multimedia content processing method, apparatus, device and medium
CN111552831A (en) Music recommendation method and server
CN116483891A (en) Information prediction method, device, equipment and storage medium
CN112084441A (en) Information retrieval method and device and electronic equipment
CN116109374A (en) Resource bit display method, device, electronic equipment and computer readable medium
CN112100211B (en) Data storage method, apparatus, electronic device, and computer readable medium
WO2022228411A1 (en) Video warmup method and apparatus, and device and storage medium
CN113760178A (en) Cache data processing method and device, electronic equipment and computer readable medium
WO2023226742A1 (en) Video transcoding method and apparatus, and device and storage medium
CN116800834B (en) Virtual gift merging method, device, electronic equipment and computer readable medium
CN111507734B (en) Method and device for identifying cheating request, electronic equipment and computer storage medium
WO2022206474A1 (en) Data acquisition method and apparatus, electronic device, and computer-readable storage medium
CN115374320B (en) Text matching method and device, electronic equipment and computer medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794860

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794860

Country of ref document: EP

Kind code of ref document: A1