CN113630632A - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN113630632A
CN113630632A CN202010385605.2A CN202010385605A CN113630632A CN 113630632 A CN113630632 A CN 113630632A CN 202010385605 A CN202010385605 A CN 202010385605A CN 113630632 A CN113630632 A CN 113630632A
Authority
CN
China
Prior art keywords
target
advertisement resource
advertisement
material file
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010385605.2A
Other languages
Chinese (zh)
Inventor
程建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010385605.2A priority Critical patent/CN113630632A/en
Publication of CN113630632A publication Critical patent/CN113630632A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2668Creating a channel for a dedicated end-user group, e.g. insertion of targeted commercials based on end-user profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving MPEG packets from an IP network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data

Abstract

The embodiment of the application discloses a data processing method, related equipment and a computer readable storage medium. The method comprises the following steps: when the terminal device detects a trigger event, acquiring an identifier of a target advertisement resource directed to a target video and a pre-download list, if the identifier of the target advertisement resource does not belong to the pre-download list, acquiring a corresponding target material file according to the identifier of the target advertisement resource, and adding the identifier of the target advertisement resource and the target material file into the pre-download list. By pre-downloading the target advertisement resource, the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for playing the advertisement is reduced, the data processing time delay of the target advertisement resource is reduced, and the data processing efficiency is improved.

Description

