Multimedia file data processing method and device, storage medium and electronic device

By processing the preprocessing data and calculation process of multimedia files in parallel, the problem of low processing efficiency of multimedia file quality data in a single machine is solved, and faster data acquisition and processing efficiency is achieved.

CN112148716BActive Publication Date: 2024-09-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011157982.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-26
Publication Date
2024-09-10
Estimated Expiration
2040-10-26

AI Technical Summary

Technical Problem

The processing efficiency of obtaining the quality data of multimedia files through serial processing in a single machine is low, especially when multiple types of preprocessing data calculations require multiple serial executions, resulting in low efficiency.

Method used

Using parallel processing, multiple types of preprocessing data are obtained from the first server and sent to the second server for calculation to obtain quality data of multimedia files, thereby avoiding repeated preprocessing steps during the calculation process and improving efficiency.

Benefits of technology

Through parallel processing, the time required to obtain quality data is shortened, the processing efficiency of multimedia file quality data is improved, and the problem of low single-machine serial processing efficiency is solved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112148716B
    Figure CN112148716B
Patent Text Reader

Abstract

The present invention discloses a data processing method and device for multimedia files, a storage medium and an electronic device. The method comprises: obtaining a target data request, the target data request is used to request obtaining at least one type of quality data; in response to the target data request, reading at least one type of pre-processed data in parallel from a first server, the first server is used to store S types of pre-processed data; sending at least one type of pre-processed data to a second server, the second server is used to calculate at least one type of pre-processed data to obtain at least one type of quality data; obtaining at least one type of quality data sent by the second server, the at least one type of quality data is the quality data obtained by the second server calculating at least one type of pre-processed data. The present invention solves the technical problem of low processing efficiency of obtaining quality data of multimedia files by serial processing in a single machine.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to a method and device for processing multimedia file data, a storage medium and an electronic device. Background Art

[0002] In the related art, the process of performing data processing on multimedia files to obtain quality data includes two stages: preprocessing and data calculation, wherein the source data is preprocessed in the preprocessing to obtain preprocessed data, and the preprocessed data is calculated in the data calculation process to obtain the quality data of the multimedia file. At present, a serial processing method is usually used in a single machine to process multimedia files to obtain the quality data of the multimedia files, that is, the single machine first preprocesses the source data to obtain the preprocessed data, and then calculates the preprocessed data to obtain the quality data of the multimedia files.

[0003] However, the quality data of a media file usually includes multiple types of quality data, so multiple types of preprocessing data are involved in the preprocessing stage. Therefore, when the quality data of a media file is obtained by using the above-mentioned related technologies, it is necessary to serially execute various preprocessing processes by a single machine to obtain various types of preprocessing data, and serially execute data calculation processes to obtain corresponding processing results of various types according to various types of preprocessing data.

[0004] In addition, the data calculation process of certain quality data of multimedia files involves at least one preprocessed data, that is, it is necessary to perform data calculation on at least one preprocessed data to obtain a quality data. Taking the multimedia file as an advertisement and the quality data as the playback probability as an example, the playback probability is usually calculated based on preprocessed data related to the advertiser's balance, advertisement consumption, advertisement consumption speed, etc., so when the above-mentioned related technology is used to obtain the playback probability of the advertisement, it is necessary for the single machine to first perform preprocessing of the source data related to the advertiser's balance to obtain preprocessed data 1 related to the advertiser's balance, and then perform preprocessing of the source data related to advertisement consumption to obtain preprocessed data 2 related to advertisement consumption, and perform preprocessing of the source data related to advertisement consumption speed to obtain preprocessed data 3 related to advertisement consumption speed, and finally perform data calculation based on preprocessed data 1, preprocessed data 2 and preprocessed data 3 to obtain the playback probability of the advertisement.

[0005] It can be seen that in the related art, the processing efficiency of obtaining the quality data of multimedia files by serial processing in a single machine is low.

[0006] With respect to the above-mentioned technical problem of low processing efficiency of obtaining quality data of multimedia files by serial processing in a single machine, no effective solution has been proposed yet. Summary of the invention

[0007] Embodiments of the present invention provide a method and device for processing multimedia file data, a storage medium, and an electronic device, so as to at least solve the technical problem of low processing efficiency of quality data of multimedia files obtained by serial processing in a single machine.

[0008] According to one aspect of an embodiment of the present invention, a data processing method for multimedia files is provided, comprising: obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data; in response to the target data request, obtaining at least one type of preprocessed data in parallel from a first server, wherein the first server is used to store S types of preprocessed data, and S is a natural number; sending the at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain the at least one type of quality data; obtaining the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by calculating the at least one type of preprocessed data by the second server.

[0009] According to another aspect of an embodiment of the present invention, a data processing device for multimedia files is also provided, including: a first acquisition module, used to obtain a target data request, wherein the target data request is used to request to obtain at least one type of quality data; a second acquisition module, used to obtain the at least one type of pre-processed data in parallel from a first server in response to the target data request, wherein the first server is used to store S types of pre-processed data, S being a natural number; a sending module, used to send the at least one type of pre-processed data to a second server, wherein the second server is used to calculate the at least one type of pre-processed data to obtain the at least one type of quality data; a third acquisition module, used to obtain the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server calculating the at least one type of pre-processed data.

[0010] According to another aspect of an embodiment of the present invention, there is also provided a data processing device for multimedia files, comprising: one or more processors, and a memory, wherein the memory stores one or more programs, and the processor is configured to perform the following operations through the one or more programs: obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data; in response to the target data request, obtaining the at least one type of pre-processed data in parallel from a first server, wherein the first server is used to store S types of pre-processed data, and S is a natural number; sending the at least one type of pre-processed data to a second server, wherein the second server is used to calculate the at least one type of pre-processed data to obtain the at least one type of quality data; obtaining the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by calculating the at least one type of pre-processed data by the second server.

[0011] According to another aspect of the embodiments of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned multimedia file data processing method when running.

[0012] According to another aspect of an embodiment of the present invention, there is provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the data processing method of the multimedia file through the computer program.

