Data processing method and device, computer, storage medium and program product

By shrinking the media window on the video playback page and displaying barrage data in the target area, the problem of existing video advertising formats affecting user experience is solved, and better advertising display effects and user experience are achieved.

CN120769097APending Publication Date: 2025-10-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511072046.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-31
Publication Date
2025-10-10

AI Technical Summary

Technical Problem

Existing video advertising formats such as pre-roll ads and bullet screen ads affect the user experience during video playback, resulting in poor display effects and increased user churn.

Method used

In the video playback page, the media window is reduced to display media data, and the barrage data is displayed in the target area. When the conditions for displaying delivery data are met, it is switched to delivery data, and special effects display and background processing are used to reduce interruption.

Benefits of technology

By pre-sensing the display of delivery data, user resistance is reduced, user experience is improved, the skip rate of delivery data is reduced, and the display effect of barrage data is guaranteed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120769097A_ABST
    Figure CN120769097A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data processing method and device, a computer, a storage medium and a program product. The method comprises the steps of displaying media data in a playing page; when the playing behavior aiming at the media data meets the delivery data display condition, performing zoom-out display on a media window used for displaying the media data in the playing page, and displaying bullet screen data in a target area of the playing page; the target area is an area except the zoomed-out media window in the playing page; and switching and displaying the media data in the zoomed-out media window as the delivery data. By adopting the method and the device, the display effect of inserting the release data into the media data can be improved, and the conflict of the object to inserting the release data into the media data can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a data processing method, device, computer, storage medium, and program product. Background Art

[0002] With the explosive growth of Internet video content, video players have become the core carrier of digital content distribution. In the existing technology, video ads mainly adopt linear advertising forms such as patch ads (such as pre-roll ads, mid-roll ads and pause ads) and barrage ads (including animated barrage ads and real barrage ads). However, patch ads will suddenly interrupt the video playback during the playback of video content, resulting in poor advertising display effect and seriously damaging the user experience. The user skip rate is high, resulting in an increase in user churn rate; barrage ads randomly insert barrage ads into the display page when playing video content, blocking the main screen of the video content, resulting in poor display effect of both video content and ads. Summary of the Invention

[0003] The embodiments of the present application provide a data processing method, device, computer, storage medium, and program product, which can improve the display effect of inserting delivery data into media data and reduce the resistance of an object to inserting delivery data into media data.

[0004] On the one hand, an embodiment of the present application provides a data processing method, the method comprising:

[0005] Display media data on the playback page;

[0006] When the playback behavior of the media data meets the conditions for displaying data, the media window used to display the media data on the playback page is reduced in size, and the barrage data is displayed in the target area of ​​the playback page; the target area is the area of ​​the playback page excluding the reduced media window;

[0007] Switches the display of media data to delivery data in the reduced media window.

[0008] In one aspect, an embodiment of the present application provides a data processing device, the device comprising:

[0009] Media data display module, used to display media data on the playback page;

[0010] The window change module is used to shrink the media window used to display the media data on the playback page when the playback behavior of the media data meets the data display conditions, and display the bullet comment data in the target area of ​​the playback page; the target area is the area of ​​the playback page excluding the shrunken media window;

[0011] The delivery data display module is used to switch the media data to delivery data in the reduced media window.

[0012] In an optional implementation, when the playback behavior of the media data meets the data delivery conditions, before shrinking the media window for displaying the media data on the playback page, the media data display module is further configured to perform the following operations:

[0013] The barrage data is displayed in the first display mode on the playback page.

[0014] In an optional implementation, after the bullet screen data is displayed in the first display mode on the playback page, the window change module is further configured to perform the following operations:

[0015] Switch the first display mode to the second display mode, and display the barrage data through the second display mode.

[0016] In an optional implementation, the window change module is further configured to perform the following operations:

[0017] Display the first background content in the target area of ​​the playback page; the bullet screen data is displayed in the first background content;

[0018] When the delivery data is displayed in the reduced media window, the first background content in the target area is switched to the second background content.

[0019] In an optional implementation, the delivery data display module is further configured to perform the following operations:

[0020] Display the recommended bullet screen control on the playback page;

[0021] In response to a trigger operation on a recommendation barrage control, at least one of the following is displayed on the playback page: bubble display data and recommendation barrage data.

[0022] In an optional implementation, the media data display module is further configured to perform the following operations:

[0023] When the playback of the delivery data ends, or the trigger operation for the target area meets the delivery data exit condition, or in response to the trigger operation for the window cancel control, the reduced media window is enlarged and displayed on the playback page, the delivery data is switched to media data in the enlarged media window, and the barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page; the window cancel control refers to the trigger control associated with the reduced media window displayed on the playback page.

[0024] In an optional implementation, the data processing device further includes a plot display module, which is specifically configured to perform the following operations:

[0025] Displaying plot guide text for the media data in the target area; the plot guide text is used to indicate key plots of unplayed content in the media data.

[0026] In an optional implementation, the window change module is further configured to perform the following operations:

[0027] In response to a triggering operation on the reduced media window containing the delivery data, a full-screen playback prompt is displayed;

[0028] In response to a trigger operation for a full-screen playback prompt message, the reduced media window is enlarged and displayed, delivery data or media data continues to be displayed in the enlarged media window, and barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page.

[0029] In an optional implementation, the data processing device further includes an order generation module, which is specifically configured to perform the following operations:

[0030] Display data interaction controls on the playback page;

[0031] In response to a trigger operation on a data interaction control, jump to and display an item details page associated with the delivery data, display detailed information of the item corresponding to the delivery data on the item details page, and display a purchase control for the item;

[0032] In response to a triggering operation on a purchase control, a business order for the item is displayed.

[0033] In an optional implementation, the barrage data includes first barrage data and second barrage data; when the delivery data display module is used to display the barrage data in the target area of ​​the playback page, the delivery data display module is specifically used to perform the following operations:

[0034] In the target area of ​​the playback page, the first barrage data and the second barrage data are displayed; the first barrage data is associated with the delivery data; the second barrage data is associated with the media data; the display style of the first barrage data and the display style of the second barrage data are different.

[0035] In an optional implementation, the delivery data display module is further configured to perform the following operations:

[0036] In the barrage database corresponding to the media data, matching processing is performed on the delivery data and each candidate barrage in the barrage database to obtain a matching value corresponding to each candidate barrage;

[0037] Determine M candidate bullet comments whose matching values ​​are greater than or equal to the correlation threshold as the first bullet comment data; M is a positive integer;

[0038] Determine N candidate bullet comments whose matching values ​​are less than the correlation threshold as the second bullet comment data; N is a positive integer;

[0039] The first barrage data and the second barrage data are combined to obtain barrage data.

[0040] In an optional implementation, when the delivery data display module is used to display the bullet chat data in the target area of ​​the playback page, the delivery data display module is specifically used to perform the following operations:

[0041] Get the barrage display parameters associated with the barrage data; barrage display parameters include the track creation time interval and the number of unit track displays;

[0042] Based on the trajectory creation time interval, R trajectory creation cycles for the bullet screen data are determined; R is a positive integer; R trajectory creation cycles include trajectory creation cycle C k , k is a positive integer less than or equal to R;

[0043] When the system time reaches the trajectory creation cycle C k When , Q display tracks are created in the target area of ​​the play page; Q is a positive integer;

[0044] Based on Q display trajectories and the number of unit trajectory displays, determine the trajectory creation cycle C k The corresponding number of barrage displays; the number of unit track displays is used to indicate the number of barrage data displayed by a single display track;

[0045] Obtain a quantity of barrage data equal to the number of barrage displays from the barrage data, and send the quantity of barrage data equal to the number of barrage displays to Q display tracks in sequence for display; the sum of the number of barrage displays corresponding to the R track creation cycles is the number of barrage data.

[0046] In an optional implementation, the media data includes G data frames, and the G data frames include data frame D z , z is a positive integer less than or equal to G; the window change module is further used to perform the following operations:

[0047] Get data frame D z The corresponding frame index in the media data is detected;

[0048] If the detected frame index matches the target frame index indicated by the delivery data display condition, it is determined that the playback behavior of the media data meets the delivery data display condition; the data frame D zThe data frame of the media data currently being displayed.

[0049] In an optional implementation, the window change module is further configured to perform the following operations:

[0050] Obtain special effect identifiers and special effect configurations for barrage data from the special effect database;

[0051] Based on the delivery data, special effect identifier and special effect configuration, a delivery operation structure for the delivery data is created; the delivery operation structure is used to indicate that the barrage data is displayed in a second display mode; the second display mode is determined based on the special effect identifier and special effect configuration.

[0052] In an optional implementation, when the window change module is used to create a delivery operation structure for delivery data based on the delivery data, the special effect identifier, and the special effect configuration, the window change module is specifically used to perform the following operations:

[0053] Obtaining a display trigger time for the second display mode and display configuration information for the delivery data; the display configuration information is used to indicate a display start time and a display duration period for the delivery data;

[0054] The display trigger time, display configuration information, delivery data, special effect identifier and special effect configuration are encapsulated to obtain a delivery operation structure for the delivery data.

[0055] In an optional implementation, the media window is displayed in the first player layer; when the window changing module is used to reduce the size of the media window for displaying media data in the playback page, the window changing module is specifically used to perform the following operations:

[0056] The first player layer is zoomed out to obtain a second player layer, and the layer order of the second player layer is set above the layer order of the bullet screen layer; the bullet screen layer is used to display the bullet screen data;

[0057] In an optional implementation, when the window changing module is used to display the first background content in the target area of ​​the playback page, the window changing module is specifically used to perform the following operations:

[0058] Create a background layer, display the first background content in the background layer, and set the layer order of the bullet comment layer above the layer order of the background layer; the target area refers to the display area in the background layer except the area covered by the second player layer.

[0059] In an optional implementation, the window change module is further configured to perform the following operations:

[0060] Obtaining delivery data display parameters for the media data, and determining a display time period for the media data in the reduced media window based on the delivery data display parameters;

[0061] Obtain S video frames of the playback progress belonging to the display time period in the media data; S is a positive integer;

[0062] The device type of the service device is obtained, and based on the device type and S video frames, a first background content is generated for display in a target area of ​​the playback page; the service device refers to a device for playing media data.

[0063] In an optional implementation, the S video frames include video frame B j , j is a positive integer less than or equal to S; when the window change module is used to generate the first background content for display in the target area of ​​the playback page based on the device type and S video frames, the window change module is specifically used to perform the following operations:

[0064] If the device type is the first performance type and the reduced media window is displaying video frame B j , then for video frame B j Performing blur processing to obtain a first blurred video frame, and determining the first blurred video frame as first background content for display in a target area of ​​the playback page;

[0065] If the device type is the second performance type, and the reduced media window is displaying video frame B j , then blurring is performed on the first video frame of the S video frames to obtain a second blurred video frame, and the second blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

[0066] In an optional implementation, the window change module is further configured to perform the following operations:

[0067] If the device type is the third performance type, obtaining a fuzzy processing parameter corresponding to the third performance type, and dividing the S video frames based on the fuzzy processing parameter to obtain P video frame groups; P is a positive integer; the P video frame groups include the i-th video frame group, and i is a positive integer less than or equal to P;

[0068] The first video frame in each video frame group is obtained from the P video frame groups to obtain P background frames; the P background frames include the background frame A corresponding to the i-th video frame group. i ;

[0069] When the video frame in the i-th video frame group is being displayed in the reduced media window, the background frame A iBlurring processing is performed to obtain a third blurred video frame, and the third blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

[0070] In an optional implementation, when the delivery data display module is used to display the recommended bullet screen control on the playback page, the delivery data display module is specifically used to perform the following operations:

[0071] Obtain the delivery data display parameters corresponding to the delivery data, and obtain the control image based on the control image address in the delivery data display parameters;

[0072] A recommended bullet screen control is generated based on the control image and the control size indicated by the delivery data display parameters, and the recommended bullet screen control is displayed at the control display position indicated by the delivery data display parameters on the playback page.

[0073] On the one hand, an embodiment of the present application provides a computer device, including a processor, a memory, and an input and output interface;

[0074] The processor is connected to the memory and the input and output interface respectively, wherein the input and output interface is used to receive and output data, the memory is used to store the computer program, and the processor is used to call the computer program so that the computer device including the processor executes the method in one aspect of the embodiment of the present application.

[0075] On one hand, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the method in one aspect of the embodiment of the present application.

[0076] In one aspect, an embodiment of the present application provides a computer program product, comprising a computer program stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium and executes the computer program, causing the computer device to perform the methods provided in various optional embodiments of the present application. In other words, when the computer program is executed by the processor, the methods provided in various optional embodiments of the present application are implemented.

[0077] In an embodiment of the present application, media data is displayed on a playback page; when the playback behavior of the media data meets the delivery data display conditions, the media window used to display the media data on the playback page is reduced and displayed, and the bullet screen data is displayed in the target area of ​​the playback page; the target area is the area on the playback page other than the reduced media window; the media data is switched to delivery data in the reduced media window. Through the above process, through the two-stage delivery data display design of "reducing the display media window and displaying the media data, and then switching to display the delivery data", the object can be pre-aware of the upcoming display of delivery data through the reduced media window, thereby reducing the suddenness of the interruption of the display of media data, reducing the object's resistance to the delivery data, improving the object's experience when watching the media data, and reducing the object's skip rate for the delivery data. Moreover, by displaying the bullet screen data in the target area, the media data or delivery data in the reduced media window will not be obscured while the bullet screen data is displayed normally, thereby ensuring the display effect of the bullet screen data while not affecting the display effect of the media data and delivery data. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0079] Figure 1 This is a network interaction architecture diagram provided by an embodiment of the present application;