Data processing method and device
Technical Field
The present application relates to the field of computer networks, and in particular, to a data processing method and a data processing device.
Background
Many application scenarios involve data processing procedures, such as: the video-on-demand scene can relate to the processing process of advertisement data, including downloading advertisements corresponding to the video-on-demand and playing the downloaded advertisements. In practice, it is found that the time delay of the existing advertisement data processing process is large, so that the advertisement playing effect is influenced, and meanwhile, the playing effect of the corresponding video is also influenced.
Disclosure of Invention
The embodiment of the application discloses a data processing method, data processing equipment and a computer readable storage medium, which can reduce data processing time delay of advertisement resources.
In one aspect, the present application provides a data processing method, including:
when a trigger event is detected, acquiring an identifier of a target advertisement resource oriented to a target video;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource does not belong to the pre-download list, acquiring a corresponding target material file according to the identification of the target advertisement resource;
and adding the identification of the target advertisement resource and the target material file into the pre-download list.
In the embodiment of the application, when the terminal device detects a trigger event, the identifier of the target advertisement resource directed to the target video and the pre-download list are obtained, if the identifier of the target advertisement resource does not belong to the pre-download list, the corresponding target material file is obtained according to the identifier of the target advertisement resource, and the identifier of the target advertisement resource and the target material file are added to the pre-download list. By pre-downloading the target advertisement resource, the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for playing the advertisement is reduced, the data processing time delay of the target advertisement resource is reduced, and the data processing efficiency is improved.
In one aspect, the present application provides a data processing method, including:
when a playing instruction for a target video is received, acquiring an identifier of a target advertisement resource oriented to the target video;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource belongs to the pre-download list, acquiring a target material file corresponding to the identification of the target advertisement resource from the pre-download list;
and playing the target material file in the process of playing the target video.
In the embodiment of the application, when a playing instruction for a target video is received, an identifier of a target advertisement resource oriented to the target video and a pre-download list are obtained; if the identification of the target advertisement resource belongs to a pre-download list, directly acquiring a target material file corresponding to the identification of the target advertisement resource from the pre-download list; and playing the target material file in the process of playing the target video. By pre-downloading the target advertisement resource, the target advertisement resource and the corresponding target material file are added into the pre-downloading list in advance, so that the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resource is reduced, when the target video is triggered to be played, the target material file can be timely obtained from the pre-downloading list and played, the time for a user to wait for the cache of the advertisement resource is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
In one aspect, the present application provides a data processing method, including:
acquiring at least one advertisement resource oriented to a target video, wherein each advertisement resource corresponds to a playing priority;
acquiring an identifier of a target advertisement resource with the highest playing priority in at least one advertisement resource;
sending the identification of the target advertisement resource to the terminal equipment; and the terminal equipment adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource into the pre-download list of the terminal equipment, and plays the target material file stored in the pre-download list in the process of playing the target video.
In the embodiment of the application, the identification of the target advertisement resource oriented to the target video is sent to the terminal device, so that the terminal device adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource to the pre-download list of the terminal device, and the terminal device plays the target material file stored in the pre-download list in the process of playing the target video. By pre-downloading the target advertisement resource, the target advertisement resource and the corresponding target material file are added into the pre-downloading list in advance, so that the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resource is reduced, when the target video is triggered to be played, the target material file can be timely obtained from the pre-downloading list and played, the time for a user to wait for the cache of the advertisement resource is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
In one aspect, the present application provides a data processing apparatus, comprising:
the acquisition unit is used for acquiring the identification of the target advertisement resource oriented to the target video when the trigger event is detected, and acquiring a pre-download list, wherein the pre-download list comprises the identification of at least one advertisement resource downloaded to the local storage space and a material file corresponding to the identification of each advertisement resource;
and the processing unit is used for acquiring a corresponding target material file according to the identifier of the target advertisement resource and adding the identifier of the target advertisement resource and the target material file into the pre-download list if the identifier of the target advertisement resource does not belong to the pre-download list.
In one aspect, the present application provides a data processing apparatus, comprising:
the acquisition unit is used for acquiring an identifier of a target advertisement resource oriented to a target video when a playing instruction for the target video is received, and acquiring a pre-download list, wherein the pre-download list comprises the identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
and the processing unit is used for acquiring a target material file corresponding to the identifier of the target advertisement resource from the pre-download list if the identifier of the target advertisement resource belongs to the pre-download list, and playing the target material file in the process of playing the target video.
In one aspect, the present application provides a data processing apparatus, comprising:
the device comprises an acquisition unit, a display unit and a display unit, wherein the acquisition unit is used for acquiring at least one advertisement resource oriented to a target video, each advertisement resource corresponds to a playing priority, and the identification of the target advertisement resource with the highest playing priority in the at least one advertisement resource is acquired;
the processing unit is used for sending the identification of the target advertisement resource to the terminal equipment; and the terminal equipment adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource into the pre-download list of the terminal equipment, and plays the target material file stored in the pre-download list in the process of playing the target video.
In one aspect, the present application provides a data processing apparatus, comprising:
a memory storing computer readable instructions;
a processor coupled to the memory for executing computer readable instructions to implement the data processing method described above.
In one aspect, the present application provides a computer-readable storage medium having stored thereon one or more instructions adapted to be loaded by a processor and to perform the above-mentioned data processing method.
In the embodiment of the application, the target advertisement resources and the corresponding target material files are added into the pre-download list in advance by pre-downloading the target advertisement resources, so that the time consumed by downloading the target material files of the target advertisement resources in real time when the target advertisement resources are required to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resources is reduced, when the target video is triggered to be played, the target material files of the target advertisement resources oriented to the target video can be obtained from the pre-download list in time and played, the time for a user to wait for the cache of the advertisement resources is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a depicts an architecture diagram of a data processing system provided by an exemplary embodiment of the present application;
FIG. 1b depicts an architecture diagram of yet another data processing system provided by an exemplary embodiment of the present application;
FIG. 2 illustrates a flow chart of a data processing method provided by an exemplary embodiment of the present application;
FIG. 3a is a flow chart illustrating yet another data processing method provided by an exemplary embodiment of the present application;
fig. 3b illustrates an application scene diagram of playing a target material file in the process of playing a target video according to an exemplary embodiment of the present application;
FIG. 4 illustrates a flow chart of yet another data processing method provided by an exemplary embodiment of the present application;
FIG. 5 illustrates a flow chart of yet another data processing method provided by an exemplary embodiment of the present application;
FIG. 6 is a block diagram of a data processing apparatus according to an exemplary embodiment of the present application;
FIG. 7 is a block diagram illustrating a further data processing apparatus according to an exemplary embodiment of the present application;
FIG. 8 is a block diagram illustrating a further data processing apparatus according to an exemplary embodiment of the present application;
fig. 9 shows a schematic structural diagram of a data processing device according to an exemplary embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.
The embodiment of the application relates to an advertisement targeting and media resource system and an advertisement system. By ad targeting is meant that an ad asset is only played in certain designated videos, e.g., a child's toy ad is only played when a kid animation is clicked. Further, when the number of advertisement resources targeted to a certain video is large, advertisement targeting also allows the playing order of the advertisement resources to be specified based on the playing priority of each advertisement resource; for example, if three advertisement assets targeted to a particular popular movie are provided, and each advertisement asset corresponds to a playing priority, the material files of the three advertisement assets can be played in the order of the playing priority from high to low in the process of playing the popular movie. Here, the play priority refers to a parameter for determining a play order corresponding to each advertisement resource when a plurality of advertisement resources are targeted to the same video. The playing priority can be set by the advertiser or set by the advertisement system according to the specific situation of each advertisement resource (such as whether payment is made, whether the content of the material file of the advertisement resource is standard, etc.). The higher the playing priority, the earlier the playing sequence is, i.e. the earlier the playing is; conversely, the lower the playing priority, the later the playing sequence, i.e. the later it is played.
FIG. 1a illustrates an architecture diagram of a data processing system provided by an exemplary embodiment of the present application. As shown in fig. 1a, the data processing system may include a terminal device 101, a server 102, a mediation system 103 and an advertisement system 104. The number of the terminal devices, the servers, the media asset system and the advertisement system in the data processing system shown in fig. 1a is only an example, for example, the number of the terminal devices, the servers, the media asset system and the advertisement system may be multiple, and the application does not limit the number of the terminal devices, the servers, the media asset system and the advertisement system.
Terminal device 101 is a device used by a user and may include, but is not limited to: smart phones (such as Android phones, iOS phones, etc.), tablet computers, portable personal computers, Mobile Internet Devices (MID for short), and the like, which are not limited in the embodiments of the present invention.
Server 102 is an advertising asset management back-end. The server 102 may determine an identification of a targeted advertising asset targeted to the target video based on the obtained identification of the target video. Specifically, the server 102 may obtain the identifier of the target video through the terminal device or the media resource system, and obtain the identifier of the target advertisement resource targeted to the target video through the advertisement system.
The media asset system 103 is a system for managing media asset information, and can analyze and determine the current heat play through the current media asset information. The media resource information includes information on the on-demand volume, the number of people concerned, the number of people commenting, the number of reserved people and the like of each video in the network, which can be used as a basis for judging the attention degree of the video. For example, the media asset system may determine the video ranked before the preset position as the current drama by counting the on-demand volume of each video in the previous day and sorting the videos in the order of the on-demand volume from high to low.
The advertisement system 104 is a system for maintaining the targeting relationship between videos and advertisement resources and maintaining the playing priority of each advertisement resource. In one embodiment, the advertisement system determines the advertisement resource targeted to a certain video and the playing priority of the advertisement resource according to the video category specified by the advertisement publisher and the price of advertisement delivery; for example, suppose that the video categories specified by the advertisement resource 1 delivered by the advertisement publisher 1 and the advertisement resource 2 delivered by the advertisement publisher 2 are animation films, and the price of delivering the advertisement by the advertisement publisher 1 is higher than that of the advertisement publisher 2; the advertisement system targets advertisement resource 1 and advertisement resource 2 to the video of the animation class and sets the value of the priority of advertisement resource 1 to 90 and the value of the priority of advertisement resource 2 to 70 according to the price of the delivered advertisement.
In one embodiment, the media asset system 103 and the advertisement system 104 are deployed in different servers, respectively, and establish communication with the server 102. In another embodiment, the media asset system 103 and the advertisement system 104 may be deployed in the server 102 as part of the server 102.
In the system shown in fig. 1a, the data processing flow mainly includes: firstly, when detecting a trigger event (for example, when a user opens video-on-demand software), the terminal device 101 sends a target advertisement resource acquisition request 1 to the server 102, where the target advertisement resource acquisition request 1 is used to acquire an identifier of a target advertisement resource targeted to a target video (for example, a current drama or a certain type of video) (that is, to acquire an identifier of an advertisement resource that needs to be pre-downloaded). After receiving the acquisition request sent by the terminal device 101, the server 102 acquires the identifier of the target video (i.e. determines the current drama) through the media resource system 103. Third, the server 102 obtains the identification of the advertisement resource targeted to the target video and the playing priority corresponding to the advertisement resource (i.e. determines the advertisement resource targeted to the current drama) through the advertisement system 104. The server 102 determines, as the target advertisement resource, the advertisement resource with the largest play priority value among the advertisement resources targeted to the target video according to the play priority of the advertisement resource, and sends an identifier of the target advertisement resource targeted to the target video to the terminal device 101 (that is, the server 102 determines, through the media resource system and the advertisement system, the identifier of the advertisement resource that needs to be pre-downloaded and sends the identifier to the terminal device 101). The terminal device 101 receives the identifier of the target advertisement resource directed to the target video sent by the server 102, and obtains a pre-download list stored locally (that is, the terminal device 101 obtains information of the downloaded advertisement resource), where the pre-download list includes the identifier of at least one advertisement resource downloaded into a local storage space (for example, a storage space built in or extended by the terminal device, or a memory of a client running in the terminal device) and a material file of the identifier of each advertisement resource (that is, a data file required for playing the advertisement resource on the terminal device). The terminal device 101 determines whether the pre-download list includes the identifier of the target advertisement resource (i.e., determines whether the target advertisement resource is pre-downloaded), and if the identifier of the target advertisement resource does not belong to the pre-download list, the terminal device 101 obtains a corresponding target material file according to the identifier of the target advertisement resource, and adds the identifier of the target advertisement resource and the target material file to the pre-download list (i.e., pre-downloads the target advertisement resource).
With the data processing system shown in fig. 1a, when the terminal device detects a trigger event, an identifier of a target advertisement resource directed to a target video and a pre-download list are obtained, if the identifier of the target advertisement resource does not belong to the pre-download list, a corresponding target material file is obtained according to the identifier of the target advertisement resource, and the identifier of the target advertisement resource and the target material file are added to the pre-download list. By pre-downloading the target advertisement resource, the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for playing the advertisement is reduced, the data processing time delay of the target advertisement resource is reduced, and the data processing efficiency is improved.
FIG. 1b depicts an architecture diagram of yet another data processing system provided in an exemplary embodiment of the present application. As shown in fig. 1b, the data processing system may comprise a terminal device 101, a server 102 and an advertisement system 104. The number of the terminal devices, the servers and the advertisement systems in the data processing system shown in fig. 1b is only an example, for example, the number of the terminal devices, the servers and the advertisement systems may be multiple, and the application does not limit the number of the terminal devices, the servers and the advertisement systems.
In the system shown in fig. 1b, the data processing flow mainly includes: when the terminal device 101 receives a play instruction for a target video (that is, a user clicks and selects a video to be played on the terminal device 101), a target advertisement resource acquisition request 2 is sent to the server 102, where the target advertisement resource acquisition request 2 carries an identifier of the target video, the target video refers to a video requested by the user, and the target advertisement resource acquisition request 2 is used to acquire an identifier of an advertisement resource directed to the target video. The server 102 obtains the identifier of the advertisement resource targeted to the target video and the playing priority corresponding to the advertisement resource (i.e. determines the advertisement resource targeted to the current drama) through the advertisement system 104. For a specific implementation, reference may be made to the implementation of step c in fig. 1a, which is not described herein again. The terminal apparatus 101 acquires the locally stored pre-download list, and for a specific implementation, reference may be made to the implementation in step (iv) in fig. 1a, which is not described herein again. The terminal device 101 determines whether the pre-download list includes an identifier of the target advertisement resource, and if the identifier of the target advertisement resource belongs to the pre-download list, the terminal device 101 obtains a target material file corresponding to the identifier of the target advertisement resource from the pre-download list, and plays the target material file in the process of playing the target video (that is, when the terminal device 101 determines that the data file of the target advertisement resource is downloaded, the data file of the target advertisement resource stored in the local storage space is read for playing, and does not need to wait for caching).
With the data processing system shown in fig. 1b, when a play instruction for a target video is received, a terminal device obtains an identifier of a target advertisement resource directed to the target video through a server, determines whether the identifier of the target advertisement resource belongs to a pre-download list, obtains a target material file corresponding to the identifier of the target advertisement resource in the pre-download list if the identifier of the target advertisement resource belongs to the pre-download list, and plays the target material file in a process of playing the target video. By pre-downloading the target advertisement resource, the target advertisement resource and the corresponding target material file are added into the pre-downloading list in advance, so that the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resource is reduced, when the target video is triggered to be played, the target material file can be timely obtained from the pre-downloading list and played, the time for a user to wait for the cache of the advertisement resource is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
Fig. 2 shows a flowchart of a data processing method according to an exemplary embodiment of the present application. The data processing method may be performed by the terminal device 101 shown in fig. 1a or fig. 1 b; as shown in fig. 2, the data processing method includes, but is not limited to, the following steps 201 to 204. Wherein:
201. when a trigger event is detected, the terminal equipment acquires the identification of the target advertisement resource oriented to the target video.
The triggering event refers to an event that triggers the advertisement resource to be pre-downloaded, and the triggering event may include but is not limited to: starting an event of a target APP (Application) in the terminal device, wherein the time interval between the current system time of the terminal device and the last detected trigger event is greater than a time threshold, the terminal device is in an idle state, and the terminal device is accessed to a WiFi (Wireless Fidelity) network. The first acquisition request is used for requesting the server to acquire the identification of the target advertisement resource. The target APP may refer to any APP in the terminal device, for example, a video playing APP. The time threshold may be set according to actual needs, for example, according to the update time of the advertisement resource, such as 24 hours, 12 hours, etc. The terminal device is in an idle state, which means that the terminal device is in a standby state (i.e. the terminal device does not receive any operation instruction within a period of time).
The target advertisement resource refers to an advertisement resource targeted to the target video, and in one embodiment, the target advertisement resource is only one advertisement resource targeted to the target video. In another embodiment, if the number of advertisement resources targeted to the target video is greater than 1, the target advertisement resource refers to the advertisement resource with the highest playing priority among the advertisement resources. For example, if there are three advertisement resources targeted to the hot movie a and the advertisement resource of the product B has the highest playing priority among the three advertisements, the advertisement resource of the product B is the target advertisement resource of the hot movie a.
The target video may refer to any one of the videos in the advertising system. In the embodiment of the present application, the target video may be a video of a specified category or a heat that the attention number reaches a threshold value. Where the video categories include movies, animations, martial arts plays, palace plays, crossing plays, art shows, etc., the specified category may be any of the video categories. The number of interests includes at least one of: the number of comment information, the number of comment users, the number of concerned users, and the number of play times. The specific information can also be the number of persons who reserve to watch, the on-demand volume in a preset time period, the real-time on-demand rate and the like. For example, assuming that "XX 1" is the highest in the video on the day of 25/1/2020, XX1 "is determined to be a heat drama at 26/1/2020. In one embodiment, the first acquisition request sent by the terminal device to the server carries the video history play record of the terminal device, and the server determines the video of the specified category for the terminal device according to the recommendation algorithm and the video history play record of the terminal device. For example, if the user watches the XX2 episodes 1 to 8 within 10 days by using the terminal device 1, it is known that the XX2 episode 9 and subsequent episodes are requested with a high probability according to the play records of the terminal device 1, and the XX2 and similar television plays are determined as videos of the designated category of the terminal device 1 by the server. It can be understood that the hit rate of the pre-downloaded advertisement resources can be improved by analyzing and processing the video history playing records of the terminal device, and the user experience is further improved. Similarly, the heat when the attention number reaches the threshold value is also that the user has a higher probability of being requested by the user when requesting the video than other videos.
In one embodiment, the identifier of the target advertisement resource may be a download address of a target material file corresponding to the target advertisement resource, and the target material file may be downloaded through the identifier of the target advertisement resource; in another embodiment, the identification of the target advertisement resource may be a Digest string of the target advertisement resource, and the Digest string may be calculated by using a hash Algorithm (e.g., MD5(Message-Digest Algorithm) information Digest Algorithm) to obtain the target material file of the target advertisement resource or the download address of the target material file. Of course, the identifier of the target advertisement resource may also be other encoded information uniquely identifying the target advertisement resource, which is not limited in this embodiment of the application.
In an embodiment, after receiving a first acquisition request sent by a terminal device, a server acquires an identifier of a target video through a media resource system (that is, determines a current drama, or determines a video of a specified category through a video play history carried in the first acquisition request sent by the terminal device), and acquires at least one advertisement resource targeted to the target video through an advertisement system (that is, determines an advertisement resource targeted to the target video), where each advertisement resource corresponds to one play priority. If the number of advertisement resources targeted to the target video is 1, the advertisement resources are determined to be the target advertisement. If the number of the advertisement resources targeted to the target video is greater than 1, the server determines the advertisement resource with the highest playing priority in the advertisement resources as the target advertisement resource according to the playing priority of the advertisement resources, and sends the identifier of the target advertisement resource to the terminal equipment. For example, the advertisement resource targeted to the target video a includes an advertisement resource B and an advertisement resource C, the playing priority of the advertisement resource B is 78, the playing priority of the advertisement resource C is 56, and assuming that the descending order of the playing priority values is the playing order of the advertisement resources, the server determines the advertisement resource B as the target advertisement resource and sends the identifier of the advertisement resource B to the terminal device.
202. The terminal equipment acquires the pre-download list.
The pre-download list is used for storing the identification of at least one advertisement resource downloaded to the local storage space of the terminal equipment and the material file corresponding to the identification of each advertisement resource. The pre-download list is also stored in the local memory space of the terminal device. The local storage space refers to a built-in or expanded storage space of the terminal device, or a memory of a client running in the terminal device. The material file corresponding to the identification of the advertisement resource refers to a data file required for playing the advertisement resource on the terminal equipment.
It is understood that the terminal device may obtain the pre-download list before obtaining the identifier of the target advertisement resource targeted to the target video, or simultaneously with obtaining the identifier of the target advertisement resource targeted to the target video.
Optionally, if the pre-download list is empty, the step of obtaining the corresponding target material file according to the identifier of the target advertisement resource in step 203 is directly performed.
203. And if the identification of the target advertisement resource does not belong to the pre-download list, the terminal equipment acquires a corresponding target material file according to the identification of the target advertisement resource.
In one embodiment, the identification of the targeted advertising asset includes a download address of a targeted material file corresponding to the targeted advertising asset. After acquiring the download address and the pre-download list of the target material file corresponding to the target advertisement resource, the terminal device searches and confirms whether the download address of the target material file corresponding to the target advertisement resource belongs to the pre-download list. If the download address of the target material file corresponding to the target advertisement resource belongs to the pre-download list, it is determined that the target material file corresponding to the identifier of the target advertisement resource is downloaded, and the operation is ended. And if the download address of the target material file corresponding to the target advertisement resource does not belong to the pre-download list, judging that the target material file corresponding to the identifier of the target advertisement resource is not downloaded, and downloading the corresponding target material file by the terminal equipment through the download address of the target material file corresponding to the target advertisement resource.
In another embodiment, the identification of the targeted advertising resource includes a digest string of the targeted advertising resource. The specific implementation method for the terminal device to determine whether the target material file corresponding to the identifier of the target advertisement resource has been downloaded through the summary character string and the pre-download list of the target advertisement resource may refer to the previous embodiment, and is not described herein again. And if the abstract character string of the target advertisement resource does not belong to the pre-download list, the terminal equipment sends a second acquisition request to the server, wherein the second acquisition request carries the abstract character string of the target advertisement resource. And after receiving the second acquisition request, the server sends the abstract character string of the target advertisement resource to the advertisement system, acquires the download address of the target material file which is sent by the advertisement system and matched with the abstract character string of the target advertisement resource, and sends the download address of the target material file to the terminal equipment as response information of the second acquisition request. And after receiving the response information of the server for the second acquisition request, the terminal equipment downloads the corresponding target material file through the download address of the target material file carried in the response information.
204. And the terminal equipment adds the identification of the target advertisement resource and the target material file into the pre-download list.
In one embodiment, the terminal device downloads the target material file into the local storage space, and adds the identifier of the target advertisement resource and the target material file association to the pre-download list. Table 1 provides an exemplary pre-download list for the application embodiment:
TABLE 1
Identification of targeted advertising resources Target material file
www.iueq2.com XX1.mp4
www.iwueioq.com XX2.mp4,XX3.mp4…
In table 1, the identifiers of the target advertisement assets have an indexing function, and each identifier of the advertisement asset corresponds to at least one target material file. For example, xx1.mp4 may be obtained by looking up www.iueq2.com.
Optionally, after the target material file is downloaded, the terminal device continues to download, in the order from the highest playing priority to the lowest playing priority, advertisement resources targeted to the target video, other advertisement resources except the target advertisement resources and not downloaded (that is, the identifier of the advertisement resource does not belong to the pre-download list).
In the embodiment of the application, when the terminal device detects a trigger event, the identifier of the target advertisement resource directed to the target video and the pre-download list are obtained, if the identifier of the target advertisement resource does not belong to the pre-download list, the corresponding target material file is obtained according to the identifier of the target advertisement resource, and the identifier of the target advertisement resource and the target material file are added to the pre-download list. Therefore, by pre-downloading the target advertisement resource, the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for playing the advertisement is reduced, the data processing time delay of the target advertisement resource is reduced, and the data processing efficiency is improved.
Fig. 3a is a flowchart illustrating a further data processing method according to an exemplary embodiment of the present application. The data processing method may be performed by the terminal device 101 shown in fig. 1a or fig. 1 b; as shown in fig. 3a, the data processing method includes, but is not limited to, the following steps 301 to 304. Wherein:
301. when a playing instruction for a target video is received, the terminal equipment acquires an identifier of a target advertisement resource directed to the target video.
The target video refers to a video played by a user currently clicking.
In an implementation manner, after receiving a playing instruction for a target video (for example, a user requests an XX video), the terminal device sends a third acquisition request to the server, where the third acquisition request carries an identifier of the target video. The third acquisition request is used for requesting to acquire the identification of the target advertisement resource oriented to the target video. And after receiving the third acquisition request sent by the terminal equipment, the server acquires at least one advertisement resource oriented to the target video through the advertisement system and sends the at least one advertisement resource oriented to the target video to the terminal equipment.
302. The terminal equipment acquires the pre-download list.
The specific implementation of step 302 can refer to the implementation of step 202 in fig. 2, and is not described herein again.
303. And if the identification of the target advertisement resource belongs to the pre-download list, the terminal equipment acquires a target material file corresponding to the identification of the target advertisement resource from the pre-download list.
In an embodiment, after acquiring the identifier of the target advertisement resource and the pre-download list, the terminal device searches and confirms whether the identifier of the target advertisement resource belongs to the pre-download list, and a specific embodiment may refer to the embodiment of step 203 in fig. 2, which is not described herein again. If the identifier of the target advertisement resource belongs to the pre-download list, the terminal device determines that the target advertisement resource is downloaded, searches and acquires a target material file corresponding to the identifier of the target advertisement resource from the pre-download list through the identifier of the target advertisement resource, and continues to execute step 304. And if the identification of the target advertisement resource does not belong to the pre-download list, the terminal device caches a ts (transport stream) file of the target advertisement resource through the identification of the target advertisement resource.
304. And the terminal equipment plays the target material file in the process of playing the target video.
In one embodiment, the targeted advertising asset is the only one advertising asset targeted to the targeted video. After a user clicks a played target video, the terminal equipment firstly plays a target material file corresponding to a target advertisement resource which is oriented to the target video. When the target material file is played, the terminal equipment can cache the target video. And after the target material file is played, starting to play the target video. Fig. 3b is a diagram illustrating an application scenario of playing a target material file in the process of playing a target video according to an exemplary embodiment of the present application. After receiving the playing instruction for the target video, the terminal device displays an interface as shown in fig. 3b, where the interface includes a target video playing area, activity information, a target video information area, an information bar, and a comment area. The target video playing area firstly plays a target material file which is oriented to the XX TV series and corresponds to the target advertisement resource for 45 seconds, and after the target material file is played, the XX TV series begins to be played. The campaign information may be used to display a campaign related to "XX merchandise," or advertising information published by other merchants. The target video area comprises the brief introduction of the XX TV series, and a user can like, pay attention to, download and share the target video through the corresponding icons. The episode number of "XX" television series may also be selected by selection. The information banner may be used to present entertainment information associated with the XX series of television shows. The user can input comments by clicking the comment input box and clicking the 'comment' button to publish comments. It should be noted that fig. 3b is only for example and does not constitute a practical limitation of the present application on the target video playing interface. For example, a recommendation bar may be included in the interface, where the recommendation bar includes information (e.g., pictures, vignettes, etc.) and jump links for other videos related to the XX series.
In another embodiment, the targeted advertising asset is the only one advertising asset targeted to the targeted video. And after the user clicks the playing target video, the terminal equipment starts to play the target video and times. When the playing time of the target video reaches a time threshold (such as 1 minute, 5 minutes, half an hour and the like), the target video is paused to be played, a target material file corresponding to the target advertisement resource oriented to the target video is started to be played, and the target video is continuously played after the target material file is played.
In yet another embodiment, the number of advertising resources targeted to the target video is greater than 1. When the terminal equipment plays the target material file, other advertisement resources which are not downloaded (namely the identification of the advertisement resources does not belong to the pre-download list) except the target advertisement resources in the advertisement resources targeted to the target video are continuously downloaded according to the sequence from high playing priority to low playing priority. Therefore, the implementation mode can save the time that the user requests the target video to wait for the advertisement resource to be cached, and can also avoid the situation that the storage space of the terminal equipment is occupied by downloading excessive advertisement resources.
Optionally, the server further carries a video list corresponding to the identifier of the target advertisement resource in the response information to the first acquisition request sent by the terminal device, where the video list includes the identifier of at least one video. After receiving a playing instruction aiming at a target video, the terminal equipment searches and determines whether the identifier of the target video belongs to a video list. If the identification of the target video belongs to the video list, the target advertisement resource oriented to the target video is judged to be downloaded, the terminal equipment obtains a target material file corresponding to the target advertisement resource through the pre-download list, and the target material file is played in the process of playing the target video.
In the embodiment of the application, when terminal equipment receives a playing instruction for a target video, an identifier of a target advertisement resource oriented to the target video and a pre-downloading list are obtained, if the identifier of the target advertisement resource belongs to the pre-downloading list, a target material file corresponding to the identifier of the target advertisement resource is obtained from the pre-downloading list, and the target material file is played in the process of playing the target video. Therefore, the target advertisement resources and the corresponding target material files are added into the pre-download list in advance by pre-downloading the target advertisement resources, so that the time consumed by downloading the target material files of the target advertisement resources in real time when the target advertisement resources are required to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resources is reduced, when the target video is triggered to be played, the target material files can be obtained from the pre-download list in time and played, the time for a user to wait for the cache of the advertisement resources is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
Fig. 4 is a flowchart illustrating a further data processing method according to an exemplary embodiment of the present application. The data processing method may be performed by the server 102 shown in FIG. 1a or FIG. 1 b; as shown in fig. 4, the data processing method includes, but is not limited to, the following steps 401 to 403. Wherein:
401. the server obtains at least one advertising asset targeted to the target video.
In one embodiment, after receiving the first acquisition request sent by the terminal device, the server sends a fourth acquisition request to the media asset system, where the fourth acquisition request is used to request to acquire an identifier of a current drama (i.e., a target video). And after receiving the fourth acquisition request, the media resource system analyzes and determines the current drama through the current media resource information, and sends the identifier of the drama as response information aiming at the fourth acquisition request to the server. And the server sends a fifth acquisition request to the advertisement system, wherein the fifth acquisition request carries an identifier of the heat drama and is used for requesting to acquire at least one advertisement resource oriented to the heat drama. After receiving the fifth acquisition request, the advertisement system determines at least one advertisement resource targeted to the thermal drama and the playing priority of each advertisement resource according to the identifier of the thermal drama, and sends the at least one advertisement resource targeted to the thermal drama and the playing priority of each advertisement resource to the server as response information of the fifth acquisition request. The specific implementation of the media asset system determining the drama and the advertisement system determining at least one advertisement resource targeted to the drama and the playing priority of each advertisement resource may refer to the implementation of the media asset system 103 and the advertisement system 104 in fig. 1a, and details are not repeated here.
402. The server obtains the mark of the target advertisement resource with the highest playing priority in the at least one advertisement resource.
In one embodiment, if the number of advertisement resources targeted to the target video is 1, then the advertisement resources are determined by the server to be the target advertisement resources. And the server acquires the identification of the target advertisement resource aiming at the response information of the fifth acquisition request through the advertisement system.
In another embodiment, if the number of advertisement resources targeted to the target video is greater than 1, the server determines the advertisement resource with the highest playing priority among the advertisement resources as the target advertisement resource. And the server acquires the identification of the target advertisement resource aiming at the response information of the fifth acquisition request through the advertisement system.
403. The server sends the identification of the target advertisement resource to the terminal equipment.
And the server sends the identification of the target advertisement resource to the terminal equipment as response information of the first acquisition request.
In the embodiment of the application, the server acquires the identifier of the target video through the media resource system, then acquires at least one advertisement resource oriented to the target video and the playing priority corresponding to each advertisement resource through the advertisement system, determines the target advertisement resource according to the playing priority of the advertisement resource, and sends the identifier of the target advertisement resource to the terminal equipment, so that the terminal equipment can pre-download the target material file corresponding to the identifier of the target advertisement resource according to the identifier of the target advertisement resource.
Fig. 5 is a flowchart illustrating a further data processing method according to an exemplary embodiment of the present application. The data processing method can be realized by interaction between the terminal device 101 and the server 102 shown in fig. 1a or fig. 1 b; as shown in fig. 5, the data processing method includes, but is not limited to, the following steps 501 to 511.
Wherein:
501. when a trigger event is detected, the terminal device sends a first acquisition request to the server.
The first obtaining request is used for requesting to obtain the identification of the target advertisement resource.
502. The server obtains at least one advertising asset targeted to the target video.
503. The server obtains the mark of the target advertisement resource with the highest playing priority in the at least one advertisement resource.
The specific implementation of step 502 and step 503 may refer to the implementation of step 401 and step 402 in fig. 4, and will not be described herein again.
504. And the terminal equipment receives the identification of the target advertisement resource sent by the server.
505. The terminal equipment acquires the pre-download list.
506. And if the identification of the target advertisement resource does not belong to the pre-download list, the terminal equipment acquires a corresponding target material file according to the identification of the target advertisement resource.
507. And the terminal equipment adds the identification of the target advertisement resource and the target material file into the pre-download list.
The specific implementation of step 504 to step 507 can refer to the implementation of step 201 to step 204 in fig. 2, and will not be described herein again.
508. When a playing instruction for a target video is received, the terminal equipment acquires an identifier of a target advertisement resource directed to the target video.
509. The terminal equipment acquires the pre-download list.
510. And if the identification of the target advertisement resource belongs to the pre-download list, the terminal equipment acquires a target material file corresponding to the identification of the target advertisement resource from the pre-download list.
511. And the terminal equipment plays the target material file in the process of playing the target video.
The specific implementation of step 508 to step 511 can refer to the implementation of step 301 to step 304 in fig. 3a, and is not described herein again.
The data processing method provided by the embodiment of the present application is described in detail below by way of a complete example: assuming that the terminal device 1 detects that the user a opens the video playback software B on 26 days 1 month in 2020, the terminal device 1 transmits an acquisition request 1 to the server, the acquisition request 1 being a download address for requesting acquisition of an advertisement resource. After receiving the acquisition request 1, the server determines that a popular movie (namely, a target video) of 26 days in 1 month and 2020 is XXXX through a video on demand volume of 25 days in 1 month and 2020 by a media resource system, and then sends an identifier of XXXXXX to the advertisement system, and acquires download addresses (namely, identifiers of advertisement resources) of advertisement resources 1 to 3, which are directed to XXXXXX and returned by the advertisement system. Assume that the play priority of ad asset 1 is 58, the play priority of ad asset 2 is 66, and the play priority of ad asset 3 is 37. The server determines the advertisement resource 2 as the target advertisement resource according to the sequence of the playing priority from high to low. The download address of the advertisement resource 2 is sent to the terminal device 1 as the response information of the acquisition request 1. The terminal device 1 reads the locally stored pre-download list. Assuming that the pre-download list includes the download addresses of the advertisement resources 5 to 9 and the material files corresponding to the download addresses of the advertisement resources 5 to 9, the download address of the advertisement resource 2 does not belong to the pre-download list. The terminal device 1 downloads the material file (i.e., the target material file) of the advertisement asset 2 through the download address of the advertisement asset 2, and adds the download address of the advertisement asset 2 and the material file of the advertisement asset 2 in association to the pre-download list. Assuming that the terminal device 1 receives a play instruction of XXXX in 27/1/2020, the terminal device 1 sends an acquisition request 2 to the server, where the acquisition request 2 carries an identifier of XXXX, and the server sends the identifier of XXXX to the advertisement system, and acquires download addresses of advertisement resources 1 to 3 and play priorities of the advertisement resources 1 to 3, which are returned by the advertisement system and are directed to XXXX. The server sends the download addresses of the advertisement resources 1 to 3 and the playing priorities of the advertisement resources 1 to 3 to the terminal device 1 as response information of the acquisition request 2, and the terminal device 1 determines that the advertisement resources 2 are played first according to the sequence of the playing priorities from high to low. The terminal device 1 reads the locally stored pre-download list, because the download address of the advertisement resource 2 belongs to the pre-download list, the terminal device 1 searches and reads the material file of the advertisement resource 2 stored in the pre-download list through the download address of the advertisement resource 2, plays the material file of the advertisement resource 2 before playing XXXX, and downloads the material files of the advertisement resource 1 and the advertisement resource 3 according to the sequence of the playing priority from high to low when playing the material file of the advertisement resource 2.
In the embodiment of the application, when a playing instruction for a target video is received, an identifier of a target advertisement resource oriented to the target video and a pre-download list are obtained; if the identification of the target advertisement resource belongs to a pre-download list, directly acquiring a target material file corresponding to the identification of the target advertisement resource from the pre-download list; and playing the target material file in the process of playing the target video. By pre-downloading the target advertisement resource, the target advertisement resource and the corresponding target material file are added into the pre-downloading list in advance, so that the time consumed by downloading the target material file of the target advertisement resource in real time when the target advertisement resource needs to be played can be avoided, the waiting time for advertisement playing is reduced, the data processing time delay for the target advertisement resource is reduced, when the target video is triggered to be played, the target material file can be timely obtained from the pre-downloading list and played, the time for a user to wait for the cache of the advertisement resource is saved, the playing efficiency of the target video is improved, the data processing efficiency is improved, and the user experience is improved.
While the method of the embodiments of the present application has been described in detail above, to facilitate better implementation of the above-described aspects of the embodiments of the present application, the apparatus of the embodiments of the present application is provided below accordingly.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a data processing apparatus according to an exemplary embodiment of the present application, where the data processing apparatus may be mounted on a terminal device in the foregoing method embodiment. The data processing apparatus shown in fig. 6 may be used to perform some or all of the functions in the method embodiment described above with respect to fig. 2. Wherein, the detailed description of each unit is as follows:
an obtaining unit 601, configured to obtain, when a trigger event is detected, an identifier of a target advertisement resource targeted to a target video, and obtain a pre-download list, where the pre-download list includes an identifier of at least one advertisement resource that has been downloaded to a local storage space, and a material file corresponding to the identifier of each advertisement resource;
a processing unit 602, configured to, if the identifier of the target advertisement resource does not belong to the pre-download list, obtain a corresponding target material file according to the identifier of the target advertisement resource, and add the identifier of the target advertisement resource and the target material file to the pre-download list.
In one embodiment, the identifier of the target advertisement resource includes a download address of a target material file corresponding to the target advertisement resource;
the processing unit 602 is further configured to obtain a corresponding target material file according to the identifier of the target advertisement resource, and specifically configured to:
and downloading the target material file through the download address of the target material file corresponding to the target advertisement resource.
In one embodiment, the identification of the targeted advertising resource comprises a summary string of the targeted advertising resource;
the processing unit 602 is further configured to obtain a corresponding target material file according to the identifier of the target advertisement resource, and specifically configured to:
sending an acquisition request to a server, wherein the acquisition request carries the summary character string of the target advertisement resource, and the acquisition request is used for requesting the server to return a download address of a target material file matched with the summary character string of the target advertisement resource;
and downloading the target material file through the download address of the target material file returned by the server.
In one embodiment, the number of advertisement resources targeted to the target video is greater than or equal to 1, and each advertisement resource corresponds to a playing priority; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the processing unit 602 is further configured to:
and after the target material file is downloaded, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
In one embodiment, the target video includes a video of a specified category, or a heat with a threshold number of interests;
wherein the number of interests comprises at least one of: the number of comment information, the number of comment users, the number of concerned users, and the number of play times.
According to an embodiment of the present application, some steps involved in the data processing method shown in fig. 2 may be performed by various units in the data processing apparatus shown in fig. 6. For example, step 201 and step 202 shown in fig. 2 may be performed by the acquisition unit 601 shown in fig. 6, and step 203 and step 204 may be performed by the processing unit 602 shown in fig. 6. The units in the data processing apparatus shown in fig. 6 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the data processing apparatus may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present application, the data processing apparatus as shown in fig. 6 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 2 on a general-purpose computing apparatus such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and the data processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the same inventive concept, the principle and the advantageous effect of the data processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the advantageous effect of the data processing apparatus in the embodiment of the method of the present application for solving the problem, and for brevity, the principle and the advantageous effect of the implementation of the method may be referred to, and are not described herein again.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another data processing apparatus according to an exemplary embodiment of the present application, where the data processing apparatus may be mounted on a terminal device in the foregoing method embodiment. The data processing apparatus shown in fig. 7 may be used to perform some or all of the functions in the method embodiment described above with respect to fig. 3 a. Wherein, the detailed description of each unit is as follows:
an obtaining unit 701, configured to, when a play instruction for a target video is received, obtain an identifier of a target advertisement resource that is targeted to the target video, and obtain a pre-download list, where the pre-download list includes an identifier of at least one advertisement resource that has been downloaded to a local storage space, and a material file corresponding to the identifier of each advertisement resource;
a processing unit 702, configured to, if the identifier of the target advertisement resource belongs to the pre-download list, obtain a target material file corresponding to the identifier of the target advertisement resource from the pre-download list, and play the target material file in the process of playing the target video.
In an embodiment, the processing unit 702 is further configured to play the target material file in the process of playing the target video, specifically to:
when the playing duration of the target video reaches a duration threshold, pausing the playing of the target video, starting to play the target material file, and continuing to play the target video after the playing of the target material file is finished;
alternatively, the first and second electrodes may be,
and starting to play the target material file before starting to play the target video, and starting to play the target video after the target material file is completely played.
In one embodiment, the number of advertisement resources targeted to the target video is greater than 1, and each advertisement resource corresponds to a play priority; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the processing unit 702 is further configured to:
and when the target material file is played, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
According to an embodiment of the present application, some steps involved in the data processing method shown in fig. 3a may be performed by various units in the data processing apparatus shown in fig. 7. For example, steps 301 and 302 shown in fig. 3a may be performed by the acquisition unit 701 shown in fig. 7, and steps 303 and 304 may be performed by the processing unit 702 shown in fig. 7. The units in the data processing apparatus shown in fig. 7 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the data processing apparatus may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present application, the data processing apparatus as shown in fig. 7 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 3a on a general-purpose computing apparatus such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and the data processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the same inventive concept, the principle and the advantageous effect of the data processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the advantageous effect of the data processing apparatus in the embodiment of the method of the present application for solving the problem, and for brevity, the principle and the advantageous effect of the implementation of the method may be referred to, and are not described herein again.
Referring to fig. 8, fig. 8 is a schematic structural diagram of another data processing apparatus provided in an exemplary embodiment of the present application, where the data processing apparatus may be mounted on a server in the foregoing method embodiment. The data processing apparatus shown in fig. 8 may be used to perform some or all of the functions in the method embodiment described above with respect to fig. 4. Wherein, the detailed description of each unit is as follows:
an obtaining unit 801, configured to obtain at least one advertisement resource targeted to a target video, where each advertisement resource corresponds to one play priority, and obtain an identifier of a target advertisement resource with a highest play priority in the at least one advertisement resource;
a processing unit 802, configured to send an identifier of the target advertisement resource to a terminal device; and the terminal equipment adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource into a pre-download list of the terminal equipment, and plays the target material file stored in the pre-download list in the process of playing the target video.
According to an embodiment of the present application, some steps involved in the data processing method shown in fig. 4 may be performed by various units in the data processing apparatus shown in fig. 8. For example, step 401 and step 402 shown in fig. 4 may be performed by the acquisition unit 801 shown in fig. 8, and step 403 may be performed by the processing unit 802 shown in fig. 8. The units in the data processing apparatus shown in fig. 8 may be respectively or entirely combined into one or several other units to form one or several other units, or some unit(s) may be further split into multiple functionally smaller units to form one or several other units, which may achieve the same operation without affecting the achievement of the technical effect of the embodiments of the present application. The units are divided based on logic functions, and in practical application, the functions of one unit can be realized by a plurality of units, or the functions of a plurality of units can be realized by one unit. In other embodiments of the present application, the data processing apparatus may also include other units, and in practical applications, the functions may also be implemented by being assisted by other units, and may be implemented by cooperation of a plurality of units.
According to another embodiment of the present application, the data processing apparatus as shown in fig. 8 may be constructed by running a computer program (including program codes) capable of executing the steps involved in the corresponding method as shown in fig. 4 on a general-purpose computing apparatus such as a computer including a processing element such as a Central Processing Unit (CPU), a random access storage medium (RAM), a read-only storage medium (ROM), and a storage element, and the data processing method of the embodiment of the present application may be implemented. The computer program may be recorded on a computer-readable recording medium, for example, and loaded and executed in the above-described computing apparatus via the computer-readable recording medium.
Based on the same inventive concept, the principle and the advantageous effect of the data processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the advantageous effect of the data processing apparatus in the embodiment of the method of the present application for solving the problem, and for brevity, the principle and the advantageous effect of the implementation of the method may be referred to, and are not described herein again.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a data processing device according to an exemplary embodiment of the present application, where the data processing device includes at least a processor 901, a communication interface 902, and a memory 903. The processor 901, the communication interface 902, and the memory 903 may be connected by a bus or in other manners, and in this embodiment of the application, the connection by the bus is taken as an example. The processor 901 (or Central Processing Unit (CPU)) is a computing core and a control core of the data Processing device, and can analyze various instructions in the terminal device and process various data of the terminal device, for example: the CPU can be used for analyzing a power-on and power-off instruction sent to the terminal equipment by a user and controlling the terminal equipment to carry out power-on and power-off operation; the following steps are repeated: the CPU may transmit various types of interactive data between the internal structures of the terminal device, and so on. The communication interface 902 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI, mobile communication interface, etc.), and may be controlled by the processor 901 to transmit and receive data; the communication interface 902 may also be used for transmission and interaction of data within the terminal device. A Memory 903(Memory) is a Memory device in the terminal device and stores programs and data. It is understood that the memory 903 herein may include both the built-in memory of the terminal device and, of course, the expansion memory supported by the terminal device. The memory 903 provides storage space that stores the operating system of the terminal device, which may include, but is not limited to: android system, iOS system, Windows Phone system, etc., which are not limited in this application.
In one embodiment, the data processing device may refer to a terminal device, such as terminal device 101 shown in fig. 1a or fig. 1 b. In this case, the processor 901 performs the following operations by executing the executable program code in the memory 903:
when a trigger event is detected, obtaining an identification of a target advertisement resource targeted to a target video through the communication interface 902;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource does not belong to the pre-download list, acquiring a corresponding target material file according to the identification of the target advertisement resource;
and adding the identification of the target advertisement resource and the target material file into the pre-download list.
As an optional implementation manner, the identifier of the target advertisement resource includes a download address of a target material file corresponding to the target advertisement resource;
the specific implementation manner of the processor 901 obtaining the corresponding target material file according to the identifier of the target advertisement resource is as follows:
and downloading the target material file through the download address of the target material file corresponding to the target advertisement resource.
As an optional implementation, the identification of the targeted advertising resource includes a summary character string of the targeted advertising resource;
the specific implementation manner of the processor 901 obtaining the corresponding target material file according to the identifier of the target advertisement resource is as follows:
sending an acquisition request to a server, wherein the acquisition request carries the summary character string of the target advertisement resource, and the acquisition request is used for requesting the server to return a download address of a target material file matched with the summary character string of the target advertisement resource;
and downloading the target material file through the download address of the target material file returned by the server.
As an optional implementation manner, the number of advertisement resources targeted to the target video is greater than or equal to 1, and each advertisement resource corresponds to a playing priority; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the processor 901, by executing the executable program code in the memory 903, also performs the following operations:
and after the target material file is downloaded, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
As an optional implementation, the target video includes a video of a specified category, or a heat with a number of concerns reaching a threshold;
wherein the number of interests comprises at least one of: the number of comment information, the number of comment users, the number of concerned users, and the number of play times.
In another embodiment, the data processing device may refer to a terminal device, such as terminal device 101 shown in fig. 1a or fig. 1 b. In this case, the processor 1001 performs the following operations by executing the executable program code in the memory 1003:
when a play instruction for a target video is received, acquiring an identifier of a target advertisement resource directed to the target video through a communication interface 1002;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource belongs to the pre-download list, acquiring a target material file corresponding to the identification of the target advertisement resource from the pre-download list;
and playing the target material file in the process of playing the target video.
As an optional implementation manner, a specific implementation manner of the processor 1001 playing the target material file in the process of playing the target video is as follows:
when the playing duration of the target video reaches a duration threshold, pausing the playing of the target video, starting to play the target material file, and continuing to play the target video after the playing of the target material file is finished;
alternatively, the first and second electrodes may be,
and starting to play the target material file before starting to play the target video, and starting to play the target video after the target material file is completely played.
As an optional implementation manner, the number of advertisement resources targeted to the target video is greater than 1, and each advertisement resource corresponds to a playing priority; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the processor 1001, by executing the executable program code in the memory 1003, also performs the following operations:
and when the target material file is played, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
In another embodiment, the processing device may refer to a server, such as the server 102 in the system shown in fig. 1a or fig. 1b, in which case the processor 1101 performs the following by executing executable program code in the memory 1103:
acquiring at least one advertisement resource targeted to a target video;
acquiring an identifier of a target advertisement resource with the highest playing priority in the at least one advertisement resource;
sending the identification of the target advertisement resource to a terminal device; and the terminal equipment adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource into a pre-download list of the terminal equipment, and plays the target material file stored in the pre-download list in the process of playing the target video.
Based on the same inventive concept, the principle and the advantageous effect of the data processing apparatus provided in the embodiment of the present application for solving the problem are similar to the principle and the advantageous effect of the data processing apparatus in the embodiment of the method of the present application for solving the problem, and for brevity, the principle and the advantageous effect of the implementation of the method may be referred to, and are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where one or more instructions are stored in the computer-readable storage medium, and the one or more instructions are adapted to be loaded by a processor and to execute the data processing method described in the foregoing method embodiment.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the data processing method described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The steps in the method of the embodiment of the application can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the device can be merged, divided and deleted according to actual needs.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, which may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method of data processing, the method comprising:
when a trigger event is detected, acquiring an identifier of a target advertisement resource oriented to a target video;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource does not belong to the pre-download list, acquiring a corresponding target material file according to the identification of the target advertisement resource;
and adding the identification of the target advertisement resource and the target material file into the pre-download list.
2. The method of claim 1, wherein the identification of the targeted advertising asset comprises a download address of a targeted material file corresponding to the targeted advertising asset;
the obtaining of the corresponding target material file according to the identifier of the target advertisement resource includes:
and downloading the target material file through the download address of the target material file corresponding to the target advertisement resource.
3. The method of claim 1, wherein the identification of the targeted advertising resource comprises a summary string of the targeted advertising resource;
the obtaining of the corresponding target material file according to the identifier of the target advertisement resource includes:
sending an acquisition request to a server, wherein the acquisition request carries the summary character string of the target advertisement resource, and the acquisition request is used for requesting the server to return a download address of a target material file matched with the summary character string of the target advertisement resource;
and downloading the target material file through the download address of the target material file returned by the server.
4. The method of claim 1, wherein the number of advertisement resources targeted to the target video is greater than or equal to 1, and each advertisement resource corresponds to a play priority; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the method further comprises the following steps:
and after the target material file is downloaded, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
5. The method according to any one of claims 1 to 4, wherein the triggering event is an event for triggering pre-downloading of an advertisement resource targeted to a target video; the triggering event comprises any one of the following: the target application program in the terminal equipment is started, the time interval between the current system time in the terminal equipment and the last trigger event detected is greater than a time threshold value, the terminal equipment is in an idle state, and the terminal equipment is accessed into a wireless network;
the target videos comprise videos of a specified category or heat dramas with attention numbers reaching a threshold value;
wherein the number of interests comprises at least one of: the number of comment information, the number of comment users, the number of concerned users, and the number of play times.
6. A method of data processing, the method comprising:
when a playing instruction for a target video is received, acquiring an identifier of a target advertisement resource oriented to the target video;
acquiring a pre-download list, wherein the pre-download list comprises an identifier of at least one advertisement resource downloaded to a local storage space and a material file corresponding to the identifier of each advertisement resource;
if the identification of the target advertisement resource belongs to the pre-download list, acquiring a target material file corresponding to the identification of the target advertisement resource from the pre-download list;
and playing the target material file in the process of playing the target video.
7. The method of claim 6, wherein playing the target material file during playing the target video comprises:
when the playing duration of the target video reaches a duration threshold, pausing the playing of the target video, starting to play the target material file, and continuing to play the target video after the playing of the target material file is finished;
alternatively, the first and second electrodes may be,
and starting to play the target material file before starting to play the target video, and starting to play the target video after the target material file is completely played.
8. The method of claim 6, wherein the number of advertising resources targeted to the target video is greater than 1, one play priority per advertising resource; the target advertisement resource refers to the advertisement resource with the highest playing priority in the advertisement resources oriented to the target video;
the method further comprises the following steps:
and when the target material file is played, continuously downloading other advertisement resources which are not downloaded and are except the target advertisement resources in the advertisement resources oriented to the target video according to the sequence of the playing priority from high to low.
9. A method of data processing, the method comprising:
acquiring at least one advertisement resource oriented to a target video, wherein each advertisement resource corresponds to a playing priority;
acquiring an identifier of a target advertisement resource with the highest playing priority in the at least one advertisement resource;
sending the identification of the target advertisement resource to a terminal device; and the terminal equipment adds the identification of the target advertisement resource and the target material file corresponding to the target advertisement resource into a pre-download list of the terminal equipment, and plays the target material file stored in the pre-download list in the process of playing the target video.
10. A data processing apparatus, characterized by comprising:
a memory storing computer readable instructions;
a processor coupled to the memory, the processor configured to execute the computer readable instructions to implement the data processing method of any one of claims 1-5, or to implement the data processing method of any one of claims 6-8, or to implement the data processing method of claim 9.
CN202010385605.2A 2020-05-08 2020-05-08 Data processing method and device Pending CN113630632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010385605.2A CN113630632A (en) 2020-05-08 2020-05-08 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010385605.2A CN113630632A (en) 2020-05-08 2020-05-08 Data processing method and device

