[go: up one dir, main page]

WO2018145652A1 - Media data processing method, server and storage medium - Google Patents

Media data processing method, server and storage medium Download PDF

Info

Publication number
WO2018145652A1
WO2018145652A1 PCT/CN2018/075904 CN2018075904W WO2018145652A1 WO 2018145652 A1 WO2018145652 A1 WO 2018145652A1 CN 2018075904 W CN2018075904 W CN 2018075904W WO 2018145652 A1 WO2018145652 A1 WO 2018145652A1
Authority
WO
WIPO (PCT)
Prior art keywords
order
orders
dsp
server
candidate
Prior art date
Application number
PCT/CN2018/075904
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 WO2018145652A1 publication Critical patent/WO2018145652A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/435Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0241Advertisements
    • G06Q30/0277Online advertisement

Definitions

  • Embodiments of the present invention relate to data processing technologies in the field of the Internet, and in particular, to a media data processing method, a server, and a storage medium.
  • the server may have multiple exposure opportunities in one request, and the server pushes an advertisement for an exposure opportunity.
  • the order determines whether the insertion order is served at the terminal by whether the insertion order is selected.
  • the embodiment of the invention provides a media data processing method, including:
  • An embodiment of the present invention provides a server including one or more processors and one or more memories, the one or more memories including computer readable instructions configured to be executed by the one or more processors achieve:
  • the embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer readable instructions, which may cause at least one processor to perform the method as described above.
  • FIG. 1 is a schematic structural diagram of a server and a terminal interaction system according to an embodiment of the present invention
  • FIG. 2 is a structural diagram of a multimedia data processing system according to an embodiment of the present invention.
  • FIG. 3 is a flowchart 1 of a method for processing multimedia data according to an embodiment of the present invention
  • FIG. 4 is a second flowchart of a method for processing multimedia data according to an embodiment of the present invention.
  • FIG. 5 is a flowchart 3 of a method for processing multimedia data according to an embodiment of the present invention.
  • FIG. 6 is a flowchart 4 of a method for processing multimedia data according to an embodiment of the present invention.
  • FIG. 7 is a flowchart 5 of a method for processing multimedia data according to an embodiment of the present invention.
  • FIG. 8 is a flowchart 6 of a method for processing multimedia data according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of an exemplary priority-weight secondary index structure according to an embodiment of the present invention.
  • FIG. 10 is a weight comparison diagram of exemplary multimedia data according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram 1 of a server according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram 2 of a server according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram 3 of a server according to an embodiment of the present disclosure.
  • FIG. 14 is a schematic structural diagram 4 of a server according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic structural diagram 5 of a server according to an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of a system for interacting a server and a terminal according to an embodiment of the present invention.
  • FIG. 1 includes: one or more servers 1, a terminal 2, and a network 3, and the network 3 includes a network entity such as a router, a gateway, and the like. Not reflected in it.
  • the terminal 2 performs multimedia data interaction with the server 1 through a wired network or a wireless network, so that the first request collected from the terminal 2 is transmitted to the server 1, and the server 1 feeds back the multimedia data in response to the first request to the terminal 2, so that the terminal 2 can play the multimedia data.
  • the type of terminal is shown in Figure 1, including mobile phones, tablets or PDAs, desktops, PCs, smart TVs, and so on.
  • the terminal is installed with a first application required by various users, such as an application having entertainment functions (such as a video application, an audio playback application, a game application, a reading software, a chat application, and a live application), and a service function.
  • a first application required by various users, such as an application having entertainment functions (such as a video application, an audio playback application, a game application, a reading software, a chat application, and a live application), and a service function.
  • entertainment functions such as a video application, an audio playback application, a game application, a reading software, a chat application, and a live application
  • Applications such as map navigation applications, group buying applications, shooting applications, etc.
  • the multimedia data fed back by the server 1 to the terminal may be recommended media content, such as pushed news, advertisements, articles, and the like.
  • the pushed media content is an advertisement
  • PDB Programmatic Direct Buying
  • RTB Real Time Bidding
  • Interactive mode. RTB Each exposure opportunity of the multimedia server (corresponding to the third-party demand side platform (DSP, Demand Side Platform), the bidder is selected by the bidding method.
  • DSP Third-party demand side platform
  • DSP Demand Side Platform
  • the PDB refers to the programmatic advertisement delivery method of the insured price.
  • the server 1 in the embodiment of the present invention may be: a server that delivers media content.
  • a media data processing flow provided by an embodiment of the present invention is applied in a PDB mode.
  • the server 1 may be a server cluster, including a provider platform (SSP) in an advertisement delivery system, and may also include an advertisement transaction platform (ADX).
  • SSP provider platform
  • ADX advertisement transaction platform
  • the media data processing flow provided by the present application can be applied to other multimedia delivery systems in addition to the advertisement delivery system, for example, recommendation of news, recommendation of articles.
  • the server 1 receives a first request from the first terminal 2, which may be a media content delivery request.
  • the first request may include a plurality of exposure opportunities.
  • the server 1 For each exposure opportunity, the server 1 stores a set of orders, and each order corresponds to one media content. After the advertisement engine 1-1 of the server 1 selects an order corresponding to each exposure opportunity in the order set, the plurality of orders corresponding to the plurality of selected exposure opportunities are passed through the advertisement transaction platform 1-2 of the server 1 (ADX). , Ad Exchange) push (real-time request) to one or more demand-side platform (DSP) DSP 4. The order carries the order transaction ID (deal ID) corresponding to the DSP, and the order is sent to the corresponding DSP according to the identifier.
  • ADX advertisement transaction platform 1-2 of the server 1
  • DSP demand-side platform
  • the DSP 4 may select one of the at least two orders corresponding to each exposure opportunity (feedback response), and feed the selected insertion order to the advertising engine 1-1 through the ADX 1-2, and pass The advertisement engine 1-1 sends the selected order to the first terminal 2 for delivery.
  • the multimedia server receives the first request from the first terminal, where the first request may be a multimedia push request, and the first request is used to request to send the multimedia data to the first user corresponding to the first terminal.
  • the first request is used to request to send the multimedia data to the first user corresponding to the first terminal.
  • one or more orders corresponding to the first request are selected from a local set of orders.
  • a synchronized whitelist is obtained from each DSP, and the whitelist includes optional candidate orders for each order of the corresponding DSP.
  • Each candidate order corresponds to multimedia data, and the DSP synchronizes the whitelist with a protocol buffer or a PB file.
  • Server 1 is used as an alternative to data completion, that is, to select an alternate order for the order.
  • the candidate orders of each order are selected from the white list (specifically, the first inverted index is used to search and filter).
  • the child order is parsed (the order after the DSP is selected), and the sub-order corresponding to each DSP is sent to the first terminal, so that the first terminal sequentially loads the multimedia data corresponding to the sub-order and plays the same.
  • An embodiment of the present invention provides a media data processing method. As shown in FIG. 3, the method may include:
  • S101 Receive a first request from a first terminal, where the first request is used to request to send multimedia data to a first user corresponding to the first terminal.
  • step S101 the media content push request sent by the receiving client is executed.
  • the first user in the first user set displays the corresponding media resource on the application after logging in, for example, a social application (eg, a live chat application), a news application, or the like by using the first terminal, for example, , display news, articles, WeChat friends circle and so on.
  • a display bit is provided on the displayed media resource, and the display bit is used to display the pushed media content, for example, pushed advertisements, news, and the like.
  • the client displays the media resource carrying the display bit
  • the client sends a media content delivery request, that is, a first request, to the server 1 to request delivery of media data for the first user, where the delivery media data is in the display
  • the display of resources is displayed.
  • the media data that is delivered for example, advertisements, news, articles, and the like.
  • the first user logs in an application such as a Social Networking Service (SNS) application, an instant messaging application, a news application, and the like on the first terminal, because the multimedia data display position is set in the interface of the application.
  • SNS Social Networking Service
  • the first terminal sends a request to the server 1 to request multimedia for the application interfaces.
  • the data display bits are assigned multimedia data.
  • the server in the embodiment of the present invention may be a media content delivery server, and the media content delivery server may include an ADX and an SSP, where the SSP includes a multimedia data engine (such as an advertisement engine).
  • the SSP includes a multimedia data engine (such as an advertisement engine).
  • the first terminal may be a device such as a smart phone, a tablet computer, a smart watch, a notebook computer, a desktop computer, etc., which is not specifically limited in the embodiment of the present invention.
  • the multimedia data may be information displayed on a multimedia data presentation bit (also referred to as an exposure opportunity) in a display interface of the application; and the request (first request) may be a request for the multimedia.
  • the data display bit distributes messages of multimedia data.
  • the multimedia data engine in the server 1 receives the first request (media content delivery request) from the first terminal.
  • the one or more first orders corresponding to the media content push request are selected from the local order set in response to the media content push request.
  • the server 1 stores an order set, which includes an order sent by each advertiser through the DSP for delivery.
  • the order in the order collection includes an order (PDB order) with a programmatic delivery method at an insured price, as well as an order (PDB order) with a programmatic delivery method that is insured at a guaranteed price, and an order placed by auction. (RTB order) and so on.
  • Each order includes the identification of the order, the ID of the DSP corresponding to the order, and also includes the orientation information of the order, the scheduled delivery amount of the order, the frequency control requirement of the order, and the information of the media content corresponding to the order (for example, the media content corresponding to the order) Logo, etc.).
  • the media content push request carries the identifier of the user of the first terminal, the display location information, and the like, and the server 1 can obtain the feature tag of the user according to the tag of the user.
  • the media content push request may carry one or more placement information, and the server selects the first order for each placement information when selecting the first order (main order).
  • the user may select a feature label corresponding to the user's label in the push request, the placement information, an ordering condition of the order, a predetermined delivery amount of the order, a frequency control request, and the like.
  • the factor selects the first order corresponding to the placement information.
  • the priority of each order in the order set may be calculated according to the feature tag of the user, the placement information, the orientation condition of each order in the order set, the remaining quantity of the order, and the frequency control requirement of the order, according to the priority
  • the level selects the order corresponding to the placement information.
  • the server After the server receives the first request (media content delivery request) from the first terminal, the server needs to select from the local second multimedia data set (the set of orders stored in the server 1) in response to the first request. a first order corresponding to each of the placement information in the first request.
  • the process of the server responding to the first request is: the second multimedia data set (order set) calculated by the server according to the priority logic and the locality.
  • the priority of each order in the selection the same number of first orders as the multimedia data display position.
  • the first request may request the multimedia data corresponding to all the multimedia data display positions, that is, the media content push request carries one or more placement information.
  • the server 1 in the embodiment of the present invention needs to send an inquiry request to the DSP to determine an order to be placed, and the types of orders in the second multimedia data set (order set) are various. Including regular orders, DSP orders, targeted orders and other special orders, where the DSP order is an order carrying a specific DSP identification, when sending a request for inquiry to the DSP, it is sent to the corresponding DSP according to the ID of the DSP carried in the order, and the directional order can be For an order carrying an orientation condition, when the order is placed, the orientation condition carried by the order needs to be matched with the user characteristic corresponding to the user identifier carried in the push request, and the regular order may be an order that does not point to a specific DSP. If the server 1 sends an inquiry request to the DSP and determines an order to be placed according to the response of the DSP feedback, the first order selected by the server 1 should be a DSP order.
  • the first request carries information of N multimedia data display bits, and the information of the N multimedia data display bits is arranged in a first order, where N is greater than or equal to 1.
  • the number of first orders is N, and the N orders correspond to N multimedia data display positions.
  • a multimedia data display bit can only display one multimedia data. If there are N multimedia data display bits, the server (multimedia server) selects N multimedia data corresponding to N multimedia data display positions.
  • the first order includes an order corresponding to each of the N multimedia data.
  • the server first selects A, B, and the second multimedia data set (order set in the server 1) according to the priority logic. C three orders.
  • the one or more second orders corresponding to the first orders are obtained according to the acquired order list, wherein the order list includes the second order of the candidate corresponding to each first order.
  • the DSP Since the first order and the second order selected by the server 1 are finally sent to the corresponding DSP for selection, and the DSP is in the menu, the DSP considers that the same advertiser's customer order can no longer be selected, if the first order and corresponding The second order corresponds to the same advertiser, and when the corresponding DSP is in the menu, if the first order is not selected, the second order is not selected. In order to avoid this situation, then the DSP needs to synchronize each first order to allow an alternate second order white list (here, the white list is also called the order list) (previously only the synchronization is completely non-overlapping, and the later step is gradually relaxed. Overlap of some users).
  • the white list is also called the order list
  • a list of orders synchronized by each DSP is obtained, and the order list includes a second order of candidates corresponding to each first order.
  • the server 1 may correspond to multiple DSPs, and each DSP synchronizes the order list with the server 1.
  • the first order and the candidate second order in the order list of one DSP carry the identifier of the DSP.
  • Each DSP can upload the whitelist in the protocol buffer protocol.
  • the server responds to the first request, and after selecting the first order corresponding to the first request from the local second multimedia data set (the order set of the server 1 local), the server has a first preset menu policy, In this way, the server can select a second order corresponding to each first order from the first multimedia data set (from the DSP synchronized order list and stored in the server 1) according to the first preset menu policy (one Or multiple alternative orders).
  • the first preset menu strategy is a menu logic or policy for selecting an alternative order corresponding to the first order.
  • the second order (alternative order) selected by the server is corresponding to the first order, and the quantity of the multimedia data corresponding to the first order is in the first request.
  • the multimedia data display bit is corresponding. Therefore, the server may select an alternative order corresponding to the first order from the first multimedia data set (order list) according to the first preset menu policy.
  • the multimedia data corresponding to the second order is consistent with the type of the multimedia data corresponding to the corresponding first order.
  • one selected first multimedia data corresponding to the first order is A
  • A is 30 seconds of multimedia data.
  • the candidate multimedia data corresponding to the selected first multimedia data corresponding to the second order selected by the server is also 30 seconds of multimedia data, that is, the duration of the first multimedia data is equal to the duration of the candidate multimedia data.
  • the order belongs to the same DSP as the corresponding alternative order.
  • the number of candidate orders selected by the server corresponding to the order in the first order is a first candidate order upper limit
  • the total order data in the second order is The upper limit (second alternative order limit) can also be set, that is, the preset alternative order upper limit includes the first candidate order upper limit and the second alternative order upper limit.
  • the server displays for each multimedia data.
  • the bit request is set with an alternate order limit, the first alternate order limit, and the total alternate order limit, which is the second alternate order limit.
  • the first candidate order upper limit is an upper limit of the number of alternative orders that can be set by one order; and the second alternative order upper limit may be an upper limit of the sum of the quantity of each second order of the plurality of first orders corresponding to the push request.
  • the first alternative order has a maximum of 2
  • the second alternative order has a limit of 6
  • the exposure opportunity (multimedia data display position) is 3
  • the selected first order is A, B, and C, which are orders A and B, respectively.
  • C select an alternative order.
  • the second order (ie, the alternate order) selected by the server is D, E, F, G, H, and I, based on the preset menu strategy in orders D, E, F, G, H, and I.
  • Select an alternate order for order A For example, A corresponds to (alternative D-E).
  • first candidate order upper limit and the second alternative order upper limit in the embodiment of the present invention are configurable, and are not limited in the embodiment of the present invention.
  • step S104 the second order corresponding to each first order and each first order is sent to the DSP of each first order.
  • the order and the order of the order correspond to the same DSP, and an order and its alternate order are sent to the corresponding DSP.
  • the order carries the corresponding DSP information, for example, the identifier of the DSP.
  • the selected order and the alternate order can also carry the placement information, for example, the identifier of the placement information or the order of the placement information in the push request in all the placement information, so that the DSP can select the order and return, according to the returned
  • the placement information carried in the order determines which placement the order is shown on.
  • the push request carries three placement information corresponding to the display position 1, the display position 2, and the display position 3.
  • the orders selected for the three display positions are respectively A, B, and C.
  • the order of order A is D, E, corresponding to DSP1
  • the order of order B is F
  • G corresponding to DSP2
  • the order of order C is H, I, corresponding to DSP3, then form the order set A-( Alternative DE), B-(alternative FG), C-(alternative HI), send the order set A-(alternative DE) to DSP1, and send the order set B-(alternative FG) to DSP2,
  • the order set C- (alternative HI) is sent to DSP3.
  • Each of the order sets carries an identifier of the corresponding placement location.
  • the server After the server acquires the first order and selects the second order (alternative order) corresponding to the first order, the server can push the set of orders consisting of the first order and the second order.
  • the server can push the order set obtained by the first order and the second order to the DSP through the ADX, and the DSP can select the order corresponding to the multimedia data delivered from the order set.
  • the order set consisting of the first order and the second order has an order order.
  • the first order in the order set is arranged in the first order
  • the order corresponding to the multimedia data in the second order is in accordance with the order
  • the correspondence relationship of the multimedia data corresponding to the order in an order is arranged after the order corresponding to the multimedia data in the corresponding first order, that is, the second order is also inserted in the first order after the corresponding order in the first order. .
  • the exposure opportunity (multimedia data display position) is 1, 2 and 3
  • the selected first order is A, B.
  • C wherein the order corresponding to the display bit 1 selected by the multimedia server is A, the order corresponding to 2 is B, the order corresponding to 3 is C, and the second order selected by the multimedia server (ie, the alternate order) is D, E, F, G, H, and I, wherein an alternative DE corresponding to A, an alternative FG corresponding to B, and an alternate HI corresponding to C are selected, and the server 1 presses the first order and the second order according to A- (Alternative DE), B-(Alternative FG), C-(Alternative HI) are arranged in the order.
  • A-(alternative D-E) corresponds to exposure opportunity 1
  • B-(alternative F-G) corresponds to exposure opportunity 2
  • C-(alternative H-I) corresponds to exposure opportunity 3.
  • the server 1 carries the order set (including the first order and the second order) in the order delivery request, sends it to the ADX, and sends a real-time request corresponding to the DSP through the ADX to the DSP, Enables the DSP to select orders in the order set for use during delivery.
  • the real-time request sent to the DSP carries the corresponding order set.
  • step S105 the selected order sent by the DSP that receives each first order is executed, and the media content corresponding to the selected order is sent to the client for display.
  • the server sends the order set obtained by the first order and the second order, and after receiving the feedback response of each DSP to the order set, parsing out the sub-order from the feedback response, the sub-order including the corresponding corresponding to the first multimedia data display position Order.
  • the sub-order is an order selected by the corresponding DSP from the corresponding order and the alternative order of the DSP, and one sub-order corresponds to one display position (exposure opportunity).
  • the obtained sub-orders are N
  • the media content corresponding to the sub-order is sent to the client on the terminal device to be displayed on the corresponding display position.
  • the link of the material corresponding to the order may be sent to the client, and the client obtains the corresponding material to display on the placement according to the link of the material.
  • the material corresponding to the order can also be sent directly to the client for display.
  • the DSP sends a feedback response to the order set, where the feedback response carries the order to be placed selected by the DSP from the order set.
  • the multimedia server can send the sub-order to the first terminal for delivery.
  • the sub-order further includes a link for each multimedia data to be delivered, and after the first terminal receives the sub-order, the at least one corresponding to the sub-order is sequentially loaded according to the link of each multimedia data in the sub-order.
  • the multimedia data is played on the first terminal.
  • the first order and the second order sent to the DSP carry the placement information, so that the selected order returned by the DSP is sent to the client, and the client can be selected according to the selected order.
  • the first order and the second order carry the sequential identification of the corresponding placement
  • the one or more first orders are arranged in the first order (the order of the placements)
  • the second order is the same as the first order.
  • the order in the sub-order received by the server is also ordered, and at least one sub-order corresponds to the order of the multimedia data display bits, so the first terminal is receiving
  • the media content corresponding to each order in the sub-order can be played in the corresponding multimedia data display position in the order of the multimedia data display position.
  • the exposure opportunity (multimedia data display position) is 1, 2, and 3, and the selected first order is A, B, and C, wherein the order corresponding to the multimedia data corresponding to the display bit 1 selected by the multimedia server is A.
  • the order corresponding to the multimedia data corresponding to the display bit 2 is B, and the order corresponding to the multimedia data corresponding to the display bit 3 is C.
  • the second order (ie, the alternate order) selected by the multimedia server is D, E, F, G, H, and I.
  • an alternative DE corresponding to A, an alternative FG corresponding to B, and an alternate HI corresponding to C are selected, and the multimedia server presses the first order and the second order according to A-(alternative DE), B- The order of FG) and C-(alternative HI) is arranged to obtain a set of orders.
  • A-(alternative D-E) corresponds to an exposure opportunity (display bit) 1
  • B-(alternative F-G) corresponds to an exposure opportunity (display bit) 2
  • C-(alternative H-I) corresponds to an exposure opportunity (display bit) 3.
  • the multimedia server sends the above three order sets to the corresponding DSPs through the ADX, and the DSPs select the orders A, F, and I from the order set, and then the server 1 sends the orders A, F, and I to
  • the first terminal displays the multimedia data corresponding to the order A at the exposure opportunity 1 according to the order of the exposure opportunity 1, the exposure opportunity 2 and the exposure opportunity 3, and displays the multimedia data corresponding to the order F at the exposure opportunity 2 and the exposure
  • the opportunity 3 plays the multimedia data corresponding to the order I.
  • the format of the DSP feedback protocol (the format fed back to the server) is defined as follows:
  • the feedback content format can be:
  • the server when the server performs the order menu, in addition to selecting the first order corresponding to each placement information in response to the media content delivery request, the server also obtains the second corresponding to the first order.
  • the order that is, when the first order and the second order corresponding to the first order are sent to the corresponding DSP, the DSP can select the alternative order when the first order is not selected.
  • the order response rate corresponding to the inquiry request sent to the DSP is improved, the shortage of the delivery request is reduced, and the media content pushing efficiency is improved.
  • the traffic realizing ability of the server 1 is improved.
  • the media content push request carries one or more placement information
  • the selecting one or more first orders corresponding to the media content push request from the local order set includes:
  • the DSP for sending the first order corresponding to each first order and each first order to each first order includes:
  • the receiving the sent order sent by the DSP of each first order, and sending the media content corresponding to the selected order to the client includes:
  • the push request carries one or more placement information, and for each placement information, the first order (main order) corresponding to the placement information and the second order (alternative order) are selected, and the selected The master order and the alternate order are sent to the corresponding DSP.
  • Receiving one or more sub-orders sent by each DSP the number of sub-orders is the same as the number of display positions, and the media content of each sub-order is sent to the client and displayed on the corresponding display position.
  • the order with the highest priority is used as the first order corresponding to the placement information.
  • the server 1 For the plurality of display positions carried in the push request, the server 1 respectively determines the first order corresponding to each display position.
  • the above placement information carries the characteristics of the audience user corresponding to the push request.
  • the priority of each order in the order set the priority of each order is calculated according to the placement information, the ordering condition of the order, the scheduled delivery amount, and the frequency control requirement, and the order with the highest order priority is used as the first order corresponding to the placement information. .
  • the media data processing method provided by the present application further includes the following steps:
  • S11 Set configuration information of the second order, where the configuration information is used to indicate whether a second order is selected for each first order in the media content delivery.
  • the server 1 sets configuration information of media content delivery, and the configuration information indicates whether an alternative order is selected for the order in the media content delivery.
  • This configuration information can be set by an administrator of the server 1 (for example, a provider platform).
  • the media data processing method provided by the embodiment of the present invention may further include S106-S107. as follows:
  • step S106 reading configuration information preset for the second order is performed.
  • the configuration information is used to indicate whether the traffic reuse policy is enabled (ie, whether a second order is selected for each first order).
  • the traffic reuse policy is logic for selecting an alternate order for each order in the media content delivery.
  • the server ie, the multimedia server
  • the server may be configured with a traffic multiplexing policy, where the traffic multiplexing policy may be a starting condition for selecting a second order, and the traffic multiplexing policy may be applied in a single menu. It can also be applied at the second selection.
  • the server 1 if there is no selected order in the feedback response of the DSP, the server 1 needs to perform a secondary menu, that is, a process of selecting an order for the second time to push the multimedia data.
  • the server when the traffic multiplexing policy is enabled, the server performs the selection process of the alternative order, that is, the second order. Therefore, before the selection of the candidate order by the multiple servers, it is first detected whether the traffic is started.
  • the reuse strategy if not activated, follows the existing menu logic to perform the menu and delivery process.
  • step S107 when the configuration information is the first predetermined parameter, one or more second orders corresponding to the first orders are acquired according to the order list.
  • the first predetermined parameter characterizes the opening of the traffic multiplexing, that is, selecting the second order for the first order.
  • an alternate order is selected for each selected order.
  • the server detects whether the traffic reuse policy is started, if the server detects that the traffic reuse policy has been enabled, the server can start the process of selecting the second order. That is, since the traffic multiplexing policy is the starting condition for selecting the second order, the media provided by the embodiment of the present invention can be performed only when the traffic multiplexing policy is enabled or started. Data processing method.
  • the media data processing method provided by the embodiment of the present invention is a process of selecting a programmatic multimedia data, and in a normal Cost Per Mille (CPM) advertisement or multimedia.
  • the server also has to process or process the regular advertisement or multimedia data.
  • the media data processing method provided by the embodiment of the present invention is used before the server performs the menu for the multimedia data of the DSP type. Otherwise, the current menu logic is used to push the multimedia data.
  • the server prepares an insertion order (ie, a multimedia data display position) of an order for selecting a brand-programmed multimedia data when the traffic reuse policy is enabled, and prepares an alternative order according to the first preset menu policy at the location. (Second order).
  • S106-S107 is executed before S103, and the execution order of S106-S107 before S103 is not limited in the embodiment of the present invention, and may be performed before S101 or between S101-S102, and may also be performed at S102.
  • the implementation of the embodiment of the present invention is not limited.
  • the media data processing method provided by the present application further includes the following steps:
  • the steps include:
  • the first order when sorting, is ranked first, and each second order may be sorted according to the priority of each second order, or The second order is sorted by weight.
  • the DSP selects according to the sorting, first matches the first order to determine whether to select, and so on to match each order in the sorting.
  • a media data processing method provided by an embodiment of the present invention may further include S108. as follows:
  • S108 Record the push amount of each multimedia data in the first order and the second order according to the child order and the first order.
  • step S108 executing the selected order sent by the DSP of the first order to determine the third order of the first order and the one or more second orders corresponding to the first order; The push quantity of the third order; when the push quantity of the third order reaches the preset quantity value of the third order, the order is deleted from the order set.
  • the ordering of one or more alternate orders for the order is determined, specifically, the order of each candidate order can be prioritized.
  • the order of order A is D, E. If the priority of order D is greater than the order E, the order of the set determined by the order and the alternate order is A, D, E.
  • the sorting is sent to the DSP at the same time, and when the DSP selects the order, the sorting is performed according to the sorting.
  • it is determined that A is not selected it is determined whether D is selected, and finally whether E is selected.
  • the DSP feedback selects the order D it indicates that A and D have been matched and judged.
  • both order A and order D record a push. That is, the selected order and the number of pushes for the order before the selected order are incremented by one.
  • Each order corresponds to a preset push quantity. When the push quantity of an order reaches its preset push quantity, the order is deleted from the order set, and the order is not sent to the DSP before.
  • the server receives the feedback response to the order set, parses the sub-order of the order set from the feedback response, and sends the sub-order to the first terminal, which indicates that the multimedia data corresponding to the sub-order in the order set pushed by the server is successful.
  • the server still needs to count the push amount of the multimedia data pushed this time, that is, how much multimedia data is selected by the DSP.
  • the server receives the feedback response to the order set, parses the sub-order of the order set from the feedback response, and after sending the sub-order to the first terminal, the server can be based on the sub-order and the first order (order and candidate)
  • the order formed after the order is sorted, the order that has been selected is inferred, so that the pushed amount of the selected order can be updated, that is, the selected order is updated and the push amount of the order before the selected order is sorted.
  • the DSP selects the orders to be placed in the first order and feeds back in all the order sets. Therefore, if the server parses out an order (in the order set) in the received feedback response, the server records the order and the order before the order is pushed once.
  • each DSP the number of sub-orders (the selected orders) fed back by each DSP is the same as the number of multimedia data display positions. After the DSP selects an order corresponding to a multimedia data display bit from the order set, the DSP does not select or traverse the order that is sorted after the order, and therefore, the order server corresponding to the order does not record that it is pushed. once.
  • the multimedia data in the DSP reply sub-order is A, F, I (ie multimedia) Orders A, F, and I) are parsed in the sub-orders received by the server, where A-(alternative DE) corresponds to exposure opportunity 1, B-(alternative FG) corresponds to exposure opportunity 2, C-(alternative HI) Corresponding to the exposure opportunity 3, then, the multimedia server records the order A for one exposure for the exposure opportunity 1, and the push for the orders B and F for the exposure opportunity 2, and the push for the orders C, H, and I for the exposure opportunity 3.
  • a media data processing method provided by an embodiment of the present invention may further include S109. as follows:
  • each multimedia data in the first order and the second order is recorded and pushed once.
  • step S109 executing the selected order sent by the DSP that has not received an order, updating the push quantity of the second order corresponding to the first order and the first order, when the first When there is a preset quantity value in the order and the second order that reaches the corresponding order, the order is deleted from the order set.
  • the characterization DSP does not select the required order from the order set (including the first order corresponding to the DSP and one or more second orders), the order in the order set They have all been selected and have not been selected (ie, there are no sub-orders), so the server pushes all the orders in the order collection once, which is to increase the number of pushes for all orders in the order collection by one.
  • the server may not receive the feedback response to the order set, and the server needs to be the first
  • Each multimedia data in the order and the second order is recorded as a push.
  • Each order corresponds to a preset push quantity. When the push quantity of an order reaches its preset push quantity, the order is deleted from the order set, and the order is not sent to the DSP before.
  • the multimedia server when there is no feedback from the DSP, the multimedia server needs to perform a secondary menu, and then the ADX records all the push orders pushed in this time. In addition, if there is no feedback for an exposure opportunity or multimedia data display bit DSP, then the order corresponding to all the multimedia data corresponding to the multimedia data display position is pushed once.
  • the server considers that the same customer order of the user can no longer be selected in the push order collection, and then the DSP needs to synchronize the multimedia in each first order in advance.
  • An alternative order white list is allowed in the data (previously only the synchronization is completely non-overlapping, and the overlap of some users is gradually relaxed later). Therefore, in the embodiment of the present invention, the alternative orders of each order in the white list synchronized by the DSP are selected. An alternate order for an order is selected in the collection, and the selected alternative order cannot exceed the range of the alternative order set in the whitelist.
  • the server when the server performs the order menu of the multimedia data, in addition to obtaining the first order in response to the first request, the second order for the alternative corresponding to the first order is acquired, that is, The order in the second order can be selected when the first order is not selected, so that the push amount of one request is increased, that is, the total number of traffic pushes can be increased, thereby alleviating the shortage problem.
  • the order execution rate is increased.
  • the media data processing method provided by the present application further includes step S21: preset a second order quantity upper limit of each first order.
  • a media data processing method when performing the foregoing step S103, executing the order list obtained according to the method, and acquiring one or more corresponding to each first order.
  • it may include: S1031-S1034. as follows:
  • S1013 Perform pre-processing on the first multimedia data set to obtain a first candidate multimedia data set (candidate order set).
  • step S1031 When performing the above step S1031, performing a second order for finding a candidate corresponding to the first order in the order list for a first order; selecting an impression corresponding to the first order in the order set The location information and the third order matching the identifier of the DSP corresponding to the first order; the second order in which the candidate exists and the order in the third order are added to the candidate order set.
  • the server 1 stores an order set, and when the first order is selected, the order with the highest priority among the order set is used as the first order. In this process, the priority of each order needs to be calculated and sorted.
  • a maximum number of upper limits is preset, for the other orders in the sort except for the first order, for example, when the upper limit of the number is M, the first M orders are obtained from the remaining orders in the sort.
  • an order in which the same DSP identifier as the first order is selected is selected (thus the selected second order has the same DSP identifier as the first order) is selected as the third order.
  • An order in the second order in which the candidate exists is added to the candidate order set.
  • the remaining CPM orders include a PD order, a PDB order, and an RTB order.
  • Select the PDB order in the remaining CPM (because the method of the present application is applied in the PDB delivery mode), select the same order of the DSP as the first order in the selected PDB order, and finally select the selected DSP order and candidate
  • the set of the second order is intersected to obtain the candidate order set.
  • the media data processing method provided by the present application further includes the steps of: traversing each of the candidate order sets, when the order is mutually exclusive with the first order, or with the candidate order set When other orders in the order are mutually exclusive, the order is deleted from the candidate order set.
  • Determining whether an order is mutually exclusive with the first order or other second orders determining whether the order is mutually exclusive with the advertisers of other orders, specifically, a mapping table of mutually exclusive advertisers may be established, according to the mapping table Determine if the order is mutually exclusive with other orders.
  • the server can preset the frequency of sharing the order with other orders.
  • the shared frequency refers to the number of times the order is sent to a DSP simultaneously with other orders in a fixed time.
  • the server synchronizes a first multimedia data set (order list) from the DSP through an offline module, and the first multimedia data set includes an order transaction identifier of a different user (for example, Deal) ID).
  • the DSP transmits the Deal ID to the multimedia server as a protocol buffer file through the offline module.
  • the DSP synchronizes a first multimedia data set (order white list, also called an order list) for the multimedia server (server 1), and transmits it according to the protocol buffer protocol.
  • order white list also called an order list
  • the file format is defined as follows:
  • steps S10311-S10313 are included. That is, in the media data processing method provided by the embodiment of the present invention, the server performs pre-processing on the candidate order set, and the process of obtaining the candidate order set may include: S10311-S10313. as follows:
  • the server first establishes a first inverted index corresponding to the first multimedia data set to the first multimedia data set.
  • the multimedia server constructs an inverted index of two pieces of multimedia data in a bitmap manner based on the first multimedia data set (the white list of orders obtained according to the order list synchronized by each DSP) (ie, the first Inverted index): a mapping of dsp and its second multimedia data set, the dspid field carried by the multimedia server (Server 1) own multimedia data resource file is a key value; one piece is a second multimedia data set
  • the mapping with the first multimedia data set, with the order number of the whitelist resource as the key value ie, in the white list, the optional order set of the main order is stored).
  • the number of bits of the two bitmaps is the number of orders for the multimedia ordered by the current system, and is mapped from the smallest to the largest according to the order identification number.
  • the first inverted index in the embodiment of the present invention is used to retrieve multimedia data.
  • S10312 Filter the first multimedia data set according to the first inverted index and the preset screening rule, and select a first candidate multimedia data set, where the preset screening rule is used to select a useful near the first order. Order.
  • the server After the server first establishes the first inverted index corresponding to the first multimedia data set to the first multimedia data set, the preset filtering policy for selecting a useful order close to the first order is set in the server. Therefore, the server may filter the first multimedia data set according to the first inverted index and the preset screening rule, and select the first candidate multimedia data set.
  • the useful order in the embodiment of the present invention refers to an order that meets the order characteristics of a certain DSP in the optional CPM order set. That is, the server performs preliminary quick screening work on the first multimedia data set through the first inverted index.
  • a multimedia data display bit selects a GPB order (first order) A, which corresponds to dspid is X (which is the identifier of the DSP), when the server is in the DSP order
  • the GPB order set is identified as the type field of the order information as all multimedia data of the GPB order.
  • the foregoing sets are all encoded as a bitmap inverted index. Therefore, the multimedia server may filter the first multimedia data set according to the first inverted index and the preset screening rule, and select the first candidate multimedia data set.
  • the multimedia server can push for multiple DSPs. Therefore, when selecting multimedia data, it is necessary to specify which DSP order set is given. Therefore, the screening process in the above example is required.
  • the multiplexed multimedia data of the first candidate multimedia data is traversed according to preset mutual exclusion logic to exclude mutually exclusive multimedia data, to obtain a first candidate multimedia data set.
  • the server filters the first multimedia data set according to the first inverted index and the preset screening rule, and after the first candidate multimedia data set is selected, there may be mutual exclusion in the first candidate multimedia data set.
  • the multimedia data therefore, the server may further traverse the first candidate multimedia data set to exclude the mutually exclusive multimedia data according to the preset mutual exclusion logic, thereby obtaining the first candidate multimedia data set.
  • the preset mutual exclusion logic may include: excluding the multimedia data set (second order) and the first order, the mutual exclusion of the multimedia data, the mutual exclusion of the multimedia user, the repetition of the material MD5, and the overclocking of the shared frequency. Wait for the order.
  • the server may traverse the first candidate multimedia data set by using the CPM regular menu logic, which is not limited in the embodiment of the present invention.
  • the duration matching of the material is performed. If the material duration of the multimedia data included in the first candidate multimedia data set is greater than the duration of the multimedia data in the corresponding first order, the multimedia data needs to be excluded.
  • S1032 Calculate a priority and a weight of each multimedia data in the first candidate multimedia data set, and construct a first index corresponding to each multimedia data.
  • the first candidate order is formed according to each multimedia data and its corresponding first index.
  • the priority of each order in the candidate order set is calculated according to the placement information (including the information of the display position and the audience user characteristics) and the orientation condition of the order.
  • the priority characterizes the degree to which the order matches the corresponding display bit.
  • the weight of the order can be determined based on the predetermined exposure of the order.
  • the server may calculate the first candidate multimedia data set (candidate) The priority and weight of each order in the order collection).
  • the server can construct a priority-weighted secondary index (first index) corresponding to each order, and the server constitutes a first candidate order according to each order and its corresponding first index, ie the server will each The order in the candidate order set has its corresponding priority-weighted secondary index placed in each multimedia data in the corresponding first candidate multimedia data set, constituting the first candidate order.
  • the multimedia data can calculate its priority and weight according to factors such as importance, cost, and resources.
  • the server may use the CPM menu logic to calculate the priority and the weight of each multimedia data in the first candidate multimedia data set, which is not limited in the embodiment of the present invention.
  • the priority-weight secondary index is as shown in FIG. 9.
  • Each multimedia data in the first candidate multimedia data set has a corresponding priority Order Set1-1, Order Set1-2, ..., Order Set1. -N and weight WEIGHT 1, WEIGHT 2, .ising, WEIGHT N, etc.
  • step S1034 When performing the above step S1034, determining, according to the priority and weight of the first order, the priority and weight of the orders, and the second order quantity upper limit of the first order, determining one corresponding to the first order Or multiple second orders.
  • the server can be based on the priority, weight and candidate order set of the first order.
  • the priority and weight of each order in the order, and the second order corresponding to the first order is selected from the candidate order set.
  • the preset alternative multimedia data (alternative order) upper limit in the embodiment of the present invention includes a first candidate order upper limit and a second alternative order upper limit.
  • the number of candidate multimedia data (alternative order) corresponding to the first order selected by the server is that a first candidate multimedia data upper limit (the upper limit of the first candidate order) may be set.
  • the total multimedia data upper limit in the second order (the second alternative order upper limit, that is, the sum of the number of each second order corresponding to each first order) is also configurable.
  • the server selects the alternative order (second order) corresponding to the first order, only one of the priority and the weight is higher or heavier than the first order, but the first order is selected.
  • the number of corresponding alternative orders cannot exceed the first alternative order limit.
  • the total number of total alternate orders in each of the first order pair mobile second order cannot exceed the second alternate order limit.
  • the multimedia server selects the second order based on the priority X and the weight N of the first order and the configured two types of alternative order caps (the first alternate order cap and the second alternate order cap).
  • the multimedia server first traverses the candidate order set according to the priority of the first order, and directly places the order with the priority higher than X in the candidate order set into the second order (directly as an alternative order); for the order in the candidate order set
  • an order whose weight is greater than or equal to N is selected to be placed in the second order (the second order includes the selected alternative order).
  • the multimedia server is in the menu process, the number of candidate orders of one of the main orders in the second order reaches the first candidate order limit, the selection of the candidate order of the main order is ended, and if the upper limit is not reached, the process proceeds. The selection of an alternate order for this master order.
  • the weights of the weights of the multimedia data A, B, C, and D are normalized as shown in FIG. 10, wherein the length of the long strip in FIG. 10 corresponds to the weight of the order. .
  • the second order that can be pushed may include B, C, D; for order B in the first order, the second order that can be pushed may include D.
  • the server performs the menu of the alternative order by traversing all the multimedia data display bits as described above, and after completing the menu (after the second order is selected), the GPB push is performed (the first order and the first order are corresponding through ADX).
  • the second order consists of a set of orders pushed to the DSP).
  • the media data processing method provided by the present application sends an order placement inquiry request to the DSP, for the same exposure, the request not only carries the main order, but also carries the candidate order, and improves the order reply corresponding to the inquiry request. Rate, and thus improve the efficiency of media content push.
  • the traffic multiplexing technology solution solves the problem of order coverage and shortage of the same DSP for the DSP, so that the DSP can select a wider range in each request exposure opportunity, and the original one selection is promoted to the multiplexing N times, and the reasonable selection Multiple orders in each exposure.
  • the order reply rate of the inquiry request is increased, the shortage is reduced, the multimedia data is more efficiently delivered, and the traffic realizing ability of the server 1 is improved.
  • an embodiment of the present invention provides a server 1, which may include:
  • the receiving unit 10 is configured to receive a first request from the first terminal, where the first request is used to request to send multimedia data to the first user corresponding to the first terminal.
  • the obtaining unit 11 is configured to obtain, according to the first request, a synchronized first multimedia data set to be used as an alternative to data completion;
  • the selecting unit 12 is configured to select a first order corresponding to the first request from a local second multimedia data set; and from the first multimedia data set according to the first preset menu policy Selecting a second order corresponding to the first order.
  • the sending unit 13 is configured to send the order set obtained by the first order and the second order.
  • the receiving unit 10 is further configured to receive a feedback response to the order set.
  • the parsing unit 14 is configured to parse the sub-order of the order set from the feedback response.
  • the sending unit 13 is further configured to send the sub-order to the first terminal, and the first terminal sequentially loads and plays at least one multimedia data in the sub-order.
  • the first request carries N multimedia data display bits for requesting multimedia data, and the N multimedia data display bits are arranged in a first order, where N is greater than or equal to 1.
  • the number of multimedia data in the first order is N, and the first order corresponds to the N multimedia data display positions.
  • the selecting unit 12 is specifically configured to perform pre-processing on the first multimedia data set to obtain a first candidate multimedia data set; and calculate a priority of each multimedia data in the first candidate multimedia data set. Weighting, constructing a first index corresponding to each of the multimedia data; and forming a first candidate order according to the first index corresponding to each of the multimedia data; and according to the calculated priority of the first order Level, weight and preset alternative multimedia data upper limit, the second order corresponding to the first order is selected from the first candidate order.
  • the selecting unit 12 is further configured to: establish a first inverted index corresponding to the first multimedia data set; and, according to the first inverted index and a preset screening rule, the first multiple
  • the media data set is filtered to select a first candidate multimedia data set, the preset screening rule is configured to select a useful order that is close to the first order; and traverse the first according to preset mutual exclusion logic
  • the candidate multimedia data set excludes mutually exclusive multimedia data, and the first candidate multimedia data set is obtained.
  • the server 1 further includes a detecting unit 15 and a starting unit 16.
  • the detecting unit 15 is configured to detect whether to start traffic multiplexing before selecting a second order corresponding to the first order from the first multimedia data set according to the first preset menu policy
  • the policy wherein the traffic reuse policy is a start condition for selecting the second order, and the traffic reuse policy takes effect when a menu is selected.
  • the initiating unit 16 is configured to start a process of selecting the second order if it is detected that the traffic multiplexing policy has been started.
  • the first order in the order set is arranged in the first order.
  • the parsing unit is configured to parse, from the feedback response, first multimedia data corresponding to the first multimedia data display position, and at least one of the first multimedia data forms the sub-order,
  • the first multimedia data presentation bit is any one of the N multimedia data presentation bits, and the first multimedia data is selected from the first order and the second order corresponding thereto a multimedia data.
  • the server 1 further includes a recording unit 17.
  • the recording unit 17 is configured to record the first order and the second according to the child order and the first order after the child order of the order set is parsed from the feedback response The amount of push for each multimedia data in the order.
  • the server 1 further includes a recording unit 17.
  • the recording unit 17 is configured to: after the sending the order set obtained by the first order and the second order, if the feedback response to the order set is not received, the first order and the Each multimedia data in the second order is recorded and pushed once.
  • the application also provides a non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to perform the method as described above.
  • FIG. 15 is a diagram showing the structure of a computing device in which the present application provides a server.
  • the computing device includes one or more processors (CPUs) 18, storage media 111, generators 110 and receivers 19, and a communication bus 112 for interconnecting these components.
  • the instruction code stored in the storage medium is configured to be executed by the processor to implement the steps in the media data processing method of the present application described above while implementing the functions of the various modules in the server of the present application.
  • the processor 18 is specifically implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), and the storage medium 111, the receiver 19, and the transmitter.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA field programmable gate array
  • storage medium 111 is for storing executable program code
  • the program code includes computer operating instructions
  • storage medium 111 may include high speed RAM memory, and may also include non-volatile A memory, for example, at least one disk storage.
  • the server when the server performs the order menu of the multimedia data, in addition to acquiring the first order in response to the first request, the second unit corresponding to the first order is obtained, that is, The multimedia data in the second order may be selected when the multimedia data in the first order is not selected, so that the amount of push of one request is increased, that is, the total number of traffic pushes can be increased, thereby alleviating The shortage problem also increases the order execution rate.
  • embodiments of the embodiments of the invention may be provided as a method, system, or computer program product.
  • embodiments of the invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware.
  • embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
  • Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Marketing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Multimedia (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

A media data processing method, applied to a server and comprising: receiving a media content push request sent by a client; selecting from a local order set one or more first orders corresponding to the media content push request in response to the media content push request; acquiring one or more second orders corresponding to each first order according to the acquired order list, wherein the order list comprises a candidate second order corresponding to each first order; and sending the each first order and the second order corresponding to the each first order to a DSP of the each first order, receiving a selected order sent by the DSP of the each first order, and sending media content corresponding to the selected order to the client for display.

Description

媒体数据处理方法、服务器及存储介质Media data processing method, server and storage medium
本申请要求于2017年2月9日提交中国专利局、申请号为201710071061.0、申请名称为“一种多媒体数据的处理方法及服务器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 9, 2017, the Chinese Patent Office, the application number is 201710071061.0, and the application name is "a processing method and server for multimedia data", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本发明实施例涉及互联网领域中的数据处理技术,尤其涉及媒体数据处理方法、服务器及存储介质。Embodiments of the present invention relate to data processing technologies in the field of the Internet, and in particular, to a media data processing method, a server, and a storage medium.
背景技术Background technique
随着互联网技术的发展,信息交互的形式呈现多样化。以广告信息为例,在广告信息的几种交互模式中,服务器在接收到一次请求对其进行处理的过程中,该一次请求中可以有多个曝光机会,该服务器针对一个曝光机会推送一个广告订单,通过该广告订单是否被选中,来决定该广告订单在终端的投放。With the development of Internet technology, the form of information interaction is diversified. Taking the advertisement information as an example, in several interaction modes of the advertisement information, in the process of receiving a request for processing by the server, the server may have multiple exposure opportunities in one request, and the server pushes an advertisement for an exposure opportunity. The order determines whether the insertion order is served at the terminal by whether the insertion order is selected.
技术内容Technical content
本发明实施例提供了一种媒体数据处理方法,包括:The embodiment of the invention provides a media data processing method, including:
接收客户端发送的媒体内容推送请求;Receiving a media content push request sent by the client;
响应所述媒体内容推送请求,从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单;Responding to the media content push request, selecting one or more first orders corresponding to the media content push request from a local order set;
依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单,其中,所述订单列表中包括各第一订单对应的候选的第二订单;Obtaining, according to the obtained order list, one or more second orders corresponding to the first orders, wherein the order list includes a second order candidate corresponding to each first order;
将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP,接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示。Sending a second order corresponding to each first order and each first order to the DSP of each first order, receiving the selected order sent by the DSP of each first order, and transmitting the media content corresponding to the selected order Show to the client.
本发明实施例提供了一种服务器,包括一个或一个以上处理器和一个或一个以 上存储器,所述一个或一个以上存储器包括计算机可读指令,经配置由所述一个或者一个以上处理器执行以实现:An embodiment of the present invention provides a server including one or more processors and one or more memories, the one or more memories including computer readable instructions configured to be executed by the one or more processors achieve:
接收客户端发送的媒体内容推送请求;Receiving a media content push request sent by the client;
响应所述媒体内容推送请求,从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单;Responding to the media content push request, selecting one or more first orders corresponding to the media content push request from a local order set;
依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单,其中,所述订单列表中包括各第一订单对应的候选的第二订单;Obtaining, according to the obtained order list, one or more second orders corresponding to the first orders, wherein the order list includes a second order candidate corresponding to each first order;
将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP,接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示。Sending a second order corresponding to each first order and each first order to the DSP of each first order, receiving the selected order sent by the DSP of each first order, and transmitting the media content corresponding to the selected order Show to the client.
本发明实施例还提供了一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如上述所述的方法。The embodiment of the present invention further provides a non-transitory computer readable storage medium storing computer readable instructions, which may cause at least one processor to perform the method as described above.
附图说明DRAWINGS
图1为本发明实施例提供的一种服务器与终端交互系统架构图;FIG. 1 is a schematic structural diagram of a server and a terminal interaction system according to an embodiment of the present invention;
图2为本发明实施例提供的一种多媒体数据的处理系统架构图;2 is a structural diagram of a multimedia data processing system according to an embodiment of the present invention;
图3为本发明实施例提供的一种多媒体数据的处理方法流程图一;FIG. 3 is a flowchart 1 of a method for processing multimedia data according to an embodiment of the present invention;
图4为本发明实施例提供的一种多媒体数据的处理方法流程图二;4 is a second flowchart of a method for processing multimedia data according to an embodiment of the present invention;
图5为本发明实施例提供的一种多媒体数据的处理方法流程图三;FIG. 5 is a flowchart 3 of a method for processing multimedia data according to an embodiment of the present invention;
图6为本发明实施例提供的一种多媒体数据的处理方法流程图四;FIG. 6 is a flowchart 4 of a method for processing multimedia data according to an embodiment of the present invention;
图7为本发明实施例提供的一种多媒体数据的处理方法流程图五;FIG. 7 is a flowchart 5 of a method for processing multimedia data according to an embodiment of the present invention;
图8为本发明实施例提供的一种多媒体数据的处理方法流程图六;FIG. 8 is a flowchart 6 of a method for processing multimedia data according to an embodiment of the present invention;
图9为本发明实施例提供的示例性的优先级-权重二级索引结构示意图;FIG. 9 is a schematic diagram of an exemplary priority-weight secondary index structure according to an embodiment of the present invention;
图10为本发明实施例提供的示例性的多媒体数据的权重对比图;FIG. 10 is a weight comparison diagram of exemplary multimedia data according to an embodiment of the present invention; FIG.
图11为本发明实施例提供的一种服务器的结构示意图一;FIG. 11 is a schematic structural diagram 1 of a server according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种服务器的结构示意图二;FIG. 12 is a schematic structural diagram 2 of a server according to an embodiment of the present disclosure;
图13为本发明实施例提供的一种服务器的结构示意图三;FIG. 13 is a schematic structural diagram 3 of a server according to an embodiment of the present disclosure;
图14为本发明实施例提供的一种服务器的结构示意图四;FIG. 14 is a schematic structural diagram 4 of a server according to an embodiment of the present disclosure;
图15为本发明实施例提供的一种服务器的结构示意图五。FIG. 15 is a schematic structural diagram 5 of a server according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
图1为本发明实施例中一种服务器与终端交互系统的架构图,图1中包括:一个或多个服务器1、终端2及网络3,网络3中包括路由器,网关等等网络实体,图中并未体现。终端2通过有线网络或者无线网络与服务器1进行多媒体数据的交互,以便将从终端2采集到的第一请求传输至服务器1,服务器1将响应第一请求的多媒体数据反馈给终端2,以便终端2可以播放该多媒体数据。终端的类型如图1所示,包括手机、平板电脑或PDA、台式机、PC机、智能TV等类型。其中,终端中安装有各种用户所需的第一应用,比如具备娱乐功能的应用(如视频应用,音频播放应用,游戏应用,阅读软件、聊天应用和直播应用),又如具备服务功能的应用(如地图导航应用、团购应用、拍摄应用等)。FIG. 1 is a schematic structural diagram of a system for interacting a server and a terminal according to an embodiment of the present invention. FIG. 1 includes: one or more servers 1, a terminal 2, and a network 3, and the network 3 includes a network entity such as a router, a gateway, and the like. Not reflected in it. The terminal 2 performs multimedia data interaction with the server 1 through a wired network or a wireless network, so that the first request collected from the terminal 2 is transmitted to the server 1, and the server 1 feeds back the multimedia data in response to the first request to the terminal 2, so that the terminal 2 can play the multimedia data. The type of terminal is shown in Figure 1, including mobile phones, tablets or PDAs, desktops, PCs, smart TVs, and so on. The terminal is installed with a first application required by various users, such as an application having entertainment functions (such as a video application, an audio playback application, a game application, a reading software, a chat application, and a live application), and a service function. Applications (such as map navigation applications, group buying applications, shooting applications, etc.).
由服务器1向终端反馈的多媒体数据可以为推荐的媒体内容,例如,推送的新闻、广告、文章等。当推送的媒体内容为广告时,需要说明的是,在程序化广告的几种交易模式中,私有程序化购买(PDB,Programmatic Direct Buying)和实时竞价(RTB,Real Time Bidding)是两种主流的交互模式。RTB:多媒体服务器的每一次曝光机会(对应第三方的需求方平台(DSP,Demand Side Platform),通过竞价的方式选择价高者得。PDB指保价保量的程序化广告投放方式。The multimedia data fed back by the server 1 to the terminal may be recommended media content, such as pushed news, advertisements, articles, and the like. When the pushed media content is an advertisement, it should be noted that among the several transaction modes of programmatic advertisement, PDB (Programmatic Direct Buying) and Real Time Bidding (RTB) are two mainstreams. Interactive mode. RTB: Each exposure opportunity of the multimedia server (corresponding to the third-party demand side platform (DSP, Demand Side Platform), the bidder is selected by the bidding method. The PDB refers to the programmatic advertisement delivery method of the insured price.
基于上述架构,本发明实施例中的服务器1可以为:投放媒体内容的服务器。本发明实施例提供的一种媒体数据处理流程,应用在PDB模式中时。其中,所述服务器1可以为服务器集群,其中包括广告投放系统中的供应方平台(SSP),还可以包括广告交易平台(ADX)。本申请提供的媒体数据处理流程除了可以应用到广告投放系统中,还可以应用到其他的多媒体投放系统中,例如,新闻的推荐、文章的推荐中。如图2所示,服务器1接收来自第一终端2的第一请求,该第一请求可以为媒体内容投放请求。第一请求中可以包括多个曝光机会,针对每一个曝光机会,服务器1中存储有订单集合,每一个订单对应一个媒体内容。该服务器1的广告引擎1-1在所述订单集合中选出各曝光机会对应的订单后,将选出的多个曝光机会对应的多个订单通过服务器1的广告交易平台1-2(ADX,Ad Exchange)推送(实时 请求)给一个或多个需求方平台(DSP)DSP 4。订单中携带DSP对应的订单交易标识(deal ID),根据该标识将订单发送给对应的DSP。之后,DSP 4可以从上述每一次曝光机会对应的至少两个订单中选出一个广告订单(反馈响应),并将选出的广告订单通过ADX 1-2反馈给广告引擎1-1,并通过广告引擎1-1将选出的订单发送到第一终端2上进行投放。Based on the foregoing architecture, the server 1 in the embodiment of the present invention may be: a server that delivers media content. A media data processing flow provided by an embodiment of the present invention is applied in a PDB mode. The server 1 may be a server cluster, including a provider platform (SSP) in an advertisement delivery system, and may also include an advertisement transaction platform (ADX). The media data processing flow provided by the present application can be applied to other multimedia delivery systems in addition to the advertisement delivery system, for example, recommendation of news, recommendation of articles. As shown in FIG. 2, the server 1 receives a first request from the first terminal 2, which may be a media content delivery request. The first request may include a plurality of exposure opportunities. For each exposure opportunity, the server 1 stores a set of orders, and each order corresponds to one media content. After the advertisement engine 1-1 of the server 1 selects an order corresponding to each exposure opportunity in the order set, the plurality of orders corresponding to the plurality of selected exposure opportunities are passed through the advertisement transaction platform 1-2 of the server 1 (ADX). , Ad Exchange) push (real-time request) to one or more demand-side platform (DSP) DSP 4. The order carries the order transaction ID (deal ID) corresponding to the DSP, and the order is sent to the corresponding DSP according to the identifier. Afterwards, the DSP 4 may select one of the at least two orders corresponding to each exposure opportunity (feedback response), and feed the selected insertion order to the advertising engine 1-1 through the ADX 1-2, and pass The advertisement engine 1-1 sends the selected order to the first terminal 2 for delivery.
具体地,多媒体服务器接收来自第一终端的第一请求,该第一请求可以为多媒体推送请求,第一请求用于请求向第一终端对应的第一用户发送多媒体数据。响应第一请求,从本地的订单集合中选出与第一请求对应的一个或多个订单。同时,从各DSP获取同步的白名单,该白名单中包括对应的DSP的各订单的可选的备选订单,各备选订单对应多媒体数据,DSP将白名单以protocol buffer即PB文件形式同步给服务器1,以用作数据补齐的备选,即用以为订单选取备选订单。依据预设选单策略,从白名单中选取各订单的备选订单(具体通过建立第一倒排索引进行检索和筛选)。发送由第一订单和第二订单得到的订单列表(其中包含了第一索引),即将各订单及各订单的备选订单发送给各自对应的DSP;接收各DSP发送的反馈响应,从反馈响应中解析出子订单(DSP选取后的订单),发送各DSP对应的子订单给所述第一终端,使第一终端依序加载子订单对应的多媒体数据并播放。Specifically, the multimedia server receives the first request from the first terminal, where the first request may be a multimedia push request, and the first request is used to request to send the multimedia data to the first user corresponding to the first terminal. In response to the first request, one or more orders corresponding to the first request are selected from a local set of orders. At the same time, a synchronized whitelist is obtained from each DSP, and the whitelist includes optional candidate orders for each order of the corresponding DSP. Each candidate order corresponds to multimedia data, and the DSP synchronizes the whitelist with a protocol buffer or a PB file. Server 1 is used as an alternative to data completion, that is, to select an alternate order for the order. According to the preset menu strategy, the candidate orders of each order are selected from the white list (specifically, the first inverted index is used to search and filter). Sending a list of orders obtained by the first order and the second order (including the first index), sending each order and each order of the order to the corresponding DSP; receiving the feedback response sent by each DSP, the feedback response The child order is parsed (the order after the DSP is selected), and the sub-order corresponding to each DSP is sent to the first terminal, so that the first terminal sequentially loads the multimedia data corresponding to the sub-order and plays the same.
基于上述架构和流程,实现下述各实施例。The following embodiments are implemented based on the above architecture and flow.
本发明实施例提供了一种媒体数据处理方法,如图3所示,该方法可以包括:An embodiment of the present invention provides a media data processing method. As shown in FIG. 3, the method may include:
S101、接收来自第一终端的第一请求,该第一请求用于请求为第一终端对应的第一用户发送多媒体数据。S101. Receive a first request from a first terminal, where the first request is used to request to send multimedia data to a first user corresponding to the first terminal.
在执行上述步骤S101时,执行接收客户端发送的媒体内容推送请求。When the above step S101 is performed, the media content push request sent by the receiving client is executed.
在本发明实施例中,在第一用户集合中的第一用户通过第一终端在登录如社交应用(例如,即时聊天应用)、新闻应用等应用后,在应用上展示对应的媒体资源,例如,展示新闻、文章、微信朋友圈等。在所述展示的媒体资源上设置有展示位,该展示位用以展示推送的媒体内容,例如,推送的广告、新闻等。当客户端展示携带展示位的媒体资源时,所述客户端向服务器1发送媒体内容投放请求,即第一请求,以请求为第一用户投放媒体数据,所述投放媒体数据在所述展示的资源的展示位上展示。其中,所述投放的媒体数据,例如,投放的广告、新闻、文章等。In the embodiment of the present invention, the first user in the first user set displays the corresponding media resource on the application after logging in, for example, a social application (eg, a live chat application), a news application, or the like by using the first terminal, for example, , display news, articles, WeChat friends circle and so on. A display bit is provided on the displayed media resource, and the display bit is used to display the pushed media content, for example, pushed advertisements, news, and the like. When the client displays the media resource carrying the display bit, the client sends a media content delivery request, that is, a first request, to the server 1 to request delivery of media data for the first user, where the delivery media data is in the display The display of resources is displayed. The media data that is delivered, for example, advertisements, news, articles, and the like.
这里,第一用户在第一终端上登录如社交网络服务(SNS,Social Networking  Services)应用程序、即时通信应用程序、新闻应用程序等应用程序,由于这些应用程序的界面中设置有多媒体数据展示位,如静态广告、动态广告、视频广告等展示位等,那么,当用户登录这些应用程序并展示应用程序界面之后,第一终端会向服务器1发送请求,以请求为这些应用程序界面上的多媒体数据展示位分配多媒体数据。Here, the first user logs in an application such as a Social Networking Service (SNS) application, an instant messaging application, a news application, and the like on the first terminal, because the multimedia data display position is set in the interface of the application. For example, static advertisements, dynamic advertisements, video advertisements, etc., after the user logs in to the applications and displays the application interface, the first terminal sends a request to the server 1 to request multimedia for the application interfaces. The data display bits are assigned multimedia data.
本发明实施例中的服务器可以为媒体内容投放服务器,该媒体内容投放服务器可以包含ADX和SSP,其中SSP包括多媒体数据引擎(例如广告引擎)等。The server in the embodiment of the present invention may be a media content delivery server, and the media content delivery server may include an ADX and an SSP, where the SSP includes a multimedia data engine (such as an advertisement engine).
在本发明实施例中,第一终端可以为如智能手机、平板电脑、智能手表、笔记本电脑、台式电脑等设备,本发明实施例不作具体限定。In the embodiment of the present invention, the first terminal may be a device such as a smart phone, a tablet computer, a smart watch, a notebook computer, a desktop computer, etc., which is not specifically limited in the embodiment of the present invention.
如此,可以理解的是,上述多媒体数据可以为在应用程序的显示界面中多媒体数据展示位(也可称为曝光机会)上进行展示的信息;而请求(第一请求)可以为请求为这些多媒体数据展示位分配多媒体数据的消息。As such, it can be understood that the multimedia data may be information displayed on a multimedia data presentation bit (also referred to as an exposure opportunity) in a display interface of the application; and the request (first request) may be a request for the multimedia. The data display bit distributes messages of multimedia data.
具体的,在本发明实施例中,服务器1中的多媒体数据引擎接收来自第一终端的第一请求(媒体内容投放请求)。Specifically, in the embodiment of the present invention, the multimedia data engine in the server 1 receives the first request (media content delivery request) from the first terminal.
S102、响应第一请求,获取同步的第一多媒体数据集合,从本地的第二多媒体数据集合中选出与该第一请求对应的第一订单。S102. Acquire a synchronized first multimedia data set in response to the first request, and select a first order corresponding to the first request from the local second multimedia data set.
在执行上述步骤S102时,执行响应所述媒体内容推送请求,从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单。When the above step S102 is performed, the one or more first orders corresponding to the media content push request are selected from the local order set in response to the media content push request.
服务器1中存储有订单集合,该订单集合中包括各广告主通过DSP发送的用以进行投放的订单。该订单集合中的订单包括以保价保量的程序化投放方式的订单(PDB订单),还包括以保价不保量的程序化投放方式的订单(PDB订单),还包括以竞价方式投放的订单(RTB订单)等。The server 1 stores an order set, which includes an order sent by each advertiser through the DSP for delivery. The order in the order collection includes an order (PDB order) with a programmatic delivery method at an insured price, as well as an order (PDB order) with a programmatic delivery method that is insured at a guaranteed price, and an order placed by auction. (RTB order) and so on.
各订单包括订单的标识、订单对应的DSP的标识,同时还包括订单的定向信息、订单的预定的投放量、订单的频控要求及订单对应的媒体内容的信息(例如,订单对应的媒体内容的标识等)。媒体内容推送请求中携带第一终端的用户的标识、展示位置信息等,服务器1可以根据用户的标签获取用户的特征标签。媒体内容推送请求中可以携带一个或多个展示位置信息,服务器在选取第一订单(主订单)时,分别对各展示位置信息选取第一订单。在选取一个展示位置信息对应的第一订单时,可以根据推送请求中的用户的标签对应的用户的特征标签、所述展示位置信息,订 单的定向条件,订单的预定投放量、频控要求等因素选取所述展示位置信息对应的第一订单。例如,可以根据所述用户的特征标签、所述展示位置信息、订单集合中各订单的定向条件、订单的剩余投放量及订单的频控要求来计算订单集合中各订单的优先级,根据优先级选取与展示位置信息对应的订单。Each order includes the identification of the order, the ID of the DSP corresponding to the order, and also includes the orientation information of the order, the scheduled delivery amount of the order, the frequency control requirement of the order, and the information of the media content corresponding to the order (for example, the media content corresponding to the order) Logo, etc.). The media content push request carries the identifier of the user of the first terminal, the display location information, and the like, and the server 1 can obtain the feature tag of the user according to the tag of the user. The media content push request may carry one or more placement information, and the server selects the first order for each placement information when selecting the first order (main order). When selecting a first order corresponding to the placement information, the user may select a feature label corresponding to the user's label in the push request, the placement information, an ordering condition of the order, a predetermined delivery amount of the order, a frequency control request, and the like. The factor selects the first order corresponding to the placement information. For example, the priority of each order in the order set may be calculated according to the feature tag of the user, the placement information, the orientation condition of each order in the order set, the remaining quantity of the order, and the frequency control requirement of the order, according to the priority The level selects the order corresponding to the placement information.
服务器接收来自第一终端的第一请求(媒体内容投放请求)之后,该服务器需要响应该第一请求,从本地的第二多媒体数据集合(上述服务器1中存储的订单集合)中选出与该第一请求中各展示位置信息对应的第一订单。After the server receives the first request (media content delivery request) from the first terminal, the server needs to select from the local second multimedia data set (the set of orders stored in the server 1) in response to the first request. a first order corresponding to each of the placement information in the first request.
需要说明的是,在本发明实施例中,服务器响应第一请求,也就是服务器响应请求的过程为:该服务器根据优先级逻辑和本地中计算出的第二多媒体数据集合(订单集合)中的各订单的优先级,选取与多媒体数据展示位相同数量的第一订单。在本发明实施例中,一次第一请求可以请求这次所有多媒体数据展示位对应的多媒体数据,即媒体内容推送请求中携带一个或多个展示位置信息。It should be noted that, in the embodiment of the present invention, the process of the server responding to the first request, that is, the server responding to the request, is: the second multimedia data set (order set) calculated by the server according to the priority logic and the locality. The priority of each order in the selection, the same number of first orders as the multimedia data display position. In the embodiment of the present invention, the first request may request the multimedia data corresponding to all the multimedia data display positions, that is, the media content push request carries one or more placement information.
特别的,本发明实施例中的服务器1是需要向DSP发送询问请求,来确定待投放的订单,而第二多媒体数据集合(订单集合)中的订单的类型是有很多种的,可以包括常规订单、DSP订单,定向订单等特殊订单,其中DSP订单为携带具体DSP标识的订单,向DSP发送投放询问请求时,要根据订单中携带的DSP的标识发送给对应的DSP,定向订单可以为携带定向条件的订单,投放订单时,需要根据订单携带的定向条件与推送请求中携带的用户标识对应的用户特征进行匹配,常规订单可以为不指向具体DSP的订单。若本发明实施例是服务器1向DSP发送询问请求,根据DSP反馈的响应确定待投放的订单,则该服务器1选出的第一订单应该为DSP订单。In particular, the server 1 in the embodiment of the present invention needs to send an inquiry request to the DSP to determine an order to be placed, and the types of orders in the second multimedia data set (order set) are various. Including regular orders, DSP orders, targeted orders and other special orders, where the DSP order is an order carrying a specific DSP identification, when sending a request for inquiry to the DSP, it is sent to the corresponding DSP according to the ID of the DSP carried in the order, and the directional order can be For an order carrying an orientation condition, when the order is placed, the orientation condition carried by the order needs to be matched with the user characteristic corresponding to the user identifier carried in the push request, and the regular order may be an order that does not point to a specific DSP. If the server 1 sends an inquiry request to the DSP and determines an order to be placed according to the response of the DSP feedback, the first order selected by the server 1 should be a DSP order.
第一请求中携带N个多媒体数据展示位的信息,该N个多媒体数据展示位的信息是按照第一顺序排列的,其中,N大于等于1。The first request carries information of N multimedia data display bits, and the information of the N multimedia data display bits is arranged in a first order, where N is greater than or equal to 1.
第一订单的数量为N个,该N个订单与N个多媒体数据展示位对应。The number of first orders is N, and the N orders correspond to N multimedia data display positions.
可以理解的是,一个多媒体数据展示位只能展示一个多媒体数据,若有N个多媒体数据展示位时,服务器(多媒体服务器)就会选出N个多媒体数据展示位对应的N个多媒体数据,所述第一订单包括所述N个多媒体数据各自对应的订单。It can be understood that a multimedia data display bit can only display one multimedia data. If there are N multimedia data display bits, the server (multimedia server) selects N multimedia data corresponding to N multimedia data display positions. The first order includes an order corresponding to each of the N multimedia data.
示例性的,若第一请求要请求3个多媒体数据展示位的多媒体数据,则服务器先按照优先级逻辑从第二多媒体数据集合(服务器1中的订单集合)中选出A、B 和C三个订单。Exemplarily, if the first request is to request multimedia data of three multimedia data presentation bits, the server first selects A, B, and the second multimedia data set (order set in the server 1) according to the priority logic. C three orders.
S103、依据第一预设选单策略,从第一多媒体数据集合(订单列表)中选出与第一订单对应的第二订单。S103. Select, according to the first preset menu policy, a second order corresponding to the first order from the first multimedia data set (order list).
在执行上述步骤S103时,执行依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单,其中,所述订单列表中包括各第一订单对应的候选的第二订单。When the step S103 is performed, the one or more second orders corresponding to the first orders are obtained according to the acquired order list, wherein the order list includes the second order of the candidate corresponding to each first order.
由于服务器1选取的第一订单及第二订单最终是要发送给对应的DSP进行选取,而DSP在选单时,DSP认为相同广告主的客户订单可以不再进行选择,若果第一订单及对应的第二订单对应同一个广告主,则对应DSP在选单时,若果第一订单不选取,第二订单也不选取。为避免这种情况,那么就需要DSP提前同步每个第一订单允许备选的第二订单白名单(在这里,白名单也称为订单列表)(先期只同步完全不重叠的,后期逐步放宽部分用户的重叠)。Since the first order and the second order selected by the server 1 are finally sent to the corresponding DSP for selection, and the DSP is in the menu, the DSP considers that the same advertiser's customer order can no longer be selected, if the first order and corresponding The second order corresponds to the same advertiser, and when the corresponding DSP is in the menu, if the first order is not selected, the second order is not selected. In order to avoid this situation, then the DSP needs to synchronize each first order to allow an alternate second order white list (here, the white list is also called the order list) (previously only the synchronization is completely non-overlapping, and the later step is gradually relaxed. Overlap of some users).
在该步骤中,获取各DSP同步的订单列表,该订单列表中包括各第一订单对应的候选的第二订单。服务器1可能对应多个DSP,各DSP都向服务器1同步订单列表,一个DSP的订单列表中的第一订单及候选的第二订单都携带所述DSP的标识。各DSP可以以protocol buffer协议进行上传所述白名单。在选取一个第一订单(主订单)的第二订单(备选订单)时,根据所述第一订单的DSP的标识,查找该DSP的标识对应的订单列表,在查找到的订单列表中查找所述第一订单及所述第一订单对应的候选的第二订单,在所述候选的第二订单中选取所述第一订单对应的第二订单。In this step, a list of orders synchronized by each DSP is obtained, and the order list includes a second order of candidates corresponding to each first order. The server 1 may correspond to multiple DSPs, and each DSP synchronizes the order list with the server 1. The first order and the candidate second order in the order list of one DSP carry the identifier of the DSP. Each DSP can upload the whitelist in the protocol buffer protocol. When selecting a second order (alternative order) of the first order (master order), searching for an order list corresponding to the identifier of the DSP according to the identifier of the DSP of the first order, and searching in the found order list And selecting, by the first order and the candidate second order corresponding to the first order, selecting a second order corresponding to the first order in the candidate second order.
服务器响应第一请求,从本地的第二多媒体数据集合(服务器1本地的订单集合)中选出与该第一请求对应的第一订单之后,该服务器中有第一预设选单策略,这样服务器就可以依据第一预设选单策略,从第一多媒体数据集合(从DSP同步的订单列表,并存储在服务器1中)中选出与各第一订单对应的第二订单(一个或多个备选订单)了。其中,第一预设选单策略为选择与第一订单对应的备选订单的选单逻辑或策略。The server responds to the first request, and after selecting the first order corresponding to the first request from the local second multimedia data set (the order set of the server 1 local), the server has a first preset menu policy, In this way, the server can select a second order corresponding to each first order from the first multimedia data set (from the DSP synchronized order list and stored in the server 1) according to the first preset menu policy (one Or multiple alternative orders). The first preset menu strategy is a menu logic or policy for selecting an alternative order corresponding to the first order.
需要说明的是,在本发明实施例中,服务器选出的第二订单(备选订单)是与第一订单对应的,而第一订单对应的多媒体数据的数量又是与第一请求中的多媒体数据展示位相对应的,因此,服务器可以依据第一预设选单策略从第一多媒体数据 集合(订单列表)选出与第一订单对应的备选订单。It should be noted that, in the embodiment of the present invention, the second order (alternative order) selected by the server is corresponding to the first order, and the quantity of the multimedia data corresponding to the first order is in the first request. The multimedia data display bit is corresponding. Therefore, the server may select an alternative order corresponding to the first order from the first multimedia data set (order list) according to the first preset menu policy.
这里,第二订单对应的多媒体数据要与其对应的第一订单对应的多媒体数据的类型一致,例如,第一订单对应的一个已选第一多媒体数据为A,A为30秒多媒体数据,那么服务器选出的第二订单对应的与已选第一多媒体数据对应的备选多媒体数据也是30秒的多媒体数据,即第一多媒体数据的时长与其备选多媒体数据的时长相等。此外,订单与对应的备选订单属于同一个DSP。Here, the multimedia data corresponding to the second order is consistent with the type of the multimedia data corresponding to the corresponding first order. For example, one selected first multimedia data corresponding to the first order is A, and A is 30 seconds of multimedia data. Then, the candidate multimedia data corresponding to the selected first multimedia data corresponding to the second order selected by the server is also 30 seconds of multimedia data, that is, the duration of the first multimedia data is equal to the duration of the candidate multimedia data. In addition, the order belongs to the same DSP as the corresponding alternative order.
进一步地,在本发明实施例中,服务器选出的与第一订单中订单对应的备选订单的个数是可以设置一个第一备选订单上限的,并且第二订单中的总的订单数据的上限(第二备选订单上限)也是可以设置的,即预设备选订单上限包括第一备选订单上限和第二备选订单上限。Further, in the embodiment of the present invention, the number of candidate orders selected by the server corresponding to the order in the first order is a first candidate order upper limit, and the total order data in the second order is The upper limit (second alternative order limit) can also be set, that is, the preset alternative order upper limit includes the first candidate order upper limit and the second alternative order upper limit.
可以理解的是,服务器进行第二订单的选择时,为了避免超时及降低对其他常规订单的影响,需要考虑推送的订单数上限,因此,在本发明实施例中,服务器针对每个多媒体数据展示位的请求设置有备选订单上限,即第一备选订单上限,以及总备选订单上限,即第二备选订单上限。其中,第一备选订单上限为一个订单可设置的备选订单的数量的上限;第二备选订单上限可以为推送请求对应的多个第一订单的各第二订单的数量总和的上限。It can be understood that, when the server selects the second order, in order to avoid the timeout and reduce the impact on other regular orders, the upper limit of the number of orders to be pushed needs to be considered. Therefore, in the embodiment of the present invention, the server displays for each multimedia data. The bit request is set with an alternate order limit, the first alternate order limit, and the total alternate order limit, which is the second alternate order limit. The first candidate order upper limit is an upper limit of the number of alternative orders that can be set by one order; and the second alternative order upper limit may be an upper limit of the sum of the quantity of each second order of the plurality of first orders corresponding to the push request.
例如,第一备选订单上限为2个,第二备选订单上限为6,曝光机会(多媒体数据展示位)为3,已选第一订单为A、B和C,分别为订单A、B、C选取备选订单。例如,对于订单A,服务器选出来的第二订单(即备选订单)为D、E、F、G、H和I,根据预设选单策略在订单D、E、F、G、H和I中选取订单A的备选订单。例如,A对应(备选D-E)。For example, the first alternative order has a maximum of 2, the second alternative order has a limit of 6, the exposure opportunity (multimedia data display position) is 3, and the selected first order is A, B, and C, which are orders A and B, respectively. , C select an alternative order. For example, for order A, the second order (ie, the alternate order) selected by the server is D, E, F, G, H, and I, based on the preset menu strategy in orders D, E, F, G, H, and I. Select an alternate order for order A. For example, A corresponds to (alternative D-E).
需要说明的是,本发明实施例中的第一备选订单上限和第二备选订单上限是可以配置的,本发明实施例不作限制。It should be noted that the first candidate order upper limit and the second alternative order upper limit in the embodiment of the present invention are configurable, and are not limited in the embodiment of the present invention.
这里,本发明实施例中依据第一预设选单策略选择第二订单(备选订单)的过程将在后面实施例中进行详细的说明。Here, the process of selecting the second order (alternative order) according to the first preset menu policy in the embodiment of the present invention will be described in detail in the following embodiments.
S104、发送由第一订单和第二订单得到的订单集合。S104. Send a set of orders obtained by the first order and the second order.
在执行上述步骤S104时,执行将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP。When the above step S104 is executed, the second order corresponding to each first order and each first order is sent to the DSP of each first order.
订单与订单的备选订单对应同一个DSP,一个订单及其备选订单发送给对应的 DSP。其中,订单中携带对应的DSP信息,例如,DSP的标识。此外,选取的订单及备选订单还可以携带展示位置信息,例如,展示位置信息的标识或推送请求中的展示位置在所有展示位置信息的顺序,使得DSP选取订单并返回时,能根据返回的订单中携带的展示位置信息确定将订单在哪个展示位置展示。例如,推送请求中携带3个展示位置信息,分别对应展示位置1、展示位置2及展示位置3,针对这三个展示位置选取的订单分别A、B、C。订单A的备选订单为D、E,对应DSP1,订单B的备选订单为F、G,对应DSP2,订单C的备选订单为H、I,对应DSP3,则分别形成订单集合A-(备选D-E)、B-(备选F-G)、C-(备选H-I),将订单集合A-(备选D-E)发送给DSP1,将订单集合B-(备选F-G)发送给DSP2,将订单集合C-(备选H-I)发送给DSP3。其中,各订单集合都携带有对应的展示位置的标识。The order and the order of the order correspond to the same DSP, and an order and its alternate order are sent to the corresponding DSP. The order carries the corresponding DSP information, for example, the identifier of the DSP. In addition, the selected order and the alternate order can also carry the placement information, for example, the identifier of the placement information or the order of the placement information in the push request in all the placement information, so that the DSP can select the order and return, according to the returned The placement information carried in the order determines which placement the order is shown on. For example, the push request carries three placement information corresponding to the display position 1, the display position 2, and the display position 3. The orders selected for the three display positions are respectively A, B, and C. The order of order A is D, E, corresponding to DSP1, the order of order B is F, G, corresponding to DSP2, the order of order C is H, I, corresponding to DSP3, then form the order set A-( Alternative DE), B-(alternative FG), C-(alternative HI), send the order set A-(alternative DE) to DSP1, and send the order set B-(alternative FG) to DSP2, The order set C- (alternative HI) is sent to DSP3. Each of the order sets carries an identifier of the corresponding placement location.
服务器在获取了第一订单以及选择出了与第一订单对应的第二订单(备选订单)之后,该服务器可以将由第一订单和第二订单组成的订单集合推送出去。After the server acquires the first order and selects the second order (alternative order) corresponding to the first order, the server can push the set of orders consisting of the first order and the second order.
具体的,服务器可以通过ADX推送由第一订单和第二订单得到的订单集合至DSP,该DSP就可以从上述订单集合中选取投放的多媒体数据对应的订单了。Specifically, the server can push the order set obtained by the first order and the second order to the DSP through the ADX, and the DSP can select the order corresponding to the multimedia data delivered from the order set.
这里,第一订单和第二订单组成的订单集合是有订单顺序的,具体的,订单集合中的第一订单是按照第一顺序排列的,第二订单中的多媒体数据对应的订单按照与第一订单中的多媒体数据对应订单的对应关系排列在相应的第一订单中的多媒体数据对应的订单的后面,也就是说,第二订单也是按照第一顺序插在第一订单中对应的订单之后。Here, the order set consisting of the first order and the second order has an order order. Specifically, the first order in the order set is arranged in the first order, and the order corresponding to the multimedia data in the second order is in accordance with the order The correspondence relationship of the multimedia data corresponding to the order in an order is arranged after the order corresponding to the multimedia data in the corresponding first order, that is, the second order is also inserted in the first order after the corresponding order in the first order. .
示例性的,假设第一备选多媒体数据上限为2个,第二备选多媒体数据上限为6,曝光机会(多媒体数据展示位)为1,2和3,已选第一订单为A、B和C,其中,多媒体服务器选出的展示位1对应的订单为A,2对应的订单为B,3对应的订单为C,多媒体服务器选出来的第二订单(即备选订单)为D、E、F、G、H和I,其中,选出A对应的备选D-E,B对应的备选F-G,C对应的备选H-I,并且,服务器1将第一订单和第二订单按照A-(备选D-E),B-(备选F-G),C-(备选H-I)的顺序进行排列。其中,A-(备选D-E)对应曝光机会1,B-(备选F-G)对应曝光机会2,C-(备选H-I)对应曝光机会3。Exemplarily, assume that the first candidate multimedia data upper limit is 2, the second alternative multimedia data upper limit is 6, the exposure opportunity (multimedia data display position) is 1, 2 and 3, and the selected first order is A, B. And C, wherein the order corresponding to the display bit 1 selected by the multimedia server is A, the order corresponding to 2 is B, the order corresponding to 3 is C, and the second order selected by the multimedia server (ie, the alternate order) is D, E, F, G, H, and I, wherein an alternative DE corresponding to A, an alternative FG corresponding to B, and an alternate HI corresponding to C are selected, and the server 1 presses the first order and the second order according to A- (Alternative DE), B-(Alternative FG), C-(Alternative HI) are arranged in the order. Wherein, A-(alternative D-E) corresponds to exposure opportunity 1, B-(alternative F-G) corresponds to exposure opportunity 2, and C-(alternative H-I) corresponds to exposure opportunity 3.
进一步地,在本发明实施例中,服务器1将订单集合(包括第一订单及第二订单)携带在订单投放请求中,发送给ADX,并通过ADX生成对应DSP的实时请求 发送给DSP,以使得DSP在订单集合中进行订单的选取,供投放时使用。其中,上述发送给DSP的实时请求中携带对应订单集合。Further, in the embodiment of the present invention, the server 1 carries the order set (including the first order and the second order) in the order delivery request, sends it to the ADX, and sends a real-time request corresponding to the DSP through the ADX to the DSP, Enables the DSP to select orders in the order set for use during delivery. The real-time request sent to the DSP carries the corresponding order set.
S105、接收对订单集合的反馈响应,从反馈响应中解析出订单集合的子订单,发送该子订单给第一终端,用以该第一终端依序加载该子订单中的至少一个多媒体数据并播放。S105. Receive a feedback response to the order set, parse the sub-order of the order set from the feedback response, and send the sub-order to the first terminal, where the first terminal sequentially loads at least one multimedia data in the sub-order and Play.
在执行上述步骤S105时,执行接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示。When the step S105 is performed, the selected order sent by the DSP that receives each first order is executed, and the media content corresponding to the selected order is sent to the client for display.
服务器发送由第一订单和第二订单得到的订单集合,接收各DSP对订单集合的反馈响应之后,从反馈响应中解析出子订单,该子订单包括与第一多媒体数据展示位对应的订单。该子订单是对应DSP从该DSP对应的订单及备选订单中选取出的一个订单,一个子订单对应一个展示位置(曝光机会)。当推送请求中携带的展示位置信息为N个时,获取的子订单为N个,将子订单对应的媒体内容发送给终端设备上的客户端,以在对应的展示位置上展示。具体地,可以将订单对应的素材的链接发送给客户端,客户端根据素材的链接获取对应素材在展示位置上展示。还可以将订单对应的素材直接发送给客户端进行展示。The server sends the order set obtained by the first order and the second order, and after receiving the feedback response of each DSP to the order set, parsing out the sub-order from the feedback response, the sub-order including the corresponding corresponding to the first multimedia data display position Order. The sub-order is an order selected by the corresponding DSP from the corresponding order and the alternative order of the DSP, and one sub-order corresponds to one display position (exposure opportunity). When the number of the placement information carried in the push request is N, the obtained sub-orders are N, and the media content corresponding to the sub-order is sent to the client on the terminal device to be displayed on the corresponding display position. Specifically, the link of the material corresponding to the order may be sent to the client, and the client obtains the corresponding material to display on the placement according to the link of the material. The material corresponding to the order can also be sent directly to the client for display.
具体的,由DSP发送对订单集合的反馈响应,该反馈响应中携带了DSP从订单集合中选取的待投放的订单。在多媒体服务器接收并解析出了要投放的至少一个订单之后,该多媒体服务器就可以将子订单发送给第一终端进行投放。例如,该子订单中还包括各待投放多媒体数据的链接,用以该第一终端接收到所述子订单后,根据子订单中的各多媒体数据的链接依序加载该子订单对应的至少一个多媒体数据并在该第一终端上进行播放。Specifically, the DSP sends a feedback response to the order set, where the feedback response carries the order to be placed selected by the DSP from the order set. After the multimedia server receives and parses at least one order to be placed, the multimedia server can send the sub-order to the first terminal for delivery. For example, the sub-order further includes a link for each multimedia data to be delivered, and after the first terminal receives the sub-order, the at least one corresponding to the sub-order is sequentially loaded according to the link of each multimedia data in the sub-order. The multimedia data is played on the first terminal.
需要说明的是,在一些实例中,发送给DSP的第一订单及第二订单携带展示位置信息,从而将DSP返回的选取后的订单发送给客户端后,客户端可以根据选取后的订单中携带的展示位置信息,确定在对应展示位置上展示所述订单对应的媒体内容。例如,第一订单及第二订单携带对应展示位置的顺序标识,一个或多个第一订单中是按照第一顺序(展示位置的顺序)排列的,并且第二订单是与第一订单按照相同的顺序插入在第一订单中的,因此,服务器接收到的子订单中的订单也是具有顺序的,并且至少一个子订单是与多媒体数据展示位的顺序相对应的,因此,第一终端在接收到子订单时,可以按照多媒体数据展示位的顺序依序将该子订单中的 各订单对应的媒体内容在与其对应的多媒体数据展示位上播放出来。It should be noted that, in some examples, the first order and the second order sent to the DSP carry the placement information, so that the selected order returned by the DSP is sent to the client, and the client can be selected according to the selected order. Carrying the placement information, and determining to display the media content corresponding to the order on the corresponding placement. For example, the first order and the second order carry the sequential identification of the corresponding placement, the one or more first orders are arranged in the first order (the order of the placements), and the second order is the same as the first order. The order is inserted in the first order, therefore, the order in the sub-order received by the server is also ordered, and at least one sub-order corresponds to the order of the multimedia data display bits, so the first terminal is receiving When the sub-order is placed, the media content corresponding to each order in the sub-order can be played in the corresponding multimedia data display position in the order of the multimedia data display position.
示例性的,曝光机会(多媒体数据展示位)为1,2和3,已选第一订单为A、B和C,其中,多媒体服务器选出的展示位1对应的多媒体数据对应的订单为A,展示位2对应的多媒体数据对应的订单为B,展示位3对应的多媒体数据对应的订单为C。多媒体服务器选出来的第二订单(即备选订单)为D、E、F、G、H和I。例如,选出A对应的备选D-E,B对应的备选F-G,C对应的备选H-I,并且,多媒体服务器将第一订单和第二订单按照A-(备选D-E),B-(备选F-G),C-(备选H-I)的顺序进行排列,得到订单集合。其中,A-(备选D-E)对应曝光机会(展示位)1,B-(备选F-G)对应曝光机会(展示位)2,C-(备选H-I)对应曝光机会(展示位)3。这时,多媒体服务器将上述3个订单集合通过ADX发送给各自对应的DSP,由各DSP从订单集合中选取出来了订单A、F和I,于是,服务器1将订单A、F和I发送给第一终端,第一终端按照曝光机会1、曝光机会2和曝光机会3的顺序,在曝光机会1处展示订单A对应的多媒体数据,在曝光机会2处展示订单F对应的多媒体数据以及在曝光机会3处播放订单I对应的多媒体数据。Exemplarily, the exposure opportunity (multimedia data display position) is 1, 2, and 3, and the selected first order is A, B, and C, wherein the order corresponding to the multimedia data corresponding to the display bit 1 selected by the multimedia server is A. The order corresponding to the multimedia data corresponding to the display bit 2 is B, and the order corresponding to the multimedia data corresponding to the display bit 3 is C. The second order (ie, the alternate order) selected by the multimedia server is D, E, F, G, H, and I. For example, an alternative DE corresponding to A, an alternative FG corresponding to B, and an alternate HI corresponding to C are selected, and the multimedia server presses the first order and the second order according to A-(alternative DE), B- The order of FG) and C-(alternative HI) is arranged to obtain a set of orders. Wherein, A-(alternative D-E) corresponds to an exposure opportunity (display bit) 1, B-(alternative F-G) corresponds to an exposure opportunity (display bit) 2, and C-(alternative H-I) corresponds to an exposure opportunity (display bit) 3. At this time, the multimedia server sends the above three order sets to the corresponding DSPs through the ADX, and the DSPs select the orders A, F, and I from the order set, and then the server 1 sends the orders A, F, and I to The first terminal, the first terminal displays the multimedia data corresponding to the order A at the exposure opportunity 1 according to the order of the exposure opportunity 1, the exposure opportunity 2 and the exposure opportunity 3, and displays the multimedia data corresponding to the order F at the exposure opportunity 2 and the exposure The opportunity 3 plays the multimedia data corresponding to the order I.
示例性的,在本发明实施例中,规定DSP反馈协议的格式(反馈给服务器的格式)如下:Exemplarily, in the embodiment of the present invention, the format of the DSP feedback protocol (the format fed back to the server) is defined as follows:
反馈协议格式:application/json;charset=UTF-8;其中,反馈协议参数的表示为表1所示:The feedback protocol format is: application/json; charset=UTF-8; where the feedback protocol parameters are represented as shown in Table 1:
Figure PCTCN2018075904-appb-000001
Figure PCTCN2018075904-appb-000001
表1Table 1
反馈内容格式可以为:The feedback content format can be:
Figure PCTCN2018075904-appb-000002
Figure PCTCN2018075904-appb-000002
采用上述技术实现方案,由于服务器在进行订单选单时,除了会响应媒体内容投放请求选取各展示位置信息对应的第一订单外,还获取了用于进行备选的与第一订单对应的第二订单,也就是说,使得将第一订单及所述第一订单对应的第二订单发送给对应的DSP时,DSP在第一订单未被选中时,可以进行备选订单的选择。提高了向DSP发送的询问请求对应的订单回复率,降低了投放请求的缺量,进而提高媒体内容推送效率。提高了服务器1的流量变现能力。According to the above technical implementation, when the server performs the order menu, in addition to selecting the first order corresponding to each placement information in response to the media content delivery request, the server also obtains the second corresponding to the first order. The order, that is, when the first order and the second order corresponding to the first order are sent to the corresponding DSP, the DSP can select the alternative order when the first order is not selected. The order response rate corresponding to the inquiry request sent to the DSP is improved, the shortage of the delivery request is reduced, and the media content pushing efficiency is improved. The traffic realizing ability of the server 1 is improved.
在一些实例中,其中,所述媒体内容推送请求中携带一个或多个展示位置信息;In some examples, the media content push request carries one or more placement information;
其中,所述从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单包括:The selecting one or more first orders corresponding to the media content push request from the local order set includes:
根据所述一个或多个展示位置信息确定各展示位置信息对应的第一订单;Determining, according to the one or more placement information, a first order corresponding to each placement information;
其中,所述将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP包括:The DSP for sending the first order corresponding to each first order and each first order to each first order includes:
将各展示位置信息对应的第一订单及第二订单发送给各自对应的DSP,以使所述各第一订单的DSP从所述各第一订单及所述各第一订单对应的第二订单中选取订单;Sending the first order and the second order corresponding to the respective placement information to the corresponding DSPs, so that the DSPs of the first orders from the first orders and the second orders corresponding to the first orders are Select an order in ;
其中,所述接收各第一订单的DSP发送的选取后的订单,将所述选取后的订 单对应的媒体内容发送到所述客户端展示包括:The receiving the sent order sent by the DSP of each first order, and sending the media content corresponding to the selected order to the client, includes:
接收各第一订单的DSP发送的各展示位置信息对应的选取后的订单,将各选取后的订单发送给所述客户端以在对应展示位置上展示。Receiving the selected order corresponding to each placement information sent by the DSP of each first order, and sending each selected order to the client to display on the corresponding placement position.
在该实例中,推送请求中携带一个或多个展示位置信息,针对每一个展示位置信息,选取该展示位置信息对应的第一订单(主订单)及第二订单(备选订单),将选取的主订单及备选订单发送给对应DSP。接收各DSP发送的一个或多个子订单,子订单的个数与展示位置的个数相同,将各子订单的媒体内容发送客户端,在对应的展示位置上展示。In this example, the push request carries one or more placement information, and for each placement information, the first order (main order) corresponding to the placement information and the second order (alternative order) are selected, and the selected The master order and the alternate order are sent to the corresponding DSP. Receiving one or more sub-orders sent by each DSP, the number of sub-orders is the same as the number of display positions, and the media content of each sub-order is sent to the client and displayed on the corresponding display position.
在一些实例中,在执行所述获取所述一个或多个展示位置信息中各展示位置信息对应的第一订单时,包括以下步骤:In some examples, when performing the acquiring the first order corresponding to each placement information in the one or more placement information, the following steps are included:
针对一个展示位置信息,根据所述展示位置信息计算所述订单集合中各订单的优先级;Calculating a priority of each order in the order set according to the placement information for a piece of placement information;
将优先级最高的订单作为所述展示位置信息对应的第一订单。The order with the highest priority is used as the first order corresponding to the placement information.
针对推送请求中携带的多个展示位,服务器1分别确定各展示位对应的第一订单。上述展示位置信息中除了包括展示位的信息外,还携带推送请求对应的受众用户的特征。计算订单集合中各订单的优先级时,根据展示位置信息、订单的定向条件、预定投放量、频控要求计算各订单的优先级,订单优先级最高的订单作为展示位置信息对应的第一订单。For the plurality of display positions carried in the push request, the server 1 respectively determines the first order corresponding to each display position. In addition to the information of the display position, the above placement information carries the characteristics of the audience user corresponding to the push request. When calculating the priority of each order in the order set, the priority of each order is calculated according to the placement information, the ordering condition of the order, the scheduled delivery amount, and the frequency control requirement, and the order with the highest order priority is used as the first order corresponding to the placement information. .
进一步地,在一些实例中,本申请提供的媒体数据处理方法,进一步包括步骤:Further, in some examples, the media data processing method provided by the present application further includes the following steps:
S11:设置第二订单的配置信息,所述配置信息用以表征在媒体内容投放中是否为各第一订单选取第二订单。S11: Set configuration information of the second order, where the configuration information is used to indicate whether a second order is selected for each first order in the media content delivery.
服务器1设置媒体内容投放的配置信息,配置信息表征媒体内容投放中是否为订单选取备选订单。该配置信息可由服务器1(例如,供应方平台)的管理人员设置。The server 1 sets configuration information of media content delivery, and the configuration information indicates whether an alternative order is selected for the order in the media content delivery. This configuration information can be set by an administrator of the server 1 (for example, a provider platform).
在该实例中,如图4所示,S103之前,本发明实施例提供的媒体数据处理方法还可以包括S106-S107。如下:In this example, as shown in FIG. 4, before the S103, the media data processing method provided by the embodiment of the present invention may further include S106-S107. as follows:
S106、检测是否启动流量复用策略,其中,该流量复用策略为选择第二订单的启动条件,且该流量复用策略在一次选单时生效。S106. Detect whether a traffic multiplexing policy is started, where the traffic multiplexing policy is a starting condition for selecting a second order, and the traffic multiplexing policy takes effect when a menu is selected.
在执行上述步骤S106时,执行读取为所述第二订单预设的配置信息。配置信 息用以表征是否启用流量复用策略(即是否为各第一订单选取第二订单)。其中,流量复用策略为媒体内容投放中为各订单选取备选订单的逻辑。When the above step S106 is performed, reading configuration information preset for the second order is performed. The configuration information is used to indicate whether the traffic reuse policy is enabled (ie, whether a second order is selected for each first order). The traffic reuse policy is logic for selecting an alternate order for each order in the media content delivery.
在本发明实施例中,服务器(即多媒体服务器)可设置有流量复用策略,该流量复用策略可以为选择第二订单的启动条件,且该流量复用策略可以应用在在一次选单时,也可以应用在第二次选定时。在本发明实施例中,若是DSP的反馈响应中没有选中的订单时,该服务器1需要进行二次选单,即第二次选择订单的过程来进行多媒体数据的推送。In the embodiment of the present invention, the server (ie, the multimedia server) may be configured with a traffic multiplexing policy, where the traffic multiplexing policy may be a starting condition for selecting a second order, and the traffic multiplexing policy may be applied in a single menu. It can also be applied at the second selection. In the embodiment of the present invention, if there is no selected order in the feedback response of the DSP, the server 1 needs to perform a secondary menu, that is, a process of selecting an order for the second time to push the multimedia data.
这里,在该实施例中,当流量复用策略开启时,服务器才进行备选订单即第二订单的选择过程,因此,在多服务器进行备选订单的选取前,先要检测是否启动了流量复用策略,若是没有启动的话,则按照现有选单逻辑进行此次的选单及投放的过程。Here, in this embodiment, when the traffic multiplexing policy is enabled, the server performs the selection process of the alternative order, that is, the second order. Therefore, before the selection of the candidate order by the multiple servers, it is first detected whether the traffic is started. The reuse strategy, if not activated, follows the existing menu logic to perform the menu and delivery process.
S107、若检测到已启动流量复用策略,则开始进行选择第二订单的过程。S107. If it is detected that the traffic multiplexing policy is started, start the process of selecting the second order.
在执行上述步骤S107时,执行当所述配置信息为第一预定参数时,依据所述订单列表,获取与各第一订单对应的一个或多个第二订单。When the step S107 is performed, when the configuration information is the first predetermined parameter, one or more second orders corresponding to the first orders are acquired according to the order list.
所述第一预定的参数表征开启流量复用,即为第一订单选取第二订单。当根据读取到的配置信息确定启动流量复用策略时,即确定选取备选订单时,为选取的各订单选取备选订单。服务器检测是否启动流量复用策略之后,若是服务器检测到流量复用策略已经开启了,则该服务器就可以开始进行第二订单的选择过程了。也就是说,由于流量复用策略为选择第二订单的启动条件,因此,只有在该流量复用策略启动或开启时,才能进行备选订单的选择,即才能进行本发明实施例提供的媒体数据处理方式。The first predetermined parameter characterizes the opening of the traffic multiplexing, that is, selecting the second order for the first order. When it is determined according to the read configuration information to start the traffic reuse policy, that is, when the candidate order is determined to be selected, an alternate order is selected for each selected order. After the server detects whether the traffic reuse policy is started, if the server detects that the traffic reuse policy has been enabled, the server can start the process of selecting the second order. That is, since the traffic multiplexing policy is the starting condition for selecting the second order, the media provided by the embodiment of the present invention can be performed only when the traffic multiplexing policy is enabled or started. Data processing method.
需要说明的是,在本发明实施例中,进行本发明实施例提供的媒体数据处理方法是程序化多媒体数据的选择的过程,而在正常的千人成本(Cost Per Mille,CPM)广告或多媒体数据中,服务器还要对常规的广告或多媒体数据进行选单或处理的过程。在服务器在进行针对DSP类型的多媒体数据的选单之前,若是开启了流量复用策略,则采用本发明实施例提供的媒体数据处理方法。否则就进行目前的选单逻辑进行多媒体数据的推送了。也就是说,服务器在流量复用策略启用的情况下,针对选中品牌程序化多媒体数据的订单的插入位置(即多媒体数据展示位),在该位置上根据第一预设选单策略准备备选订单(第二订单)。It should be noted that, in the embodiment of the present invention, the media data processing method provided by the embodiment of the present invention is a process of selecting a programmatic multimedia data, and in a normal Cost Per Mille (CPM) advertisement or multimedia. In the data, the server also has to process or process the regular advertisement or multimedia data. Before the server performs the menu for the multimedia data of the DSP type, if the traffic multiplexing policy is enabled, the media data processing method provided by the embodiment of the present invention is used. Otherwise, the current menu logic is used to push the multimedia data. That is, the server prepares an insertion order (ie, a multimedia data display position) of an order for selecting a brand-programmed multimedia data when the traffic reuse policy is enabled, and prepares an alternative order according to the first preset menu policy at the location. (Second order).
需要说明的是,S106-S107在S103之前执行,在本发明实施例中不限制S106-S107在S103之前的执行顺序,可以在S101之前,也可以在S101-S102之间执行,还可以在S102-S103之间执行,本发明实施例不作限制。It should be noted that S106-S107 is executed before S103, and the execution order of S106-S107 before S103 is not limited in the embodiment of the present invention, and may be performed before S101 or between S101-S102, and may also be performed at S102. The implementation of the embodiment of the present invention is not limited.
在一些实例中,本申请提供的媒体数据处理方法,进一步包括以下步骤:In some examples, the media data processing method provided by the present application further includes the following steps:
针对一个第一订单,将所述第一订单及所述第一订单对应的一个或多个第二订单进行排序;Sorting the first order and one or more second orders corresponding to the first order for a first order;
其中,在执行所述将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP时,包括步骤:Wherein, when performing the sending the second order corresponding to each first order and each first order to the DSP of each first order, the steps include:
针对一个第一订单,将排序后的所述第一订单及所述第一订单对应的一个或多个第二订单发送给所述第一订单的DSP,以使所述DSP在所述排序后的所述第一订单及所述第一订单对应的一个或多个第二订单中选取一个订单。Sending, to a first order, the sorted first order and one or more second orders corresponding to the first order to the DSP of the first order, so that the DSP is after the sorting One of the one or more second orders corresponding to the first order and the first order is selected.
在该实例中,对于一个第一订单的一个或多个第二订单,在进行排序时,将第一订单排在最前,各第二订单可以按照各第二订单的优先级进行排序,也可以按照权重对各第二订单进行排序。DSP在选取订单时,根据排序进行选取,先匹配第一订单确定是否选取,依次类推来匹配排序中的各订单。In this example, for one or more second orders of a first order, when sorting, the first order is ranked first, and each second order may be sorted according to the priority of each second order, or The second order is sorted by weight. When selecting an order, the DSP selects according to the sorting, first matches the first order to determine whether to select, and so on to match each order in the sorting.
进一步地,如图5所示,S105之后,本发明实施例提供的一种媒体数据处理方法还可以包括S108。如下:Further, as shown in FIG. 5, after S105, a media data processing method provided by an embodiment of the present invention may further include S108. as follows:
S108、根据子订单和第一顺序,记录第一订单和第二订单中的每个多媒体数据的推送量。S108. Record the push amount of each multimedia data in the first order and the second order according to the child order and the first order.
在执行上述步骤S108时,执行根据一个第一订单的DSP发送的选取后的订单确定所述第一订单及所述第一订单对应的一个或多个第二订单中的第三订单;更新所述第三订单的推送数量;当所述第三订单的推送数量达到所述第三订单的预设数量值时,将所述订单从所述订单集合中删除。When performing the above step S108, executing the selected order sent by the DSP of the first order to determine the third order of the first order and the one or more second orders corresponding to the first order; The push quantity of the third order; when the push quantity of the third order reaches the preset quantity value of the third order, the order is deleted from the order set.
在该实例中,针对一个订单,确定该订单的一个或多个备选订单的排序,具体,可以按照各备选订单的优先级进行排序。例如,订单A的备选订单为D、E,如果订单D的优先级大于订单E,则由订单及备选订单确定的集合的排序为A、D、E。将该订单集合发送给对应的DSP时,同时将排序发送给DSP,DSP选取订单时,按排序进行选取,当确定A不选取时,再确定D是否选取,最后判断E是否选取。当DSP反馈的选取的是订单D时,说明A、D已经匹配判断过,在该情况下,订单A 及订单D都记录一次推送。即,将选取的订单以及排序在选取的订单之前的订单的推送数量加1。每一个订单对应一预设推送数量,当一个订单的推送数量达到其预设推送数量时,将该订单从订单集合中删除,之前不再向DSP发送该订单。In this example, for one order, the ordering of one or more alternate orders for the order is determined, specifically, the order of each candidate order can be prioritized. For example, the order of order A is D, E. If the priority of order D is greater than the order E, the order of the set determined by the order and the alternate order is A, D, E. When the order set is sent to the corresponding DSP, the sorting is sent to the DSP at the same time, and when the DSP selects the order, the sorting is performed according to the sorting. When it is determined that A is not selected, it is determined whether D is selected, and finally whether E is selected. When the DSP feedback selects the order D, it indicates that A and D have been matched and judged. In this case, both order A and order D record a push. That is, the selected order and the number of pushes for the order before the selected order are incremented by one. Each order corresponds to a preset push quantity. When the push quantity of an order reaches its preset push quantity, the order is deleted from the order set, and the order is not sent to the DSP before.
服务器在接收对订单集合的反馈响应,从反馈响应中解析出订单集合的子订单,发送该子订单给第一终端,就表征服务器推送的订单集合中的子订单对应的多媒体数据成功了。而在这个时候,服务器还是要统计下这次进行推送的多媒体数据的推送量的,也就是说有多少多媒体数据是被DSP选过的。于是,服务器在接收对订单集合的反馈响应,从反馈响应中解析出订单集合的子订单,发送该子订单给第一终端之后,该服务器就可以根据子订单和第一顺序(订单及备选订单排序后形成的顺序),推断出已经被选过的订单了,从而可以更新选取过的订单的推送量了,即更新选取的订单及排序在选取的订单之前的订单的推送量了。The server receives the feedback response to the order set, parses the sub-order of the order set from the feedback response, and sends the sub-order to the first terminal, which indicates that the multimedia data corresponding to the sub-order in the order set pushed by the server is successful. At this time, the server still needs to count the push amount of the multimedia data pushed this time, that is, how much multimedia data is selected by the DSP. Then, the server receives the feedback response to the order set, parses the sub-order of the order set from the feedback response, and after sending the sub-order to the first terminal, the server can be based on the sub-order and the first order (order and candidate) The order formed after the order is sorted, the order that has been selected is inferred, so that the pushed amount of the selected order can be updated, that is, the selected order is updated and the push amount of the order before the selected order is sorted.
这里,由于DSP在所有订单集合中是按照第一顺序选择要投放的订单并进行反馈的。因此,服务器在接收到的反馈响应中若解析出了某个订单(订单集合中的),则服务器就记录该该订单以及该订单之前的订单都推送了一次。Here, since the DSP selects the orders to be placed in the first order and feeds back in all the order sets. Therefore, if the server parses out an order (in the order set) in the received feedback response, the server records the order and the order before the order is pushed once.
需要说明的是,各DSP反馈的子订单(选取后的订单)的数量最多与多媒体数据展示位的数量一致。在DSP从订单集合中选中了一个多媒体数据展示位对应的订单之后,该DSP就不会选择或者遍历排序在该订单之后的订单,因而,对应该订单之后的订单服务器不会记录其被推送了一次。It should be noted that the number of sub-orders (the selected orders) fed back by each DSP is the same as the number of multimedia data display positions. After the DSP selects an order corresponding to a multimedia data display bit from the order set, the DSP does not select or traverse the order that is sorted after the order, and therefore, the order server corresponding to the order does not record that it is pushed. once.
示例性的,假设订单集合为:A-(备选D-E)、B-(备选F-G)、C-(备选H-I),DSP回复子订单中的多媒体数据为A、F、I(即多媒体服务器接收的子订单中解析出了订单A、F和I),其中,A-(备选D-E)对应曝光机会1,B-(备选F-G)对应曝光机会2,C-(备选H-I)对应曝光机会3,那么,多媒体服务器针对曝光机会1,记录订单A一次推送,曝光机会2中给订单B、F均记录一次推送,曝光机会3中给订单C、H、I均记录一次推送。Exemplarily, assuming that the order set is: A-(alternative DE), B-(alternative FG), C-(alternative HI), the multimedia data in the DSP reply sub-order is A, F, I (ie multimedia) Orders A, F, and I) are parsed in the sub-orders received by the server, where A-(alternative DE) corresponds to exposure opportunity 1, B-(alternative FG) corresponds to exposure opportunity 2, C-(alternative HI) Corresponding to the exposure opportunity 3, then, the multimedia server records the order A for one exposure for the exposure opportunity 1, and the push for the orders B and F for the exposure opportunity 2, and the push for the orders C, H, and I for the exposure opportunity 3.
进一步地,如图6所示,S104之后,本发明实施例提供的一种媒体数据处理方法还可以包括S109。如下:Further, as shown in FIG. 6, after S104, a media data processing method provided by an embodiment of the present invention may further include S109. as follows:
S109、若未接收对订单集合的反馈响应,则将第一订单和第二订单中的每个多媒体数据均记录下推送一次。S109. If the feedback response to the order set is not received, each multimedia data in the first order and the second order is recorded and pushed once.
在执行上述步骤S109时,执行当没有接收到一个订单的DSP发送的选取后的 订单时,更新所述第一订单及所述第一订单对应的第二订单的推送数量,当所述第一订单及所述第二订单中存在推送数量达到对应订单的预设数量值时,将所述订单从所述订单集合中删除。When performing the above step S109, executing the selected order sent by the DSP that has not received an order, updating the push quantity of the second order corresponding to the first order and the first order, when the first When there is a preset quantity value in the order and the second order that reaches the corresponding order, the order is deleted from the order set.
服务器在接收到的反馈响应中若未解析出订单,则表征DSP未从订单集合(包括DSP对应的第一订单及一个或多个第二订单)中选择出需要的订单,订单集合中的订单都被选了一遍也没有被选中的(即没有子订单),于是,服务器将订单集合中的所有订单都记录推送了一次,即将订单集合中所有订单的推送数量都加1。服务器发送由第一订单和第二订单得到的订单集合,并接收对订单集合的反馈响应之后,该服务器可能会出现未接收对订单集合的反馈响应的情况,这时,该服务器需要将第一订单和第二订单中的每个多媒体数据均记录下推送一次。每一个订单对应一预设推送数量,当一个订单的推送数量达到其预设推送数量时,将该订单从订单集合中删除,之前不再向DSP发送该订单。If the server does not parse the order in the received feedback response, the characterization DSP does not select the required order from the order set (including the first order corresponding to the DSP and one or more second orders), the order in the order set They have all been selected and have not been selected (ie, there are no sub-orders), so the server pushes all the orders in the order collection once, which is to increase the number of pushes for all orders in the order collection by one. After the server sends the order set obtained by the first order and the second order, and receives the feedback response to the order set, the server may not receive the feedback response to the order set, and the server needs to be the first Each multimedia data in the order and the second order is recorded as a push. Each order corresponds to a preset push quantity. When the push quantity of an order reaches its preset push quantity, the order is deleted from the order set, and the order is not sent to the DSP before.
在本发明实施例中,在DSP没有反馈时,多媒体服务器需要则进行二次选单,于是,ADX将此次推送的所有推送订单均记录一次推送。另外,若是针对某个曝光机会或者多媒体数据展示位DSP没有反馈,则同样的,将该多媒体数据展示位对应的所有多媒体数据对应的订单都记录推送了一次。In the embodiment of the present invention, when there is no feedback from the DSP, the multimedia server needs to perform a secondary menu, and then the ADX records all the push orders pushed in this time. In addition, if there is no feedback for an exposure opportunity or multimedia data display bit DSP, then the order corresponding to all the multimedia data corresponding to the multimedia data display position is pushed once.
需要说明的是,本发明实施例中还存在一种情况,服务器在推送订单集合中,DSP认为用户相同的客户订单可以不再进行选择,那么就需要DSP提前同步每个第一订单中的多媒体数据中允许备选的订单白名单(先期只同步完全不重叠的,后期逐步放宽部分用户的重叠),因此,在本发明实施例中,根据DSP同步的白名单中的各订单的备选订单集合中选取订单的备选订单,选取的备选订单不能超过白名单中的备选订单集合的范围。It should be noted that, in the embodiment of the present invention, there is a case in which the server considers that the same customer order of the user can no longer be selected in the push order collection, and then the DSP needs to synchronize the multimedia in each first order in advance. An alternative order white list is allowed in the data (previously only the synchronization is completely non-overlapping, and the overlap of some users is gradually relaxed later). Therefore, in the embodiment of the present invention, the alternative orders of each order in the white list synchronized by the DSP are selected. An alternate order for an order is selected in the collection, and the selected alternative order cannot exceed the range of the alternative order set in the whitelist.
可以理解的是,由于服务器在进行多媒体数据的订单选单时,除了会响应第一请求获取第一订单外,还获取了用于进行备选的与第一订单对应的第二订单,也就是说,第二订单中的订单可以在第一订单中未被选中时,进行备选选择,这样使得一次请求的推送量增加了,也就是说,能够提升整体流量推送次数,从而缓解缺量问题,同时使得订单执行率增高。It can be understood that, when the server performs the order menu of the multimedia data, in addition to obtaining the first order in response to the first request, the second order for the alternative corresponding to the first order is acquired, that is, The order in the second order can be selected when the first order is not selected, so that the push amount of one request is increased, that is, the total number of traffic pushes can be increased, thereby alleviating the shortage problem. At the same time, the order execution rate is increased.
在一些实例中,本申请提供的媒体数据处理方法,还包括步骤S21:预设各第一订单的第二订单数量上限。In some examples, the media data processing method provided by the present application further includes step S21: preset a second order quantity upper limit of each first order.
如图7所示,即本发明实施例提供的一种媒体数据处理方法,在执行上述步骤S103时,即执行所述依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单时,可以包括:S1031-S1034。如下:As shown in FIG. 7 , a media data processing method according to an embodiment of the present invention, when performing the foregoing step S103, executing the order list obtained according to the method, and acquiring one or more corresponding to each first order. In the case of two orders, it may include: S1031-S1034. as follows:
S1031、对第一多媒体数据集合进行预处理,得到第一候选多媒体数据集合(候选订单集合)。S1013: Perform pre-processing on the first multimedia data set to obtain a first candidate multimedia data set (candidate order set).
在执行上述步骤S1031时,执行针对一个第一订单,在所述订单列表中查找所述第一订单对应的候选的第二订单;在所述订单集合中选取与所述第一订单对应的展示位置信息及所述第一订单对应的DSP的标识匹配的第三订单;将既存在所述候选的第二订单中,又存在所述第三订单中的订单添加到候选订单集合中。When performing the above step S1031, performing a second order for finding a candidate corresponding to the first order in the order list for a first order; selecting an impression corresponding to the first order in the order set The location information and the third order matching the identifier of the DSP corresponding to the first order; the second order in which the candidate exists and the order in the third order are added to the candidate order set.
服务器1中存储有订单集合,在选取第一订单时,将订单集合中优先级最高的订单作为第一订单。在此过程中需要计算各订单的优先级并进行排序。预设一数量上限,对于所述排序中的除第一订单之前的其他订单,例如,当所述数量上限为M时,从排序中的剩余订单中获取前M个订单。对于所述M个订单,选取其中与第一订单具有相同DSP标识的订单(因而选取的第二订单要与第一订单具有相同的DSP标识),作为上述第三订单。将既存在所述候选的第二订单中,又存在所述第三订单中的订单添加到候选订单集合中。具体地,对于所述M个可投放订单(CPM订单),该剩余CPM订单中包括PD订单、PDB订单及RTB订单。在剩余CPM中选取PDB订单(因为本申请的方法应用在PDB投放模式中),在选取的PDB订单中选取DSP的标识与所述第一订单相同的订单,最后在将选取的DSP订单与候选的第二订单的集合求交集,得到所述候选订单集合。The server 1 stores an order set, and when the first order is selected, the order with the highest priority among the order set is used as the first order. In this process, the priority of each order needs to be calculated and sorted. A maximum number of upper limits is preset, for the other orders in the sort except for the first order, for example, when the upper limit of the number is M, the first M orders are obtained from the remaining orders in the sort. For the M orders, an order in which the same DSP identifier as the first order is selected (thus the selected second order has the same DSP identifier as the first order) is selected as the third order. An order in the second order in which the candidate exists is added to the candidate order set. Specifically, for the M deliverable orders (CPM orders), the remaining CPM orders include a PD order, a PDB order, and an RTB order. Select the PDB order in the remaining CPM (because the method of the present application is applied in the PDB delivery mode), select the same order of the DSP as the first order in the selected PDB order, and finally select the selected DSP order and candidate The set of the second order is intersected to obtain the candidate order set.
在一些实例中,本申请提供的媒体数据处理方法进一步包括以下步骤:遍历所述候选订单集合中的每一个订单,当所述订单与所述第一订单互斥,或与所述候选订单集合中的其他订单互斥时,将所述订单从所述候选订单集合删除。In some examples, the media data processing method provided by the present application further includes the steps of: traversing each of the candidate order sets, when the order is mutually exclusive with the first order, or with the candidate order set When other orders in the order are mutually exclusive, the order is deleted from the candidate order set.
判断一个订单与第一订单或与其他第二订单是否互斥时,判断所述订单与其他订单的广告主是否互斥,具体地,可以建立互斥的广告主的映射表,根据该映射表确定所述订单与其他订单是否互斥。此外,还可以判断所述订单与其他订单的素材是否重复,当素材重复时,所述订单与其他订单互斥。此外,还可以判断所述订单与其他订单的素材是否匹配(例如,素材的播放时间是否匹配),当素材不匹配时,所述订单与其他订单互斥。此外,还可以判断所述订单与其他订单的共用频次是否 超过上限,当共用频次超过上限时,所述订单与其他订单互斥。其中,服务器可以预先设置所述订单与其他订单的共用频次。其中,所述共用频次指固定时间内所述订单与其他订单同时发送给一个DSP的次数。Determining whether an order is mutually exclusive with the first order or other second orders, determining whether the order is mutually exclusive with the advertisers of other orders, specifically, a mapping table of mutually exclusive advertisers may be established, according to the mapping table Determine if the order is mutually exclusive with other orders. In addition, it is also possible to determine whether the order is duplicated with the materials of other orders, and when the material is repeated, the order is mutually exclusive with other orders. In addition, it can also be judged whether the order matches the materials of other orders (for example, whether the play time of the material matches), and when the materials do not match, the order is mutually exclusive with other orders. In addition, it can be judged whether the frequency of sharing of the order with other orders exceeds the upper limit, and when the sharing frequency exceeds the upper limit, the order is mutually exclusive with other orders. The server can preset the frequency of sharing the order with other orders. The shared frequency refers to the number of times the order is sent to a DSP simultaneously with other orders in a fixed time.
在本发明实施例中,服务器通过一个离线模块定时从DSP中同步一个第一多媒体数据集合(订单列表),该第一多媒体数据集合中包括不同用户的订单交易标识(例如,Deal ID)。这里,DSP通过离线模块将该Deal ID以protocol buffer文件的方式传送给多媒体服务器。In the embodiment of the present invention, the server synchronizes a first multimedia data set (order list) from the DSP through an offline module, and the first multimedia data set includes an order transaction identifier of a different user (for example, Deal) ID). Here, the DSP transmits the Deal ID to the multimedia server as a protocol buffer file through the offline module.
示例性的,DSP为多媒体服务器(服务器1)同步一份第一多媒体数据集合(订单白名单,也称为订单列表),以protocol buffer协议进行传输,文件格式定义如下:Exemplarily, the DSP synchronizes a first multimedia data set (order white list, also called an order list) for the multimedia server (server 1), and transmits it according to the protocol buffer protocol. The file format is defined as follows:
Figure PCTCN2018075904-appb-000003
Figure PCTCN2018075904-appb-000003
对于获取候选订单集合的一个最佳实施方式,具体的,如图8所示,包括步骤S10311-S10313。即本发明实施例提供的一种媒体数据处理方法中,服务器对备选订单集合进行预处理,得到候选订单集合的过程可以包括:S10311-S10313。如下:For a preferred implementation manner of obtaining a candidate order set, specifically, as shown in FIG. 8, steps S10311-S10313 are included. That is, in the media data processing method provided by the embodiment of the present invention, the server performs pre-processing on the candidate order set, and the process of obtaining the candidate order set may include: S10311-S10313. as follows:
S10311、建立与第一多媒体数据集合对应的第一倒排索引。S10311: Establish a first inverted index corresponding to the first multimedia data set.
服务器对第一多媒体数据集合先建立了与第一多媒体数据集合对应的第一倒排索引。The server first establishes a first inverted index corresponding to the first multimedia data set to the first multimedia data set.
在本发明实施例中,多媒体服务器在第一多媒体数据集合(根据各DSP同步的订单列表得到的订单白名单)基础上,以bitmap方式构造两块多媒体数据的倒排 索引(即第一倒排索引):一块为dsp与其第二多媒体数据集合的映射,通过多媒体服务器(服务器1)自有多媒体数据资源文件所带的dspid字段为键值;一块为第二多媒体数据集合与第一多媒体数据集合的映射,以白名单资源的订单号为键值(即在白名单中,存储有主订单可选的备选订单集合)。两块bitmap的bit数量为当前系统下单的多媒体的订单数量,根据订单标识号从小到大映射到对应bit上。In the embodiment of the present invention, the multimedia server constructs an inverted index of two pieces of multimedia data in a bitmap manner based on the first multimedia data set (the white list of orders obtained according to the order list synchronized by each DSP) (ie, the first Inverted index): a mapping of dsp and its second multimedia data set, the dspid field carried by the multimedia server (Server 1) own multimedia data resource file is a key value; one piece is a second multimedia data set The mapping with the first multimedia data set, with the order number of the whitelist resource as the key value (ie, in the white list, the optional order set of the main order is stored). The number of bits of the two bitmaps is the number of orders for the multimedia ordered by the current system, and is mapped from the smallest to the largest according to the order identification number.
需要说明的是,本发明实施例中的第一倒排索引用于对多媒体数据进行检索。It should be noted that the first inverted index in the embodiment of the present invention is used to retrieve multimedia data.
S10312、根据第一倒排索引和预设筛选规则,对第一多媒体数据集合进行筛选,选出第一待候选多媒体数据集合,该预设筛选规则用于选择出接近第一订单的有用订单。S10312: Filter the first multimedia data set according to the first inverted index and the preset screening rule, and select a first candidate multimedia data set, where the preset screening rule is used to select a useful near the first order. Order.
服务器对第一多媒体数据集合先建立了与第一多媒体数据集合对应的第一倒排索引之后,由于该服务器中设置有用于选择出接近第一订单的有用订单的预设筛选策略,因此,该服务器可以根据第一倒排索引和预设筛选规则,对第一多媒体数据集合进行筛选,选出第一待候选多媒体数据集合了。其中,本发明实施例中的有用订单是指在可选CPM订单集合中符合某一DSP的订单特性的订单。也就是说,服务器通过第一倒排索引对第一多媒体数据集合进行初步的快速筛选工作。After the server first establishes the first inverted index corresponding to the first multimedia data set to the first multimedia data set, the preset filtering policy for selecting a useful order close to the first order is set in the server. Therefore, the server may filter the first multimedia data set according to the first inverted index and the preset screening rule, and select the first candidate multimedia data set. The useful order in the embodiment of the present invention refers to an order that meets the order characteristics of a certain DSP in the optional CPM order set. That is, the server performs preliminary quick screening work on the first multimedia data set through the first inverted index.
示例性的,在本发明实施例中,假设一个多媒体数据展示位选中GPB订单(第一订单)A,其对应dspid为X(针对的DSP是哪一个的标识),当服务器是在进行DSP订单的选取时,服务器需要确定可选CPM订单集合(服务器1中的选取主订单后的可选的订单)、GPB订单(通过合约的方式投放的订单)集合、Dspid=X的订单集合(与主订单具有相同DSP标识的订单),其中,可选CPM订单集合为完成常规CPM选单后,剩余的可选CPM多媒体数据。GPB订单集合为订单信息的type字段被标识为GPB订单的所有多媒体数据。Dspid=X的订单集合为订单信息中dsp_id字段为X的所有多媒体数据。多媒体服务器根据第一倒排索引在第一多媒体数据集合中,筛选出了A的待候选多媒体数据集合(第一待候选多媒体数据集合):可选CPM订单集合∩GPB订单集合∩dspid=X的订单集合∩第一多媒体数据集合=A的待候选多媒体数据集合,完成了对第一多媒体数据集合的筛选。Exemplarily, in the embodiment of the present invention, suppose a multimedia data display bit selects a GPB order (first order) A, which corresponds to dspid is X (which is the identifier of the DSP), when the server is in the DSP order When selecting, the server needs to determine the optional CPM order set (the optional order after selecting the master order in Server 1), the GPB order (the order placed by contract), the Dspid=X order set (with the main Orders have orders with the same DSP ID), where the optional CPM order set is the remaining optional CPM multimedia data after completing the regular CPM menu. The GPB order set is identified as the type field of the order information as all multimedia data of the GPB order. The order set of Dspid=X is all multimedia data in the order information whose dsp_id field is X. The multimedia server filters out the candidate multimedia data set of A (the first candidate multimedia data set) in the first multimedia data set according to the first inverted index: an optional CPM order set ∩ GPB order set ∩ dspid= The order set of X, the set of candidate multimedia data of the first multimedia data set=A, completes the screening of the first multimedia data set.
需要说明的是,在本发明实施例中的多媒体服务器中,上述集合均被编码为bitmap倒排索引。因此,多媒体服务器可以根据第一倒排索引和预设筛选规则,对第一多媒体数据集合进行筛选,选出第一待候选多媒体数据集合。It should be noted that, in the multimedia server in the embodiment of the present invention, the foregoing sets are all encoded as a bitmap inverted index. Therefore, the multimedia server may filter the first multimedia data set according to the first inverted index and the preset screening rule, and select the first candidate multimedia data set.
需要说明的是,多媒体服务器可以为多个DSP进行推送,因此,在选多媒体数据时,一定要明确给哪个DSP的订单集合。于是,就需要进行上述示例中的筛选过程。It should be noted that the multimedia server can push for multiple DSPs. Therefore, when selecting multimedia data, it is necessary to specify which DSP order set is given. Therefore, the screening process in the above example is required.
S10313、按照预设互斥逻辑,遍历第一待候选多媒体数据集合排除出互斥的多媒体数据,得到第一候选多媒体数据集合。S10313. The multiplexed multimedia data of the first candidate multimedia data is traversed according to preset mutual exclusion logic to exclude mutually exclusive multimedia data, to obtain a first candidate multimedia data set.
服务器根据第一倒排索引和预设筛选规则,对第一多媒体数据集合进行筛选,选出第一待候选多媒体数据集合之后,由于第一待候选多媒体数据集合中可能还存在着互斥的多媒体数据,因此,该服务器可以按照预设互斥逻辑,进一步地遍历第一待候选多媒体数据集合排除出互斥的多媒体数据,从而得到第一候选多媒体数据集合。The server filters the first multimedia data set according to the first inverted index and the preset screening rule, and after the first candidate multimedia data set is selected, there may be mutual exclusion in the first candidate multimedia data set. The multimedia data, therefore, the server may further traverse the first candidate multimedia data set to exclude the mutually exclusive multimedia data according to the preset mutual exclusion logic, thereby obtaining the first candidate multimedia data set.
在本发明实施例中,预设互斥逻辑可以包括:排除与已选多媒体数据集合(第二订单)以及第一订单存在有多媒体数据互斥、多媒体用户互斥、素材MD5重复、共用频次超频等订单。In the embodiment of the present invention, the preset mutual exclusion logic may include: excluding the multimedia data set (second order) and the first order, the mutual exclusion of the multimedia data, the mutual exclusion of the multimedia user, the repetition of the material MD5, and the overclocking of the shared frequency. Wait for the order.
可选的,服务器可以利用CPM常规选单逻辑遍历第一待候选多媒体数据集合,本发明实施例不作限制。Optionally, the server may traverse the first candidate multimedia data set by using the CPM regular menu logic, which is not limited in the embodiment of the present invention.
进一步地,进行素材的时长匹配,若第一待候选多媒体数据集合中包含的多媒体数据的素材时长大于其对应的第一订单中的多媒体数据的时长,也需要排除该多媒体数据。Further, the duration matching of the material is performed. If the material duration of the multimedia data included in the first candidate multimedia data set is greater than the duration of the multimedia data in the corresponding first order, the multimedia data needs to be excluded.
S1032、计算第一候选多媒体数据集合中每个多媒体数据的优先级和权重,构造与每个多媒体数据对应的第一索引。S1032: Calculate a priority and a weight of each multimedia data in the first candidate multimedia data set, and construct a first index corresponding to each multimedia data.
S1033、根据每个多媒体数据与其对应的第一索引构成第一候选订单。S1033. The first candidate order is formed according to each multimedia data and its corresponding first index.
在执行上述步骤S1032及S1033时,执行计算所述候选订单集合中各订单的优先级和权重。When the above steps S1032 and S1033 are performed, the calculation of the priority and weight of each order in the candidate order set is performed.
计算订单的优先级及权重时,在计算优先级时,根据展示位置信息(包括展示位的信息及受众用户特征)、订单的定向条件计算候选订单集合中各订单的优先级。所述优先级表征订单与对应展示位的匹配程度。可以根据订单的预定曝光量确定订单的权重。When calculating the priority and weight of the order, when calculating the priority, the priority of each order in the candidate order set is calculated according to the placement information (including the information of the display position and the audience user characteristics) and the orientation condition of the order. The priority characterizes the degree to which the order matches the corresponding display bit. The weight of the order can be determined based on the predetermined exposure of the order.
服务器在对第一多媒体数据集合(候选的第二订单形成的集合)进行预处理,得到第一候选多媒体数据集合(候选订单集合)之后,该服务器可以计算第一候选 多媒体数据集合(候选订单集合)中每个订单的优先级和权重。于是,该服务器可以构造出与该每个订单对应的优先级-权重二级索引(第一索引),该服务器根据每个订单与其对应的第一索引构成第一候选订单,即服务器将每个候选订单集合中的订单其对应的优先级-权重二级索引放入相应第一候选多媒体数据集合中每个多媒体数据中,构成了第一候选订单。After the server performs pre-processing on the first multimedia data set (the set formed by the candidate second order) to obtain the first candidate multimedia data set (candidate order set), the server may calculate the first candidate multimedia data set (candidate) The priority and weight of each order in the order collection). Thus, the server can construct a priority-weighted secondary index (first index) corresponding to each order, and the server constitutes a first candidate order according to each order and its corresponding first index, ie the server will each The order in the candidate order set has its corresponding priority-weighted secondary index placed in each multimedia data in the corresponding first candidate multimedia data set, constituting the first candidate order.
需要说明的是,在本发明实施例中,多媒体数据可以按照重要性、成本以及资源的多少等因素计算出其优先级和权重。It should be noted that, in the embodiment of the present invention, the multimedia data can calculate its priority and weight according to factors such as importance, cost, and resources.
可选的,服务器可以利用CPM选单逻辑计算第一候选多媒体数据集合中每个多媒体数据的优先级和权重,本发明实施例不作限制。Optionally, the server may use the CPM menu logic to calculate the priority and the weight of each multimedia data in the first candidate multimedia data set, which is not limited in the embodiment of the present invention.
示例性的,优先级-权重二级索引如图9所示,第一候选多媒体数据集合中的每个多媒体数据都有对应的优先级Order Set1-1、Order Set1-2、……、Order Set1-N和权重WEIGHT 1、WEIGHT 2、…….、WEIGHT N等。Exemplarily, the priority-weight secondary index is as shown in FIG. 9. Each multimedia data in the first candidate multimedia data set has a corresponding priority Order Set1-1, Order Set1-2, ..., Order Set1. -N and weight WEIGHT 1, WEIGHT 2, ......., WEIGHT N, etc.
S1034、根据计算出的第一订单的优先级、权重和预设备选多媒体数据上限,从第一候选订单中选出与该第一订单对应的第二订单。S1034. Select a second order corresponding to the first order from the first candidate order according to the calculated priority, weight, and preset candidate multimedia data upper limit of the first order.
在执行上述步骤S1034时,执行根据所述第一订单的优先级及权重、所述各订单的优先级和权重及所述第一订单的第二订单数量上限确定所述第一订单对应的一个或多个第二订单。When performing the above step S1034, determining, according to the priority and weight of the first order, the priority and weight of the orders, and the second order quantity upper limit of the first order, determining one corresponding to the first order Or multiple second orders.
服务器在根据每个订单与其对应的优先级及权重之后,由于该服务器还是可以计算出的第一订单的优先级和权重,因此,该服务器可以根据第一订单的优先级、权重和候选订单集合中各订单的优先级及权重,从候选订单集合中选出与该第一订单对应的第二订单了。After the server has its priority and weight according to each order, since the server can still calculate the priority and weight of the first order, the server can be based on the priority, weight and candidate order set of the first order. The priority and weight of each order in the order, and the second order corresponding to the first order is selected from the candidate order set.
本发明实施例中的预设备选多媒体数据(备选订单)上限包括第一备选订单上限和第二备选订单上限。The preset alternative multimedia data (alternative order) upper limit in the embodiment of the present invention includes a first candidate order upper limit and a second alternative order upper limit.
在本发明实施例中,服务器选出的与第一订单对应的备选多媒体数据(备选订单)的个数是可以设置一个第一备选多媒体数据上限(第一备选订单的上限)的,并且第二订单中的总的多媒体数据上限(第二备选订单上限,即与各第一订单对应的各第二订单的数量总和)也是可以设置的。In the embodiment of the present invention, the number of candidate multimedia data (alternative order) corresponding to the first order selected by the server is that a first candidate multimedia data upper limit (the upper limit of the first candidate order) may be set. And the total multimedia data upper limit in the second order (the second alternative order upper limit, that is, the sum of the number of each second order corresponding to each first order) is also configurable.
这里,服务器在选择第一订单对应的备选订单(第二订单)时,只需在优先级和权重中存在一个高于或重于该第一订单即可,但是选出的该第一订单对应的备选 订单的数量不能超出第一备选订单上限。各第一订单对移动第二订单中的总的备选订单的总数不能超过第二备选订单上限。Here, when the server selects the alternative order (second order) corresponding to the first order, only one of the priority and the weight is higher or heavier than the first order, but the first order is selected. The number of corresponding alternative orders cannot exceed the first alternative order limit. The total number of total alternate orders in each of the first order pair mobile second order cannot exceed the second alternate order limit.
示例性的,多媒体服务器(服务器1)根据第一订单的优先级X与权重N以及配置的两类备选订单上限(第一备选订单上限和第二备选订单上限)选择第二订单。多媒体服务器首先按照第一订单的优先级遍历候选订单集合,对于候选订单集合中优先级高于X的订单,直接放入第二订单中(直接作为备选订单);对于候选订单集合中订单的优先级等于或低于X的订单,选取其权重大于等于N的订单放入第二订单中(第二订单中包括选取的备选订单)。若多媒体服务器在选单过程中,第二订单中的一个主订单的备选订单的数量达到第一备选订单上限时则结束该主订单的备选订单的选取,若未达到上限,则继续进行该主订单的备选订单的选取。Illustratively, the multimedia server (server 1) selects the second order based on the priority X and the weight N of the first order and the configured two types of alternative order caps (the first alternate order cap and the second alternate order cap). The multimedia server first traverses the candidate order set according to the priority of the first order, and directly places the order with the priority higher than X in the candidate order set into the second order (directly as an alternative order); for the order in the candidate order set For orders with a priority equal to or lower than X, an order whose weight is greater than or equal to N is selected to be placed in the second order (the second order includes the selected alternative order). If the multimedia server is in the menu process, the number of candidate orders of one of the main orders in the second order reaches the first candidate order limit, the selection of the candidate order of the main order is ended, and if the upper limit is not reached, the process proceeds. The selection of an alternate order for this master order.
示例性的,以权重为例进行说明,多媒体数据A、B、C和D的权重归一化后的权重如图10所示,其中,图10中长形条的长短对应订单的权重的大小。那么,对于第一订单中A,则可推送的第二订单可以包括B、C、D;对于第一订单中的订单B,则可推送的第二订单可以包括D。Exemplarily, taking the weight as an example, the weights of the weights of the multimedia data A, B, C, and D are normalized as shown in FIG. 10, wherein the length of the long strip in FIG. 10 corresponds to the weight of the order. . Then, for A in the first order, the second order that can be pushed may include B, C, D; for order B in the first order, the second order that can be pushed may include D.
可以理解的是,服务器按照如上步骤遍历所有多媒体数据展示位执行备选订单的选单,完成选单后(选出第二订单后),进行GPB推送(通过ADX将有第一订单和第一订单对应的第二订单组成的订单集合推送给DSP)。服务器推送GPB请求时,使用当前pb协议已有的一个空闲字段放置备选订单列表,因而不需要对协议进行扩充改造。It can be understood that the server performs the menu of the alternative order by traversing all the multimedia data display bits as described above, and after completing the menu (after the second order is selected), the GPB push is performed (the first order and the first order are corresponding through ADX). The second order consists of a set of orders pushed to the DSP). When the server pushes the GPB request, it uses an existing idle field of the current pb protocol to place an alternate order list, so there is no need to expand and modify the protocol.
示例性的,使用当前pb协议已有的一个空闲字段放置备选订单列表如下:message Impression{Exemplarily, use the existing idle field of the current pb protocol to place an alternate order list as follows: message Impression{
...
Repeated BrandReq brandReqs=12;Repeated BrandReq brandReqs=12;
...
}}
可以理解的是,本申请提供的媒体数据处理方法,在向DSP发送订单投放询问请求时,对于同一个曝光,请求中不仅携带主订单,还携带备选订单,提高了询问请求对应的订单回复率,进而提高媒体内容推送效率。流量复用技术方案对于DSP来说,解决同一个DSP的订单覆盖和缺量问题,让DSP在每次请求曝光机会中选 择范围更广,由原先的一次选择提升为复用N次,合理选择每次曝光中的多个订单。对于多媒体服务器(服务器1)来说,提高了询问请求的订单回复率,降低了缺量,使多媒体数据的投放效率更高,提高了服务器1的流量变现能力。It can be understood that, when the media data processing method provided by the present application sends an order placement inquiry request to the DSP, for the same exposure, the request not only carries the main order, but also carries the candidate order, and improves the order reply corresponding to the inquiry request. Rate, and thus improve the efficiency of media content push. The traffic multiplexing technology solution solves the problem of order coverage and shortage of the same DSP for the DSP, so that the DSP can select a wider range in each request exposure opportunity, and the original one selection is promoted to the multiplexing N times, and the reasonable selection Multiple orders in each exposure. For the multimedia server (Server 1), the order reply rate of the inquiry request is increased, the shortage is reduced, the multimedia data is more efficiently delivered, and the traffic realizing ability of the server 1 is improved.
实施例三 Embodiment 3
如图11所示,本发明实施例提供了一种服务器1,该服务器1可以包括:As shown in FIG. 11, an embodiment of the present invention provides a server 1, which may include:
接收单元10,用于接收来自第一终端的第一请求,所述第一请求用于请求为所述第一终端对应的第一用户发送多媒体数据。The receiving unit 10 is configured to receive a first request from the first terminal, where the first request is used to request to send multimedia data to the first user corresponding to the first terminal.
获取单元11,用于响应所述第一请求,获取同步的第一多媒体数据集合,以用作数据补齐的备选;以及,The obtaining unit 11 is configured to obtain, according to the first request, a synchronized first multimedia data set to be used as an alternative to data completion;
选择单元12,用于从本地的第二多媒体数据集合中选出与所述第一请求对应的第一订单;以及依据第一预设选单策略,从所述第一多媒体数据集合中选出与所述第一订单对应的第二订单。The selecting unit 12 is configured to select a first order corresponding to the first request from a local second multimedia data set; and from the first multimedia data set according to the first preset menu policy Selecting a second order corresponding to the first order.
发送单元13,用于发送由所述第一订单和所述第二订单得到的订单集合。The sending unit 13 is configured to send the order set obtained by the first order and the second order.
所述接收单元10,还用于接收对所述订单集合的反馈响应。The receiving unit 10 is further configured to receive a feedback response to the order set.
解析单元14,用于从所述反馈响应中解析出所述订单集合的子订单。The parsing unit 14 is configured to parse the sub-order of the order set from the feedback response.
所述发送单元13,还用于发送所述子订单给所述第一终端,用以所述第一终端依序加载所述子订单中的至少一个多媒体数据并播放。The sending unit 13 is further configured to send the sub-order to the first terminal, and the first terminal sequentially loads and plays at least one multimedia data in the sub-order.
所述第一请求中携带请求多媒体数据的N个多媒体数据展示位,所述N个多媒体数据展示位是按照第一顺序排列的,其中,N大于等于1。The first request carries N multimedia data display bits for requesting multimedia data, and the N multimedia data display bits are arranged in a first order, where N is greater than or equal to 1.
所述第一订单中的多媒体数据的数量为N个,所述第一订单与所述N个多媒体数据展示位对应。The number of multimedia data in the first order is N, and the first order corresponds to the N multimedia data display positions.
所述选择单元12,具体用于对所述第一多媒体数据集合进行预处理,得到第一候选多媒体数据集合;及计算所述第一候选多媒体数据集合中每个多媒体数据的优先级和权重,构造与所述每个多媒体数据对应的第一索引;及根据所述每个多媒体数据与其对应的所述第一索引构成第一候选订单;以及根据计算出的所述第一订单的优先级、权重和预设备选多媒体数据上限,从所述第一候选订单中选出与所述第一订单对应的所述第二订单。The selecting unit 12 is specifically configured to perform pre-processing on the first multimedia data set to obtain a first candidate multimedia data set; and calculate a priority of each multimedia data in the first candidate multimedia data set. Weighting, constructing a first index corresponding to each of the multimedia data; and forming a first candidate order according to the first index corresponding to each of the multimedia data; and according to the calculated priority of the first order Level, weight and preset alternative multimedia data upper limit, the second order corresponding to the first order is selected from the first candidate order.
所述选择单元12,还具体用于建立与所述第一多媒体数据集合对应的第一倒排索引;及根据所述第一倒排索引和预设筛选规则,对所述第一多媒体数据集合进行 筛选,选出第一待候选多媒体数据集合,所述预设筛选规则用于选择出接近所述第一订单的有用订单;以及按照预设互斥逻辑,遍历所述第一待候选多媒体数据集合排除出互斥的多媒体数据,得到所述第一候选多媒体数据集合。The selecting unit 12 is further configured to: establish a first inverted index corresponding to the first multimedia data set; and, according to the first inverted index and a preset screening rule, the first multiple The media data set is filtered to select a first candidate multimedia data set, the preset screening rule is configured to select a useful order that is close to the first order; and traverse the first according to preset mutual exclusion logic The candidate multimedia data set excludes mutually exclusive multimedia data, and the first candidate multimedia data set is obtained.
基于图11,如图12所示,所述服务器1还包括:检测单元15和启动单元16。Based on FIG. 11, as shown in FIG. 12, the server 1 further includes a detecting unit 15 and a starting unit 16.
所述检测单元15,用于所述依据第一预设选单策略,从所述第一多媒体数据集合中选出与所述第一订单对应的第二订单之前,检测是否启动流量复用策略,其中,所述流量复用策略为选择所述第二订单的启动条件,且所述流量复用策略在一次选单时生效。The detecting unit 15 is configured to detect whether to start traffic multiplexing before selecting a second order corresponding to the first order from the first multimedia data set according to the first preset menu policy The policy, wherein the traffic reuse policy is a start condition for selecting the second order, and the traffic reuse policy takes effect when a menu is selected.
所述启动单元16,用于若检测到已启动所述流量复用策略,则开始进行选择所述第二订单的过程。The initiating unit 16 is configured to start a process of selecting the second order if it is detected that the traffic multiplexing policy has been started.
所述订单集合中的所述第一订单是按照所述第一顺序排列的。The first order in the order set is arranged in the first order.
所述解析单元,具体用于从所述反馈响应中解析出与第一多媒体数据展示位对应的第一多媒体数据,至少一个所述第一多媒体数据组成所述子订单,所述第一多媒体数据展示位为所述N个多媒体数据展示位的任意一个,所述第一多媒体数据是从所述第一订单和与其对应的所述第二订单中选择出来的一个多媒体数据。The parsing unit is configured to parse, from the feedback response, first multimedia data corresponding to the first multimedia data display position, and at least one of the first multimedia data forms the sub-order, The first multimedia data presentation bit is any one of the N multimedia data presentation bits, and the first multimedia data is selected from the first order and the second order corresponding thereto a multimedia data.
基于图12,如图13所示,所述服务器1还包括:记录单元17。Based on FIG. 12, as shown in FIG. 13, the server 1 further includes a recording unit 17.
所述记录单元17,用于所述从所述反馈响应中解析出所述订单集合的子订单之后,根据所述子订单和所述第一顺序,记录所述第一订单和所述第二订单中的每个多媒体数据的推送量。The recording unit 17 is configured to record the first order and the second according to the child order and the first order after the child order of the order set is parsed from the feedback response The amount of push for each multimedia data in the order.
基于图11,如图14所示,所述服务器1还包括:记录单元17。Based on FIG. 11, as shown in FIG. 14, the server 1 further includes a recording unit 17.
所述记录单元17,用于所述发送由所述第一订单和所述第二订单得到的订单集合之后,若未接收对所述订单集合的反馈响应,则将所述第一订单和所述第二订单中的每个多媒体数据均记录下推送一次。The recording unit 17 is configured to: after the sending the order set obtained by the first order and the second order, if the feedback response to the order set is not received, the first order and the Each multimedia data in the second order is recorded and pushed once.
本申请还提供了一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如上述所述的方法。The application also provides a non-transitory computer readable storage medium storing computer readable instructions that cause at least one processor to perform the method as described above.
图15示出了本申请提供服务器所在的计算设备的组成结构图。如图15所示,该计算设备包括一个或者多个处理器(CPU)18、存储介质111、发生器110及接收器19,以及用于互联这些组件的通信总线112。存储介质中存储的指令代码经配置以由处理器执行,以实现上述本申请中的媒体数据处理方法中的各步骤,同时实现 本申请的服务器中的各模块的功能。其中,处理器18具体为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等实现,存储介质111、接收器19和发送器110可以通过系统总线112与处理器18连接,其中,存储介质111用于存储可执行程序代码,该程序代码包括计算机操作指令,存储介质111可能包含高速RAM存储器,也可能还包括非易失性存储器,例如,至少一个磁盘存储器。FIG. 15 is a diagram showing the structure of a computing device in which the present application provides a server. As shown in FIG. 15, the computing device includes one or more processors (CPUs) 18, storage media 111, generators 110 and receivers 19, and a communication bus 112 for interconnecting these components. The instruction code stored in the storage medium is configured to be executed by the processor to implement the steps in the media data processing method of the present application described above while implementing the functions of the various modules in the server of the present application. The processor 18 is specifically implemented by a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), and the storage medium 111, the receiver 19, and the transmitter. 110 may be coupled to processor 18 via system bus 112, where storage medium 111 is for storing executable program code, the program code includes computer operating instructions, storage medium 111 may include high speed RAM memory, and may also include non-volatile A memory, for example, at least one disk storage.
可以理解的是,由于服务器在进行多媒体数据的订单选单时,除了会响应第一请求获取第一订单外,还获取了用于进行备选的与第一订单对应的第二单元,也就是说,第二订单中的多媒体数据可以在第一订单中的多媒体数据未被选中时,进行备选选择,这样使得一次请求的推送量增加了,也就是说,能够提升整体流量推送次数,从而缓解缺量问题,同时使得订单执行率增高。It can be understood that, when the server performs the order menu of the multimedia data, in addition to acquiring the first order in response to the first request, the second unit corresponding to the first order is obtained, that is, The multimedia data in the second order may be selected when the multimedia data in the first order is not selected, so that the amount of push of one request is increased, that is, the total number of traffic pushes can be increased, thereby alleviating The shortage problem also increases the order execution rate.
本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、系统、或计算机程序产品。因此,本发明实施例可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the embodiments of the invention may be provided as a method, system, or computer program product. Thus, embodiments of the invention may take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) in which computer usable program code is embodied.
本发明实施例是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the invention are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在 计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明实施例的较佳实施例而已,并非用于限定本发明实施例的保护范围。The above is only a preferred embodiment of the embodiments of the present invention, and is not intended to limit the scope of protection of the embodiments of the present invention.