[0013] In an embodiment of the present invention, a target data request is obtained, wherein the target data request is used to request to obtain at least one type of quality data; in response to the target data request, at least one type of pre-processed data is obtained in parallel from a first server, wherein the first server is used to store S types of pre-processed data, S being a natural number; the at least one type of pre-processed data is sent to a second server, wherein the second server is used to calculate the at least one type of pre-processed data to obtain the at least one type of quality data; and the at least one type of quality data sent by the second server is obtained, wherein the at least one type of quality data is the quality data obtained by the second server calculating the at least one type of pre-processed data. Since the first server is used to store the S types of pre-processed data in advance, it is not necessary to pre-process the source data to obtain the pre-processed data in the process of calculating the quality data, and when calculating the quality data, the required at least one type of pre-processed data is obtained in parallel from the first server, and the second processor calculates the quality data according to the obtained at least one type of pre-processed data, thereby achieving the technical effect of shortening the time required to obtain the quality data and improving the processing efficiency of obtaining the quality data, thereby solving the technical problem of low processing efficiency of obtaining the quality data of multimedia files by serial processing in a single machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0015] Figure 1 is a schematic diagram of an application scenario of an optional method for processing multimedia file data according to an embodiment of the present invention;

[0016] Figure 2 is a flow chart of an optional method for processing multimedia file data according to an embodiment of the present invention;

[0017] Figure 3 is a schematic diagram of an application scenario of an optional method for processing multimedia file data according to another embodiment of the present invention;

[0018] Figure 4 is a schematic diagram of an application scenario of an optional method for processing multimedia file data according to yet another embodiment of the present invention (I);

[0019] Figure 5 is a timing diagram of an optional method for processing multimedia file data according to another embodiment of the present invention;

[0020] Figure 6 is a schematic diagram of an application scenario of an optional method for processing multimedia file data according to yet another embodiment of the present invention (II);

[0021] Figure 7 is a schematic diagram of an optional method for processing multimedia file data according to yet another embodiment of the present invention;

[0022] Figure 8 is a schematic diagram of an application scenario of an optional method for processing multimedia file data according to yet another embodiment of the present invention (III);

[0023] Fig. 9 is a structural block diagram of an optional multimedia file data processing device according to an embodiment of the present invention;

[0024] Fig.10 It is a schematic diagram of the structure of an optional electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] According to one aspect of an embodiment of the present invention, a method for processing multimedia file data is provided. As an optional implementation, the method for processing multimedia file data can be applied to, but is not limited to, Figure 1In the data processing system of multimedia files in the application environment shown, taking the multimedia file as an advertisement file as an example, the data processing system of the multimedia file includes a client 102, a notification server 104, a storage server 106, a policy server 108, a slicing agent 114, a database 110 and an advertisement system 112.

[0028] The storage server 106 is used to store S types of pre-processed data, and the notification server 104 is used to receive a target data request sent by the client 102, and the target data request is used to request to obtain at least one type of quality data of the multimedia file. The notification server 104 is responsible for data extraction and data calculation, wherein in the data extraction step: after receiving the target data request, the notification server 104 obtains at least one type of pre-processed data used to calculate at least one type of quality data from the storage server 106 through the slicing agent 114; in the data calculation step, the notification server 104 sends the obtained at least one type of pre-processed data to the policy server 108, and the policy server 108 is used to calculate at least one type of quality data according to the received at least one type of pre-processed data. The notification server 104 is also used to obtain at least one type of quality data calculated by the policy server 108, and store the at least one type of quality data in the database 110, and the advertising system 112 is used to obtain at least one type of quality data from the database 110.

[0029] Specifically, the multimedia file data processing method to be implemented by the multimedia file data processing system may include the following steps: the client 102 sends a target data request to the notification server 104 in step S102, and the target data request is used to request to obtain at least one type of quality data; after receiving the target data request, in step S104 (which includes steps S104-1 to S104-P), the notification server 104 requests at least one type of pre-processed data ( Figure 1The figure shows a case where at least one type is P types, where P is an integer), wherein the sharding agent 114 obtains at least one type of pre-processed data from the storage server 106 in parallel through step S106, and sends the read at least one type of pre-processed data to the notification server 104; in step S108, the notification server 104 sends the obtained at least one type of pre-processed data to the policy server 108; the policy server 108 calculates the received at least one type of pre-processed data to obtain at least one type of quality data; in step S110, the notification server 104 obtains at least one type of quality data calculated by the policy server 108 from the policy server 108; in step S112, the notification server 104 sends the obtained at least one type of quality data to the database 110; in step S114, the advertising system 112 obtains at least one type of quality data from the database 110.

[0030] Optionally, in this embodiment, the client may be, but not limited to, a server, and the multimedia file may be, but not limited to, an advertisement; in the case where the multimedia file is an advertisement, the advertisement system 112 is at least used to publish the advertisement according to at least one type of quality data obtained from the database 110. The storage server 106 may be a single server, or a server cluster consisting of at least one server, or a cloud server; the policy server 108 may be a single server, or a server cluster consisting of at least one server, or a cloud server, which is only an example and is not limited in this embodiment.

[0031] As an optional implementation, Figure 2 As shown, the data processing method of the above multimedia file includes:

[0032] Step S202, obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data;

[0033] Step S204, in response to the target data request, obtaining at least one type of pre-processed data from the first server in parallel, wherein the first server is used to store S types of pre-processed data, where S is a natural number;

[0034] Step S206, sending at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain at least one type of quality data;

[0035] Step S208: acquiring at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server by calculating at least one type of pre-processed data.

[0036] In an embodiment of the present invention, a target data request is obtained, wherein the target data request is used to request to obtain at least one type of quality data; in response to the target data request, at least one type of pre-processed data is obtained in parallel from a first server, wherein the first server is used to store S types of pre-processed data, and S is a natural number; at least one type of pre-processed data is sent to a second server, wherein the second server is used to calculate the at least one type of pre-processed data to obtain at least one type of quality data; at least one type of quality data sent by the second server is obtained, wherein the at least one type of quality data is the quality data obtained by the second server calculating the at least one type of pre-processed data. Since the first server is used to store the S types of pre-processed data in advance, it is not necessary to pre-process the source data to obtain the pre-processed data in the process of calculating the quality data, and when calculating the quality data, the required at least one type of pre-processed data is read in parallel from the first server, and the second processor calculates the quality data according to the obtained at least one type of pre-processed data, thereby achieving the technical effect of shortening the time required to obtain the quality data and improving the processing efficiency of obtaining the quality data, thereby solving the technical problem of low processing efficiency of obtaining the quality data of multimedia files by serial processing in a single machine.

[0037] It should be noted that the first server in the above embodiment includes but is not limited to Figure 1 The storage server 106 in the second server includes but is not limited to Figure 1 The policy server 108 in.