[0080] Figure 2 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 1 ;

[0081] Figure 3 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 1 ;

[0082] Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 ;

[0083] Figure 5 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 2 ;

[0084] Figure 6 This is a schematic diagram of a scene of layer order transformation provided by an embodiment of the present application;

[0085] Figure 7 This is a schematic diagram of a scene for determining a background frame provided by an embodiment of the present application;

[0086] Figure 8 This is a schematic diagram of a playback switching scenario provided by an embodiment of the present application;

[0087] Figure 9 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 3 ;

[0088] Figure 10 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 4 ;

[0089] Figure 11 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 ;

[0090] Figure 12 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 4 ;

[0091] Figure 13 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 5 ;

[0092] Figure 14 This is a schematic diagram of a data processing device provided in an embodiment of the present application. Figure 1 ;

[0093] Figure 15 This is a schematic diagram of a data processing device provided in an embodiment of the present application. Figure 2 ;

[0094] Figure 16 It is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0095] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0096] Among them, if it is necessary to collect object (such as user, etc.) data in this application, a prompt interface or pop-up window will be displayed before or during the collection. The prompt interface or pop-up window is used to remind the user that certain data is currently being collected. Only after the user confirms the prompt interface or pop-up window, the relevant steps for data acquisition will be started, otherwise the process will end. Moreover, the acquired user data will be used in reasonable and legal scenarios or purposes. Optionally, in some scenarios where user data needs to be used but has not been authorized by the user, authorization can be requested from the user, and the user data can be used when the authorization is passed.

[0097] It is understandable that in the specific implementation of this application, the user data involved, when the following embodiments of this application are applied to specific products or technologies, needs to obtain user permission or consent, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of the relevant regions.

[0098] In the examples of this application, see Figure 1 , Figure 1 This is a network interaction architecture diagram provided by an embodiment of the present application, such as Figure 1 As shown, it includes a server 101 and a business device cluster, and the business device cluster may include business devices 102a, 102b, 102c, ..., 102n, wherein there may be a communication connection between the business device clusters, for example, there is a communication connection between business device 102a and business device 102b, and there is a communication connection between business device 102a and business device 102c. At the same time, any business device in the business device cluster may have a communication connection with the server 101, for example, there is a communication connection between business device 102a and server 101. Optionally, the communication connection between business device 102a and any business device (such as business device 102b) may be achieved through a communication connection between business device 102a and server 101 and a communication connection between server 101 and business device 102b. The above-mentioned communication connection does not limit the connection method, and may be directly or indirectly connected through a wired communication method, or directly or indirectly connected through a wireless communication method, or through other methods, which are not limited in this application.

[0099] It should be understood that Figure 1 Each business device and server 101 in the business device cluster shown in the figure can be installed with an application client. When the application client runs in each business device and computer device, each business device can communicate with the above-mentioned Figure 1The servers 101 shown in the figure perform data interaction, so that the server 101 can receive business data from each business device. The application client can be an application client (for example, a video player) such as a video playback application that has the function of displaying data information such as text, images, audio, and video. The application client can provide video playback services to the object using the application client. The application client can be an independent client or an embedded sub-client integrated in a client (for example, an instant messaging client, a social client, etc.), which is not limited here.

[0100] This data processing method can be jointly executed by any business device in the business device cluster and the server 101, or can be executed separately by any business device or server 101 in the business device cluster. There is no limitation here. The following is an explanation of the use case in which any business device in the business device cluster (taking business device 102a as an example) and server 101 jointly execute the use case. Business device 102a can respond to the trigger operation (such as a click operation) of the business object (user) on the application client (taking a video player as an example), open the video player, and request metadata such as recommended content, popular dramas, and classification lists from the application server corresponding to the video player (for example, server 101). Server 101 can return metadata to business device 102a, and the business device can render the interface based on the metadata. When the user clicks to play an episode of a series (for example, media data), business device 102a can initiate a play request to server 101. The play request may include the user's account information, device information, network type, etc. Based on the play request, the server 101 can verify the user's play permission, determine the play strategy of the series or a certain episode, select the optimal CDN node address to obtain the video stream according to the user's location and network conditions, obtain the play list locator (Uniform Resource Locator, URL) of the video stream, obtain the barrage database identifier corresponding to the series, obtain the initialized delivery operation structure, etc. Among them, the delivery operation structure may include but is not limited to delivery data display conditions, delivery data and special effect identifiers, etc. The delivery operation structure can be used to display the barrage data based on the barrage special effect indicated by the special effect identifier when the playback behavior of the media data meets the delivery data conditions, and display the delivery data. The delivery data can be an advertising video inserted and played in the media data when the business device 102a plays the media data. The server 101 can send the play list URL, barrage database identifier, delivery operation structure, etc. to the business device 102a, and the business device 102a can display the media data on the playback page of the application client based on the play list URL, barrage database identifier and delivery operation structure.

[0101] Further, the business device can determine a display condition of the delivery data based on the delivery operation structure, and when the business device 102a meets the display condition of the delivery data based on the playing behavior of the media data, the business device 102a can display the media window for displaying the media data in a reduced manner, and display the barrage data in the target area of the playing page. The barrage data can be obtained from the barrage database by the business device 102a based on the barrage database identifier. The target area can be an area of the playing page other than the reduced media window. Further, the business device 102a can switch the display of the media data to the display of the delivery data in the reduced media window.

[0102] It can be understood that the business device and the server mentioned in the embodiments of the present application can also be a computer device. The business device mentioned above can be an electronic device, including but not limited to a mobile phone, a tablet computer, a desktop computer, a notebook computer, a palm computer, a vehicle-mounted device, an augmented reality / virtual reality (AR / VR) device, a head-mounted display, a smart television, a wearable device, and other mobile internet devices (MID) with network access capability. Figure 1 As shown in FIG. 1, the business device can be a mobile phone (as shown by the business device 102a), a desktop computer (as shown by the business device 102b), a tablet computer (as shown by the business device 102c), a notebook computer (as shown by the business device 102n), and the like, Figure 1 Only some of the devices are listed. The server mentioned above can be a standalone physical server, or a server cluster or distributed system composed of multiple physical servers.

[0103] Through the above process, through the two stages of the advertisement display design of reducing the display of the media window and displaying the media data-switching the display of the delivery data, the object can perceive the delivery data to be displayed in advance through the reduced media window, so as to reduce the suddenness of interrupting the display of the media data, reduce the resistance of the object to the delivery data, improve the experience of the object watching the media data, and reduce the skip rate of the object to the delivery data. Moreover, by displaying the barrage data in the target area, the media data or the delivery data in the reduced media window can be displayed without blocking the barrage data, so as to ensure the display effect of the barrage data without affecting the display effect of the media data and the delivery data.

[0104] Further, please refer to Figure 2 , Figure 2 is a flowchart of a data processing method provided by the embodiments of the present application Figure 1The data processing method can be executed by a computer device, which can be Figure 1 Any business device in the business device cluster shown can also be Figure 1 The following will be described by taking the data processing method executed by a computer device as an example. The data processing method may include at least the following steps S201 to S203:

[0105] Step S201: display media data on the play page.

[0106] In the examples of this application, please refer to Figure 3 , Figure 3 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 1 .like Figure 3 As shown, a computer device may have multiple applications installed, such as Figure 3 As shown in the display interface 301 corresponding to the computer device shown in the embodiment, it includes application A01, application A02 and application A03. Taking application A01 as the application client mentioned in the embodiment of the present application as an example, the computer device can respond to the trigger operation of the main object (that is, the user using the computer device) on application A01, and display the application interface corresponding to application A01 in the display interface 302 corresponding to the computer device. When the user clicks on the media data displayed in the application interface (for example, it can be an episode of a series in application A01), the computer device can display the media data on its playback page, such as Figure 3 As shown in the play page 302 in FIG, media data 302a is being displayed. As shown in the play progress bar 302b, the play page 302 is currently playing to the 7th minute and 15th second (7:15) of the media data 302a.

[0107] Step S202: When the playback behavior of the media data meets the data delivery display conditions, the media window used to display the media data in the playback page is reduced in size and the barrage data is displayed in the target area of ​​the playback page; the target area is the area of ​​the playback page excluding the reduced media window.

[0108] In an embodiment of the present application, when playing media data 302a, the computer device can detect in real time whether each video frame corresponding to the media data 302a satisfies the delivery data display condition. That is, it can detect whether each video frame being played meets the pre-set delivery data display condition. The computer device can obtain the current video frame being played on the playback page. If the playback time of the media data 302a corresponding to the current video frame matches the display time indicated by the delivery data display condition, the computer device can determine that the playback behavior of the media data satisfies the delivery data display condition.

[0109] Furthermore, the computer device can reduce the size of the media window used to display the media data in the play page, and obtain the following Figure 3 In the reduced media window 303a shown in the playback page 303 of the video, the computer device can continue to display the media data 303b in the reduced media window 303a. The media data 302a and the media data 303b only differ in screen size. The computer device can display the bullet screen data in the target area of ​​the playback page 303. As shown in the playback page 303, the bullet screen data includes "so beautiful", "so well acted", "so beautiful ah ah ah" and bullet screen data 303c "so beautiful, so beautiful". The target area is the area of ​​the playback page 303 excluding the reduced media window 303a. As shown in the bullet screen data 303c "so beautiful, so beautiful", its display position exceeds the target area, and the word "so beautiful" is not visible. Optionally, the bullet screen data 303c "so beautiful, so beautiful" can also be partially obscured by the reduced media window 303a, so that the word "so beautiful" is not visible. It can be considered that the reduced media window 303a is displayed above the bullet screen data.

[0110] Step S203: Switch the media data to display as delivery data in the reduced media window.

[0111] In the embodiments of this application, Figure 3 As shown in the playback page 303 in the video, the computer device switches the display of media data 303b to delivery data 304a in the reduced media window 303a in the playback page 303, resulting in the display result shown in the playback page 304. Delivery data 304a may be an advertisement video for XX beverage. Optionally, the computer device may continue to display the barrage data in the target area of ​​the playback page 304. As shown in the playback page 304, the barrage data now includes the following: "This is quite delicious," "The beverage is delicious," "This beverage is not expensive," and "It looks so good, so beautiful." The word "drink" in the barrage data 304c "The beverage is delicious" and the word "good" in the barrage data 304b "It looks so good, so beautiful" are not visible because they are outside the target area. Alternatively, it can be understood that the word "drink" in the barrage data 304c "The beverage is delicious" and the word "good" in the barrage data 304b "It looks so good, so beautiful" are obscured by the reduced media window 303a.

[0112] Through the above process, by reducing the display media window and displaying media data - switching to display the two-stage advertising display design of delivery data, the target audience can pre-perceive the upcoming delivery data display through the reduced media window, thereby reducing the suddenness of the interruption of the display of media data, thereby reducing the target audience's resistance to the delivery data, and improving the target audience's experience of viewing the media data, thereby reducing the target audience's skip rate for delivery data. Moreover, by displaying the bullet screen data in the target area, the media data or delivery data in the reduced media window will not be obscured while the bullet screen data is normally displayed, thereby ensuring the display effect of the bullet screen data without affecting the display effect of the media data and delivery data.

[0113] Further, see Figure 4 , Figure 4 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 2 The data processing method can be executed by a computer device, which can be Figure 1 Any business device in the business device cluster shown can also be Figure 1 The following will be described by taking the data processing method executed by a computer device as an example. The data processing method may at least include the following steps S401 to S405:

[0114] Step S401: display media data on the play page.

[0115] In the embodiment of the present application, the specific implementation process of step S401 can be found in Figure 2 The specific description process in step S201 is not repeated here.

[0116] Step S402: Display the bullet screen data in a first display mode on the playback page.

[0117] In the examples of this application, please refer to Figure 5 , Figure 5 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 2 .like Figure 5 As shown, when the playback behavior of the media data meets the conditions for displaying the data, the media window for displaying the media data in the playback page is reduced in size before being displayed. Figure 3 As an example, the computer device can display the barrage data in the first display mode in the play page 302, and obtain the following Figure 5The playback page 501 shown. At this time, the barrage data can be real-time barrage data, and the real-time barrage data can refer to the barrage sent by the business device corresponding to multiple business objects (including the main object) obtained from the barrage database when the computer device plays the media data to the corresponding position. For example, when the computer device plays the media data 302a to the 7th minute and 15 seconds, the main object sends barrage 4, and when the other business devices play the media data 302a to the 7th minute and 15 seconds, the other business objects send barrage 1, barrage 2, barrage 3, barrage 5 and barrage 6 respectively. At this time, the real-time barrage data that can be displayed by the computer device may include barrage 1, barrage 2, barrage 3, barrage 4, barrage 5, and barrage 6 as shown in the playback page 501. Among them, the first display method refers to a barrage display method that makes the barrage data flow normally from right to left when playing media data. Optionally, as shown in the play page 501, the bullet chat data displayed in the first display mode can be displayed on the media data 501a, that is, at the same coordinate position in the play page 501, when both a part of the screen elements in the media data and the bullet chat data are displayed, the main object cannot see the part of the screen elements in the media data that are blocked by the bullet chat data. Figure 3 The media data 302a in the play page 302 is the same.