Claims (19)

  1. 一种媒体数据处理方法,应用于服务器,其特征在于,包括:A media data processing method is applied to a server, which is characterized in that:
    接收客户端发送的媒体内容推送请求;Receiving a media content push request sent by the client;
    响应所述媒体内容推送请求,从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单;Responding to the media content push request, selecting one or more first orders corresponding to the media content push request from a local order set;
    依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单,其中,所述订单列表中包括各第一订单对应的候选的第二订单;Obtaining, according to the obtained order list, one or more second orders corresponding to the first orders, wherein the order list includes a second order candidate corresponding to each first order;
    将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP,接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示。Sending a second order corresponding to each first order and each first order to the DSP of each first order, receiving the selected order sent by the DSP of each first order, and transmitting the media content corresponding to the selected order Show to the client.
  2. 根据权利要求1所述的方法,其中,所述媒体内容推送请求中携带一个或多个展示位置信息;The method of claim 1, wherein the media content push request carries one or more placement information;
    其中,所述从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单包括:The selecting one or more first orders corresponding to the media content push request from the local order set includes:
    根据所述一个或多个展示位置信息确定各展示位置信息对应的第一订单;Determining, according to the one or more placement information, a first order corresponding to each placement information;
    其中,所述将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP包括:The DSP for sending the first order corresponding to each first order and each first order to each first order includes:
    将各展示位置信息对应的第一订单及第二订单发送给各自对应的DSP,以使所述各第一订单的DSP从所述各第一订单及所述各第一订单对应的第二订单中选取订单;Sending the first order and the second order corresponding to the respective placement information to the corresponding DSPs, so that the DSPs of the first orders from the first orders and the second orders corresponding to the first orders are Select an order in ;
    其中,所述接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示包括:The receiving the sent order sent by the DSP of each first order, and sending the media content corresponding to the selected order to the client, includes:
    接收各第一订单的DSP发送的各展示位置信息对应的选取后的订单,将各选取后的订单发送给所述客户端以在对应展示位置上展示。Receiving the selected order corresponding to each placement information sent by the DSP of each first order, and sending each selected order to the client to display on the corresponding placement position.
  3. 根据权利要求2所述的方法,其中,所述获取所述一个或多个展示位置信息中各展示位置信息对应的第一订单包括:The method of claim 2, wherein the obtaining the first order corresponding to each of the one or more pieces of placement information comprises:
    针对一个展示位置信息,根据所述展示位置信息计算所述订单集合中各订单的优先级;Calculating a priority of each order in the order set according to the placement information for a piece of placement information;
    将优先级最高的订单作为所述展示位置信息对应的第一订单。The order with the highest priority is used as the first order corresponding to the placement information.
  4. 根据权利要求1所述的方法,其中,所述方法进一步包括:The method of claim 1 wherein the method further comprises:
    预设各第一订单的第二订单数量上限;Presetting the upper limit of the second order quantity of each first order;
    其中,所述依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单包括:The obtaining, by the acquired order list, the one or more second orders corresponding to each first order includes:
    针对一个第一订单,在所述订单列表中查找所述第一订单对应的候选的第二订单;Searching for, in the first order, a second order of the candidate corresponding to the first order in the order list;
    在所述订单集合中选取与所述第一订单对应的展示位置信息及所述第一订单对应的DSP的标识匹配的第三订单;Selecting, in the order set, a third order corresponding to the placement information corresponding to the first order and the identifier of the DSP corresponding to the first order;
    将既存在所述候选的第二订单中,又存在所述第三订单中的订单添加到候选订单集合中;Adding an order in the third order that exists in the candidate, and adding an order in the third order to the candidate order set;
    计算所述候选订单集合中各订单的优先级和权重;Calculating a priority and a weight of each order in the candidate order set;
    根据所述第一订单的优先级及权重、所述各订单的优先级和权重及所述第一订单的第二订单数量上限确定所述第一订单对应的一个或多个第二订单。Determining one or more second orders corresponding to the first order according to the priority and weight of the first order, the priority and weight of the orders, and the second order quantity upper limit of the first order.
  5. 根据权利要求4所述的方法,其中,所述方法进一步包括:The method of claim 4 wherein the method further comprises:
    遍历所述候选订单集合中的每一个订单,当所述订单与所述第一订单互斥,或与所述候选订单集合中的其他订单互斥时,将所述订单从所述候选订单集合删除。Traversing each of the candidate order sets, when the order is mutually exclusive with the first order, or mutually exclusive with other orders in the candidate order set, the order is taken from the candidate order set delete.
  6. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1 wherein the method further comprises:
    设置第二订单的配置信息,所述配置信息用以表征在媒体内容投放中是否为各第一订单选取第二订单;Setting configuration information of the second order, the configuration information being used to indicate whether a second order is selected for each first order in the media content delivery;
    其中,所述依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单之前,所述方法还包括:The method further includes: before the obtaining the one or more second orders corresponding to the first orders, according to the obtained order list, the method further includes:
    读取所述第二订单的配置信息,当根据所述配置信息确定选取第二订单时,依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单。Reading the configuration information of the second order, when determining to select the second order according to the configuration information, acquiring one or more second orders corresponding to the first orders according to the acquired order list.
  7. 根据权利要求1所述的方法,其中,所述方法进一步包括:The method of claim 1 wherein the method further comprises:
    针对一个第一订单,将所述第一订单及所述第一订单对应的一个或多个第二订单进行排序;Sorting the first order and one or more second orders corresponding to the first order for a first order;
    其中,所述将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP包括:The DSP for sending the first order corresponding to each first order and each first order to each first order includes:
    针对一个第一订单,将排序后的所述第一订单及所述第一订单对应的一个或多个第二订单发送给所述第一订单的DSP,以使所述DSP在所述排序后的所述第一订单及所述第一订单对应的一个或多个第二订单中选取一个订单。Sending, to a first order, the sorted first order and one or more second orders corresponding to the first order to the DSP of the first order, so that the DSP is after the sorting One of the one or more second orders corresponding to the first order and the first order is selected.
  8. 根据权利要求7所述的方法,其中,所述方法进一步包括:The method of claim 7 wherein the method further comprises:
    根据一个第一订单的DSP发送的选取后的订单确定所述第一订单及所述第一订单对应的一个或多个第二订单中的第三订单;Determining, according to the selected order sent by the DSP of the first order, the first order and the third order of the one or more second orders corresponding to the first order;
    更新所述第三订单的推送数量;Updating the number of pushes of the third order;
    当所述第三订单的推送数量达到所述第三订单的预设数量值时,将所述订单从所述订单集合中删除。When the pushed quantity of the third order reaches the preset quantity value of the third order, the order is deleted from the order set.
  9. 根据权利要求1所述的方法,其中,所述方法进一步包括:The method of claim 1 wherein the method further comprises:
    当没有接收到一个订单的DSP发送的选取后的订单时,更新所述第一订单及所述第一订单对应的第二订单的推送数量;Updating the number of pushes of the first order and the second order corresponding to the first order when the selected order sent by the DSP of the order is not received;
    当所述第一订单及所述第二订单中存在推送数量达到对应订单的预设数量值时,将所述订单从所述订单集合中删除。When the push quantity reaches the preset quantity value of the corresponding order in the first order and the second order, the order is deleted from the order set.
  10. 一种服务器,包括一个或一个以上处理器和一个或一个以上存储器,所述一个或一个以上存储器包括计算机可读指令,经配置由所述一个或者一个以上处理器执行以实现:A server comprising one or more processors and one or more memories, the one or more memories comprising computer readable instructions configured to be executed by the one or more processors to:
    接收客户端发送的媒体内容推送请求;Receiving a media content push request sent by the client;
    响应所述媒体内容推送请求,从本地订单集合中选出与所述媒体内容推送请求对应的一个或多个第一订单;Responding to the media content push request, selecting one or more first orders corresponding to the media content push request from a local order set;
    依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单,其中,所述订单列表中包括各第一订单对应的候选的第二订单;Obtaining, according to the obtained order list, one or more second orders corresponding to the first orders, wherein the order list includes a second order candidate corresponding to each first order;
    将各第一订单及各第一订单对应的第二订单发送给各第一订单的DSP,接收各第一订单的DSP发送的选取后的订单,将所述选取后的订单对应的媒体内容发送到所述客户端展示。Sending a second order corresponding to each first order and each first order to the DSP of each first order, receiving the selected order sent by the DSP of each first order, and transmitting the media content corresponding to the selected order Show to the client.
  11. 根据权利要求10所述的服务器,其中,所述媒体内容推送请求中携带一个或多个展示位置信息;所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 10 wherein said media content push request carries one or more placement information; said one or more processors executing said computer readable instructions to:
    根据所述一个或多个展示位置信息确定各展示位置信息对应的第一订单;Determining, according to the one or more placement information, a first order corresponding to each placement information;
    将各展示位置信息对应的第一订单及第二订单发送给各自对应的DSP,以使所述各第一订单的DSP从所述各第一订单及所述各第一订单对应的第二订单中选取订单;Sending the first order and the second order corresponding to the respective placement information to the corresponding DSPs, so that the DSPs of the first orders from the first orders and the second orders corresponding to the first orders are Select an order in ;
    接收各第一订单的DSP发送的各展示位置信息对应的选取后的订单,将各选取后的订单发送给所述客户端以在对应展示位置上展示。Receiving the selected order corresponding to each placement information sent by the DSP of each first order, and sending each selected order to the client to display on the corresponding placement position.
  12. 根据权利要求11所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 11 wherein said one or more processors execute said computer readable instructions to:
    针对一个展示位置信息,根据所述展示位置信息计算所述订单集合中各订单的优先级;Calculating a priority of each order in the order set according to the placement information for a piece of placement information;
    将优先级最高的订单作为所述展示位置信息对应的第一订单。The order with the highest priority is used as the first order corresponding to the placement information.
  13. 根据权利要求10所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 10 wherein said one or more processors execute said computer readable instructions to:
    预设各第一订单的第二订单数量上限;Presetting the upper limit of the second order quantity of each first order;
    针对一个第一订单,在所述订单列表中查找所述第一订单对应的候选的第二订单;Searching for, in the first order, a second order of the candidate corresponding to the first order in the order list;
    在所述订单集合中选取与所述第一订单对应的展示位置信息及所述第一订单对应的DSP的标识匹配的第三订单;Selecting, in the order set, a third order corresponding to the placement information corresponding to the first order and the identifier of the DSP corresponding to the first order;
    将既存在所述候选的第二订单中,又存在所述第三订单中的订单添加到候选订单集合中;Adding an order in the third order that exists in the candidate, and adding an order in the third order to the candidate order set;
    计算所述候选订单集合中各订单的优先级和权重;Calculating a priority and a weight of each order in the candidate order set;
    根据所述第一订单的优先级及权重、所述各订单的优先级和权重及所述第一订单的第二订单数量上限确定所述第一订单对应的一个或多个第二订单。Determining one or more second orders corresponding to the first order according to the priority and weight of the first order, the priority and weight of the orders, and the second order quantity upper limit of the first order.
  14. 根据权利要求13所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 13 wherein said one or more processors execute said computer readable instructions to:
    遍历所述候选订单集合中的每一个订单,当所述订单与所述第一订单互斥,或与所述候选订单集合中的其他订单互斥时,将所述订单从所述候选订单集合删除。Traversing each of the candidate order sets, when the order is mutually exclusive with the first order, or mutually exclusive with other orders in the candidate order set, the order is taken from the candidate order set delete.
  15. 根据权利要求10所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 10 wherein said one or more processors execute said computer readable instructions to:
    设置第二订单的配置信息,所述配置信息用以表征在媒体内容投放中是否为各 第一订单选取第二订单;Setting configuration information of the second order, the configuration information being used to indicate whether a second order is selected for each first order in the media content delivery;
    在获取与各第一订单对应的一个或多个第二订单之前,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The one or more processors execute the computer readable instructions to obtain the one or more second orders corresponding to each of the first orders to:
    读取所述第二订单的配置信息,当根据所述配置信息确定选取第二订单时,依据获取的订单列表,获取与各第一订单对应的一个或多个第二订单。Reading the configuration information of the second order, when determining to select the second order according to the configuration information, acquiring one or more second orders corresponding to the first orders according to the acquired order list.
  16. 根据权利要求10所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 10 wherein said one or more processors execute said computer readable instructions to:
    针对一个第一订单,将所述第一订单及所述第一订单对应的一个或多个第二订单进行排序;Sorting the first order and one or more second orders corresponding to the first order for a first order;
    针对一个第一订单,将排序后的所述第一订单及所述第一订单对应的一个或多个第二订单发送给所述第一订单的DSP,以使所述DSP在所述排序后的所述第一订单及所述第一订单对应的一个或多个第二订单中选取一个订单。Sending, to a first order, the sorted first order and one or more second orders corresponding to the first order to the DSP of the first order, so that the DSP is after the sorting One of the one or more second orders corresponding to the first order and the first order is selected.
  17. 根据权利要求16所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 16 wherein said one or more processors execute said computer readable instructions to:
    根据一个第一订单的DSP发送的选取后的订单确定所述第一订单及所述第一订单对应的一个或多个第二订单中的第三订单;Determining, according to the selected order sent by the DSP of the first order, the first order and the third order of the one or more second orders corresponding to the first order;
    更新所述第三订单的推送数量;Updating the number of pushes of the third order;
    当所述第三订单的推送数量达到所述第三订单的预设数量值时,将所述订单从所述订单集合中删除。When the pushed quantity of the third order reaches the preset quantity value of the third order, the order is deleted from the order set.
  18. 根据权利要求10所述的服务器,其中,所述一个或者一个以上处理器执行所述计算机可读指令以实现:The server of claim 10 wherein said one or more processors execute said computer readable instructions to:
    当没有接收到一个订单的DSP发送的选取后的订单时,更新所述第一订单及所述第一订单对应的第二订单的推送数量;Updating the number of pushes of the first order and the second order corresponding to the first order when the selected order sent by the DSP of the order is not received;
    当所述第一订单及所述第二订单中存在推送数量达到对应订单的预设数量值时,将所述订单从所述订单集合中删除。When the push quantity reaches the preset quantity value of the corresponding order in the first order and the second order, the order is deleted from the order set.
  19. 一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如权利要求1-9任一项所述的方法。A non-transitory computer readable storage medium storing computer readable instructions for causing at least one processor to perform the method of any of claims 1-9.
PCT/CN2018/075904 2017-02-09 2018-02-09 Media data processing method, server and storage medium WO2018145652A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710071061.0 2017-02-09
CN201710071061.0A CN108415908B (en) 2017-02-09 2017-02-09 Multimedia data processing method and server

Publications (1)

Publication Number Publication Date
WO2018145652A1 true WO2018145652A1 (en) 2018-08-16

Family

ID=63107191

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/075904 WO2018145652A1 (en) 2017-02-09 2018-02-09 Media data processing method, server and storage medium

Country Status (2)

Country Link
CN (1) CN108415908B (en)
WO (1) WO2018145652A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831838A (en) * 2019-04-17 2020-10-27 腾讯科技(深圳)有限公司 Multimedia information recommendation method and device, and server storage medium
CN112598447A (en) * 2020-12-28 2021-04-02 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN113138900A (en) * 2021-04-27 2021-07-20 上海淇玥信息技术有限公司 Data acquisition processing method and device and electronic equipment

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111192077A (en) * 2019-12-16 2020-05-22 加和(北京)信息科技有限公司 Advertising traffic multiplexing method and device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015040354A1 (en) * 2013-09-23 2015-03-26 Mtl Media Limited On-line content control system & method
CN106339897A (en) * 2016-08-18 2017-01-18 腾讯科技(深圳)有限公司 Putting strategy determination method and device
US20170024762A1 (en) * 2015-07-20 2017-01-26 Sambasivan Swaminathan System and methods for monetizing digital assets
CN106372959A (en) * 2016-08-22 2017-02-01 广州图灵科技有限公司 Internet-based user access behavior digital marketing system and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013077983A1 (en) * 2011-11-01 2013-05-30 Lemi Technology, Llc Adaptive media recommendation systems, methods, and computer readable media
CN104735117A (en) * 2013-12-24 2015-06-24 腾讯科技(北京)有限公司 Information processing method, device and system
CN106294489B (en) * 2015-06-08 2022-09-30 北京三星通信技术研究有限公司 Content recommendation method, device and system
CN105117186B (en) * 2015-08-13 2018-06-08 小米科技有限责任公司 Multimedia messages methods of exhibiting and device
CN105430487A (en) * 2015-11-30 2016-03-23 小米科技有限责任公司 A method, device and system for playing multimedia data
CN105824963A (en) * 2016-03-31 2016-08-03 北京小度信息科技有限公司 Order recommendation method and device
CN106250481A (en) * 2016-07-29 2016-12-21 深圳市永兴元科技有限公司 Data digging methods based on big data and device
CN106303654B (en) * 2016-08-16 2020-02-18 腾讯科技(北京)有限公司 Media information display method, client, plug-in and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015040354A1 (en) * 2013-09-23 2015-03-26 Mtl Media Limited On-line content control system & method
US20170024762A1 (en) * 2015-07-20 2017-01-26 Sambasivan Swaminathan System and methods for monetizing digital assets
CN106339897A (en) * 2016-08-18 2017-01-18 腾讯科技(深圳)有限公司 Putting strategy determination method and device
CN106372959A (en) * 2016-08-22 2017-02-01 广州图灵科技有限公司 Internet-based user access behavior digital marketing system and method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111831838A (en) * 2019-04-17 2020-10-27 腾讯科技(深圳)有限公司 Multimedia information recommendation method and device, and server storage medium
CN111831838B (en) * 2019-04-17 2024-03-29 腾讯科技(深圳)有限公司 Multimedia information recommendation method and device and server storage medium
CN112598447A (en) * 2020-12-28 2021-04-02 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN112598447B (en) * 2020-12-28 2023-10-10 加和(北京)信息科技有限公司 Order information processing method and device, electronic equipment and processor
CN113138900A (en) * 2021-04-27 2021-07-20 上海淇玥信息技术有限公司 Data acquisition processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN108415908B (en) 2021-12-10
CN108415908A (en) 2018-08-17

Similar Documents

Publication Publication Date Title
US10832287B2 (en) Promotional content targeting based on recognized audio
USRE49262E1 (en) Providing content to a user across multiple devices
US10326715B2 (en) System and method for updating information in an instant messaging application
US8966043B2 (en) Frequency capping of content across multiple devices
WO2018145652A1 (en) Media data processing method, server and storage medium
US11109093B2 (en) Method and apparatus for providing information associated with media content
US20100088187A1 (en) System and method for localized and/or topic-driven content distribution for mobile devices
CN107370780B (en) Media pushing method, device and system based on Internet
US11620686B2 (en) Third party customized content based on first party identifer
CN105407365B (en) Advertisement data management method and advertisement management server
CN103546517B (en) Network information push system and method
TW201516938A (en) User information classification method and apparatus, and user group information acquisition method and apparatus
AU2018387423A1 (en) System for fast and secure content provision
US20210367997A1 (en) Providing content to co-located devices with enhanced presentation characteristics
WO2014176896A1 (en) System and method for updating information in an instant messaging application
CA2966263A1 (en) Method and system to share advertisement content from a main device to a secondary device
WO2017125034A1 (en) Information processing method and server
WO2021104513A1 (en) Object display method and apparatus, electronic device and storage medium
JP2014524624A (en) Search method, system and computer storage medium in microblog
CN114270389A (en) Information acquisition method, device, system, electronic device, and storage medium
HK1205832B (en) Method for classifying user information and obtaining user group information and device thereof

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: 18751053

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: 18751053

Country of ref document: EP

Kind code of ref document: A1