Publications (1)

Publication Number Publication Date
CN113630632A true CN113630632A (en) 2021-11-09

Family

ID=78376357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010385605.2A Pending CN113630632A (en) 2020-05-08 2020-05-08 Data processing method and device

Country Status (1)

Country Link
CN (1) CN113630632A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105847945A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Video acceleration method and device
CN105898442A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement pre-downloading method and system, terminal equipment and push server
CN106658054A (en) * 2016-10-13 2017-05-10 合网络技术(北京)有限公司 Video advertisement request link optimization method and apparatus
US20170187837A1 (en) * 2015-12-29 2017-06-29 Le Holdings (Beijing) Co., Ltd. Ad download method, the client and the server
CN110175306A (en) * 2019-05-23 2019-08-27 珠海天燕科技有限公司 A kind of processing method and processing device of advertising information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898442A (en) * 2015-12-09 2016-08-24 乐视网信息技术(北京)股份有限公司 Advertisement pre-downloading method and system, terminal equipment and push server
US20170187837A1 (en) * 2015-12-29 2017-06-29 Le Holdings (Beijing) Co., Ltd. Ad download method, the client and the server
CN105847945A (en) * 2016-04-25 2016-08-10 乐视控股(北京)有限公司 Video acceleration method and device
CN106658054A (en) * 2016-10-13 2017-05-10 合网络技术(北京)有限公司 Video advertisement request link optimization method and apparatus
CN110175306A (en) * 2019-05-23 2019-08-27 珠海天燕科技有限公司 A kind of processing method and processing device of advertising information