[0118] Step S403: When the playback behavior of the media data meets the data delivery display conditions, the first display mode is switched to the second display mode, and the barrage data is displayed using the second display mode. The media window used to display the media data in the playback page is reduced in size and the barrage data is displayed in the target area of ​​the playback page; the target area is the area in the playback page excluding the reduced media window.

[0119] In the embodiment of the present application, when the computer device plays the media data 501a, it can detect in real time whether each video frame corresponding to the media data 501a meets the data display conditions, that is, it can detect whether each frame of the played video meets the pre-set data display conditions. Specifically, the media data 501a may include G data frames, and the G data frames include data frames D z , z is a positive integer less than or equal to G. The computer device can obtain the data frame D z The corresponding frame index in the media data. The frame index can be used to indicate the data frame D z The corresponding playback time. Data frame D zThe frame of data currently displayed by the media data 501a. Further, the computer device can detect the frame index. If it is detected that the frame index does not match the target frame index indicated by the delivery data display condition, it is determined that the playing behavior of the media data does not satisfy the delivery data display condition. When the playing behavior of the media data does not satisfy the delivery data display condition, the computer device can continue to display the media data in the playing page of the media data until it is detected that the frame index of the current video frame corresponding to the media data displayed in the playing page matches the target frame index indicated by the delivery data display condition. As shown in FIG. 5A, the computer device can continue to display the playing page 501. Figure 5

[0120] Optionally, if the computer device detects that the frame index matches the target frame index indicated by the delivery data display condition, it is determined that the playing behavior of the media data satisfies the delivery data display condition. The target frame index indicated by the delivery data display condition can be pre-set. Further, when the playing behavior of the media data satisfies the delivery data display condition, as shown in FIG. 5B, when the target frame index indicated by the delivery data display condition corresponds to 7:17 of the media data, as shown in the playing page 501, the computer device plays the media data 501a to 7:17, at this time, the playing behavior of the media data 501a satisfies the delivery data display condition. Further, the computer device can switch the first display mode to the second display mode in the playing page 501 of the media data, display the barrage data through the second display mode, and obtain a playing page 501 as shown in FIG. 5B. Figure 5 Figure 5 ​​. It is understandable that after the computer device displays the barrage data in the first display mode in the playback page, the computer device switches the first display mode to the second display mode, and displays the barrage data through the second display mode, until the computer device finishes playing the delivery data, the computer device can display the barrage data through the second display mode. Optionally, the computer device can start switching the first display mode to the second display mode and displaying the barrage data through the second display mode when the playback behavior of the media data meets the delivery data display conditions and before the media window for displaying the media data in the playback page is reduced and displayed. The mention of starting to switch the first display mode to the second display mode before the media window for displaying the media data in the playback page is reduced and displayed here only means that the switching starts within this time period, and the actual display of the barrage data through the second display mode can continue until the playback of the delivery data ends (when the computer device displays the barrage data in the target area of ​​the playback page, the barrage data is also displayed through the second display mode). Among them, the second display method is different from the first display method. The second display method may refer to a barrage special effect display method that makes the barrage data flow abnormally from right to left. It can also be considered that the first display method refers to the default display method for barrage data provided by application A01, that is, the normal display method that flows from right to left in the playback page. The second display method may refer to a barrage special effect in the special effect display method provided by application A01, that is, a special effect display method. Among them, the second display method can also include attribute animation of the barrage, such as scaling changes or opacity changes. That is, when the barrage data is displayed on the playback page, the size of its font can gradually change from size 1 to size 2 within its total life span, and its transparency can gradually change from 150 to 255 and then to 0, where a transparency of 0 means that the barrage data is not displayed at all on the playback page (that is, it can be considered to be hidden or disappeared).

[0121] As shown in the 5 scroll data (including scroll a, scroll b, scroll b, scroll d, scroll e respectively) in the playing page 502. Among them, the display mode of the 5 scroll data is different from the above-mentioned 6 real-time scroll data (6 real-time scroll data in the playing page 501). Taking scroll 1 in the 6 real-time scroll data and scroll a in the 5 scroll data as an example, scroll 1 can be displayed from the right side of the playing page 501, and moved from right to left in the display track corresponding to the first display mode until it disappears from the left side of the playing page 501. While scroll a can be directly displayed in the display track corresponding to the second display mode, for example, in the playing page 502, scroll a can be directly displayed on the left side of the playing page 502 and gradually disappear after a few seconds of display. Optionally, the computer device can display the scroll data on the media data 501a in the second display mode.

[0122] Optionally, the scroll data displayed in the playing page 502 can come from the real-time scroll data displayed in the playing page 501, that is, the text of the scroll data in the playing page 502 and the scroll data in the playing page 501 can be the same, only the display mode of the scroll data is different. Optionally, the scroll data displayed in the playing page 502 can also be the scroll data selected and displayed by the computer device from the scroll database. Among them, the scroll data displayed in the playing page 502 can include scroll associated with media data, or scroll associated with delivery data, which is not limited here.

[0123] Optionally, the display process of bullet comment data can be implemented through the ECS (Entity-Component-System) system. The ECS system consists of entities, components, and systems. An entity can be understood as a container, a component represents the data within the container, and a system is the factory that processes the container. Taking the display process of real-time bullet comment data as an example, each piece of real-time bullet comment data can be associated with a bullet comment entity, which contains the required components. Components related to the operation of real-time bullet comment data include SplineMoveComponent (trajectory movement component), LiveComponent (life component), and PositionComponent (position component). The SplineMoveComponent indicates the trajectory information of real-time bullet comment data; the LiveComponent indicates the elapsed and total lifespan of real-time bullet comment data; and the PositionComponent indicates the position information of real-time bullet comment data. The system includes three systems, in order of execution: LiveChangeSystem (life state change system), SplineMoveSystem (trajectory movement calculation system), and PositionSystem (position update system). LiveChangeSystem is used to read LiveComponnet and update the lifetime. For example, if the interval between the previous and current frames displayed on a computer device is 16 milliseconds, the lifetime of the live comment data displayed on the computer device will be incremented by 16ms. When the lifetime of a live comment data exceeds its total lifetime, the live comment data is destroyed, meaning it is no longer displayed on the computer device.

[0124] Among them, SplineMoveSystem is used to read all SplineMoveComponent, LiveComp onent and PositionComponent, so that the computer device can calculate the moved distance of a real-time bullet screen data through SplineMoveSystem. An optional formula for calculating the moved distance can be "moved distance = display trajectory length * (existing life time / total life time)". Furthermore, the computer device can calculate the display position of the real-time bullet screen data on the playback page based on the information of the moved distance and the display trajectory. For example, the display trajectory of the real-time bullet screen data is a trajectory from (100,10) to (0,10). If the moved distance is 44, the display position of the real-time bullet screen data is the coordinate point (56,10). Among them, PositionSystem is used to read all PositionComponent, so that the computer device can read the display position of the real-time bullet screen data from PositionComponent, and update the display position of the real-time bullet screen data in PositionComponent when displaying the next frame, that is, write the updated display position to PositionComp onent.

[0125] Among them, the specific implementation process of the computer device obtaining the barrage data can be: the computer device can match the delivery data and each candidate barrage in the barrage database corresponding to the media data to obtain the matching value corresponding to each candidate barrage. Specifically, the computer device can determine the keyword corresponding to the delivery data, and match it in each candidate barrage based on the keyword. If a candidate barrage includes the keyword, the computer device can set the matching value corresponding to the candidate barrage to a first value (for example, 1); if a candidate barrage does not include the keyword, the computer device can set the matching value corresponding to the candidate barrage to a second value (for example, 0). Optionally, the computer device can also calculate the vector similarity between the delivery data and each candidate barrage, and determine the vector similarity as the matching value corresponding to each candidate barrage.

[0126] It is understandable that the association thresholds corresponding to different methods of determining the matching values ​​of candidate barrages may be different. When the computer device sets the matching value corresponding to the candidate barrage to the first numerical value or the second numerical value, the corresponding set association threshold may be 0.5. At this time, the computer device may determine the M candidate barrages whose matching values ​​are greater than or equal to the association threshold as the first barrage data (that is, the M candidate barrages whose matching values ​​are the first numerical value are determined as the first barrage data). Wherein, M is a positive integer. The computer device may determine the N candidate barrages whose matching values ​​are less than the association threshold as the second barrage data (that is, the N candidate barrages whose matching values ​​are the second numerical value can be determined as the second barrage data). Wherein, N is a positive integer. Further, the computer device may combine the first barrage data and the second barrage data to obtain barrage data. That is, the barrage data may include the first barrage data and the second barrage data. The specific implementation process of the computer device displaying the barrage data in the target area of ​​the playback page may also be: the computer device may display the first barrage data and the second barrage data in the target area of ​​the playback page. Among them, the first barrage data is associated with the delivery data; the second barrage data is associated with the media data, or the second barrage data refers to the barrage in the barrage data that is not associated with the delivery data; the display style of the first barrage data and the display style of the second barrage data are different. It can be understood that the display style of the first barrage data and the display style of the second barrage data are mainly used to display the display status of the barrage data. For example, the display style of the first barrage data may include but is not limited to highlight display, font enlargement display or highlight display, etc. The display style of the first barrage data is more prominent and more conspicuous than the display style of the second barrage data. The first barrage data (associated with the delivery data) displayed in the first style (display style of the first barrage data) can more intuitively and prominently display the barrage associated with the delivery data to the user, so that the user can clearly notice the first barrage data, thereby increasing the user's attention to the first barrage data associated with the delivery data, thereby achieving increased attention to the delivery data.

[0127] The specific implementation process of displaying the bullet screen data in the target area of ​​the playback page by the computer device may be: the computer device may obtain the bullet screen display parameters associated with the bullet screen data. The bullet screen display parameters include the track creation time interval and the number of unit track displays. The computer device may determine R track creation cycles for the bullet screen data based on the track creation time interval; R is a positive integer; the R track creation cycles include the track creation cycle C k , k is a positive integer less than or equal to R. For example, the computer device can randomly generate a display track in the playback page every 0.5 seconds. During the entire display period of the bullet comment data, every 0.5 seconds is a track creation cycle. Further, when the system time reaches the track creation cycle Ck When Q display tracks are created in the target area of ​​the play page, Q is a positive integer. The computer device can determine the track creation period C based on the Q display tracks and the number of unit track displays. k The corresponding number of bullet comments, that is, the computer device can multiply the product of Q display tracks and the number of unit track displays to determine the track creation period C k The corresponding number of barrage displays. Among them, the number of unit track displays is used to indicate the number of barrage data displayed by a single display track. For example, when Q is equal to 5 and the number of unit track displays is 1, the track creation cycle C k The corresponding number of barrage displays is 5, such as Figure 5 As shown in the play page 502, there are 5 display tracks in the play page 502, and each display track displays a barrage data.

[0128] Furthermore, the computer device can obtain a number of barrage data equal to the number of barrage displays from the barrage data, and sequentially send the barrage data equal to the number of barrage displays to Q display tracks for display. The sum of the number of barrage displays corresponding to each of the R track creation cycles is the number of barrage data.

[0129] Optionally, the second display method can be called a barrage special effect, which can be implemented by one or more special effect components. For example, the second display method can be implemented by a trajectory random creation component (for example, SplineRondomCreator), a text attribute component (for example, TextAttribute) and a special effect trigger component (for example, EffectTrigger). Among them, the trajectory random creation component is used to randomly generate display trajectories on the screen at a fixed frequency in the playback page, that is, to create random display trajectories according to the trajectory creation cycle, and send the barrage data to the generated display trajectory in sequence for display. The text attribute component is used to configure the color, stroke and other text attributes of the barrage data on the screen. The special effect trigger component triggers the barrage data to perform attribute animation, including scaling, opacity, etc.

[0130] It should be noted that before the computer device displays the barrage data in the target area of ​​the playback page of the media data, it can also obtain the special effect identifier and special effect configuration for the barrage data from the special effect database. Among them, the special effect configuration may include but is not limited to the data resources, parameters or execution instructions corresponding to the barrage special effect corresponding to the special effect identifier (that is, it can be the second display method mentioned above). The computer device can call the special effect configuration through the special effect identifier to realize the display of the barrage data through the second display method. Among them, the specific implementation process of obtaining the special effect identifier can be that the main object determines a special effect identifier in advance, and the computer device calls the corresponding special effect configuration from the special effect database based on the special effect identifier; or, the computer device can randomly select a barrage special effect from the special effect database and obtain the special effect identifier and special effect configuration of the barrage special effect; or, the special effect database includes statistical information (including but not limited to usage rate, user popularity, etc.) of the barrage special effect corresponding to each special effect identifier, and the computer device can obtain the special effect identifier and special effect configuration of a barrage special effect from the special effect database based on the statistical information. For example, a computer device can retrieve the special effect identifier and special effect configuration of the most frequently used bullet comment special effect from a special effect database. By dynamically determining the special effect identifier and special effect configuration, the computer device implements differentiated presentation of the data processing method in different scenarios. For example, in media data 1, bullet comment data can be displayed using the special effect configuration corresponding to special effect identifier a, while in media data 2, bullet comment data can be displayed using the special effect configuration corresponding to special effect identifier b.

[0131] Furthermore, the computer device can create a delivery operation structure for the delivery data based on the delivery data, special effect identifier and special effect configuration. The delivery operation structure is used to indicate that the barrage data is displayed in a second display mode; the second display mode is determined based on the special effect identifier and special effect configuration. Specifically, the computer device can obtain the display trigger time for the second display mode and obtain the display configuration information for the delivery data. The display configuration information is used to indicate the display start time and display duration period for the delivery data. The computer device can encapsulate the display trigger time, display configuration information, delivery data, special effect identifier and special effect configuration to obtain a delivery operation structure for the delivery data.

[0132] In an embodiment of the present application, the above-mentioned delivery operation structure may also include a triggering shrinking time for shrinking the display of the media window used to display media data (i.e., shrinking the frame display). An optional delivery operation structure can be expressed as: "danmakuEffectADInfos:[ / / Danmu interactive creative advertising data {playTime:900,danmakuEffectLaunchTime:0,playerShrinkLaunchTime:10,adLaunchTime:10,adDuration:15,danmakuEffect:{...},danmakuAdBubbleEffect:{...},adInfo:{...}}]". Among them, "kuEffectADInfos:[]" is used to indicate the delivery operation structure; "playTime:900" can be used to indicate the target frame index, "playTime:900" and "danmakuEffectL "aunchTime:0" is used to indicate the display trigger time when the barrage data can be displayed in the target area of ​​the playback page in the second display mode when the media data is played to 900 seconds, that is, the delivery data display condition is met; "playerShrinkLaunchTime:10" is used to indicate the triggering time of the shrinking frame, that is, the shrinking frame display starts 10 seconds after the triggering of the display of the barrage data in the second display mode; "adLaunchTime:10" is used to indicate the display start time for the delivery data, that is, the media data is switched to delivery data in the reduced media window 10 seconds after the shrinking frame display, that is, the advertising video starts to play; "adDuration:15" is used to indicate that the display duration of the delivery data is 15 seconds; "danmakuEffect:{...}" is used to indicate the barrage special effect; "danmakuAdBubbleEffect:{...}" is used to indicate the control special effect of the recommended barrage control associated with the delivery data; "adInfo:{...}" is used to indicate the delivery data.

[0133] Furthermore, when the computer device's playback behavior for media data meets the shrinking display condition (i.e., the cumulative duration of continuous display of the barrage data in the second display mode meets the shrinking display condition), that is, when the trigger shrinking time is reached, the computer device can shrink the media window used to display the media data in the playback page, display the barrage data in the target area of ​​the playback page, and while displaying the barrage data in the target area of ​​the playback page, the computer device can display the first background content in the target area of ​​the playback page. Wherein, the target area is the area of ​​the playback page other than the shrunken media window; the first background content is associated with the media data; the barrage data is displayed in the first background content. Optionally, in an embodiment of the present application, the computer device can also start to switch the first display mode to the second display mode after shrinking the media window used to display the media data in the playback page, display the barrage data in the target area of ​​the playback page through the second display mode, and can continue to display the barrage data in the target area of ​​the playback page through the second display mode until the playback of the delivery data ends. Optionally, the display of barrage data in the first background content can be understood as the barrage data covering the first background content displayed in the target area. It is understandable that the process of the computer device shrinking and displaying the media window can be a gradually changing shrinking animation process, that is, the media window gradually becomes smaller until it is reduced to a target size. The target size can be set in advance. Optionally, the computer device can shrink and display the media window used to display media data in the playback page, display the background window in the playback page, and display the media background content associated with the media data in the background window; the shrunken media window is displayed overlaid on the background window; the size of the shrunken media window is smaller than the size of the background window. The first background content is the background content in the media background content except for the background content covered by the shrunken media window. Please refer to Figure 5 ,like Figure 5 As shown in the playback progress bar 502a on the playback page 502 in FIG, playback page 502 is currently playing to the 7th minute and 17th second (7:17) of media data 501a. Assuming that the playback behavior of the media data satisfies the shrinking display condition at this time, the computer device can shrink the media window used to display the media data on playback page 503 to obtain a shrunken media window 503a. It is understandable that the shrunken media window 503a continues to display media data 503b, and the media data 501a and media data 503b only differ in screen size.

[0134] The computer device may display a background window 503e on the playback page 503, and media background content 503c associated with the media data may be displayed in the background window 503e. It is understood that the size of the background window 503e may be the same as the page size of the playback page 503, or slightly smaller than the page size of the playback page 503, and this is not limited here. The reduced media window 503a is displayed overlaid on the background window 503e; the size of the reduced media window 503a is smaller than the size of the background window 503e; and the first background content is the background content in the media background content 503c excluding the background content covered by the reduced media window 503a. Multiple bullet comments are displayed on the playback page 503, including "So beautiful," "Great acting," "So beautiful," and "So beautiful (bullet comment data 503d)." It is understood that the bullet comment data is displayed overlaid on the target area and obscured by the reduced media window 503a. Optionally, three layers can exist on the play page 503: a background layer corresponding to the target area, a player layer corresponding to the reduced media window 503a, and a bullet screen layer corresponding to the bullet screen data. The player layer is located above the bullet screen layer, and the bullet screen layer is located above the background layer. As shown in bullet screen data 503d, the words "太美" (too beautiful) are obscured by the media window 503a.

[0135] Optionally, the media window is displayed in the first player layer. The specific implementation process of the computer device reducing and displaying the media window for displaying media data in the playback page can also be: the computer device can reduce and display the first player layer to obtain the second player layer, and set the layer order of the second player layer above the layer order of the bullet screen layer. The bullet screen layer is used to display the bullet screen data. Furthermore, the specific implementation process of the computer device displaying the first background content in the target area of ​​the playback page can also be: the computer device can display the first background content in the background layer, and set the layer order of the bullet screen layer above the layer order of the background layer. The target area refers to the display area of ​​the background layer excluding the area covered by the second player layer.

[0136] Please also refer to Figure 6 , Figure 6 This is a schematic diagram of a scene of layer sequence transformation provided by an embodiment of the present application. Before the computer device reduces the display of the media window for displaying media data in the playback page, as shown in FIG. Figure 6As shown, the bullet screen layer 602 corresponding to the bullet screen data can be located above the first player layer 601 corresponding to the media data. Furthermore, the computer device can reduce the size of the first player layer to obtain the second player layer 603. At this time, since the size of the second player layer 603 is smaller than the size of the bullet screen layer 602, the second player layer 603 is completely covered by the bullet screen layer 602. Furthermore, the computer device can set the layer order of the second player layer 602 above the layer order of the bullet screen layer 602, and obtain the following: Figure 6 The second player layer 604 is displayed. The bullet comment layer 602 is used to display bullet comment data. The computer device can create a background layer 605 and display the first background content in the background layer 605. The layer order of the bullet comment layer 602 can be set above the layer order of the background layer 605. The target area refers to the display area of ​​the background layer 605 excluding the area covered by the second player layer 604.

[0137] Optionally, the specific implementation process of the computer device obtaining the first background content can be: the computer device can obtain the delivery data display parameters for the media data, and determine the display time period of the media data in the reduced media window based on the delivery data display parameters. Specifically, the delivery data display parameters can include the trigger shrinking time and the display start time for the delivery data mentioned in the above delivery operation structure. For example, when the media data is played to the 900th second, the barrage data is displayed in the second display mode, the trigger shrinking time is the 10th second after the barrage data is displayed in the second display mode (that is, the media data is played to the 910th second), and the display start time for the delivery data is the 10th second after the shrinking display (that is, the media data is played to the 920th second). The display time period of the media data in the reduced media window is the time difference between the trigger shrinking time and the display start time, that is, the 10 seconds between the 910th and 920th seconds of the media data at this time.

[0138] Furthermore, the computer device can obtain S video frames belonging to the playback progress of the display time period in the media data; S is a positive integer. For example, when the display time period is 10 seconds and the frequency is 60 Hz (60 frames per second), S is equal to 600, that is, the computer device obtains 600 video frames belonging to the 910th second and the 920th second in the media data. The computer device can obtain the device type of the business device, and can generate the first background content for display in the target area of ​​the playback page based on the device type and the S video frames. Among them, the business device refers to the device for playing media data, that is, the computer device. It can be understood that due to the differences in the performance of the central processing unit (CPU) and graphics processing unit (GPU) of different business devices or computer devices, the device types of different business devices can be divided into multiple types. The device type may include but is not limited to a first performance type, a second performance type and a third performance type, wherein the first performance type is used to indicate that the computer device is a high-end device (can process video frames at full frequency and full quality, i.e., real-time blurred rendering of video frames), i.e., the GPU and CPU performance are the highest compared to the second performance type and the third performance type; the second performance type is used to indicate that the computer device is a low-end device (using static blurred images instead of real-time rendered blurred video frames, and no real-time rendering processing is performed), i.e., the GPU and CPU performance are the lowest compared to the first performance type and the third performance type; the third performance type is used to indicate a mid-end device (can compress the video frame size and reduce the processing frequency to meet the device performance), i.e., the GPU and CPU performance are between the first performance type and the second performance type.

[0139] Optionally, the first background content may also be all background content in the media background content. j , j is a positive integer less than or equal to S. Further, the specific implementation process of the computer device generating the first background content for display in the target area of ​​the playback page based on the device type and S video frames may be: if the device type is the first performance type, and the reduced media window is displaying video frame B j , then for video frame B j The fuzzy processing is performed to obtain a first fuzzy video frame, and the first fuzzy video frame is determined as the first background content for display in the target area of ​​the play page. That is, the reduced media window displays the video frame B of the media data. j , the video frame B is displayed in the background window jIt is understandable that, as the media data in the reduced media window changes dynamically, the blurred video frames displayed in the background window change dynamically in sync with the dynamic changes in the media data, except that the background window displays the blurred video corresponding to the media data (composed of blurred video frames).

[0140] Optionally, if the device type is the second performance type and the reduced media window is displaying video frame B j , the first of the S video frames is blurred to obtain a second blurred video frame, which is then determined as the first background content to be displayed in the target area of ​​the playback page. That is, regardless of which frame of media data is displayed in the reduced media window, the blurred video frame corresponding to the first of the S video frames (the second blurred video frame) is always displayed in the background window.

[0141] Optionally, if the device type is the third performance type, the fuzzy processing parameters corresponding to the third performance type are obtained, and the S video frames are divided based on the fuzzy processing parameters to obtain P video frame groups. Wherein, P is a positive integer; the P video frame groups include the i-th video frame group, and i is a positive integer less than or equal to P. Further, the computer device can obtain the first video frame in each video frame group from the P video frame groups to obtain P background frames. Wherein, the P background frames include the background frame A corresponding to the i-th video frame group. i When the video frame in the i-th video frame group is being displayed in the reduced media window, the background frame A i Blurring processing is performed to obtain a third blurred video frame, and the third blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

[0142] Please also refer to Figure 7 , Figure 7 This is a schematic diagram of a scene for determining a background frame provided by an embodiment of the present application, such as Figure 7As shown, S (e.g., S=9) video frames include video frame 701, video frame 702, video frame 703, video frame 704, video frame 705, video frame 706, video frame 707, video frame 708, and video frame 709. If the blur processing parameter is used to indicate that blur processing is performed once every four video frames, the computer device can divide the S video frames into three video frame groups, including the first video frame group (including video frames 701 to 704), the second video frame group (including video frames 705 to 708), and the third video frame group (including video frame 709). Further, the computer device can obtain the first video frame in each video frame group from the three video frame groups to obtain three background frames. That is, background frame A1 is video frame 701 in the first video frame group, background frame A2 is video frame 705 in the second video frame group, and background frame A3 is video frame 709 in the third video frame group. When any video frame from the second video frame group is being displayed in the reduced media window, the first background content displayed by the computer device in the target area of ​​the playback page is the third blurred video frame corresponding to background frame A2. That is, when video frame 705 is being displayed in the reduced media window, the third blurred video frame corresponding to background frame A2 is displayed in the target area; and when video frame 707 is being displayed in the reduced media window, the third blurred video frame corresponding to background frame A2 is also displayed in the target area.

[0143] Step S404: Switch the media data to be displayed as delivery data in the reduced media window. In the embodiment of the present application, when the playback behavior of the media data meets the display start time of the delivery data, the computer device can switch the media data to be displayed as delivery data in the reduced media window. Specifically, Figure 5As shown in the playback page 503 in the video, the computer device can switch the media data 503b in the reduced media window 503a in the playback page 503 to display the delivery data 504a, and the computer device can switch the first background content 503c in the target area in the playback page 503 to display the second background content 504b. At the same time, the computer device can continue to display the barrage data in the target area in the playback page 504 in the second display mode. Optionally, the barrage data can be displayed over the target area, and the barrage data is blocked by the reduced media window 503a. As shown in the playback page 504, the barrage data includes "This is quite delicious", "The drink is delicious", "This drink is not expensive" and "It looks good, it's so beautiful", among which the word "drink" in the barrage data 504d "The drink is delicious" and the word "good" in the barrage data 504c "It looks good, it's so beautiful" are blocked by the reduced media window 503a. The second background content may be associated with the delivery data. The specific implementation of the computer device acquiring the second background content may refer to the specific description of the process of acquiring the first background content in step S403, which will not be repeated here.

[0144] Optionally, the display switching between the media data and the delivery data mentioned in this data processing method can be realized by dual players, including a media data player and a delivery data player, wherein the media data player is used to play the media data, and the delivery data player is used to play the delivery data. Figure 8 , Figure 8 This is a schematic diagram of a playback switching scenario provided by an embodiment of the present application, such as Figure 8 As shown, the display progress bar 801 is used to illustrate the display process of the entire data processing process, which sequentially displays the beginning of the media data (for example, a 45-minute video), the first half of the media data (for example, the beginning to the 20th minute of the media data), the delivery data, the second half of the media data (from the 20th minute to the 45th minute), and the end of the media data. Figure 8As shown, when the computer device is ready to play the title of the media data, the computer device can start the media data player 802, and at the same time preload the delivery data player 803, and start playing the media data through the media data player 802. When the display start time for the delivery data is reached (such as playing to the 20th minute), the computer device can pause playing the media data in the media data player 802, and hide the media data player 802 in the reduced media window, and switch the media data player 802 to the delivery data player 803. At this time, the computer device can start playing the delivery data in the reduced media window through the delivery data player 803. When the playback of the delivery data ends, the computer device can close the delivery data player 803, switch the display to the media data player 802 in the reduced media window, and continue playing the media data through the media data player 802 (for example, continue playing from the 20th minute) until the playback of the media data ends.

[0145] For further options, please also refer to Figure 9 , Figure 9 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 3 ,like Figure 9 As shown in the playback page 901 in , the computer device continues to display the barrage data while displaying the delivery data. At this time, the barrage data may include the first barrage data and the second barrage data. The computer device can display the first barrage data in the first style (display style of the first barrage data) and the second barrage data in the second style (display style of the second barrage data) in the playback page 901. Among them, the first barrage data can have an association with the delivery data, such as the first barrage data 901b, the first barrage data 901c, and the first barrage data 901d shown in the playback page 901 are all associated with the XX beverage corresponding to the delivery data. The second barrage data can have an association with the media data, such as the second barrage data 901a shown in the playback page 901 is associated with the playback content in the media data. Among them, the first style is different from the second style. For example, the first barrage data 901b, the first barrage data 901c, and the first barrage data 901d displayed in the first style are all highlighted, and the second barrage data 901a displayed in the second style is normally displayed.

[0146] Further, the computer device can display a recommended comment control 902a in the playing page 902. The recommended comment control 902a can be associated with the delivery data, that is, the principal object clicks the recommended comment control 902a, and the content related to the delivery data can be displayed in the playing page 902. Specifically, the computer device can obtain the delivery data display parameters corresponding to the delivery data, obtain the control image based on the control image address in the delivery data display parameters. Further, the computer device can generate the recommended comment control based on the control image and the control size indicated by the delivery data display parameters, and display the recommended comment control in the control display position indicated by the delivery data display parameters in the playing page 902. As shown in the recommended comment control 902a in the playing page 902.

[0147] When the principal object clicks the recommended comment control 902a, the computer device can display at least one of the bubble display data and the recommended comment data in the playing page 903 in response to the triggering operation (this time is the click operation) of the recommended comment control 902a, that is, the computer device can display at least one of the bubble display data associated with the delivery data or the recommended comment data in the playing page 903. Specifically, the computer device can display the bubble display data associated with the delivery data in the playing page 903, and display the recommended comment data associated with the bubble display data in the playing page 903.

[0148] Optionally, the computer device can display the bubble display data associated with the delivery data in the playing page 903 in response to the triggering operation of the recommended comment control. Further, the computer device can cancel the display of the recommended comment control, and display the recommended comment data associated with the bubble display data in the playing page. As shown in the bubble display data 903a and the bubble display data 903b in the playing page 903. Optionally, the principal object clicks the recommended comment control 902a once, and the computer device can display one bubble display data in the playing page 903. When the principal object clicks the recommended comment control 902a again, the computer device can display one bubble display data in the playing page 903 again, and the display layer of the newly displayed bubble display data can be above the display layer of the previously displayed bubble display data. As shown in the bubble display data 903a and the bubble display data 903b, the bubble display data 903a is the bubble display data displayed by the first click, the bubble display data 903b is the bubble display data displayed by the second click, and the bubble display data 903a is displayed by the bubble display data 903b. Optionally, when the principal object clicks the recommended comment control 902a multiple times, the bubble display data displayed earlier in time can gradually shrink and disappear. The display mode of the bubble display data can be determined by the control effect included in the delivery operation structure, which is not limited here, Figure 8Only one way of displaying the bubble data is shown.

[0149] Furthermore, the computer device may cancel the display of the recommended bullet screen control 902a. Specifically, the computer device may respond to the main object's long press operation on the recommended bullet screen control 902a and cancel the display of the recommended bullet screen control 902a. Alternatively, after the main object clicks on the recommended bullet screen control 902a to reach a click threshold (for example, 10 times), the computer device may cancel the display of the recommended bullet screen control 902a after responding to 10 click operations on the recommended bullet screen control 902a. Furthermore, the computer device may display the recommended bullet screen data associated with the bubble display data on the playback page. Among them, the recommended bullet screen data is overlaid on the target area, and the recommended bullet screen data is blocked by the reduced media window. As shown in the playback page 904, at this time, 3 recommended bullet screen data associated with the bubble display data are displayed on the playback page 904, including recommended bullet screen data 904a, recommended bullet screen data 904b, and recommended bullet screen data 904c. Among them, part of the content in the recommended barrage data 904b and the recommended barrage data 904c is blocked and displayed by the reduced media window. Optionally, the embodiment corresponding to the present data processing method can reuse the real barrage interaction system, so that while the reduced media window displays the delivery data, the main object can send barrage data (for example, barrage z, which can be barrage data associated with the delivery data) in the playback page through the real barrage interaction system. The barrage z sent at this time can belong to the barrage data displayed in the playback page mentioned above. It should be noted that the recommended barrage data can be different from the barrage type of the barrage data, that is, the barrage data can be a real barrage. For example, if a certain barrage data is sent for the main object, then the barrage data can be displayed on a computer device in addition to being displayed on a device other than the computer device, that is, in addition to being visible to the main object, the business objects corresponding to the other devices are also visible. Recommended barrage data can be fake. For example, if a recommended barrage data is sent for a primary object, it will only be displayed on the computer device. That is, only the primary object will be visible, and the business objects corresponding to other devices will not be visible. Optionally, recommended barrage data can also be real barrage, and this is not a restriction here.

[0150] Step S405: When the playback of the delivery data ends, or the trigger operation for the target area meets the delivery data exit condition, or in response to the trigger operation for the window cancel control, the reduced media window is enlarged and displayed in the playback page, and the delivery data is switched to media data in the enlarged media window, and the barrage data is displayed in the enlarged media window.

[0151] In the embodiments of this application, Figure 9As shown, when the playback of the delivery data in the playback page 904 ends, that is, the display duration period corresponding to the delivery data has passed, as shown in the playback page 906, the computer device can cancel the display of the second background content in the playback page 906a, enlarge the reduced media window for display, switch the delivery data to media data 906b in the enlarged media window 906a, and display the barrage data in the enlarged media window 906a. Optionally, the barrage data can be overlaid and displayed on top of the enlarged media window 906a, that is, the layer order of the layer displaying the barrage data is located above the layer order of the layer displaying the enlarged media window 906a. Among them, the size of the enlarged media window 906a can be the same as the page size of the playback page 906, or it can be slightly smaller than the page size of the playback page 906, and there is no limitation here. At this time, the barrage data displayed in the playback page 906 can be real-time barrage data, including barrage 7, barrage 8, barrage 9, and barrage 10 respectively. It is understandable that the process of the computer device enlarging and displaying the media window may be a gradually changing enlargement animation process, that is, the media window gradually becomes larger until it reaches a fixed size. The fixed size may be the page size of the playback page.

[0152] Optionally, the computer device may also display a window cancel control 905a associated with the reduced media window in the playback page 905. When the trigger operation on the target area meets the delivery data exit condition (for example, the main object double-clicks the target area, and the double-click operation meets the delivery data exit condition), or the main object clicks the window cancel control 905a, the computer device may respond to the trigger operation on the window cancel control 905a and display the playback page 906.

[0153] It is understood that when the computer device returns to displaying the play page 906, the media data 906a can continue to be played on the play page 906, as shown by the play progress bar 906c. At this time, the media data 906a is played to the 7 minute 20 second mark. For example, when the media data 906a is played to the 7 minute 20 second mark in the reduced media window, the computer device switches the media data 906a to the delivery data in the reduced media window. When the delivery data ends, the computer device can continue to play the media data 906a from the 7 minute 20 second mark of the media data.

[0154] Further optionally, the computer device may display plot guide text for the media data in the target area. The plot guide text is used to indicate key plots of the unplayed content in the media data. Figure 10 , Figure 10 This is a scenario diagram of a data processing method provided in an embodiment of the present application. Figure 4 ,like Figure 10As shown. Figure 5 Taking the play page 504 in the example as an example, the computer device can display the plot guidance text for the media data in the target area of ​​the play page 504, and obtain the plot guidance text 1001a as shown in the play page 1001. Optionally, the plot guidance text 1001a can be displayed over the second background content displayed in the target area, and the plot guidance text 1001a can be displayed over the barrage data. It is understandable that when the computer device displays the delivery data, it displays the plot guidance text 1001a in the target area. While playing the delivery data, the delivery data can be associated with the media data whose playback is interrupted through the plot guidance text, which can further alleviate the suddenness of the display of the delivery data. At the same time, by allowing the user to view the plot guidance text while watching the delivery data, the user's expectation for the unplayed media data is increased, and the user's resistance to the interruption of the media data being played is reduced, thereby reducing the possibility of the delivery data being directly closed by the user and improving the complete playback rate of the advertisement for the delivery data.

[0155] Optionally, the computer device can respond to a trigger operation for the reduced media window and display full-screen play prompt information. Specifically, as shown in the play page 1002, the reduced media window is the reduced media window 1002a containing the delivery data. The computer device can respond to a trigger operation (for example, a long press operation) for the reduced media window 1002a containing the delivery data and display full-screen play prompt information 1002b. Optionally, the computer device can display full-screen play prompt information 1002b in the target area, which is not limited here. Further, the computer device can respond to a trigger operation (for example, a click operation) for the full-screen play prompt information 1002b and enlarge the reduced media window 1002a, and continue to display the delivery data in the enlarged media window, as shown in the enlarged media window 1003a in the play page 1003, and continue to display the delivery data 1003b in the enlarged media window 1003a. Optionally, if media data is displayed in the reduced media window, the computer device may respond to a triggering operation for the full-screen playback prompt by enlarging the reduced media window containing the media data and displaying the media data in the enlarged media window. It is understood that the full-screen playback prompt 1002b may read "Click to enter full-screen playback."

[0156] Optionally, the computer device can respond to a move operation on the reduced media window 1002a by moving the reduced media window to the display area corresponding to the full-screen playback prompt 1002b, enlarging and displaying the reduced media window 1002a. Delivery data 1003b continues to be displayed in the enlarged media window, as shown in the enlarged media window 1003a on the playback page 1003. Furthermore, comment data can be overlaid on the enlarged media window 1003a. For example, comment data displayed on the playback page 1003 may include comments such as "This is quite delicious," "Looks great, so beautiful," "The drink is delicious," and "This drink is not expensive." The size of the enlarged media window 1003a can be the same as or slightly smaller than the page size of the playback page 1003. It is understood that the full-screen playback prompt 1002b may be "Drag here to enter full-screen playback."

[0157] Optionally, the computer device may display a data interaction control on the playback page, such as data interaction control 504e on playback page 305. When the subject clicks data interaction control 504e, the computer device may, in response to a triggering operation (e.g., a click) on data interaction control 504e, redirect to display an item details page 1004 associated with the delivery data. Item details page 1004 displays detailed information 1004a for the item corresponding to the delivery data, and also displays a purchase control 1004b for the item. Item details 1004a may include, but are not limited to, an item image, item name, item price, specifications, and item ingredients. Furthermore, when the subject clicks purchase control 1004b to purchase the item, the computer device may, in response to the click on the purchase control, redirect to display an order page 1005, displaying a business order 1005a for the item. Business order 1005a includes, but is not limited to, an order number and the time the order was generated. By displaying data interaction controls alongside delivery data, users can simply click on the data interaction controls to view item details when they are interested in the item corresponding to the delivery data, thereby improving the user experience. Furthermore, by displaying a purchase control alongside the details, users can simply click on the purchase control to purchase the item after viewing the details, eliminating the need to open the shopping app client to search and purchase. This further enhances the user experience and increases the item's sales rate, realizing the commercial value of the delivery data.

[0158] Through the above process, the three-stage ad display design of displaying bullet chat data, shrinking the display media window and displaying media data, and then switching to display delivery data allows the subject to pre-awareness of the upcoming delivery data display through the shrunken media window. This can reduce the suddenness of the interruption of the media data display, reduce the subject's resistance to the delivery data, improve the subject's experience of viewing the media data, and reduce the subject's skip rate for delivery data. Moreover, by allowing the bullet chat data to be displayed by the shrunken media window (i.e., only displaying the bullet chat data in the target area), the bullet chat data can be displayed normally in the target area without obscuring the media data or delivery data in the shrunken media window. This ensures the display effect of the bullet chat data while not affecting the display effect of the media data and delivery data. Furthermore, by reusing the real bullet chat interactive system to support the interaction process between the subject and the delivery data, the interactivity between the subject and the delivery data can be enhanced, thereby reducing the sense of disconnection when the delivery data is inserted into the media data. A recommended bullet chat control is provided, allowing the subject to publish recommended bullet chat data, thereby bringing the subject closer to the item corresponding to the delivery data. Providing data interaction controls allows the subject to view detailed information about the item and purchase the item by directly clicking on the purchase control, thereby further enhancing the subject's experience, increasing the sales rate of the item, and realizing the commercial value of the delivered data.

[0159] Further, see Figure 11 , Figure 11 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 3 The data processing method may be performed by the service device and the server. The data processing method may include at least the following steps S1101 to S1115:

[0160] Step S1101: receiving an advertisement delivery request initiated by an advertiser.

[0161] In an embodiment of the present application, the server may receive an advertisement delivery request for delivery data sent by an advertiser. The advertisement delivery request may include but is not limited to delivery data, resources corresponding to recommended barrage data, image resources corresponding to recommended barrage controls, and resources corresponding to bubble display data. Optionally, the advertiser may respond to the advertiser's selection operation for barrage special effects through the terminal it holds, and obtain the special effect identifier of the barrage special effect corresponding to the selection operation from the special effect database provided by the server. Furthermore, the special effect identifier may be written into the advertisement delivery request, and the advertisement delivery request with the special effect identifier written therein may be sent to the server. It is understandable that the second display method for the barrage data at this time is determined by the advertiser.

[0162] Step S1102, create a bullet screen order.

[0163] In an embodiment of the present application, after receiving an advertisement delivery request, the server may create a bullet screen order based on the advertisement delivery request, wherein the bullet screen order is used to indicate the display method for bullet screen data and recommended bullet screen data.

[0164] Step S1103: Select a special effect identifier.

[0165] In an embodiment of the present application, the server can select and obtain special effect identification and special effect configuration for barrage data from the special effect database.

[0166] Step S1104, configure the recommended bullet screen control.

[0167] In an embodiment of the present application, the server can configure the recommended barrage control based on the image resources corresponding to the recommended barrage control, as well as parameters such as the display position and display size of the recommended barrage control.

[0168] Step S1105: configure bubble display data and recommended bullet comment data.

[0169] In an embodiment of the present application, the server can configure bubble display data based on parameters such as the resource corresponding to the bubble display data, the size of the bubble, and the displacement data after the bubble is generated; and can also configure recommended barrage data based on the resource corresponding to the recommended barrage data. The resource corresponding to the recommended barrage data can be a text resource or an image resource.

[0170] Step S1106: Create an advertising order.

[0171] In the embodiment of the present application, the server can create an advertisement order based on the advertisement placement request after receiving the advertisement placement request. The advertisement order is used to indicate the display mode of the placement data, such as when to display the placement data, how long to display, how to display the placement data, etc. Specifically, the server can create an advertisement tag based on the placement data. The advertisement tag is used for the characteristics of the placement data, that is, the subsequent business device can determine that the placement data is to be played based on the advertisement identification. The server can determine the display start time, display duration and playing mode of the placement data, and create a point rule tag based on the display start time and display duration. The point rule tag is used to indicate that when any media data is played to xx time, what can be displayed. That is, the subsequent business device can know that the placement data is displayed when the media data is played to xx time through the point rule tag. For example, the point rule tag can include a display trigger time corresponding to the display of the bullet screen data in the second display mode, a trigger frame display time corresponding to the frame display, and a display start time for the placement data. When the media data is played to the display trigger time, the business device can display the bullet screen data in the second display mode; when the media data is played to the trigger frame display time, the business device can display the media window for displaying the media data in the playing page in a small frame; when the media data is played to the display start time, the business device can switch the media data to the placement data in the small frame.

[0172] In step S1107, the special effect identifier is filled in.

[0173] In the embodiment of the present application, the server can fill in the special effect identifier in the advertisement order.

[0174] In step S1108, the placement operation structure is created.

[0175] In the embodiment of the present application, the server can create a placement operation structure for the placement data based on the advertisement order (including the placement data), the special effect identifier and the special effect configuration. For specific implementation process, please refer to the specific description process of the computer device creating the placement operation structure in step S202 in Figure 2 Further, the server can store the placement operation structure in the database, and when the business device plays the media data, the placement operation structure can be sent to the business device through the acquisition request sent by the business device.

[0176] In step S1109, the media data is played.

[0177] In the embodiment of the present application, the business device can play the media data in the playing page of the business device in response to the click operation of the main object on the media data.

[0178] Step S1110: Requesting to place an operation structure.

[0179] In an embodiment of the present application, when the service device starts playing media data, it can request a delivery operation structure for the delivery data from the server.

[0180] Step S1111: triggering an advertisement request.

[0181] In an embodiment of the present application, when the playback behavior of the media data meets the delivery data display conditions, the business device can trigger an advertising request. That is, when the media data playback progress (or playback time) reaches the display trigger time indicated by the dotting rule tag in the delivery operation structure, the business device can trigger an advertising request, that is, start to detect whether the business object corresponding to the business device has the barrage switch turned on.

[0182] Step S1112, detect whether the business object turns on the bullet screen switch.

[0183] In an embodiment of the present application, the service device can detect whether the service object has turned on the bullet screen switch for the media data. If the service object has turned on the bullet screen switch, the process jumps to step S1113; if the service object has turned off the bullet screen switch, the process jumps to step S1114.

[0184] Step S1113, display the barrage data.

[0185] In the embodiment of the present application, the service device can display the bullet screen data in the playback page of the media data. Figure 2 The specific description process of step S202 shown in FIG will not be repeated here.

[0186] Step S1114: Reduce the media window and display the media data in the reduced media window.

[0187] In the embodiment of the present application, when the media data is played to the triggering frame shrinking time, the service device can shrink the media window used to display the media data in the playback page and display the first background content in the target area of ​​the playback page. Figure 2 The specific description process of step S202 shown in FIG will not be repeated here.

[0188] Step S1115: Switch the display of the media data to delivery data in the reduced media window.

[0189] In the embodiment of the present application, when the media data is played to the display start time, the service device can switch the media data to the delivery data in the reduced media window and switch the first background content in the target area to the second background content. Figure 2 The specific description process of step S203 shown in FIG will not be repeated here.

[0190] Through the above process, by using the three-stage advertising display design of displaying the bullet screen data in the second display mode - reducing the display media window and displaying the media data - switching to display the delivery data, the object can be pre-aware of the upcoming delivery data through the reduced media window, thereby reducing the suddenness of the interruption of the display of the media data, reducing the object's resistance to the delivery data, and improving the object's experience of viewing the media data, thereby reducing the object's skip rate for the delivery data. Moreover, by allowing the bullet screen data to be displayed by the reduced media window (i.e., only displaying the bullet screen data in the target area), the bullet screen data can be displayed normally in the target area without obscuring the media data or delivery data in the reduced media window, thereby ensuring the display effect of the bullet screen data without affecting the display effect of the media data and delivery data. In addition, the real bullet screen interactive system is reused to support the interaction process between the object and the delivery data, which can enhance the interactivity between the object and the delivery data, thereby reducing the sense of disconnection when the delivery data is inserted into the media data. A recommended bullet screen control is provided, allowing the object to publish recommended bullet screen data, thereby shortening the distance between the object and the item corresponding to the delivery data. Providing data interaction controls allows the subject to view detailed information about the item and purchase the item by directly clicking on the purchase control, thereby further enhancing the subject's experience, increasing the sales rate of the item, and realizing the commercial value of the delivered data.

[0191] Further, see Figure 12 , Figure 12 This is a flow diagram of a data processing method provided in an embodiment of the present application. Figure 4 The data processing method can be executed by a computer device, which can be Figure 1 Any business device or server in the business device cluster shown. The data processing method may at least include the following steps S1201 to S1206:

[0192] Step S1201: Detect the playback progress of media data.

[0193] In an embodiment of the present application, the computer device can detect the playback progress of the media data in real time, that is, detect each data frame of the media data displayed on the playback page.

[0194] Step S1202: Check whether the conditions for displaying the delivery data are met.

[0195] In the embodiment of the present application, the data frame D of the media data currently being displayed is z For example, the computer device can detect the data frame D z Whether the conditions for displaying the data are met. Specifically, the computer device can obtain the data frame D z The frame index corresponding to the media data is detected. If the frame index is detected to be inconsistent with the target frame index indicated by the delivery data display condition, it is determined that the playback behavior of the media data does not meet the delivery data display condition, and the process jumps to step S1203. If the frame index is detected to be inconsistent with the target frame index indicated by the delivery data display condition, it is determined that the playback behavior of the media data meets the delivery data display condition, and the process jumps to step S1204.

[0196] Step S1203: Continue to detect the playback progress of the media data until it is detected that the display condition for the delivery data is met.

[0197] In the embodiment of the present application, the computer device continues to display the video frame D of the media data in the play page. Z The next video frame (video frame D Z+1 ), the computer device can continue to detect the video frame D Z+1 Whether the conditions for displaying data are met, if the video frame D Z+1 If the data display condition is not met, it is determined that the playback behavior of the media data does not meet the data display condition, and the computer device continues to detect the video frame D Z+2 Until the video frame of the media data being displayed in the playing page is detected and the conditions for displaying data are met, the process can jump to step S1204; if the video frame D Z+1 If the data delivery display condition is met, it is determined that the playback behavior of the media data meets the data delivery display condition, and the process jumps to step S1204.

[0198] Step S1204, displaying the barrage data.

[0199] In an embodiment of the present application, when the playback behavior of the media data meets the data display conditions, the computer device can display the bullet screen data in the first display mode on the playback page before shrinking the media window used to display the media data on the playback page. The specific implementation process of step S1204 can be found in the following example. Figure 2 The specific description process of step S202 shown in FIG will not be repeated here.

[0200] Step S1205: Zoom out and display the media window for displaying media data in the play page.

[0201] In the embodiment of the present application, the specific implementation process of step S1205 can refer to the specific description process in step S202 as shown in the Figure 2 embodiment of the present application, the specific implementation process of step S1206 can refer to the specific description process in step S203 as shown in the

[0202] Step S1206, switching and displaying the media data as the delivery data in the reduced media window.

[0203] In the embodiment of the present application, the specific implementation process of step S1206 can refer to the specific description process in step S203 as shown in the Figure 2 embodiment of the present application, the specific implementation process of step S1206 can refer to the specific description process in step S203 as shown in the

[0204] Through the above process, through the three stages of the advertisement display design of displaying the bullet screen data in the second display mode--reducing the display of the media window and displaying the media data--switching and displaying the delivery data, the object can perceive the delivery data to be displayed through the reduced media window in advance, so as to reduce the suddenness of interrupting the display of the media data, reduce the resistance of the object to the delivery data, improve the experience of the object watching the media data, and reduce the skip rate of the object to the delivery data. Moreover, by allowing the bullet screen data to be displayed by the reduced media window (i.e., only displaying the bullet screen data in the target area), the bullet screen data can be normally displayed in the target area without blocking the media data or the delivery data in the reduced media window, so as to ensure the display effect of the bullet screen data without affecting the display effect of the media data and the delivery data. Moreover, the real bullet screen interaction system is reused, the interaction process between the object and the delivery data is supported, the interactivity between the object and the delivery data is enhanced, the sense of fragmentation when the delivery data is inserted into the media data is reduced, the recommended bullet screen control is provided, the object can publish the recommended bullet screen data, the distance between the object and the goods corresponding to the delivery data is shortened, the data interaction control is provided, the object can view the detail information of the goods, and the object can purchase the goods by directly clicking the purchase control, so as to further improve the experience of the object and improve the sales rate of the goods and realize the commercial value of the delivery data.

[0205] Further, please refer to Figure 13 , Figure 13 is a flowchart of a data processing method provided in an embodiment of the present application Figure 5 . The data processing method can be executed by a computer device. Wherein, the data processing method can at least include the following steps S1301-S1307:

[0206] Step S1301, detecting whether the current video frame is in a to-be-updated time period.

[0207] In the embodiment of the present application, the time period to be updated includes the display time period during which the media data is displayed in the reduced media window and the display time period during which the delivery data is displayed in the reduced media window. Taking the display time period during which the media data is displayed in the reduced media window as an example, the computer device can detect whether the current video frame corresponding to the media data (in this case, the video frame currently being displayed by the media data) is within the time period to be updated. If the current video frame corresponding to the media data is within the time period to be updated, the computer device jumps to step S1302; if the current video frame corresponding to the media data is not within the time period to be updated, the process ends.

[0208] Step S1302: Obtain the device type of the service device.

[0209] In an embodiment of the present application, a computer device can obtain the device type of a business device (i.e., a computer device). If the device type is a first performance type, step S1303 is executed; if the device type is a second performance type, step S1304 is executed; if the device type is a third performance type, step S1305 is executed. It should be noted that among the three performance types mentioned above, the performance of the first performance type is higher than that of the third performance type, and the performance of the third performance type is higher than that of the second performance type. If full-resolution real-time blur processing is performed in the business device corresponding to the second performance type, the device performance of the business device corresponding to the second performance type will be affected. As a result, when the business device needs to render background content in real time when playing media data or delivering data, it will cause a jamming phenomenon, that is, the playback will jam when playing media data or delivering data.

[0210] Step S1303: full-resolution real-time blur processing.

[0211] In an embodiment of the present application, taking the current video frame as an example of media data, the computer device can blur the media data in real time at full resolution. That is, when displaying data frame a of the media data in the reduced media window, the computer device can blur data frame a to obtain the blurred video frame corresponding to data frame a, and determine the blurred video frame corresponding to data frame a as the first background content for display in the target area of ​​the playback page. It should be noted that each video frame can carry a timestamp to ensure strict synchronization between the currently displayed video frame and the blurred video frame. And the computer device can use a double buffering mechanism, in which one buffer is used to blur the video frame, and the other buffer is used to display the blurred video frame that has been blurred.

[0212] Step S1304: static fuzzy processing.

[0213] In an embodiment of the present application, taking the current video frame belonging to media data as an example, the computer device can perform static blurring on the media data. That is, when video frames 1 to 100 of the media data are displayed in the reduced media window, no matter which video frame in the media data is currently being displayed in the reduced media window, the computer device only needs to blur the first video frame (video frame 1) to obtain the blurred video frame corresponding to video frame 1, and determine the blurred video frame corresponding to video frame 1 as the first background content for display in the target area of ​​the playback page. Taking the current video frame as delivery data, and the delivery data including delivery data frames 1 to delivery data frames 200 as an example, no matter which delivery data frame in the delivery data is currently being displayed in the reduced media window, the computer device only needs to blur the first delivery data frame (delivery data frame 1) to obtain the blurred video frame corresponding to delivery data frame 1, and can determine the blurred video frame corresponding to delivery data frame 1 as the first background content for display in the target area of ​​the playback page.

[0214] Step S1305: downsampling and blurring processing.

[0215] In the embodiment of the present application, taking the current video frame as media data as an example, the computer device can perform downsampling and blurring processing on the media data. That is, instead of acquiring the video frames of the media data displayed in the reduced media window in real time, the video frames of the media data are acquired by sampling at intervals. For example, if the blurring parameter corresponding to the downsampling and blurring processing is 5, the computer device can acquire a video frame for blurring processing every 5 video frames displayed in the reduced media window. For specific implementation methods, please refer to Figure 2 The specific description process of determining the first background content in step S202 shown in FIG will not be repeated here.

[0216] Step S1306: display background content.

[0217] In the embodiment of the present application, the background content may include a first background content and a second background content. If the current video frame belongs to media data, the background content is the first background content; if the current video frame belongs to delivery data, the background content is the second background content. The specific display process of step S1306 can be found in Figure 2 The specific description process of displaying the first background content in step S202 shown in FIG will not be repeated here.

[0218] Step S1307, waiting for the next video frame.

[0219] In an embodiment of the present application, the computer device can wait for the next video frame and continue to detect the next video frame. If it is detected that the next video frame is in the time period to be updated, step S102 is continued until it is detected that the next video frame is not in the time period to be updated, and the process ends.

[0220] Through the above process, for business devices of different performance types, different types of blur processing are adopted based on the performance to render the background content for display, so that when playing media data or delivering data, there will be no lag when playing media data or delivering data due to the need for additional rendering of background content, which can improve the performance of business devices in playing media data or delivering data.

[0221] Further, see Figure 14 , Figure 14 This is a schematic diagram of a data processing device provided in an embodiment of the present application. Figure 1 The data processing device 1400 may include: a media data display module 11 , a window change module 12 , and a delivery data display module 13 .

[0222] When the playback behavior of the media data satisfies the data delivery conditions, before shrinking the media window for displaying the media data on the playback page, the media data display module 11 is further configured to perform the following operations:

[0223] The barrage data is displayed in the first display mode on the playback page.

[0224] After the bullet screen data is displayed in the first display mode on the playback page, the window changing module 12 is further configured to perform the following operations:

[0225] Switch the first display mode to the second display mode, and display the barrage data through the second display mode.

[0226] The window changing module 12 is further configured to perform the following operations:

[0227] Display the first background content in the target area of ​​the playback page; the bullet screen data is displayed in the first background content;

[0228] When the delivery data is displayed in the reduced media window, the first background content in the target area is switched to the second background content.

[0229] The delivery data display module 13 is further configured to perform the following operations:

[0230] Display the recommended bullet screen control on the playback page;

[0231] In response to a trigger operation on a recommendation barrage control, at least one of the following is displayed on the playback page: bubble display data and recommendation barrage data.

[0232] The media data display module 11 is further configured to perform the following operations:

[0233] When the playback of the delivery data ends, or the trigger operation for the target area meets the delivery data exit condition, or in response to the trigger operation for the window cancel control, the reduced media window is enlarged and displayed on the playback page, the delivery data is switched to media data in the enlarged media window, and the barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page; the window cancel control refers to the trigger control associated with the reduced media window displayed on the playback page.

[0234] The window changing module 12 is further configured to perform the following operations:

[0235] In response to a triggering operation on the reduced media window containing the delivery data, a full-screen playback prompt is displayed;

[0236] In response to a trigger operation for a full-screen playback prompt message, the reduced media window is enlarged and displayed, delivery data or media data continues to be displayed in the enlarged media window, and barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page.

[0237] The barrage data includes first barrage data and second barrage data. When the delivery data display module 13 is used to display the barrage data in the target area of ​​the playback page, the delivery data display module 13 is specifically used to perform the following operations:

[0238] In the target area of ​​the playback page, the first barrage data and the second barrage data are displayed; the first barrage data is associated with the delivery data; the second barrage data is associated with the media data; the display style of the first barrage data and the display style of the second barrage data are different.

[0239] The delivery data display module 13 is further configured to perform the following operations:

[0240] In the barrage database corresponding to the media data, matching processing is performed on the delivery data and each candidate barrage in the barrage database to obtain a matching value corresponding to each candidate barrage;

[0241] Determine M candidate bullet comments whose matching values ​​are greater than or equal to the correlation threshold as the first bullet comment data; M is a positive integer;

[0242] Determine N candidate bullet comments whose matching values ​​are less than the correlation threshold as the second bullet comment data; N is a positive integer;

[0243] The first barrage data and the second barrage data are combined to obtain barrage data.

[0244] When the delivery data display module 13 is used to display the bullet screen data in the target area of ​​the play page, the delivery data display module 13 is specifically used to perform the following operations:

[0245] Get the barrage display parameters associated with the barrage data; barrage display parameters include the track creation time interval and the number of unit track displays;

[0246] Based on the trajectory creation time interval, R trajectory creation cycles for the bullet screen data are determined; R is a positive integer; R trajectory creation cycles include trajectory creation cycle C k , k is a positive integer less than or equal to R;

[0247] When the system time reaches the trajectory creation cycle C k When , Q display tracks are created in the target area of ​​the play page; Q is a positive integer;

[0248] Based on Q display trajectories and the number of unit trajectory displays, determine the trajectory creation cycle C k The corresponding number of barrage displays; the number of unit track displays is used to indicate the number of barrage data displayed by a single display track;

[0249] Obtain a quantity of barrage data equal to the number of barrage displays from the barrage data, and send the quantity of barrage data equal to the number of barrage displays to Q display tracks in sequence for display; the sum of the number of barrage displays corresponding to the R track creation cycles is the number of barrage data.

[0250] The media data includes G data frames, and the G data frames include data frame D z , z is a positive integer less than or equal to G; the window change module 12 is further configured to perform the following operations:

[0251] Get data frame D z The corresponding frame index in the media data is detected;

[0252] If the detected frame index matches the target frame index indicated by the delivery data display condition, it is determined that the playback behavior of the media data meets the delivery data display condition; the data frame D z The data frame of the media data currently being displayed.

[0253] The window changing module 12 is further configured to perform the following operations:

[0254] Obtain special effect identifiers and special effect configurations for barrage data from the special effect database;

[0255] Based on the delivery data, special effect identifier and special effect configuration, a delivery operation structure for the delivery data is created; the delivery operation structure is used to indicate that the barrage data is displayed in a second display mode; the second display mode is determined based on the special effect identifier and special effect configuration.

[0256] The window change module 12 is used to create a delivery operation structure for delivery data based on the delivery data, special effect identifier and special effect configuration. The window change module 12 is specifically used to perform the following operations:

[0257] Obtaining a display trigger time for the second display mode and display configuration information for the delivery data; the display configuration information is used to indicate a display start time and a display duration period for the delivery data;

[0258] The display trigger time, display configuration information, delivery data, special effect identifier and special effect configuration are encapsulated to obtain a delivery operation structure for the delivery data.

[0259] The media window is displayed in the first player layer. When the window changing module 12 is used to reduce the size of the media window for displaying media data in the playback page, the window changing module 12 is specifically used to perform the following operations:

[0260] The first player layer is zoomed out to obtain a second player layer, and the layer order of the second player layer is set above the layer order of the bullet screen layer; the bullet screen layer is used to display the bullet screen data;

[0261] When the window changing module 12 is used to display the first background content in the target area of ​​the playback page, the window changing module 12 is specifically used to perform the following operations:

[0262] Create a background layer, display the first background content in the background layer, and set the layer order of the bullet comment layer above the layer order of the background layer; the target area refers to the display area in the background layer except the area covered by the second player layer.

[0263] The window changing module 12 is further configured to perform the following operations:

[0264] Obtaining delivery data display parameters for the media data, and determining a display time period for the media data in the reduced media window based on the delivery data display parameters;

[0265] Obtain S video frames of the playback progress belonging to the display time period in the media data; S is a positive integer;

[0266] The device type of the service device is obtained, and based on the device type and S video frames, a first background content is generated for display in a target area of ​​the playback page; the service device refers to a device for playing media data.

[0267] Among them, S video frames include video frame B j , j is a positive integer less than or equal to S; when the window change module 12 is used to generate the first background content for display in the target area of ​​the playback page based on the device type and S video frames, the window change module 12 is specifically used to perform the following operations:

[0268] If the device type is the first performance type and the reduced media window is displaying video frame B j , then for video frame B j Performing blur processing to obtain a first blurred video frame, and determining the first blurred video frame as first background content for display in a target area of ​​the playback page;

[0269] If the device type is the second performance type, and the reduced media window is displaying video frame B j , then blurring is performed on the first video frame of the S video frames to obtain a second blurred video frame, and the second blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

[0270] The window changing module 12 is further configured to perform the following operations:

[0271] If the device type is the third performance type, obtaining a fuzzy processing parameter corresponding to the third performance type, and dividing the S video frames based on the fuzzy processing parameter to obtain P video frame groups; P is a positive integer; the P video frame groups include the i-th video frame group, and i is a positive integer less than or equal to P;

[0272] The first video frame in each video frame group is obtained from the P video frame groups to obtain P background frames; the P background frames include the background frame A corresponding to the i-th video frame group. i ;

[0273] When the video frame in the i-th video frame group is being displayed in the reduced media window, the background frame A i Blurring processing is performed to obtain a third blurred video frame, and the third blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

[0274] Among them, when the delivery data display module 13 is used to display the recommended bullet screen control on the play page, the delivery data display module 13 is specifically used to perform the following operations:

[0275] Obtain the delivery data display parameters corresponding to the delivery data, and obtain the control image based on the control image address in the delivery data display parameters;

[0276] A recommended bullet screen control is generated based on the control image and the control size indicated by the delivery data display parameters, and the recommended bullet screen control is displayed at the control display position indicated by the delivery data display parameters on the playback page.

[0277] Further, see Figure 15 , Figure 15 This is a schematic diagram of a data processing device provided in an embodiment of the present application. Figure 2 .like Figure 15 The data processing device 1500 shown includes Figure 14 In addition to the media data display module 11 , the window change module 12 , and the delivery data display module 13 in the data processing device 1400 , the data processing device 1500 may further include a plot display module 14 and an order generation module 15 .

[0278] The plot display module 14 is specifically configured to perform the following operations:

[0279] Displaying plot guide text for the media data in the target area; the plot guide text is used to indicate key plots of unplayed content in the media data.

[0280] The order generation module 15 is specifically configured to perform the following operations:

[0281] Display data interaction controls on the playback page;

[0282] In response to a trigger operation on a data interaction control, jump to and display an item details page associated with the delivery data, display detailed information of the item corresponding to the delivery data on the item details page, and display a purchase control for the item;

[0283] In response to a triggering operation on a purchase control, a business order for the item is displayed.

[0284] Through the above process, by displaying the barrage data in the second display mode, i.e., reducing the display media window and displaying the media data, switching the three stages of the advertisement display design of the display of the delivery data, the object can perceive in advance that the delivery data will be displayed through the reduced media window, so as to reduce the suddenness of interrupting the display of the media data, reduce the resistance of the object to the delivery data, improve the experience of the object watching the media data, and reduce the skip rate of the object to the delivery data. Moreover, by allowing the barrage data to be displayed by the reduced media window (i.e., displaying the barrage data only in the target area), the barrage data can be normally displayed in the target area without blocking the media data or the delivery data in the reduced media window, so that the display effect of the media data and the delivery data is not affected, and the display effect of the barrage data is ensured. Reusing the real barrage interactive system, supporting the interaction process between the object and the delivery data, can enhance the interactivity between the object and the delivery data, thereby reducing the sense of fragmentation when inserting the delivery data in the media data. Providing the recommended barrage control, the object can publish the recommended barrage data, thereby shortening the distance between the object and the goods corresponding to the delivery data. Providing the data interaction control, the object can view the detail information of the goods, and directly click the purchase control to purchase the goods, thereby further improving the experience of the object, and improving the sales rate of the goods, realizing the commercial value of the delivery data.

[0285] See Figure 16 , Figure 16 is a structural schematic diagram of a computer device provided by an embodiment of the present application. The computer device can be a business device or a server. In the embodiment, the computer device is taken as an example of a business device for illustration. As shown in Figure 16 , the computer device 1600 in the embodiment of the present application can include a processor 1601, a network interface 1604, and a memory 1605. In addition, the computer device 1600 can further include a user interface 1603 and at least one communication bus 1602. The communication bus 1602 is used to realize the connection and communication between the components. The user interface 1603 can include a display screen (Display), a keyboard (Keyboard), and can optionally include a standard wired interface and a wireless interface. The network interface 1604 can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1605 can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 1605 can optionally be at least one storage device located away from the processor 1601. As shown in Figure 16As shown, the memory 1605 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application.

[0286] The network interface 1604 may provide a network communication element; the user interface 1603 may be mainly used to provide an input interface for the user; and the processor 1601 may be used to call a computer program stored in the memory 1605 to execute the steps in each embodiment of the present application.

[0287] In addition, it should be noted that: the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, the computer program is suitable for being loaded and executed by the processor Figure 2 、 Figure 4 、 Figure 11 、 Figure 12 or Figure 13 For details on the methods provided in each step, please refer to the Figure 2 、 Figure 4 、 Figure 11 、 Figure 12 or Figure 13 The implementation methods provided in each step will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated. For technical details not disclosed in the computer-readable storage medium embodiment involved in this application, please refer to the description of the method embodiment of this application. As an example, the computer program can be deployed to be executed on one computer device, or on multiple computer devices located in one location, or on multiple computer devices distributed in multiple locations and interconnected by a communication network.

[0288] The computer-readable storage medium may be the device provided in any of the aforementioned embodiments or the internal storage unit of the computer device, such as the hard disk or memory of the computer device. The computer-readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the computer device. Furthermore, the computer-readable storage medium may also include both the internal storage unit of the computer device and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the computer device. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0289] The embodiment of the present application further provides a computer program product, which comprises a computer program stored in a computer readable storage medium. A processor of a computer device reads the computer program from the computer readable storage medium, and the processor executes the computer program, so that the computer device executes the method provided in various optional manners in the method, the description and the claims of the embodiment of the present application and the drawings, and therefore, the description will not be repeated here. Figure 2 , Figure 4 , Figure 11 , Figure 12 or Figure 13 The description and the claims of the embodiment of the present application and the drawings, and therefore, the description will not be repeated here.

[0290] The terms "first", "second", and the like in the description and the claims of the embodiment of the present application and the drawings are used to distinguish different objects, and are not used to describe a specific order. In addition, the term "comprise" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product or equipment comprising a series of steps or units is not limited to the listed steps or units, but optionally further comprises steps or units not listed, or optionally further comprises other steps or units inherent to the process, method, device, product or equipment.

[0291] In the embodiment of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined target, and can be implemented entirely or partially by using software, hardware (such as a processing circuit or a memory) or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an integral module or unit that includes the functions of the module or unit.

[0292] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in general terms in the description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0293] The methods and related devices provided in the embodiments of the present application are described with reference to the method flow charts and / or structural diagrams provided in the embodiments of the present application. Specifically, each process and / or block in the method flow charts and / or structural diagrams, as well as the combination of processes and / or blocks in the flow charts and / or block diagrams, can be implemented by computer programs. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the computer program executed by the processor of the computer or other programmable device generates a program for implementing the process. Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 The computer programs can also be stored in a computer-readable memory that can direct a computer or other programmable device to work in a specific manner, so that the computer program stored in the computer-readable memory produces a manufactured product including the program device, or is transmitted through a computer-readable storage medium. The computer program can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (for example, coaxial cable, optical fiber, digital line (DSL)) or wireless (for example, infrared, wireless, microwave, etc.). The program device is implemented in the process Figure 1 Schematic diagram of one or more processes and / or structures Figure 1 These computer programs can also be loaded onto computers or other programmable devices so that a series of operating steps are executed on the computer or other programmable devices to produce computer-implemented processing, thereby providing a computer program executed on the computer or other programmable device for implementing the functions specified in the process. Figure 1 The flow or flows and / or structures illustrate the steps of the functions specified in one block or multiple blocks.

[0294] The steps in the method of the embodiment of the present application can be adjusted in order, combined and deleted according to actual needs.

[0295] The modules in the device of the embodiment of the present application can be merged, divided and deleted according to actual needs.

[0296] The above disclosure is only a preferred embodiment of the present application, and certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A data processing method, characterized in that: The method comprises: Display media data on the playback page; When the playback behavior of the media data satisfies the conditions for displaying data, the media window for displaying the media data in the playback page is reduced in size and the barrage data is displayed in a target area of ​​the playback page; the target area is the area of ​​the playback page excluding the reduced media window; The media data is switched to be displayed as the delivery data in the reduced media window.

2. The method according to claim 1, characterized in that When the playback behavior of the media data satisfies the data delivery condition, before shrinking the media window for displaying the media data on the playback page, the method further includes: The barrage data is displayed in the first display mode on the playback page.

3. The method according to claim 2, characterized in that After displaying the bullet screen data in the first display mode on the playback page, the method further includes: The first display mode is switched to a second display mode, and the barrage data is displayed using the second display mode.

4. The method according to claim 1, wherein The method further comprises: Displaying a first background content in a target area of ​​the play page; displaying the barrage data in the first background content; When the delivery data is displayed in the reduced media window, the first background content in the target area is switched to display the second background content.

5. The method according to claim 1, wherein Also includes: Displaying a recommendation barrage control on the playback page; In response to a triggering operation on the recommendation barrage control, at least one of the following is displayed on the playback page: bubble display data and recommendation barrage data.

6. The method according to claim 1, characterized in that Also includes: When the playback of the delivery data ends, or the trigger operation for the target area meets the delivery data exit condition, or in response to the trigger operation for the window cancel control, the reduced media window is enlarged and displayed in the playback page, the delivery data is switched to the media data in the enlarged media window, and the barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page; the window cancel control refers to the trigger control associated with the reduced media window displayed in the playback page.

7. The method according to claim 1, characterized in that Also includes: displaying plot guidance text for the media data in the target area; The plot guide text is used to indicate the key plot of the unplayed content in the media data.

8. The method according to claim 1, characterized in that Also includes: In response to a triggering operation on the reduced media window, displaying full-screen playback prompt information; In response to the triggering operation for the full-screen playback prompt information, the reduced media window is enlarged and displayed, the delivery data or the media data continues to be displayed in the enlarged media window, and the barrage data is displayed in the enlarged media window; the size of the enlarged media window is the same as the page size of the playback page.

9. The method according to claim 1, characterized in that Also includes: Displaying data interaction controls on the playback page; In response to a triggering operation on the data interaction control, jumping to and displaying an item details page associated with the delivery data, displaying detailed information of the item corresponding to the delivery data on the item details page, and displaying a purchase control for the item; In response to a triggering operation on the purchase control, a business order for the item is displayed.

10. The method according to claim 1, characterized in that The barrage data includes first barrage data and second barrage data; and displaying the barrage data in the target area of ​​the play page includes: In the target area of ​​the playback page, the first barrage data and the second barrage data are displayed; the first barrage data is associated with the delivery data; the second barrage data is associated with the media data; the display style of the first barrage data and the display style of the second barrage data are different.

11. The method according to claim 10, characterized in that Also includes: In a bullet comment database corresponding to the media data, matching the delivery data with each candidate bullet comment in the bullet comment database to obtain a matching value corresponding to each candidate bullet comment; Determine the M candidate bullet comments whose matching values ​​are greater than or equal to the correlation threshold as the first bullet comment data; M is a positive integer; Determine N candidate bullet comments whose matching values ​​are less than the association threshold as the second bullet comment data; N is a positive integer; The first barrage data and the second barrage data are combined to obtain barrage data.

12. The method according to claim 1, characterized in that Displaying the bullet screen data in the target area of ​​the playback page includes: Obtaining barrage display parameters associated with the barrage data; the barrage display parameters include a track creation time interval and a unit track display quantity; Based on the track creation time interval, R track creation cycles for the barrage data are determined; R is a positive integer; R track creation cycles include track creation cycle C k , k is a positive integer less than or equal to R; When the system time reaches the trajectory creation cycle C k When , Q display tracks are created in the target area of ​​the play page; Q is a positive integer; Based on the Q display tracks and the number of unit track displays, the track creation period C is determined. k The corresponding number of barrage displays; the unit track display number is used to indicate the number of barrage data displayed by a single display track; Obtain barrage data of a quantity equal to the barrage display quantity from the barrage data, and send the barrage data of a quantity equal to the barrage display quantity to the Q display tracks in sequence for display; the sum of the barrage display quantities corresponding to the R track creation cycles is the quantity of the barrage data.

13. The method according to claim 1, wherein The media data includes G data frames, and the G data frames include data frame D z , z is a positive integer less than or equal to G; the method further includes: Get the data frame D z a frame index corresponding to the media data, detecting the frame index; If it is detected that the frame index matches the target frame index indicated by the data delivery condition, it is determined that the playback behavior of the media data meets the data delivery condition; the data frame D z The data frame of the media data currently being displayed.

14. The method according to claim 3, characterized in that Also includes: Obtaining a special effect identifier and special effect configuration for the barrage data from a special effect database; Creating a delivery operation structure for the delivery data based on the delivery data, the special effect identifier, and the special effect configuration; The delivery operation structure is used to instruct the display of the bullet screen data in the second display mode; The second display mode is determined based on the special effect identifier and the special effect configuration.

15. The method according to claim 14, characterized in that The step of creating a delivery operation structure for the delivery data based on the delivery data, the special effect identifier, and the special effect configuration includes: Acquire a display trigger time for the second display mode, and acquire display configuration information for the delivery data; the display configuration information is used to indicate a display start time and a display duration period for the delivery data; The display trigger time, the display configuration information, the delivery data, the special effect identifier and the special effect configuration are encapsulated to obtain a delivery operation structure for the delivery data.

16. The method according to claim 4, characterized in that The media window is displayed in the first player layer; and the shrinking and displaying of the media window for displaying the media data in the playback page includes: The first player layer is zoomed out and displayed to obtain a second player layer, and the layer order of the second player layer is set above the layer order of the bullet screen layer; the bullet screen layer is used to display the bullet screen data; Displaying the first background content in the target area of ​​the playback page includes: Create a background layer, display the first background content in the background layer, and set the layer order of the bullet screen layer above the layer order of the background layer; the target area refers to the display area in the background layer except the area covered by the second player layer.

17. The method according to claim 4, characterized in that Also includes: Obtaining delivery data display parameters for the media data, and determining a display time period of the media data in the reduced media window based on the delivery data display parameters; Acquire S video frames in the media data that fall within the playback progress of the display time period; S is a positive integer; The device type of the service device is obtained, and based on the device type and the S video frames, a first background content is generated for display in the target area of ​​the playback page; the service device is a device for playing the media data.

18. The method according to claim 17, characterized in that The S video frames include video frame B j , j is a positive integer less than or equal to S; generating, based on the device type and the S video frames, a first background content for display in a target area of ​​the playback page, comprising: If the device type is the first performance type, and the video frame B is being displayed in the reduced media window j , then for the video frame B j Performing blur processing to obtain a first blurred video frame, and determining the first blurred video frame as first background content for displaying in a target area of ​​the playback page; If the device type is the second performance type, and the video frame B is being displayed in the reduced media window j , then blurring is performed on the first video frame of the S video frames to obtain a second blurred video frame, and the second blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

19. The method according to claim 18, characterized in that Also includes: If the device type is the third performance type, obtaining a fuzzy processing parameter corresponding to the third performance type, and dividing the S video frames based on the fuzzy processing parameter to obtain P video frame groups; P is a positive integer; The P video frame groups include the i-th video frame group, where i is a positive integer less than or equal to P; The first video frame in each video frame group is obtained from the P video frame groups to obtain P background frames; the P background frames include the background frame A corresponding to the i-th video frame group. i ; When the video frame in the i-th video frame group is being displayed in the reduced media window, the background frame A i Blurring processing is performed to obtain a third blurred video frame, and the third blurred video frame is determined as the first background content for display in the target area of ​​the playback page.

20. The method according to claim 5, characterized in that The displaying of the recommendation barrage control on the playback page includes: Obtaining a delivery data display parameter corresponding to the delivery data, and obtaining a control image based on a control image address in the delivery data display parameter; A recommended bullet screen control is generated based on the control image and the control size indicated by the delivery data display parameter, and the recommended bullet screen control is displayed at the control display position indicated by the delivery data display parameter in the playback page.

21. A data processing device, characterized in that: The device comprises: Media data display module, used to display media data on the playback page; A window changing module is configured to, when the playback behavior of the media data satisfies the data delivery display condition, shrink the media window used to display the media data on the playback page and display the bullet chat data in a target area on the playback page; the target area is the area on the playback page excluding the shrunken media window; The delivery data display module is used to switch and display the media data in the reduced media window as the delivery data.

22. A computer device, characterized in that: Includes processor, memory, input and output interfaces; The processor is connected to the memory and the input / output interface respectively, wherein the input / output interface is used to receive and output data, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method according to any one of claims 1 to 20.

23. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 20.

24. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 20 is implemented.