[0038] The data processing method of the multimedia file can be used in, but not limited to, various multimedia file data processing scenarios, such as in the determination of quality data of multimedia files such as advertising files and promotional information. In the case where the multimedia file is an advertising file, the quality data includes, but is not limited to, click-through rate, conversion rate, revenue per 1,000 exposures (ECPM for short), feature vector, advertising consumption, advertising consumption speed, play probability and other types of quality data, wherein the feature vector is a vector obtained by embedding the advertisement and used to represent the advertisement; the play probability is used to represent the probability of the advertisement being exposed.

[0039] It should be noted that S types of preprocessed data can be used to generate S types of quality data.

[0040] In an optional embodiment, obtaining at least one type of preprocessed data from the first server in parallel includes: sending at least one data query request in parallel to the first server, wherein the at least one data query request is used to request a query for at least one type of preprocessed data; and obtaining at least one type of preprocessed data sent by the first server in response to the at least one data query request.

[0041] Among them, at least one type of pre-processed data is obtained from the first server in parallel, and it is no longer necessary to perform a process of processing the source data to obtain the pre-processed data each time the quality number data is calculated, thereby improving the overall processing efficiency of obtaining the quality data and saving processing time; and, since at least one type of pre-processed data is obtained from the first server in a parallel manner, the overall processing efficiency of obtaining the quality data is further improved and the processing time is saved.

[0042] In an optional embodiment, after sending at least one data query request in parallel to the first server, the above method also includes: in response to the at least one data query request, querying at least one type of preprocessed data in at least one data table on the first server, wherein each data table in the at least one data table is used to store one type of preprocessed data of the at least one type.

[0043] In the above embodiment, each data table stored in the first server is used to store one type of pre-processed data among S types, and different types of pre-processed data are stored in different data tables.

[0044] In an optional embodiment, the above method also includes: obtaining N types of source data, where S types include N types and N is a natural number; preprocessing the N types of source data to obtain N types of preprocessed data; and storing the N types of preprocessed data in the first server.

[0045] Among them, S is greater than or equal to N.

[0046] Figure 3 1 is an application scenario diagram of an optional multimedia file data processing method according to an embodiment of the present invention. Figure 3 As shown, the data processing system of the multimedia file in the application scenario also includes a monitoring server 302. The first server 306 includes Figure 1 The storage server 106 in the second server 308 includes Figure 1 The policy server 108 in the platform system 312 includes Figure 1The data processing method in the above embodiment is described by taking the advertisement system 112 in the example. In step S302, the monitoring server 302 pre-processes the acquired N types of source data to obtain N types of pre-processed data, and stores the N types of pre-processed data in the first server 306. In step S304, the client 102 sends a target data request to the notification server 104, and the target data request is used to request to obtain at least one type of quality data; after receiving the target data request, the notification server 104 reads at least one type of pre-processed data in parallel from the first server 306 in step S306; in step S308, the notification server 104 sends the obtained at least one type of pre-processed data to the policy server 108; the policy server 108 calculates the received at least one type of pre-processed data to obtain at least one type of quality data; in step S310, the notification server 104 obtains at least one type of quality data calculated by the policy server 108 from the policy server 108; in step S312, the notification server 104 sends the obtained at least one type of quality data to the database 110; in step S314, the platform system 312 obtains at least one type of quality data from the database 110.

[0047] In an optional embodiment, obtaining N types of source data includes: using M processes to respectively monitor whether the M types of data streams generate new data, wherein each of the M processes is used to monitor whether the data stream of one type of the M types generates new data, S types include M types, M is a natural number, M is greater than or equal to N, and M types include N types; when N processes among the M processes monitor that the data streams of N types among the M types generate new data, obtaining the new data generated by the N types of data streams, wherein the N types of source data include the new data generated by the N types of data streams.

[0048] In the above embodiment, the monitoring server 302 monitors M types of data streams through M processes. When N processes among the M processes monitor new data, the new data monitored by the N processes are preprocessed to obtain preprocessed data of each type, thereby obtaining N types of preprocessed data.

[0049] It should be noted that preprocessing N types of source data to obtain N types of preprocessed data includes: using N processes to preprocess the N types of source data respectively to obtain N types of preprocessed data.

[0050] In an optional embodiment, when the i-th type among N types is click-through rate, the pre-processed data of the i-th type is obtained by executing the following steps: using the i-th process among N processes, determining the target click volume and the target display volume from the source data of the i-th type, wherein the target click volume is used to indicate the number of times the multimedia file corresponding to the source data is clicked, and the target display volume is used to indicate the number of times the multimedia file corresponding to the source data is displayed; determining the ratio of the target click volume to the target display volume; determining the ratio of the target click volume to the target display volume as the pre-processed data of the i-th type; when the i-th type is conversion rate, the pre-processed data of the i-th type is obtained by executing the following steps: using the i-th process, determining the target conversion volume and the target display volume from the source data of the i-th type, wherein the target conversion volume is used to indicate the conversion volume corresponding to the source data; determining the ratio of the target conversion volume to the target display volume; determining the ratio of the target conversion volume to the target display volume as the pre-processed data of the i-th type.

[0051] Among them, when the media file is an advertisement, the target click volume can be the number of clicks on the advertisement, the target conversion volume can be the conversion volume of the advertisement, and the target display volume can be the number of times the advertisement is displayed (including but not limited to the exposure volume); among them, the conversion volume of the advertisement can include but is not limited to the number of users who click on the advertisement to enter the promotion website and form conversions (conversions include but are not limited to users performing registration, collection, purchase and other actions).

[0052] In an optional embodiment, storing N types of preprocessed data in a first server includes: storing the N types of preprocessed data in a distributed file system; storing the N types of preprocessed data stored in the distributed file system in each storage server of at least one storage server, wherein the first server includes at least one storage server.

[0053] Optionally, in the above embodiment, the monitoring server 302 writes the N types of preprocessed data obtained by preprocessing into a distributed database, the distributed database stores the N types of preprocessed data in a distributed file system, and the first server 306 pulls the N types of preprocessed data from the distributed file system and stores them in corresponding data tables. The distributed database includes but is not limited to a distributed column-oriented database Hbase, and the distributed file system includes but is not limited to a Hadoop distributed file system HDFS.

[0054] Optionally, after sending at least one type of preprocessed data to the second server, the method further includes: calculating at least one type of preprocessed data in parallel on the second server to obtain at least one type of quality data respectively.

[0055] The second server calculates at least one type of preprocessed data in parallel to obtain at least one type of quality data, thereby improving the processing efficiency of obtaining at least one quality data and saving processing time.

[0056] In which, when at least one type of quality data requested by the target data request includes quality data of the target type, after sending at least one type of pre-processed data to the second server, the method also includes: determining H types associated with the target type, wherein H is a natural number, and S types include H types, and N types include H types, and at least H types of pre-processed data are calculated to obtain the quality data of the target type.

[0057] In one optional embodiment, at least H types of preprocessed data are calculated to obtain quality data of the target type, including: obtaining a preset factor corresponding to each type of preprocessed data in the H types of preprocessed data, wherein at least one type of preprocessed data includes H types of preprocessed data; determining the product of each type of preprocessed data and the corresponding preset factor, to obtain a total of H products; and determining the sum of the H products as the quality data of the target type.

[0058] In the above embodiment, when the target type is associated with other types, the quality data of the target type needs to be calculated based on the pre-processed data of the associated type. For example, when the media file is an advertisement, the quality data of the target type includes but is not limited to the play probability, the play probability is associated with the advertiser balance, the advertisement consumption type, and the advertisement consumption speed, and the play probability needs to be calculated based on the pre-processed data of the advertiser balance type, the pre-processed data of the advertisement consumption type, and the pre-processed data of the advertisement consumption speed type.

[0059] In an optional embodiment, sending at least one type of preprocessed data to a second server includes: encapsulating all preprocessed data in a target data packet when all preprocessed data of at least one type of preprocessed data are obtained from the first server; sending the target data packet to the second server; or, sending one type of preprocessed data to the second server each time one type of preprocessed data of at least one type of preprocessed data is obtained from the first server.

[0060] Among them, after all the required pre-processed data are obtained from the first server, all the pre-processed data can be encapsulated into a data packet and sent to the second server; or, after each type of pre-processed data is obtained from the first server, the obtained pre-processed data of that type can be sent to the second server, thereby providing flexibility in data processing.

[0061] It should be noted that, in the process of obtaining at least one type of preprocessed data from the first server in parallel, the received preprocessed data may be calculated on the second server, wherein the at least one type of preprocessed data includes the received preprocessed data.

[0062] In the above embodiment, obtaining the preprocessed data from the first server and calculating the preprocessed data on the second server are performed in parallel. After the second server receives the preprocessed data, it performs an operation of calculating the quality data according to the preprocessed data, and at the same time, continues to obtain the preprocessed data from the first server and sends it to the second server.

[0063] Optionally, at least one type of pre-processed data is calculated in parallel on the second server, including: when the second server includes at least one processing server, at least one type of pre-processed data is calculated in parallel on the at least one processing server, wherein each of the at least one processing server is used to calculate at least one type of pre-processed data of the at least one type to obtain at least one type of quality data.

[0064] Among them, each processing server in at least one processing server is used to calculate at least one type of pre-processed data of at least one type, so as to obtain at least one type of quality data through parallel calculation between at least one processing server, thereby further improving the processing efficiency of obtaining quality data and shortening the time required to obtain quality data.

[0065] Optionally, at least one type of preprocessed data is calculated in parallel on the second server, including: when the second server includes W processing servers and the multiple types of quality data include W types of quality data, partial preprocessing of the multiple types of preprocessed data is calculated by the w-th server among the W processing servers to obtain the w-th type of quality data, wherein W and w are integers and W is greater than or equal to w.

[0066] It should be noted that, taking at least one type of quality data as multiple types of quality data as an example, at least one processing server includes multiple processing servers, then each processing server can calculate one type of quality data based on part or all of the pre-processed data of the multiple types.

[0067] Optionally, at least one type of pre-processed data is calculated in parallel on the second server, including: when the second server includes multiple processing servers, obtaining a serial number generated by a sequence server, determining a target server among the multiple processing servers based on the serial number, and calculating multiple types of pre-processed data in parallel on the target server.

[0068] The target server in the second server can be determined according to the generated serial number, wherein the server identifier of the target server matches the serial number (for example, the server identifier is the same as the serial number), so that the data computing task is performed by the target server.

[0069] In an optional embodiment, obtaining a target data request includes: obtaining a first data request, wherein the target data request includes a first data request, the first data request is used to request obtaining at least one type of quality data of a first multimedia file, and the at least one type of quality data is used to publish the first multimedia file; or obtaining a second data request, wherein the target data request includes a second data request, the second data request is used to request obtaining a first group of types of quality data of a second multimedia file and a second group of types of quality data of a third multimedia file, at least one type includes a first group of types and a second group of types, the first group of types of quality data is used to publish the second multimedia file, and the second group of types of quality data is used to publish the third multimedia file.

[0070] Among them, publishing multimedia files includes but is not limited to: determining the corresponding ranking of multimedia files, that is, quality data is not limited to being used to sort multimedia files to determine the corresponding ranking of multimedia files, and then the multimedia files can be published according to the corresponding ranking of the multimedia files.

[0071] In an optional embodiment, the above method also includes: when the second server includes at least one processing server and the processing load of at least one processing server exceeds a predetermined threshold, setting a new processing server, wherein the new processing server is used to calculate at least one type of pre-processed data to obtain one or more types of quality data among the at least one type of quality data.

[0072] like Figure 4 As shown, taking the server cluster composed of the second server 308 including two processing servers: processing server 1 and processing server 2 as an example, when the processing compliance of the server cluster composed of processing server 1 and processing server 2 exceeds a predetermined threshold, a new processing server 3 is set, thereby improving the stability of the system and the data processing capability.

[0073] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0074] The data processing method of the multimedia file in the above embodiment is explained below with reference to an example, but is not intended to limit the technical solution of the embodiment of the present invention.

[0075] Take the multimedia file as an advertisement file as an example, Figure 5 As shown, the data processing method of the multimedia file in the above embodiment includes the following steps:

[0076] Step S501, the monitoring server 302 stores the processed pre-processed data in the first server 306;

[0077] Step S502, the client 102 sends a target data request to the notification server 104 to request to obtain at least one type of quality data of the first multimedia file;

[0078] Wherein, taking the first multimedia file as the first advertisement file as an example, the at least one type of quality data may include but is not limited to playback probability;

[0079] Step S503, notifying the server 104 to obtain at least one type of pre-processed data from the first server 306, including but not limited to the advertiser balance, advertisement consumption type, and advertisement consumption speed of the first advertisement file;

[0080] Step S504, notifying the server 104 to send the acquired at least one type of pre-processed data to the second server 308;

[0081] Step S505, the second server 308 performs calculations based on the pre-processed data to obtain a playback probability of the first advertisement file;

[0082] Step S506, the second server 308 sends the calculated play probability of the first advertisement file to the notification server 104;

[0083] Step S507, notifying the server 104 to store the received playback probability of the first advertisement file in the database 110;

[0084] Step S508 : the platform system 312 obtains the play probability of the first advertisement file from the database 110 .

[0085] Optionally, the platform system 312 includes but is not limited to Figure 1 In the advertising system 112, the advertising system may determine the ranking of the first advertising file among the advertising files in the advertising system according to the acquired playback probability of the first advertising file.

[0086] The above multimedia file data processing method can be applied to, but is not limited to, Figure 6 In the data processing system of multimedia files in the application environment shown in the figure, the data processing system also includes a sequence server 602 and a slice agent 114, and the sequence server 602 is used to generate a sequence number.

[0087] Optionally, step S204 in the above embodiment includes steps S604-1 to S604-4, wherein the notification server 104 obtains the serial number generated by the sequence server 602 (such as step S604-1), carries the obtained serial number in the query request, and sends the query request to the sharding agent 114 (such as step S604-2), wherein the sharding agent 114 determines the target storage server 602 from at least one storage server included in the first server 306 according to the serial number in the query request, and notifies the notification server 104; the notification server 104 sends the data query request in parallel to the target storage server 602 in the determined first server 306 (such as step S604-3), and obtains at least one type of pre-processed data from the target storage server 602 (such as step S604-4). In step S606, the notification server 104 sends the obtained at least one type of pre-processed data to the policy server 108; the policy server 108 calculates the received at least one type of pre-processed data to obtain at least one type of quality data; in step S608, the notification server 104 obtains at least one type of quality data calculated by the policy server 108 from the policy server 108; in step S610, the notification server 104 sends the obtained at least one type of quality data to the database 110; in step S614, the platform system 312 obtains at least one type of quality data from the database 110.

[0088] Among them, the sequence server 602 generates a serial number according to preset rules, including but not limited to: each time the current serial number is increased by a preset value (for example, 1) to obtain an updated current serial number, and the updated serial number is determined as the serial number generated according to the preset rules; each storage server in the first server 306 has a server identifier.

[0089] Optionally, a target storage server is determined from at least one storage server included in the first server 306, including but not limited to the following methods: determining a result obtained by taking the serial number x modulo v, where x and v are natural numbers, and v is used to represent the total number of storage servers in the first server; and determining a storage server in the first server corresponding to a server identifier and a numerical value represented by the result as the target storage server.

[0090] It should be noted that, in the above embodiment, the sharding agent determines the result obtained by taking the serial number x modulo v, where x and v are natural numbers, and v is used to represent the total number of storage servers in the first server; and determines the storage server corresponding to the server identifier in the first server and the numerical value represented by the result as the target storage server.

[0091] Among them, after the sharding agent 114 determines the target storage server 602 from at least one storage server included in the first server 306 according to the serial number in the query request, it can notify the notification server 104, and the notification server 104 can send the data query request in parallel to the target storage server 602 to read at least one type of pre-processed data; or, after the sharding agent 114 determines the target storage server 602 from at least one storage server included in the first server 306 according to the serial number in the query request, the sharding agent 114 can read at least one type of pre-processed data from the target storage server 602 in parallel, and send the read at least one type of pre-processed data to the first server 306 in parallel.

[0092] It should be noted that in the above embodiments, Figure 7 As shown, the pre-processed data (such as Figure 7 The steps executed in parallel in the data processing step: data extraction 1, data extraction 2 and data extraction 3), and the second server performs data calculation according to the preprocessed data. For example, for the data calculation step: data calculation 1, the second server can perform the tasks therein in parallel: data calculation 1-1, data calculation 1-2 and data calculation 1-3 to complete the execution of step data calculation 1; after completing data calculation 1, the data calculation 2 step can be executed. Therefore, the above embodiment can realize parallel data reading and parallel data calculation, thereby realizing a serial-parallel hybrid processing method as a whole.

[0093] Optionally, in the above embodiment, if Figure 8As shown, the storage layer in the monitoring server 302 monitors the data stream of type 1 and the data stream of type 2 through process 1 and process 2 respectively. In the case where process 1 monitors that the data stream of type 1 generates new data, the new data generated by the data stream of type 1 is obtained, and the new data is used as source data to preprocess the source data to obtain preprocessed data of type 1. The preprocessing process includes but is not limited to: data generation, data transformation and data extraction steps, wherein in the data generation step, an initial processing result is obtained from the source data, in the data transformation step, data transformation is performed on the initial processing result, and in the data extraction step, data is extracted from the transformed initial processing result to obtain preprocessed data.

[0094] In the case where the quality data is the conversion rate of an advertisement, the above-mentioned preprocessing process includes the following steps: a data generation step: determining the conversion volume and display volume (including but not limited to exposure volume) of the advertisement from the source data corresponding to the advertisement (including but not limited to the advertisement log), wherein, due to the different sources of the source data, the conversion volume in each source data involves conversion volumes of multiple different dimensions, including but not limited to the number of users who have registered, the number of users who have purchased, etc. Therefore, in the data conversion step, the ratio of the conversion volume of each dimension obtained in the data generation step to the corresponding display volume is calculated to obtain the conversion rate of each dimension, and the conversion rates of all dimensions are converted (including but not limited to aggregation or calculation of average value, etc.) to obtain the conversion result; in the data extraction step, the conversion result is extracted to obtain the conversion rate of the advertisement.

[0095] Among them, for the obtained pre-processed data 1 of type 1, and the pre-processed data 2 of type 2, process 1 writes the pre-processed data 1 into the data table in the pre-processed data database of the corresponding type in Hbase, and process 2 writes the pre-processed data 2 into the data table in the pre-processed data database of the corresponding type in Hbase; HBase uses a coprocessor (Coprocessor) to shard the newly written incremental data (wherein the incremental data includes but is not limited to the Hbase storage file HFile) to obtain at least one shard, and stores at least one shard in HDFS. In the above embodiment, HBase is used as the first layer of storage in order to utilize the distributed storage capability of HBase, thereby achieving the technical effect of data writing without loss. Among them, the first server includes a cluster composed of at least one storage server, each storage server pulls the incremental HFile file generated by the Coprocessor from HDFS, parses it, and finally writes it to the local hard disk, providing read services to the outside. For example Figure 8As shown in, the storage server 1, storage server 2 and storage server v in the first server 306 pull the shards from HDFS and store the shards in the data table of the corresponding type of pre-processing database (including but not limited to preset data database 1 and preset data database 2) of their own; based on the above embodiment, the data storage is composed of two clusters of HBase and at least one storage server, HBase is responsible for processing write requests, and at least one storage server is responsible for processing read requests. By adopting a read-write separation architecture that writes data to Hbase and reads data from the storage server, the technical effect of not affecting the read cluster when the write cluster is jittered can be achieved; and storage in the form of shards can greatly reduce the disk io load of a single machine, and realize request distribution and load balancing. The overall architecture is easy to expand. If there is a bottleneck in the performance of a single chip, it can be further split into multiple chips on the basis of a single chip; and through multiple peer storage servers, it can be ensured that the failure or crash of a single machine will not affect the overall calculation process of the data, thereby ensuring the stability of the service.

[0096] In the above embodiment, if relevant data (such as preprocessed data) of at least one field (where each field corresponds to a type) is needed, it can be completed quickly by concurrently requesting at least one, which is better than the original serial processing performance. Moreover, storing the preprocessed data in a distributed storage such as HBase is more reliable than storing it in a single machine. Among them, the operation of writing each type of preprocessed data to HBase is implemented by an independent process corresponding to the type. For example, for the field of advertising consumption, a process will pull the corresponding source data, perform data generation, data transformation, and data extraction operations to obtain preprocessed data of the type of advertising consumption, and write the preprocessed data into the advertising consumption table of HBase. Moreover, in the case where the data table in the storage server includes an advertising consumption table, the notification server obtains the consumption of a certain advertising file by querying the advertising consumption table in the storage server.

[0097] In the above embodiment, data storage is implemented by the first server, data calculation is implemented by the second server, and the two types of servers are associated through the notification server. Optionally, in the above application scenario, there can be multiple notification servers, and the notification server itself does not store any information about the advertisement. The request end can concurrently send at least one target data request to multiple notification servers. Each of the multiple notification servers requests the first server to obtain the pre-processed data required for data calculation and then packages it to obtain a request package, and sends the request package to the second server to obtain the final quality data; wherein the calculation process of the quality data is moved to the second server for implementation. Since there is only data calculation logic in the second server, there is no need to save data, and the source of data comes from the request package, so problems with a single processing server in the second server will not affect the overall data calculation function, and the stability is greatly improved compared to a single processing server. Among them, when the system performance does not meet the requirements, the number of machines of the notification server, the first server, and the second server can be increased to solve the problem.

[0098] It should be noted that in the above embodiments, each server can be an independent physical server, or a server cluster or distributed system composed of at least one physical server, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms. Each server can be directly or indirectly connected through wired or wireless communication, and this application does not limit this.

[0099] According to another aspect of the embodiment of the present invention, there is also provided a multimedia file data processing device for implementing the above multimedia file data processing method. Fig. 9 As shown, the device comprises:

[0100] A first acquisition module 92, configured to acquire a target data request, wherein the target data request is used to request to acquire at least one type of quality data;

[0101] A second acquisition module 94 is used to obtain at least one type of pre-processed data in parallel from the first server in response to the target data request, wherein the first server is used to store S types of pre-processed data, where S is a natural number;

[0102] A sending module 96, configured to send at least one type of preprocessed data to a second server, wherein the second server is configured to calculate the at least one type of preprocessed data to obtain at least one type of quality data;

[0103] The third acquisition module 98 is used to acquire at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server by calculating at least one type of pre-processed data.

[0104] In an embodiment of the present invention, a target data request is obtained, wherein the target data request is used to request to obtain at least one type of quality data; in response to the target data request, at least one type of pre-processed data is obtained in parallel from a first server, wherein the first server is used to store S types of pre-processed data, and S is a natural number; at least one type of pre-processed data is sent to a second server, wherein the second server is used to calculate the at least one type of pre-processed data to obtain at least one type of quality data; at least one type of quality data sent by the second server is obtained, wherein the at least one type of quality data is the quality data obtained by the second server calculating the at least one type of pre-processed data. Since the first server stores the S types of pre-processed data in advance, it is not necessary to pre-process the source data to obtain the pre-processed data in the process of calculating the quality data, and when calculating the quality data, the required at least one type of pre-processed data is obtained in parallel from the first server, and the second processor calculates the quality data according to the obtained at least one type of pre-processed data, thereby achieving the technical effect of shortening the time required to obtain the quality data and improving the processing efficiency of obtaining the quality data, thereby solving the technical problem of low processing efficiency of obtaining the quality data of multimedia files by serial processing in a single machine.

[0105] In an optional embodiment, the second acquisition module 94 is also used to: send at least one data query request to the first server in parallel, wherein the at least one data query request is used to request a query for at least one type of preprocessed data; and obtain at least one type of preprocessed data sent by the first server in response to the at least one data query request.

[0106] In an optional embodiment, the second acquisition module 94 is also used to: after sending at least one data query request in parallel to the first server, obtain at least one type of preprocessed data queried by the first server in at least one data table on the first server in response to the at least one data query request, wherein each data table in the at least one data table is used to store preprocessed data of one type of at least one type.

[0107] In an optional embodiment, the above-mentioned device also includes a processing module, which is used to: obtain N types of source data, where S types include N types and N is a natural number; preprocess the N types of source data to obtain N types of preprocessed data; and store the N types of preprocessed data in the first server.

[0108] In an optional embodiment, the processing module is further used to: use M processes to respectively monitor whether M types of data streams generate new data, wherein each of the M processes is used to monitor whether a data stream of one type among the M types generates new data, S types include M types, M is a natural number, M is greater than or equal to N, and M types include N types; when N processes among the M processes monitor that data streams of N types among the M types generate new data, obtain the new data generated by the N types of data streams, wherein the N types of source data include the new data generated by the N types of data streams.

[0109] In an optional embodiment, the processing module is further used to: use N processes to preprocess N types of source data respectively to obtain N types of preprocessed data.

[0110] In an optional embodiment, the processing module is further used for: when the i-th type among N types is click-through rate, obtaining pre-processed data of the i-th type by executing the following steps: using the i-th process among N processes, determining a target click volume and a target display volume from the source data of the i-th type, wherein the target click volume is used to indicate the number of times a multimedia file corresponding to the source data is clicked, and the target display volume is used to indicate the number of times a multimedia file corresponding to the source data is displayed; determining a ratio of the target click volume to the target display volume; determining the ratio of the target click volume to the target display volume as the pre-processed data of the i-th type; when the i-th type is conversion rate, obtaining pre-processed data of the i-th type by executing the following steps: using the i-th process, determining a target conversion volume and a target display volume from the source data of the i-th type, wherein the target conversion volume is used to indicate the conversion volume corresponding to the source data; determining a ratio of the target conversion volume to the target display volume; determining the ratio of the target conversion volume to the target display volume as the pre-processed data of the i-th type.

[0111] In an optional embodiment, the processing module is also used to: store N types of pre-processed data in a distributed file system; store the N types of pre-processed data stored in the distributed file system in each storage server of at least one storage server, wherein the first server includes at least one storage server.

[0112] In an optional embodiment, the third acquisition module 98 is further used to: after sending the at least one type of pre-processed data to the second server, acquire at least one type of quality data obtained by calculating the at least one type of pre-processed data in parallel on the second server.

[0113] In an optional embodiment, the third acquisition module 98 is also used to: when the second server includes at least one processing server, obtain at least one type of quality data obtained by calculating at least one type of pre-processed data in parallel on at least one processing server, wherein each of the at least one processing server is used to calculate at least one type of pre-processed data of the at least one type.

[0114] In an optional embodiment, when at least one type of quality data includes quality data of a target type, the third acquisition module is further used to obtain quality data of the target type calculated by the second server in the following manner: determining H types associated with the target type, where H is a natural number and the S types include H types, at least one type of preprocessed data includes H types of preprocessed data, and obtaining a one-to-one corresponding preset factor for each type of preprocessed data of the H types of preprocessed data; determining the product of each type of preprocessed data and the corresponding preset factor, to obtain a total of H products; and determining the sum of the H products as the quality data of the target type.

[0115] In an optional embodiment, the sending module 96 is also used to: encapsulate all preprocessed data in a target data packet when all preprocessed data of at least one type of preprocessed data are obtained from the first server; send the target data packet to the second server; or, send one type of preprocessed data to the second server each time one type of preprocessed data of at least one type of preprocessed data is obtained from the first server.

[0116] In an optional embodiment, in the process of obtaining at least one type of preprocessed data from the first server in parallel, the received preprocessed data is calculated on the second server, wherein the at least one type of preprocessed data includes the received preprocessed data.

[0117] In an optional embodiment, the first acquisition module 92 is also used to: obtain a first data request, wherein the target data request includes a first data request, the first data request is used to request to obtain at least one type of quality data of the first multimedia file, and the at least one type of quality data is used to publish the first multimedia file; or obtain a second data request, wherein the target data request includes a second data request, the second data request is used to request to obtain a first group of types of quality data of the second multimedia file and a second group of types of quality data of the third multimedia file, at least one type includes a first group of types and a second group of types, the first group of types of quality data is used to publish the second multimedia file, and the second group of types of quality data is used to publish the third multimedia file.

[0118] In an optional embodiment, the above-mentioned device also includes a setting module, which is used to: when the second server includes at least one processing server and the processing load of at least one processing server exceeds a predetermined threshold, set a new processing server, wherein the new processing server is used to calculate at least one type of pre-processed data to obtain one or more types of quality data among the at least one type of quality data.

[0119] According to another aspect of the embodiment of the present invention, an electronic device for implementing the above-mentioned multimedia file data processing method is also provided. The electronic device may be Figure 1 The notification server 104 is shown. Fig.10 As shown, the electronic device includes a memory 1002 and a processor 1004. The memory 1002 stores a computer program, and the processor 1004 is configured to execute the steps in any of the above method embodiments through the computer program.

[0120] Optionally, in this embodiment, the electronic device may be located in at least one network device of at least one network device of a computer network.

[0121] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0122] S1, obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data;

[0123] S2, in response to the target data request, obtaining at least one type of pre-processed data from a first server in parallel, wherein the first server is used to store S types of pre-processed data, where S is a natural number;

[0124] S3, sending the at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain the at least one type of quality data;

[0125] S4, obtaining the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server by calculating the at least one type of pre-processed data.

[0126] Alternatively, a person skilled in the art may understand that: Fig.10 The structure shown is for illustration only. Fig.10 The electronic device and the electronic equipment described above are not limited in structure. Fig.10More or fewer components (such as network interfaces, etc.) as shown in, or with Fig.10 Different configurations shown.

[0127] Among them, the memory 1002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the data processing method and device of multimedia files in the embodiments of the present invention. The processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, realizing the above-mentioned data processing method of multimedia files. The memory 1002 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 1002 may further include a memory remotely arranged relative to the processor 1004, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. As an example, Fig.10 As shown, the memory 1002 may include, but is not limited to, the first acquisition module 92, the second acquisition module 94, the sending module 96, and the third acquisition module 98 in the data processing device for the multimedia file. In addition, other module units in the data processing device for the multimedia file may also be included but are not limited to, which will not be repeated in this example.

[0128] Optionally, the transmission device 1006 is used to receive or send data via a network. Specific examples of the above-mentioned network may include a wired network and a wireless network. In one example, the transmission device 906 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 1006 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0129] In addition, the electronic device further includes: a display 1008; and a connection bus 1010, which is used to connect various module components in the electronic device.

[0130] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. Among them, the nodes may form a peer-to-peer (P2P, Peer To Peer) network, and any form of computing device, such as a server, terminal and other electronic devices, may become a node in the blockchain system by joining the peer-to-peer network.

[0131] According to one aspect of the present application, a computer program product or computer program is provided, the computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method of the multimedia file provided in the above various optional implementations. Wherein, the computer program is configured to execute the steps of any of the above method embodiments when running.

[0132] Optionally, in this embodiment, the computer-readable storage medium may be configured to store a computer program for performing the following steps:

[0133] S1, obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data;

[0134] S2, in response to the target data request, obtaining at least one type of pre-processed data from a first server in parallel, wherein the first server is used to store S types of pre-processed data, where S is a natural number;

[0135] S3, sending the at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain the at least one type of quality data;

[0136] S4, obtaining the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server by calculating the at least one type of pre-processed data.

[0137] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0138] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0139] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling one or more computer devices (which can be personal computers, servers or network devices, etc.) to perform all or part of the steps of the methods of various embodiments of the present invention.

[0140] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0141] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic, for example, the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for processing multimedia files. It is characterized in that include: Obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data; In response to the target data request, obtaining at least one type of pre-processed data from a first server in parallel, wherein the first server is used to store S types of pre-processed data, where S is a natural number; Sending the at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain the at least one type of quality data; In a case where the at least one type of quality data includes quality data of a target type, determining H types associated with the target type, wherein H is a natural number, and the S types include the H types, and the at least one type of preprocessed data includes the H types of preprocessed data; Obtaining a preset factor corresponding to each type of pre-processed data of the H types; Determine the product of each type of preprocessed data and the corresponding preset factor, and obtain H products in total; Determining the sum of the H products as quality data of the target type; The at least one type of quality data sent by the second server is acquired, wherein the at least one type of quality data is quality data obtained by the second server by calculating the at least one type of pre-processed data.

2. The method according to claim 1, It is characterized in that The obtaining the at least one type of pre-processed data from the first server in parallel includes: Sending at least one data query request to the first server in parallel, wherein the at least one data query request is used to request to query the at least one type of pre-processed data; The at least one type of pre-processed data sent by the first server in response to the at least one data query request is obtained.

3. The method according to claim 2, It is characterized in that After sending at least one data query request to the first server in parallel, the method further includes: In response to the at least one data query request, the at least one type of pre-processed data is queried in at least one data table on the first server, wherein each data table in the at least one data table is used to store one type of pre-processed data of the at least one type.

4. The method according to claim 1, It is characterized in that The method further comprises: Obtaining N types of source data, wherein the S types include the N types, N is a natural number; Preprocessing the N types of source data to obtain the N types of preprocessed data; The N types of pre-processed data are stored in the first server.

5. The method according to claim 4, It is characterized in that The obtaining of N types of source data includes: Using M processes to respectively monitor whether M types of data streams generate new data, wherein each of the M processes is used to monitor whether a data stream of one type of the M types generates new data, the S types include the M types, M is a natural number, M is greater than or equal to N, and the M types include the N types; When N processes among the M processes monitor that the N types of data flows among the M types generate new data, the new data generated by the N types of data flows are obtained, wherein the N types of source data include the new data generated by the N types of data flows.

6. The method according to claim 5, It is characterized in that The preprocessing of the N types of source data to obtain the N types of preprocessed data includes: When the i-th type among the N types is click-through rate, the pre-processed data of the i-th type is obtained by executing the following steps: Using the i-th process among the N processes, determining a target click amount and a target display amount from the i-th type of source data, wherein the target click amount is used to represent the number of times the multimedia file corresponding to the source data is clicked, and the target display amount is used to represent the number of times the multimedia file corresponding to the source data is displayed; Determine the ratio of the target click volume to the target display volume; Determine the ratio of the target click amount to the target display amount as the i-th type of preprocessed data; When the i-th type is conversion rate, the preprocessed data of the i-th type is obtained by executing the following steps: Using the i-th process, determining a target conversion amount and a target display amount from the i-th type of source data, wherein the target conversion amount is used to represent a conversion amount corresponding to the source data; Determining a ratio of the target conversion amount to the target display amount; The ratio of the target conversion amount to the target display amount is determined as the i-th type of pre-processed data.

7. The method according to claim 4, It is characterized in that The storing the N types of pre-processed data in the first server includes: Storing the N types of pre-processed data in a distributed file system; The N types of pre-processed data stored in the distributed file system are stored in each storage server of at least one storage server, wherein the first server includes the at least one storage server.

8. The method according to claim 1, It is characterized in that The sending the at least one type of pre-processed data to the second server comprises: In the case where all pre-processed data of the at least one type of pre-processed data are acquired from the first server, encapsulating all the pre-processed data in a target data packet; sending the target data packet to the second server; or, Each time one type of pre-processed data among the at least one type of pre-processed data is acquired from the first server, the one type of pre-processed data is sent to the second server.

9. The method according to any one of claims 1 to 8, It is characterized in that The request for obtaining target data includes: Obtaining a first data request, wherein the target data request includes the first data request, the first data request is used to request obtaining the at least one type of quality data of the first multimedia file, and the at least one type of quality data is used to publish the first multimedia file; or Obtain a second data request, wherein the target data request includes the second data request, the second data request is used to request to obtain a first group type of quality data of a second multimedia file and a second group type of quality data of a third multimedia file, the at least one type includes the first group type and the second group type, the first group type of quality data is used to publish the second multimedia file, and the second group type of quality data is used to publish the third multimedia file.

10. The method according to any one of claims 1 to 8, It is characterized in that The method further comprises: When the second server includes at least one processing server and the processing load of the at least one processing server exceeds a predetermined threshold, a new processing server is set, wherein the new processing server is used to calculate the at least one type of pre-processed data to obtain one or more types of quality data among the at least one type of quality data.

11. A data processing device for multimedia files, It is characterized in that include: A first acquisition module, configured to acquire a target data request, wherein the target data request is used to request to acquire at least one type of quality data; a second acquisition module, configured to acquire, in response to the target data request, the at least one type of pre-processed data from the first server in parallel, wherein the first server is configured to store S types of pre-processed data, where S is a natural number; A sending module, configured to send the at least one type of pre-processed data to a second server, wherein the second server is configured to calculate the at least one type of pre-processed data to obtain the at least one type of quality data; The device is further configured to, when the quality data of the at least one type includes the quality data of the target type, determine H types associated with the target type, wherein H is a natural number, and the S types include the H types, and the preprocessed data of the at least one type includes the preprocessed data of the H types; obtain a preset factor corresponding to each type of preprocessed data of the H types; determine the product of each type of preprocessed data and the corresponding preset factor, and obtain a total of H products; Determining the sum of the H products as quality data of the target type; The third acquisition module is used to acquire the at least one type of quality data sent by the second server, wherein the at least one type of quality data is quality data obtained by the second server by calculating the at least one type of pre-processed data.

12. A data processing device for multimedia files, It is characterized in that include: One or more processors, and a memory, wherein the memory stores one or more programs, and the processor is configured to perform the following operations through the one or more programs: Obtaining a target data request, wherein the target data request is used to request obtaining at least one type of quality data; In response to the target data request, obtaining the at least one type of pre-processed data in parallel from a first server, wherein the first server is used to store S types of pre-processed data, where S is a natural number; Sending the at least one type of preprocessed data to a second server, wherein the second server is used to calculate the at least one type of preprocessed data to obtain the at least one type of quality data; In a case where the at least one type of quality data includes quality data of a target type, determining H types associated with the target type, wherein H is a natural number, and the S types include the H types, and the at least one type of preprocessed data includes the H types of preprocessed data; Obtaining a preset factor corresponding to each type of pre-processed data of the H types; Determine the product of each type of preprocessed data and the corresponding preset factor, and obtain H products in total; Determining the sum of the H products as quality data of the target type; The at least one type of quality data sent by the second server is acquired, wherein the at least one type of quality data is quality data obtained by the second server by calculating the at least one type of pre-processed data.

13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein the program executes the method described in any one of claims 1 to 10 when executed.

14. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 10 through the computer program.