Similar Documents

Publication Publication Date Title
US11195185B2 (en) Asynchronous advertising
US9787487B2 (en) Facilitating media streaming with social interaction
CN101438526B (en) Advertisement rotation
US11190849B2 (en) Server and program
US10070122B2 (en) Goal-based video delivery system
US9032435B2 (en) Ad selection and next video recommendation in a video streaming system exclusive of user identity-based parameter
US9367862B2 (en) Asynchronous advertising placement based on metadata
US10657538B2 (en) Resolution of advertising rules
US8776112B2 (en) Content hosting and advertising systems and methods
US20130263182A1 (en) Customizing additional content provided with video advertisements
US20070130012A1 (en) Asynchronous advertising in time and space shifted media network
JP2007293879A (en) Content providing system and its method, console and recording medium
WO2011123720A2 (en) Media fingerprinting for social networking
US8745206B1 (en) Content monitoring and control technology
CN111444415B (en) Barrage processing method, server, client, electronic equipment and storage medium
KR101783431B1 (en) Method for providing funding and consulting information related with entertainment by crowd funding system
CN107690080B (en) media information playing method and device
KR20100092687A (en) Method for contents playing
CN111970528B (en) Live broadcast recommendation method and device, computer equipment and readable storage medium
CN113630632A (en) Data processing method and device
CN114025184A (en) Video live broadcast method and electronic equipment
CN114257873A (en) Information pushing method and card display method in live network scene
CN115174970A (en) Method and device for sustainable trial viewing
WO2013192127A1 (en) Serving content with reduced latency
KR20230174908A (en) K-content crowdfunding platform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40054097

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination