Multimedia stream rearrangement method and apparatus, medium and electronic device
By recording the time difference of the advertisement display time of the multimedia streaming page on the terminal side and rearranging the multimedia list, the problem of inaccurate advertising interval control in the information flow or video stream is solved, and the precise control of advertising intervals and the improvement of user experience is achieved.
Patent Information
- Application Number
- PCT/CN2024/093083
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-22
- Filing Date
- 2024-05-14
- Publication Date
- 2024-11-28
AI Technical Summary
At this stage, the ad interval control in information flow or video streams is not accurate, which causes users to see advertisements frequently or not to see advertisements for a long time, affecting the user experience.
By recording the time difference of the advertisement display time of the multimedia streaming page on the terminal side, and rearranging the multimedia list according to the advertisement insertion rules, adjusting the position of the target advertisement to ensure that the interval between the two advertisements reaches the minimum number of multimedia items, accurately control the advertisement interval.
Accurate control over the advertising interval, preventing users from frequently seeing advertisements in a short time or not seeing advertisements for a long time, improving user experience, and avoiding data leakage through low latency, safe and reliable methods, so that users cannot perceive the list. Rearrangement process.
Smart Images

Figure CN2024093083_28112024_PF_FP_ABST
Abstract
Description
Multimedia stream reordering method, device, medium and electronic device
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on and claims priority to the Chinese application with application number 202310583326.0, application date May 22, 2023, entitled “Multimedia stream reordering method, device, medium and electronic device”. The disclosed content of the Chinese application is hereby introduced as a whole into this application. Technical Field
[0003] The present disclosure relates to the field of information push technology, and in particular to a multimedia stream reordering method, device, medium, and electronic device. Background Art
[0004] Currently, the use of information placement to promote information has become a major trend in the industry. At present, advertisements are usually inserted into information streams or video streams.
[0005] Summary of the Invention
[0006] This summary is provided to briefly introduce concepts that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0007] In a first aspect, the present disclosure provides a multimedia stream reordering method, applied to a terminal, the method comprising:
[0008] determining, based on the terminal's record of advertisement display time on the multimedia streaming page, a time difference between a current time and a most recent advertisement display time on the multimedia streaming page;
[0009] If the multimedia list to be displayed on the multimedia stream page contains advertisements, the multimedia list is rearranged according to the time difference and the advertisement insertion rule, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rule includes the minimum number of multimedia items between two advertisements.
[0010] In a second aspect, the present disclosure provides a multimedia stream reordering device, applied to a terminal, the device comprising:
[0011] A first determining module is configured to determine, based on the terminal's record of advertisement display times on a multimedia streaming page, a time difference between a current time and a most recent advertisement display time on the multimedia streaming page;
[0012] A rearrangement module is used to rearrange the multimedia list to be displayed on the multimedia streaming page according to the time difference and the advertisement insertion rule if the multimedia list to be displayed on the multimedia streaming page contains advertisements, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rule includes the minimum number of multimedia items between two advertisements.
[0013] In a third aspect, the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the multimedia stream reordering method provided in the first aspect of the present disclosure.
[0014] In a fourth aspect, the present disclosure provides an electronic device, comprising:
[0015] a storage device having a computer program stored thereon;
[0016] A processing device is used to execute the computer program in the storage device to implement the steps of the multimedia stream reordering method provided in the first aspect of the present disclosure.
[0017] In the above technical solution, the advertising interval is controlled based on the interval between two advertisements and the time difference between the current moment and the display moment of the most recent advertisement on the multimedia stream page. In addition, the time difference is the actual recorded value of the terminal, which can accurately describe the user's immediate behavior with respect to the terminal. Therefore, the advertising interval can be accurately controlled to avoid users from frequently seeing advertisements in a short period of time, or not seeing advertisements for a long time, thereby improving the user experience. In addition, the multimedia stream reordering method is executed on the terminal side, and has the characteristics of low latency, security and reliability, which can effectively avoid user data leakage. In addition, since the multimedia list that is not displayed on the multimedia stream page is reordered, the user cannot perceive the reordering process, which avoids interference when the user browses the multimedia stream page, further improving the user experience.
[0018] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale. In the drawings:
[0020] Fig. 1 is a flowchart showing a multimedia stream reordering method according to an exemplary embodiment.
[0021] Fig. 2 is a schematic diagram showing a multimedia streaming page according to an exemplary embodiment.
[0022] Fig. 3 is a schematic diagram showing an advertisement moving upward according to an exemplary embodiment.
[0023] Fig. 4 is a schematic diagram showing an advertisement moving downward according to an exemplary embodiment.
[0024] Fig. 5 is a flowchart showing a method for moving down at least one advertisement in a multimedia list according to an exemplary embodiment.
[0025] Fig. 6 is a flow chart showing a method for moving up a target advertisement in a multimedia list according to an exemplary embodiment.
[0026] Fig. 7 is a schematic diagram showing a process of triggering a re-request according to an exemplary embodiment.
[0027] Fig. 8 is a block diagram showing a multimedia stream reordering device according to an exemplary embodiment.
[0028] Fig. 9 is a schematic structural diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0029] As discussed in the background technology, how to accurately control the interval between advertisements has become a key issue to consider in advertisement delivery. At present, for information flow, the advertisement delivery interval currently only considers the number of information items between two advertisements (i.e., the physical interval). This may cause users to frequently swipe to advertisements in a short period of time or not see advertisements for a long time, affecting the user experience. For video streams, the advertisement delivery interval is determined based on the number of information items between two advertisements and the time interval between two advertisements, where the time interval is the estimated value of the server; this method can roughly control the advertisement interval, but due to the deviation of the estimated value of the server, it may cause the advertisement interval to be too close or too far, affecting the user experience.
[0030] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0031] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0032] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0033] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0034] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0035] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0036] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0037] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.
[0038] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0039] It is understandable that the above notification and user authorization process are merely illustrative and do not limit the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0040] At the same time, it is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) must comply with the requirements of relevant laws, regulations and relevant provisions.
[0041] Currently, ads are typically inserted into news feeds or video streams. The interval between ads is directly related to user experience. If the interval is short, users will see ads frequently within a short period of time. If the interval is long, users will not see ads for a long time, both of which will affect the user experience. Therefore, precisely controlling the interval between ads has become a key consideration in advertising.
[0042] FIG1 is a flowchart of a multimedia stream reordering method according to an exemplary embodiment, wherein the method can be applied to terminals such as smartphones, wearable devices (e.g., wristbands), and tablet computers. As shown in FIG1 , the method may include the following steps S101 and S102.
[0043] In S101 , the time difference between the current time and the time at which the most recent advertisement on the multimedia streaming page is displayed is determined based on the terminal's record of the time at which the advertisement is displayed on the multimedia streaming page.
[0044] In this disclosure, a multimedia stream page generally refers to a page organized with multimedia stream as the main content or important content. Among them, the multimedia stream can be a video stream or an information stream. An information stream generally refers to a group of information moving in the same direction in space and time. They have a common information source and information receiver, that is, a collection of all information transmitted from one information source to another unit. Here, an information stream can also be a feed stream, for example, an information stream that continuously updates and presents content to users. Each information item in the information stream can be multimedia content such as articles, pictures, and videos.
[0045] In addition, the multimedia stream page records the display time of the advertisement appearing on the page in real time as record information, wherein the display time is the time when the advertisement enters the multimedia stream page.
[0046] The following uses multimedia streams as an example for information flow. As shown in Figure 2, the display time record table can be used to record the display time of advertisements. The display time of Ad 1 is t1, and the display time of Ad 2 is t2. On the multimedia stream page at the lower left of Figure 2, the most recent advertisement is Ad 1, and on the multimedia stream page at the lower right of Figure 2, the most recent advertisement is Ad 2.
[0047] In S102, if the multimedia list to be displayed on the multimedia stream page contains advertisements, the multimedia list is rearranged according to the time difference and the advertisement insertion rule.
[0048] In the present disclosure, when the number of multimedia items in the multimedia list is less than the preset value P, a load more request (i.e., loadmore request) is triggered, and the terminal obtains a complete brush from the server. The complete brush consists of L (preset value) multimedia items, where L is greater than P.
[0049] The multimedia list to be displayed on the multimedia stream page is composed of multimedia items that are currently being completely refreshed but have not yet entered the multimedia stream page. Among them, the multimedia items in the multimedia list are sorted from early to late according to the time to be displayed. The multimedia items closer to the top of the multimedia list are displayed earlier.
[0050] For example, the multimedia list to be displayed on the multimedia stream page at the lower left position of FIG. 2 consists of article 4 and advertisement 2, wherein article 4 is located at the top position of the multimedia list.
[0051] In addition, the rearrangement includes adjusting the position of the target advertisement, wherein the target advertisement is the advertisement that can be displayed earliest among the advertisements included in the multimedia list.
[0052] For example, as shown in the multimedia stream page on the left side of Figure 3, the multimedia list consists of article 4, article 5, advertisement 2, article 6, article 7 and advertisement 3, among which advertisement 2 is located above advertisement 3 and is displayed earlier than advertisement 3. Therefore, advertisement 2 is the target advertisement.
[0053] In addition, the above ad insertion rules include the minimum number of multimedia items between two ads, namely the minimum physical interval (MingAP). Different types of multimedia streams may have different corresponding MingAPs. For example, for information streams, if the multimedia stream on the Multimedia Streams page is an information stream, the MingAP is 3; for video streams, if the multimedia stream on the Multimedia Streams page is a video stream, the MingAP is 4.
[0054] In the above technical solution, the advertising interval is controlled based on the interval between two advertisements and the time difference between the current moment and the display moment of the most recent advertisement on the multimedia stream page. In addition, the time difference is the actual recorded value of the terminal, which can accurately describe the user's immediate behavior with respect to the terminal. Therefore, the advertising interval can be accurately controlled to avoid users from frequently seeing advertisements in a short period of time, or not seeing advertisements for a long time, thereby improving the user experience. In addition, the multimedia stream reordering method is executed on the terminal side, and has the characteristics of low latency, security and reliability, which can effectively avoid user data leakage. In addition, since the multimedia list that is not displayed on the multimedia stream page is reordered, the user cannot perceive the reordering process, which avoids interference when the user browses the multimedia stream page, further improving the user experience.
[0055] The following describes in detail the specific implementation method of rearranging the multimedia list according to the time difference and advertisement insertion rule in the above S102. Specifically, it can be achieved by the following steps (1) and (2):
[0056] Step (1): predict the position adjustment direction of the target advertisement in the multimedia list based on the time difference between the current time and the time when the most recent advertisement was displayed on the multimedia streaming page.
[0057] The position adjustment direction may be one of upward movement, downward movement, and no movement.
[0058] Step (2): rearrange the multimedia list according to the advertisement insertion rules and position adjustment direction.
[0059] The following describes in detail the specific implementation of predicting the position adjustment direction of the target advertisement in the multimedia list based on the time difference in step (1).
[0060] Specifically, if the time difference is less than a first preset time difference and the number of multimedia items above the target advertisement in the multimedia list is less than a preset number, the predicted position adjustment direction of the target advertisement in the multimedia list is downward; if the time difference is less than the first preset time difference and the number is greater than or equal to a preset number (for example, 2), or the time difference is greater than or equal to the first preset time difference and less than or equal to the second preset time difference, the predicted position adjustment direction is no movement; if the time difference is greater than the second preset time difference, the predicted position adjustment direction is upward.
[0061] The first preset time difference is less than the second preset time difference. When the time difference is less than the first preset time difference and the number of multimedia items above the target advertisement in the multimedia list is less than a preset number, it indicates that the time interval and physical distance between the target advertisement and the most recent advertisement are relatively small. In this case, to prevent the user from frequently swiping at advertisements in a short period of time, the target advertisement may be moved downward, i.e., the position adjustment direction of the target advertisement in the multimedia list is predicted to be downward.
[0062] When the time difference is greater than the second preset time difference, it indicates that the time interval between the target advertisement and the most recent advertisement is long. At this time, in order to prevent the user from not seeing the advertisement for a long time, you can try to move the target advertisement up, that is, predict that the position adjustment direction of the target advertisement in the multimedia list is to move up.
[0063] When the time difference is less than the first preset time difference and the number is greater than or equal to the preset number, it indicates that the physical interval between the target advertisement and the most recent advertisement meets the requirements. At this time, the position of the target advertisement in the multimedia list can be kept unchanged, that is, the position adjustment direction of the target advertisement in the multimedia list is predicted to be unchanged.
[0064] When the time difference is greater than or equal to the first preset time difference and less than or equal to the second preset time difference, it indicates that the time interval between the target advertisement and the most recent advertisement meets the requirements. At this time, the position of the target advertisement in the multimedia list can be left unchanged, that is, the position adjustment direction of the target advertisement in the multimedia list is predicted to be unchanged.
[0065] The following describes in detail the specific implementation of rearranging the multimedia list according to the advertisement insertion rule and position adjustment direction in step (2).
[0066] Specifically, this can be achieved by following the steps (21) and (22):
[0067] Step (21): If the position adjustment direction is downward, at least one advertisement is moved downward in the multimedia list according to the advertisement insertion rule.
[0068] Among them, at least one advertisement includes a target advertisement. In addition to including the minimum number of multimedia items between two advertisements, the above-mentioned advertisement insertion rules may also include insertion restrictions. Among them, the insertion restrictions may include insertion restrictions such as non-insertion and forced insertion. Among them, non-insertion refers to the insertion requirements of multimedia items before and after the insertion position. For example, advertisements are not allowed to be inserted before and after current affairs multimedia items. "Forced insertion" generally refers to pinning. For example, M hot multimedia items are pinned to the top of the multimedia list. At this time, advertisements are not allowed to be inserted in the top M positions in the multimedia list, where M is greater than or equal to 1.
[0069] Moving an advertisement downward refers to moving the advertisement downward by one or more positions. For example, as shown in FIG4 , advertisement 2 is moved downward to the target position where article 6 is located, that is, moved downward by one position.
[0070] Step (22): If the position adjustment direction is upward, the target advertisement is moved upward in the multimedia list according to the advertisement insertion rule.
[0071] Moving the advertisement upward refers to moving the advertisement upward by one or more positions. For example, as shown in FIG3 , advertisement 2 is moved upward to the target position where article 5 is located, that is, moved upward by one position.
[0072] The following describes in detail the specific implementation of the above step (21) of moving down at least one advertisement in the multimedia list according to the advertisement insertion rule. Specifically, it can be implemented through S201 to S208 shown in FIG5 .
[0073] In S201 , it is estimated whether moving the target advertisement down N positions complies with advertisement insertion rules.
[0074] If moving the target advertisement down N positions complies with the advertisement insertion rules, execute the following S202; if moving the target advertisement down N positions does not comply with the advertisement insertion rules, try to move all advertisements in the multimedia list down. At this time, it is necessary to first determine whether the multimedia list contains multiple advertisements, that is, execute the following S203.
[0075] In S202 , the target advertisement is moved down N positions.
[0076] In S203, it is determined whether the multimedia list contains multiple advertisements.
[0077] If the multimedia list contains multiple advertisements, try to move all advertisements in the multimedia list down, and at this time, the following S204 can be executed; if the multimedia list does not contain multiple advertisements, that is, it only contains the target advertisement, at this time, the position of the target advertisement in the multimedia list is not moved, and the following S208 is executed.
[0078] In S204 , it is estimated whether moving each of the multiple advertisements downward by N positions complies with the advertisement insertion rule.
[0079] If moving each of the multiple advertisements down N positions complies with the advertisement insertion rules, execute the following S205; if moving each of the multiple advertisements down N positions does not comply with the advertisement insertion rules, you can try to reduce the moving distance, that is, execute the following S206.
[0080] In S205 , each of the multiple advertisements is moved down N positions.
[0081] In S206 , it is determined whether N is equal to 1.
[0082] If N is not equal to 1, that is, N is greater than 1, then an attempt can be made to reduce the moving distance, that is, execute the following S207, and then return to the above S201 until N is equal to 1. If N is equal to 1, it indicates that the moving distance cannot be reduced any further. At this time, the position of the target advertisement in the multimedia list is not moved, that is, execute the following S208.
[0083] In S207 , N is decremented by 1.
[0084] In S208 , the position of the target advertisement in the multimedia list is not moved.
[0085] The following describes in detail the specific implementation of moving the target advertisement up in the multimedia list according to the advertisement insertion rule in step (22). Specifically, it can be implemented through S301 to S306 shown in FIG6 :
[0086] In S301 , it is determined whether a target advertisement is located at a first target location.
[0087] In the present disclosure, the first target position is initially the top position of the multimedia list, that is, it is moved to the top first.
[0088] If the target advertisement is located at the first target position, there is no need to move the position of the target advertisement in the multimedia list, and the following S306 is executed; if the target advertisement is not located at the first target position, an attempt can be made to move the target advertisement upward, and the following S302 is executed.
[0089] In S302 , it is estimated whether moving the target advertisement to the first target position complies with advertisement insertion rules.
[0090] If moving the target advertisement to the first target position complies with the advertisement insertion rule, the following S303 is executed; if moving the target advertisement to the first target position does not comply with the advertisement insertion rule, the first target position may be replaced, and in this case, the following S304 may be executed.
[0091] In S303 , the target advertisement is moved upward to the first target position.
[0092] In S304 , it is determined whether the first target location is adjacent to the location where the target advertisement is located.
[0093] If the first target position is adjacent to the position of the target advertisement, that is, the next adjacent position of the first target position is the target advertisement, then there is no need to update the first target position. At this time, the position of the target advertisement in the multimedia list is not moved, that is, the following S306 is executed; if the first target position is not adjacent to the position of the target advertisement, then the first target position is updated, that is, the following S305 is executed.
[0094] In S305 , the first target position is updated to the next adjacent position of the first target position.
[0095] In S306 , the position of the target advertisement in the multimedia list is not moved.
[0096] In addition, when the multimedia list does not contain advertisements and the time difference is greater than a second preset time difference, in order to prevent the user from not seeing the advertisements for a long time, an advertisement may be inserted. Specifically, the above method may further include the following steps (a) to (h):
[0097] Step (a): If the multimedia list does not contain an advertisement and the time difference is greater than a second preset time difference, then determining a candidate position in the multimedia list where the advertisement can be inserted according to an advertisement insertion rule.
[0098] Step (b): Determine whether a candidate position exists.
[0099] If there is a candidate position, it means that there is a position in the multimedia list that meets the conditions for advertisement insertion. At this time, you can consider inserting an advertisement, that is, execute the following step (c); if there is no candidate position, it means that there is no position in the multimedia list that meets the conditions for advertisement insertion. At this time, advertisement insertion cannot be performed, and the multimedia rearrangement process ends.
[0100] Step (c): sending a re-request to a server that is in communication with the terminal.
[0101] In the present disclosure, a re-request is used to instruct the server to retrieve the advertisement to be inserted. The re-request may include a second target location and a multimedia list. After obtaining the advertisement to be inserted, the server estimates whether the advertisement meets the conditions for insertion into the second target location in the multimedia list. If the advertisement meets the conditions, the server will provide feedback to the terminal. If the advertisement does not meet the conditions, the server will not provide feedback to the terminal. The second target location is the location among the candidate locations that is closest to the top of the multimedia list. This can achieve the dual effects of improving the ad fill rate and real-time request performance.
[0102] Among them, the server can obtain advertisements through the stream->sati->engine link, among which the Stream backend service is used to request multimedia content; the Sati service is used to reorder multimedia content; the Engine service is an advertising service for obtaining advertising data.
[0103] Step (d): Determine whether the advertisement to be inserted fed back by the server in response to the re-request is received.
[0104] If an advertisement to be inserted is received in response to the re-request feedback from the server, it indicates that it is necessary to determine whether the multimedia item at the candidate position closest to the top position of the multimedia list has entered the multimedia stream page, that is, perform the following step (e); if an advertisement to be inserted is not received in response to the re-request feedback from the server, the advertisement is not inserted into the multimedia list, and the multimedia re-arrangement process ends.
[0105] Step (e): determining whether the multimedia item at the second target location is currently in the multimedia stream page,
[0106] If the multimedia item at the second target position is not currently in the multimedia stream page, execute the following step (f); in order to avoid interference with the user's current browsing caused by inserting the advertisement to be inserted into the currently displayed multimedia stream page, when the multimedia item at the second target position is currently in the multimedia stream page, you can try to update the insertion position, at this time, you can execute the following step (g).
[0107] Step (f): inserting the advertisement to be inserted into the second target position.
[0108] Step (g): Eliminate the second target position from the candidate positions, and then perform the following step (h).
[0109] Step (h): Determine whether a candidate position exists.
[0110] If there is a candidate position, then the process can return to step (e) above until there is no candidate position. If there is no candidate position, then it indicates that there is no updateable insertion position, and the multimedia rearrangement process can be terminated.
[0111] In addition, if there is no advertisement in the multimedia list and the time difference is less than the first preset time difference, then return to the above step of determining the time difference between the current time and the time when the most recent advertisement was displayed on the multimedia stream page based on the terminal's record information of the time when the advertisement was displayed on the multimedia stream page, that is, return to the above step S101.
[0112] In addition, the above conditions may include: the page revenue generated by inserting the advertisement to be inserted into the second target position is positive revenue; and / or the score of the advertisement to be inserted is greater than a preset score.
[0113] In one embodiment, the above-mentioned condition includes that the page revenue generated by inserting the advertisement to be inserted into the second target position is positive revenue.
[0114] Specifically, the page revenue generated by inserting the advertisement to be inserted into the second target position can be measured by the difference between the score of the multimedia list after the advertisement to be inserted into the second target position and the score of the multimedia list before the advertisement to be inserted into the second target position. If the difference is greater than 0, the page revenue is positive. In this case, inserting the advertisement to be inserted can increase the page revenue, so the advertisement can be inserted; if the difference is less than 0, the page revenue is negative. In this case, inserting the advertisement to be inserted will affect the page revenue, so the advertisement will not be inserted. If the difference is equal to 0, the page revenue is zero. In this case, inserting the advertisement to be inserted will not increase the page revenue, so the advertisement can be inserted.
[0115] A complete refresh is of fixed length. The insertion of an advertisement means that the multimedia items below the advertisement in the multimedia list move down one position in turn, and the last multimedia item is squeezed out. Therefore, this process is also simulated when re-requesting advertisement insertion: if the length of the multimedia list is len, and the advertisement to be inserted is inserted at the Xth position in the multimedia list, the multimedia items at the Xth position to the len-1th position in the multimedia list move down one position in turn, and the lenth multimedia item disappears.
[0116] For example, the score score1 of the multimedia list before the advertisement to be inserted into the second target position can be determined by the following equation:
[0117] Among them, enengagement-value n is the score of the multimedia item at the nth position in the multimedia list, which is a preset value; the second target position is the Xth position in the multimedia list.
[0118] For example, the score score2 of the multimedia list after the advertisement to be inserted is inserted into the second target position can be determined by the following equation:
[0119] Among them, ecpm ad is the score of the advertisement to be inserted, which is a preset value; coef is the loss of inserting the advertisement to be inserted, which is a preset constant.
[0120] In another embodiment, the above-mentioned condition includes that the score of the advertisement to be inserted is greater than a preset score.
[0121] In another embodiment, the above conditions include that the page revenue generated by inserting the advertisement to be inserted into the second target position is positive and the score of the advertisement to be inserted is greater than a preset score. In this way, the page revenue can be maximized.
[0122] The following describes in detail the situation when a re-request occurs in conjunction with Figure 7. Specifically, the user opens the multimedia streaming page, which automatically triggers the Tth (i.e., the first) loadmore request, and the terminal obtains a complete refresh, wherein the complete refresh includes articles 1 to 7, and advertisement 1; then, the user slides up and reads article 1 for a long time, and the reading time exceeds the second preset time difference. At this time, advertisement 1 in the multimedia list is moved up one position; next, the user continues to slide up, and after advertisement 1 is displayed, the user begins to read article 3. At this time, the multimedia list does not contain advertisements and the time difference is greater than the second preset time difference. A new advertisement 2 can be obtained by re-requesting. Due to the physical spacing constraint, the physical spacing between advertisement 2 and advertisement 1 should be greater than the above-mentioned mingap. Therefore, advertisement 2 is inserted in the previous adjacent position of article 7; the user continues to slide up. At this time, the number of multimedia items in the multimedia list is less than the preset value P, triggering the T+1th loadmore request to obtain a new complete refresh.
[0123] FIG8 is a block diagram of a multimedia stream reordering device according to an exemplary embodiment, wherein the device 500 is applied to a terminal. As shown in FIG8 , the device 500 includes:
[0124] A first determining module 501 is configured to determine, based on the terminal's record of advertisement display times on a multimedia streaming page, a time difference between a current time and a most recent advertisement display time on the multimedia streaming page;
[0125] The rearrangement module 502 is used to rearrange the multimedia list to be displayed on the multimedia streaming page according to the time difference and the advertisement insertion rule if the multimedia list to be displayed on the multimedia streaming page includes advertisements, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements included in the multimedia list, and the advertisement insertion rule includes the minimum number of multimedia items between two advertisements.
[0126] In the above technical solution, the advertising interval is controlled based on the interval between two advertisements and the time difference between the current moment and the display moment of the most recent advertisement on the multimedia stream page. In addition, the time difference is the actual recorded value of the terminal, which can accurately describe the user's immediate behavior with respect to the terminal. Therefore, the advertising interval can be accurately controlled to avoid users from frequently seeing advertisements in a short period of time, or not seeing advertisements for a long time, thereby improving the user experience. In addition, the multimedia stream reordering method is executed on the terminal side, and has the characteristics of low latency, security and reliability, which can effectively avoid user data leakage. In addition, since the multimedia list that is not displayed on the multimedia stream page is reordered, the user cannot perceive the reordering process, which avoids interference when the user browses the multimedia stream page, further improving the user experience.
[0127] Optionally, the rearrangement module 502 includes:
[0128] a first prediction submodule, configured to predict a position adjustment direction of the target advertisement in the multimedia list according to the time difference;
[0129] The rearrangement submodule is configured to rearrange the multimedia list according to the advertisement insertion rule and the position adjustment direction.
[0130] Optionally, the first prediction submodule includes:
[0131] a second prediction submodule, configured to predict that the position adjustment direction of the target advertisement in the multimedia list is downward if the time difference is less than a first preset time difference and the number of multimedia items above the target advertisement in the multimedia list is less than a preset number;
[0132] a third prediction submodule, configured to predict that the position adjustment direction is not moving if the time difference is less than the first preset time difference and the number is greater than or equal to the preset number, or if the time difference is greater than or equal to the first preset time difference and less than or equal to the second preset time difference;
[0133] The fourth prediction submodule is configured to predict that the position adjustment direction is upward if the time difference is greater than the second preset time difference.
[0134] Optionally, the advertisement insertion rule further includes insertion restrictions;
[0135] The rearrangement submodule includes:
[0136] a first adjusting submodule, configured to, if the position adjustment direction is downward, move downward at least one advertisement in the multimedia list according to the advertisement insertion rule, wherein the at least one advertisement includes the target advertisement;
[0137] The second adjustment submodule is configured to move the target advertisement upward in the multimedia list according to the advertisement insertion rule if the position adjustment direction is upward.
[0138] Optionally, the first adjustment submodule includes:
[0139] A first estimation submodule, configured to estimate whether moving the target advertisement down N positions complies with the advertisement insertion rule;
[0140] A first downward shifting submodule, configured to shift the target advertisement downward by N positions if shifting the target advertisement downward by N positions complies with the advertisement insertion rule;
[0141] a second estimation submodule configured to estimate whether moving each of the plurality of advertisements downward by N positions complies with the advertisement insertion rule if moving the target advertisement downward by N positions does not comply with the advertisement insertion rule and the multimedia list includes a plurality of advertisements;
[0142] a second downward shifting submodule, configured to shift each of the plurality of advertisements downward by N positions if shifting each of the plurality of advertisements downward by N positions complies with the advertisement insertion rule;
[0143] The first trigger submodule is configured to reduce N by 1 if moving each of the multiple advertisements down by N positions does not comply with the advertisement insertion rule, and trigger the first estimation submodule to estimate whether moving the target advertisement down by N positions complies with the advertisement insertion rule, until N is equal to 1.
[0144] Optionally, the second adjustment submodule includes:
[0145] a third estimation submodule, configured to estimate whether moving the target advertisement to a first target position complies with the advertisement insertion rule if the target advertisement is not located at the first target position, wherein the first target position is initially the top position of the multimedia list;
[0146] an upward movement submodule, configured to move the target advertisement to the first target position if moving the target advertisement to the first target position complies with the advertisement insertion rule;
[0147] The second triggering submodule is configured to update the first target position to the next adjacent position of the first target position if moving the target advertisement to the first target position does not comply with the advertisement insertion rule, and trigger the third estimating submodule to estimate whether moving the target advertisement to the first target position complies with the advertisement insertion rule, until the first target position is adjacent to the position where the target advertisement is located.
[0148] Optionally, the apparatus 500 further includes:
[0149] a second determining module configured to determine, according to the advertisement insertion rule, a candidate position in the multimedia list where the advertisement can be inserted if the multimedia list does not contain an advertisement and the time difference is greater than a second preset time difference;
[0150] a sending module, configured to send a re-request to a server in communication with the terminal if the candidate position exists, wherein the re-request is used to instruct the server to obtain the advertisement to be inserted;
[0151] a third determining module configured to, upon receiving the advertisement to be inserted fed back by the server in response to the re-request, determine whether the multimedia item at a second target position is currently in the multimedia stream page, wherein the second target position is a position among the candidate positions that is closest to the top position of the multimedia list;
[0152] an inserting module, configured to insert the advertisement to be inserted into the second target location if the multimedia item at the second target location is not currently in the multimedia stream page;
[0153] A trigger module is used to remove the second target position from the candidate positions if the multimedia item at the second target position is currently in the multimedia stream page, and trigger the third determination module to determine whether the multimedia item at the second target position is currently in the multimedia stream page, until the candidate position no longer exists.
[0154] Optionally, the re-request includes the second target position and the multimedia list, so that after obtaining the advertisement to be inserted, the server estimates whether the advertisement to be inserted meets the conditions for being inserted into the second target position in the multimedia list, and if the advertisement to be inserted meets the conditions, the server feeds back the advertisement to be inserted to the terminal.
[0155] Optionally, the conditions include:
[0156] The page revenue generated by inserting the advertisement to be inserted into the second target position is positive revenue; and / or
[0157] The score of the advertisement to be inserted is greater than a preset score.
[0158] The present disclosure also provides a computer-readable medium having a computer program stored thereon, which, when executed by a processing device, implements the steps of the multimedia stream reordering method provided by the present disclosure.
[0159] Reference is now made to FIG9 , which illustrates a schematic diagram of the structure of an electronic device (terminal device) 600 suitable for implementing embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable multimedia players (PMPs), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG9 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0160] As shown in Figure 9, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0161] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG9 shows the electronic device 600 with various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0162] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0163] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, radio frequency (RF), etc., or any suitable combination thereof.
[0164] In some embodiments, the clients can communicate using any currently known or later developed network protocol, such as the HyperText Transfer Protocol (HTTP), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0165] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0166] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device is enabled to: determine the time difference between the current time and the display time of the most recent advertisement on the multimedia stream page based on the terminal's record information of the advertisement display time on the multimedia stream page; if the multimedia list to be displayed on the multimedia stream page contains advertisements, rearrange the multimedia list based on the time difference and advertisement insertion rules, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rules include the minimum number of multimedia items between two advertisements.
[0167] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0168] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0169] The modules described in the embodiments of the present disclosure may be implemented in software or hardware. The name of a module does not, in some cases, limit the module itself. For example, the first determination module may also be described as "a module that determines the time difference between the current time and the most recent time at which an advertisement was displayed on a multimedia streaming page based on the terminal's recorded information regarding the time at which the advertisement was displayed on the multimedia streaming page."
[0170] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0171] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0172] According to one or more embodiments of the present disclosure, Example 1 provides a multimedia stream reordering method, which is applied to a terminal, and the method includes: determining the time difference between the current time and the display time of the most recent advertisement on the multimedia stream page based on the terminal's record information of the display time of advertisements on the multimedia stream page; if the multimedia list to be displayed on the multimedia stream page contains advertisements, reordering the multimedia list according to the time difference and advertisement insertion rules, wherein the reordering includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rules include the minimum number of multimedia items between two advertisements.
[0173] According to one or more embodiments of the present disclosure, Example 2 provides the method of Example 1, wherein the multimedia list is rearranged according to the time difference and the advertisement insertion rule, including: predicting the position adjustment direction of the target advertisement in the multimedia list according to the time difference; and rearranging the multimedia list according to the advertisement insertion rule and the position adjustment direction.
[0174] According to one or more embodiments of the present disclosure, Example 3 provides the method of Example 2, which predicts the position adjustment direction of the target advertisement in the multimedia list based on the time difference, including: if the time difference is less than a first preset time difference, and the number of multimedia items in the multimedia list above the target advertisement is less than a preset number, then predicting that the position adjustment direction of the target advertisement in the multimedia list is downward; if the time difference is less than the first preset time difference, and the number is greater than or equal to the preset number, or the time difference is greater than or equal to the first preset time difference and less than or equal to the second preset time difference, then predicting that the position adjustment direction is not moving; if the time difference is greater than the second preset time difference, then predicting that the position adjustment direction is upward.
[0175] According to one or more embodiments of the present disclosure, Example 4 provides the method of Example 2, wherein the advertisement insertion rule also includes an insertion restriction; the rearrangement of the multimedia list according to the advertisement insertion rule and the position adjustment direction includes: if the position adjustment direction is downward, then according to the advertisement insertion rule, moving down at least one advertisement in the multimedia list, wherein the at least one advertisement includes the target advertisement; if the position adjustment direction is upward, then according to the advertisement insertion rule, moving up the target advertisement in the multimedia list.
[0176] According to one or more embodiments of the present disclosure, Example 5 provides the method of Example 4, wherein, according to the advertisement insertion rule, moving down at least one advertisement in the multimedia list includes: estimating whether moving the target advertisement down N positions complies with the advertisement insertion rule; if moving the target advertisement down N positions complies with the advertisement insertion rule, moving the target advertisement down N positions; if moving the target advertisement down N positions does not comply with the advertisement insertion rule, and the multimedia list contains multiple advertisements, estimating whether moving each of the multiple advertisements down N positions complies with the advertisement insertion rule; if moving each of the multiple advertisements down N positions complies with the advertisement insertion rule, moving each of the multiple advertisements down N positions; if moving each of the multiple advertisements down N positions does not comply with the advertisement insertion rule, subtracting N from 1, and returning to the step of estimating whether moving the target advertisement down N positions complies with the advertisement insertion rule, until N is equal to 1.
[0177] According to one or more embodiments of the present disclosure, Example 6 provides the method of Example 4, wherein the target advertisement is moved up in the multimedia list according to the advertisement insertion rule, including: if the target advertisement is not located at the first target position, estimating whether moving the target advertisement to the first target position complies with the advertisement insertion rule, wherein the first target position is initially the top position of the multimedia list; if moving the target advertisement to the first target position complies with the advertisement insertion rule, moving the target advertisement to the first target position; if moving the target advertisement to the first target position does not comply with the advertisement insertion rule, updating the first target position to the next adjacent position of the first target position, and returning to the step of estimating whether moving the target advertisement to the first target position complies with the advertisement insertion rule, until the first target position is adjacent to the position where the target advertisement is located.
[0178] According to one or more embodiments of the present disclosure, Example 7 provides a method of any one of Examples 1-6, the method further comprising: if the multimedia list does not contain an advertisement and the time difference is greater than a second preset time difference, determining, according to the advertisement insertion rule, a candidate position in the multimedia list where the advertisement can be inserted; if the candidate position exists, sending a re-request to a server communicatively connected to the terminal, wherein the re-request is used to instruct the server to obtain the advertisement to be inserted; if the advertisement to be inserted is fed back by the server in response to the re-request, determining whether the multimedia item at the second target position is currently in the multimedia stream page, wherein the second target position is a position in the candidate positions that is closest to the top position of the multimedia list; if the multimedia item at the second target position is not currently in the multimedia stream page, inserting the advertisement to be inserted at the second target position; if the multimedia item at the second target position is currently in the multimedia stream page, removing the second target position from the candidate positions and returning to the step of determining whether the multimedia item at the second target position is currently in the multimedia stream page, until the candidate position no longer exists.
[0179] According to one or more embodiments of the present disclosure, Example 8 provides the method of Example 7, wherein the re-request includes the second target position and the multimedia list, so that after obtaining the advertisement to be inserted, the server estimates whether the advertisement to be inserted meets the conditions for being inserted into the second target position in the multimedia list, and if the advertisement to be inserted meets the conditions, the server feeds back the advertisement to be inserted to the terminal.
[0180] According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 8, wherein the conditions include: the page revenue generated by inserting the advertisement to be inserted into the second target position is positive revenue; and / or the score of the advertisement to be inserted is greater than a preset score.
[0181] According to one or more embodiments of the present disclosure, Example 10 provides a multimedia stream reordering device, which is applied to a terminal, and the device includes: a first determination module, which is used to determine the time difference between the current time and the display time of the most recent advertisement on the multimedia stream page based on the terminal's record information of the advertisement display time in the multimedia stream page; a reordering module, which is used to reorder the multimedia list to be displayed on the multimedia stream page according to the time difference and advertisement insertion rules if the multimedia list to be displayed on the multimedia stream page contains advertisements, wherein the reordering includes adjusting the position of the target advertisement, the target advertisement being the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rules including the minimum number of multimedia items between two advertisements.
[0182] According to one or more embodiments of the present disclosure, Example 11 provides a computer-readable medium having a computer program stored thereon, which implements the steps of the method described in any one of Examples 1-9 when executed by a processing device.
[0183] According to one or more embodiments of the present disclosure, Example 12 provides an electronic device, comprising: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of any one of the methods described in Examples 1-9.
[0184] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0185] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0186] Although the subject matter has been described using language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims. Regarding the apparatus in the above-described embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method and will not be elaborated upon here.
Claims
1. A multimedia stream reordering method, applied to a terminal, the method include: Determine the time difference between the current time and the time when the advertisement on the multimedia stream page was last displayed according to the recorded information of the terminal on the time when the advertisement was displayed on the multimedia stream page; If the multimedia list to be displayed on the multimedia streaming page includes advertisements, the multimedia list is rearranged according to the time difference and the advertisement insertion rule, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements included in the multimedia list, and the advertisement insertion rule includes the minimum number of multimedia items between two advertisements.
2. The method according to claim 1, in, The step of rearranging the multimedia list according to the time difference and the advertisement insertion rule comprises: Predicting a position adjustment direction of the target advertisement in the multimedia list according to the time difference; The multimedia list is rearranged according to the advertisement insertion rule and the position adjustment direction.
3. The method according to claim 2, in, The predicting, according to the time difference, the position adjustment direction of the target advertisement in the multimedia list comprises: If the time difference is less than a first preset time difference and the number of multimedia items in the multimedia list located above the target advertisement is less than a preset number, predicting that the position adjustment direction of the target advertisement in the multimedia list is downward; If the time difference is less than the first preset time difference and the number is greater than or equal to the preset number, or the time difference is greater than or equal to the first preset time difference and less than or equal to the first preset time difference, 2. If the preset time difference is less than 0.05, the position adjustment direction is predicted to be no movement; If the time difference is greater than the second preset time difference, it is predicted that the position adjustment direction is upward movement.
4. The method according to claim 2 or 3, in, The advertisement insertion rules also include insertion restrictions; The step of rearranging the multimedia list according to the advertisement insertion rule and the position adjustment direction includes: If the position adjustment direction is downward, then according to the advertisement insertion rule, at least one advertisement is moved downward in the multimedia list, wherein the at least one advertisement includes the target advertisement; If the position adjustment direction is upward, the target advertisement is moved upward in the multimedia list according to the advertisement insertion rule.
5. The method according to claim 4, in, The step of moving down at least one advertisement in the multimedia list according to the advertisement insertion rule comprises: estimating whether moving the target advertisement down N positions complies with the advertisement insertion rule; If moving the target advertisement down N positions complies with the advertisement insertion rule, then moving the target advertisement down N positions; If moving the target advertisement down by N positions does not comply with the advertisement insertion rule, and the multimedia list includes multiple advertisements, estimating whether moving each of the multiple advertisements down by N positions complies with the advertisement insertion rule; If it is in accordance with the advertisement insertion rule to move each of the multiple advertisements downward by N positions, then move each of the multiple advertisements downward by N positions; If moving each of the plurality of advertisements down N positions does not comply with the advertisement insertion rule, then N is reduced by 1, and the estimated moving of the target advertisement down N positions is returned. The steps of complying with the advertisement insertion rule are repeated until N is equal to 1.
6. The method according to claim 4 or 5, in, The step of moving the target advertisement upward in the multimedia list according to the advertisement insertion rule comprises: If the target advertisement is not located at the first target position, estimating whether moving the target advertisement to the first target position complies with the advertisement insertion rule, wherein the first target position is initially the top position of the multimedia list; If moving the target advertisement to the first target position complies with the advertisement insertion rule, moving the target advertisement to the first target position; If moving the target advertisement to the first target position does not comply with the advertisement insertion rule, the first target position is updated to the next adjacent position of the first target position, and the process returns to the step of estimating whether moving the target advertisement to the first target position complies with the advertisement insertion rule until the first target position is adjacent to the position where the target advertisement is located.
7. The method according to any one of claims 1 to 6, in, The method further comprises: If the multimedia list does not contain an advertisement and the time difference is greater than a second preset time difference, determining a candidate position in the multimedia list where the advertisement can be inserted according to the advertisement insertion rule; If the candidate position exists, sending a re-request to a server that is in communication with the terminal, wherein the re-request is used to instruct the server to obtain the advertisement to be inserted; If the advertisement to be inserted fed back by the server in response to the re-request is received, determining whether the multimedia item at a second target position is currently in the multimedia stream page, wherein the second target position is a position among the candidate positions that is closest to the top position of the multimedia list; If the multimedia item at the second target position is not currently in the multimedia stream page, inserting the advertisement to be inserted into the second target position; If the multimedia item at the second target location is currently in the multimedia stream page, The second target position is eliminated from the candidate positions, and the process returns to the step of determining whether the multimedia item at the second target position is currently in the multimedia stream page until the candidate position does not exist.
8. The method according to claim 7, in, The re-request includes the second target position and the multimedia list, so that after obtaining the advertisement to be inserted, the server estimates whether the advertisement to be inserted meets the conditions for being inserted into the second target position in the multimedia list, and feeds back the advertisement to be inserted to the terminal if the advertisement to be inserted meets the conditions.
9. The method according to claim 8, in, The conditions include: The page revenue generated by inserting the advertisement to be inserted into the second target position is positive revenue; and / or The score of the advertisement to be inserted is greater than a preset score.
10. A multimedia stream reordering device, applied to a terminal, the device include: A first determination module, configured to determine a time difference between a current time and a time when a most recent advertisement on the multimedia stream page is displayed, based on the recorded information of the terminal on the time when the advertisement is displayed on the multimedia stream page; A rearrangement module is used for rearranging the multimedia list to be displayed on the multimedia streaming page according to the time difference and the advertisement insertion rule if the multimedia list to be displayed on the multimedia streaming page contains advertisements, wherein the rearrangement includes adjusting the position of the target advertisement, the target advertisement is the advertisement that can be displayed earliest among the advertisements contained in the multimedia list, and the advertisement insertion rule includes the minimum number of multimedia items between two advertisements.
11. A computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processing device, implements the steps of the method according to any one of claims 1 to 9.
12. An electronic device, include: a storage device having a computer program stored thereon; A processing device, configured to execute the computer program in the storage device to implement the steps of the method according to any one of claims 1 to 9.
13. A computer program product, comprising a computer program, which, when executed by a processing device, implements the steps of the method according to any one of claims 1 to 9.
14. A computer program, which, when executed by a processing device, implements the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Interval based ad insertion used for the delivery of video streams
CN102077602A
Interval-based advertisement insertion for video streaming delivery
CN105654352A
Method and apparatus for presenting information stream
CN111130918A
Advertisement playlist sorting method and device
CN111666431A
Content recommendation method and device, electronic equipment and storage medium
CN114637927A
