CN116634218A - Popularization information display method and device - Google Patents

Popularization information display method and device Download PDF

Info

Publication number
CN116634218A
CN116634218A CN202310602668.2A CN202310602668A CN116634218A CN 116634218 A CN116634218 A CN 116634218A CN 202310602668 A CN202310602668 A CN 202310602668A CN 116634218 A CN116634218 A CN 116634218A
Authority
CN
China
Prior art keywords
target
information
field
popularization
subtitle
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.)
Granted
Application number
CN202310602668.2A
Other languages
Chinese (zh)
Other versions
CN116634218B (en
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.)
Youku Network Technology Beijing Co Ltd
Original Assignee
Youku Network Technology Beijing 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 Youku Network Technology Beijing Co Ltd filed Critical Youku Network Technology Beijing Co Ltd
Priority to CN202310602668.2A priority Critical patent/CN116634218B/en
Publication of CN116634218A publication Critical patent/CN116634218A/en
Application granted granted Critical
Publication of CN116634218B publication Critical patent/CN116634218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The embodiment of the application provides a popularization information display method and device, wherein the method comprises the following steps: and acquiring a subtitle text corresponding to the target video according to the plug-in subtitle file. The target field is extracted from the subtitle text. And acquiring target popularization information matched with the target field. And displaying the target popularization information in a screen. The method has the advantages that the complete subtitle text of the target video is simply and rapidly obtained according to the externally hung subtitle file, the sufficiency of the original information is guaranteed, then the target field with popularization value is extracted from the subtitle text, and then the target popularization information matched with the target field is displayed in the screen.

Description

Popularization information display method and device
Technical Field
The embodiment of the application relates to a computer technology, in particular to a popularization information display method and device.
Background
With the continuous development of media technology, corresponding advertisement delivery is performed in the process of playing video, and the method has become a common advertisement mode.
At present, in the related art, when advertisement delivery is performed, advertisement information to be delivered is usually determined manually, and a delivery period of the advertisement information is manually configured, so that corresponding advertisements are displayed in the video playing process, however, the advertisement delivery mode has the problem of low efficiency.
Disclosure of Invention
The embodiment of the application provides a popularization information display method and device, which are used for solving the problem of low advertisement putting efficiency.
In a first aspect, an embodiment of the present application provides a method for displaying promotion information, including:
acquiring a subtitle text of a target video according to the plug-in subtitle file;
extracting a target field from the caption text;
acquiring target popularization information matched with the target field;
and displaying the target popularization information in the screen.
In a second aspect, an embodiment of the present application provides a method for displaying promotion information, including:
receiving at least one target promotion information corresponding to a target video and display time periods corresponding to the target promotion information respectively;
displaying the target popularization information in a screen according to the display time periods corresponding to the target popularization information;
The at least one piece of target popularization information and each display period are predetermined by the server according to the externally hung subtitle file of the target video.
In a third aspect, an embodiment of the present application provides a promotion information display apparatus, including:
the acquisition module is used for acquiring the caption text of the target video according to the plug-in caption file;
the processing module is used for extracting a target field from the caption text;
the acquisition module is also used for acquiring target popularization information matched with the target field;
and the display module is used for displaying the target popularization information in the screen.
In a fourth aspect, an embodiment of the present application provides a promotion information display apparatus, including:
the receiving module is used for receiving at least one target promotion information corresponding to the target video and the display time periods corresponding to the target promotion information respectively;
the display module is used for displaying the target popularization information in a screen according to the display time periods corresponding to the target popularization information;
the at least one piece of target popularization information and each display period are predetermined by the server according to the externally hung subtitle file of the target video.
In a fifth aspect, an embodiment of the present application provides an electronic device, including:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being for performing the method of the first and second aspects as described above when the program is executed.
In a sixth aspect, embodiments of the present application provide a computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of the first and second aspects above.
In a seventh aspect, embodiments of the present application provide a computer program product comprising a computer program which, when executed by a processor, implements the method of the first and second aspects above.
The embodiment of the application provides a popularization information display method and device, wherein the method comprises the following steps: and acquiring a subtitle text corresponding to the target video according to the plug-in subtitle file. The target field is extracted from the subtitle text. And acquiring target popularization information matched with the target field. And displaying the target popularization information in a screen. The method has the advantages that the complete subtitle text of the target video is simply and rapidly obtained according to the externally hung subtitle file, the sufficiency of the original information is guaranteed, then the target field with popularization value is extracted from the subtitle text, and then the target popularization information matched with the target field is displayed in the screen.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions of the prior art, the drawings that are needed in the embodiments or the description of the prior art will be briefly described below, it will be obvious that the drawings in the following description are some embodiments of the present application, and that other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art.
Fig. 1 is a schematic diagram of displaying promotion information according to an embodiment of the present application;
fig. 2 is a flowchart of a method for displaying promotion information according to an embodiment of the present application;
fig. 3 is a second flowchart of a method for displaying promotion information according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an implementation of word segmentation according to an embodiment of the present application;
fig. 5 is a flowchart III of a method for displaying promotion information according to an embodiment of the present application;
fig. 6 is a schematic implementation diagram of acquiring promotion information to be selected according to an embodiment of the present application;
fig. 7 is a schematic diagram of implementation of determining matching degree between a target field and a tag according to an embodiment of the present application;
fig. 8 is a schematic diagram of an implementation of switching a subtitle file according to an embodiment of the present application;
fig. 9 is a schematic diagram of an interface for displaying target promotion information according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of a promotion information display device according to an embodiment of the present application;
fig. 11 is a schematic structural diagram II of a popularization information display device according to an embodiment of the present application;
fig. 12 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to better understand the technical scheme of the present application, the related technology related to the present application is further described below.
With the continuous development of media technology, corresponding advertisement delivery is performed in the process of playing video, and the method has become a common advertisement mode. For example, advertisement delivery may be understood with reference to fig. 1, where fig. 1 is a schematic diagram of displaying promotion information provided by an embodiment of the present application.
As shown in fig. 1 (a), for example, video content may be displayed in a screen, and advertisement content may be superimposed on top of the video content.
Alternatively, as shown in fig. 1 (b), the advertisement content may be inserted in a middle insertion manner between two consecutive video frames. Specifically, the advertisement content may be displayed immediately after the video frame a is played, and the next video frame B may be displayed immediately after the advertisement content is played.
In the actual implementation process, the specific display mode of the advertisement may be selected and set according to the actual requirement, which is not particularly limited in this embodiment.
Currently, in the related art, when advertisement is put, advertisement information to be put is usually predetermined manually, and a putting period of the advertisement information is manually configured, so that corresponding advertisements are displayed in a video playing process.
For example, if there is a drink advertisement currently, it is necessary to manually determine the relevant information of the advertisement in advance, and by previewing the video content, determine the periods in the video suitable for showing the drink advertisement, and then determine these periods as the delivery periods of the advertisement information. However, such a manually operated implementation may cause a considerable time and effort to be spent on the advertisement delivery process, thus having a problem of inefficiency.
Aiming at the technical problems introduced above, the application provides the following technical conception: because the subtitles of the video are closely related to the video content, text recognition can be performed on the subtitles of the video, so that advertisement content suitable for advertisement delivery and a time slot for advertisement delivery are determined, and then the advertisement content is displayed correspondingly, so that advertisement delivery can be rapidly and efficiently processed.
The promotion information display method provided by the application is described below with reference to specific embodiments, and before specific description, the execution subject of each embodiment of the application is first described. In one possible implementation manner, the execution subject of the present application may be a terminal device for video playing, for example, a mobile phone, a tablet, a notebook, a personal computer, a vehicle-mounted terminal, etc., which is not limited in this embodiment, as long as the device can play video. Or, the execution body of the present application may be a device with a data processing function, such as a server, a processor, a chip, etc., and the embodiment does not limit the specific execution body, and may be selected according to actual requirements.
On the basis of the above description, the method for displaying promotion information provided by the present application will be described with reference to fig. 2, and fig. 2 is a flowchart of the method for displaying promotion information provided by the embodiment of the present application.
As shown in fig. 2, the method includes:
s201, acquiring a subtitle text of the target video according to the plug-in subtitle file.
Firstly, describing an externally hung subtitle file, the subtitle in the video at present generally has the following two implementation modes: the method comprises the steps of externally hanging the subtitle and internally embedding the subtitle, wherein the internally embedding the subtitle refers to that the video and the subtitle are integrated together, and the subtitle can be understood to be composed of one pixel in a video frame, so that the video and the subtitle cannot be separated.
The externally hung subtitle is that the video file and the subtitle file are separated, that is, the subtitle file and the target video are two completely independent files, and because the externally hung subtitle is separated from the video source, pressing in of subtitle content is not needed during video production, a large amount of cost of storage, production transcoding and the like can be saved, and one video can correspond to a plurality of subtitle files so as to meet subtitle requirements of a plurality of languages.
More importantly, the subtitle content in the text form of the target video is directly contained in the plug-in subtitle file, so that the complete subtitle text of the whole video can be directly obtained according to the plug-in subtitle file. Therefore, in this embodiment, the subtitle text of the target video can be directly obtained according to the plug-in subtitle file.
In a possible implementation manner, the caption text of the target video may be obtained according to the plug-in caption file during the playing process of the target video, or the caption text of the target video may be obtained according to the plug-in caption file in the process of previewing the target video, after the target video is marked as the video to be played, and during the process of playing the pre-advertisement of the target video, which is described above, and the specific execution time of obtaining the caption text is not limited in this embodiment, and may be selected and set according to actual requirements.
S202, extracting a target field from the caption text.
In this embodiment, text analysis may be performed on the subtitle text to extract a target field from the subtitle text, where the target field is a field with a promotional value, and the promotional value may be further understood as enabling advertisement delivery. It will also be appreciated that the target field is a field of the promotional information to be matched.
The target field may be a product category, such as snack, wine, yogurt, etc., or a product brand name, such as aa chocolate, bb phone, etc., and the specific content and selection manner of the target field are not limited in this embodiment, and may be determined according to the actual caption text and the actual requirement.
S203, acquiring target popularization information matched with the target field.
After the target field is obtained from the caption text, because the target field is a field with popularization value, the advertisement corresponding to the target field can be matched to realize targeted delivery and relevance delivery of the advertisement, wherein the popularization information can be understood as related information of the advertisement. Therefore, in this embodiment, the target promotion information matched with the target field may be obtained, where the target promotion information may include text information, image information, jump link, etc. of the matched advertisement, and the embodiment does not limit the specific implementation manner of the target promotion information.
S204, displaying the target popularization information in a screen.
After the target promotion information is determined, the target promotion information can be displayed in a screen so as to realize the advertisement delivery. With reference to the description of the embodiment, when the target popularization information is displayed, the target popularization information may be displayed in a stacked manner on top of the video content, or may be displayed in a middle-inserted manner between two video frames.
The popularization information display method provided by the embodiment of the application comprises the following steps: and acquiring a subtitle text corresponding to the target video according to the plug-in subtitle file. The target field is extracted from the subtitle text. And acquiring target popularization information matched with the target field. And displaying the target popularization information in a screen. The method has the advantages that the complete subtitle text of the target video is simply and rapidly obtained according to the externally hung subtitle file, the sufficiency of the original information is guaranteed, then the target field with popularization value is extracted from the subtitle text, and then the target popularization information matched with the target field is displayed in the screen.
On the basis of the above description, the following describes possible implementations of extracting the target field from the subtitle text according to the present application with reference to fig. 3 to 4, respectively. Fig. 3 is a flowchart second of a method for displaying promotion information according to an embodiment of the present application, and fig. 4 is a schematic implementation diagram of word segmentation processing according to an embodiment of the present application.
The method for extracting the target field from the subtitle text may be selected according to needs, for example, a preset reference field is matched with the subtitle text, and a target field matched with the reference field is determined. Fig. 3 shows another possible implementation of extracting the target field.
As shown in fig. 3, the method includes:
s301, word segmentation processing is carried out on the caption text, and a plurality of initial fields are obtained.
In this embodiment, word segmentation processing may be performed on the subtitle text, so as to obtain a plurality of initial fields. For example, as can be understood with reference to fig. 4, for the caption text, "i have recently purchased a brand a mobile phone, and are really good for use," the word segmentation process is performed, and the obtained processing result includes the following 11 initial fields: i/recent/buy/have/one/a brand/cell phone/,/true/good/.
S302, for any initial field, if a field matched with the initial field exists in a preset word stock, determining the initial field as a to-be-selected field.
And in this embodiment, a preset word stock may be provided, where the preset word stock may include a plurality of fields with popularization value, and specific field contents included in the preset word stock may be selected and set according to actual requirements.
Then, any initial field obtained by word segmentation processing can be matched in a preset word stock to determine whether a field matched with the initial field exists in the preset word stock. When the matching processing is performed, accurate matching may be performed, for example, a field in the preset word stock, which is identical to the initial field, may be determined as a matched field, or fuzzy matching may also be performed, for example, a field in the preset word stock, which has a similarity with the initial field greater than a preset threshold, may be determined as a matched field. The specific implementation mode of the matching process can be selected and set according to actual requirements.
In one possible implementation manner, if a field matched with the initial field is included in the preset word stock, the matched field may be determined to be a word or word with popularization value, so that the initial field may be determined to be a field to be selected, where the number of the fields to be selected may be one or more.
For example, referring to the example of fig. 4, assuming that the initial fields "a brand" and "handset" have matching fields in the preset word stock, the two initial fields may be determined as the candidate fields.
S303, determining target fields in a plurality of candidate fields according to the context information of each candidate field in the subtitle text.
In this embodiment, for each initial field obtained by word segmentation, matching is performed in a preset word stock first, so as to screen a candidate field which may have potential popularization value from a plurality of initial fields, and then a target field which needs to be associated with popularization information is determined in the candidate field, so that a field which does not have popularization value can be effectively screened from a plurality of initial fields, and subsequent data processing capacity is reduced.
When determining the target field from the plurality of candidate fields, the target field may be determined from the plurality of candidate fields according to the context information of each candidate field in the subtitle text. The method comprises the steps of obtaining a subtitle file, wherein the subtitle file is a plug-in subtitle file, and the context information of a field to be selected can be simply and effectively obtained from the subtitle file.
It will be appreciated that the subtitle text includes a plurality of sub-texts, and typically only one subtitle content is displayed on the screen at a time, where the subtitle content is a subtitle corresponding to the current video frame on the screen, and may be a sentence, a word, or a word. In the present embodiment, therefore, the text of the subtitle that is displayed in a single time in the screen is defined as a piece of sub-text.
The context information of the field to be selected in the subtitle text may include the sub-text where the field to be selected is located, and the adjacent front few sub-texts and the adjacent back few sub-texts of the sub-text where the field to be selected is located, and the specific number of the front few and the back few sub-texts can be selected according to actual requirements.
In the case of determining the target field from the plurality of candidate fields, the processing manner for each of the candidate fields is similar, and thus, a description will be given below taking any of the candidate fields as an example. In one possible implementation manner, emotion pointing information of a to-be-selected field can be determined according to context information of the to-be-selected field in a subtitle text, wherein the emotion pointing information is used for indicating emotion classification reflected by the to-be-selected field in the whole context information, the emotion classification can comprise positive classification and negative classification, more careful classification can comprise praying, exaggeration, recommendation and the like, more careful classification can comprise detraction, jersey, irony and the like, and specific classification manners of the emotion classification can be preset according to actual requirements, for example, the emotion classification can also comprise neutral classification and the like.
In one possible implementation manner, when determining emotion pointing information of a to-be-selected field according to context information of the to-be-selected field in a subtitle text, the to-be-selected field may be processed through a trained target model, for example, the context information of the to-be-selected field in the subtitle text and the to-be-selected field may be input into the trained target model, and the target model outputs the emotion pointing information of the to-be-selected field, where the target model may be a neural network model, or may be any model capable of implementing the above-described function.
After the emotion pointing information of the to-be-selected field is obtained, whether the emotion pointing information of the to-be-selected field meets a preset condition or not can be judged, wherein the preset condition is used for indicating that the emotion classification pointed by the emotion pointing information is positive classification. The specific implementation manner of adaptively determining the preset condition may be accompanied by different implementation manners of the emotion pointing information, and some possible implementation manners of the emotion pointing information and the preset condition are described below:
implementation 1: the specific output form of the emotion pointing information is a score, and the preset condition may be that the score is greater than or equal to a preset score.
For example, if the preset score is set to 80, the emotion pointing information of a certain field to be selected is 90, then it can be determined that the emotion classification pointed by the current emotion pointing information is positive classification, and further it can be understood that the emotion pointing information reflected by the current field to be selected in the whole context is positive (expressing praise type), so that the field to be selected can be determined as the target field. For another example, if the emotion pointing information of a certain candidate field is 60 points, it may be determined that the emotion classification pointed by the current emotion pointing information is not positive, and it may be further understood that the emotion pointing information reflected by the current candidate field in the whole context is not positive (possibly of the expression detracting type), so it may be determined that the candidate field is not the target field.
Implementation 2: the specific output form of the emotion pointing information is a binary value (1 or 0), and the preset condition can be that the emotion pointing information is a preset value.
For example, a binary value of 1 indicates positive emotion, 0 indicates non-positive emotion, and 1 is a preset value. Assuming that emotion pointing information of a certain candidate field is 1, it may be determined that the emotion classification pointed by the current emotion pointing information is positive classification, so that the candidate field may be determined as a target field. For another example, if the emotion pointing information of a certain candidate field is 0, it may be determined that the emotion classification pointed to by the current emotion pointing information is not a positive classification, and thus it may be determined that the candidate field is not a target field. Or in the actual implementation, the binary values may also be 1 and-1, where 1 represents positive emotion, -1 represents non-positive emotion, and 1 is a preset value, and the implementation is similar to the above description.
Implementation 3: the specific output form of the emotion pointing information is specific emotion classification, and the preset condition can be that the emotion pointing information is preset classification.
For example, the emotion classification may include { praise, exaggeration, recommendation, detraction, irony, cynicism, objective evaluation, … }, wherein the preset classification may include { praise, exaggeration, recommendation }, that is, the preset classification is a forward classification among a plurality of emotion classifications. Assuming that emotion pointing information of a certain field to be selected is "praise", it may be determined that the emotion classification pointed by the current emotion pointing information is positive classification, so that the field to be selected may be determined as a target field. For another example, if the emotion orientation information of a certain candidate field is "detracted", it may be determined that the emotion classification to which the emotion orientation information is currently directed is not a positive classification, and thus it may be determined that the candidate field is not a target field.
The above-described judging process is implemented on each to-be-selected field, so that whether each to-be-selected field is a target field or not can be determined, the target field can be determined from the to-be-selected fields, the determined target field can be guaranteed to have popularization value, meanwhile, the emotion classification pointed by the target field can be guaranteed to be forward, and the effectiveness of displaying popularization information is guaranteed.
According to the popularization information display method provided by the embodiment of the application, the caption text is subjected to word segmentation to obtain the plurality of initial fields, and then the initial fields with the matched fields in the preset word stock are determined as the to-be-selected fields, so that the initial fields which do not have popularization value can be screened out at first, and the data volume to be processed subsequently is reduced. After screening to obtain a plurality of candidate fields with potential popularization value, determining emotion pointing information of the candidate fields according to context information of the candidate fields, and determining the candidate fields with the emotion pointing information meeting preset conditions as target fields, so that the correctness and the effectiveness of the determined target fields can be effectively ensured, and the effectiveness of the popularization information displayed for the target fields in a follow-up mode is further ensured.
Based on the above description, the implementation manner of obtaining the target promotion information will be further described with reference to fig. 5 to 7. Fig. 5 is a flowchart III of a method for displaying promotion information provided by an embodiment of the present application, fig. 6 is a schematic implementation diagram for obtaining promotion information to be selected provided by an embodiment of the present application, and fig. 7 is a schematic implementation diagram for determining matching degree between a target field and a tag provided by an embodiment of the present application.
As shown in fig. 5, the method includes:
s501, sending an acquisition request to a server, wherein the acquisition request comprises at least one target field.
Referring to fig. 6, the terminal device may send an acquisition request to the server, where the acquisition request includes the above-determined target field, and the acquisition request is used to request the server to determine promotion information that matches the target field. In the actual implementation process, one acquisition request may be sent together for multiple target fields, or the acquisition request may also be sent separately for each target field, where the specific number of target fields included in the acquisition request is not limited in this embodiment. And it can be appreciated that there may be duplication in the determined multiple target fields, and that only one acquisition request need be sent for the duplicate target fields.
And then the server can respond to the acquisition request, determine the popularization information to be selected, which is matched with the target field, and send the determined popularization information to be selected to the terminal equipment. When the acquisition request includes a plurality of target fields, the server may process each target field, so as to determine the to-be-selected popularization information corresponding to each target field.
It can be appreciated that, because it is difficult to store a large amount of promotion information in the terminal device in advance, based on this, the terminal device may send an acquisition request to the server to request the server to perform a related operation, thereby determining the target promotion information.
In one possible implementation, the terminal device may send an acquisition request to the promotion server through a promotion sdk (Software Development Kit, software tool development kit) in the terminal device, after which the promotion server acquires the promotion information to be selected in the promotion information resource library, and then sends the promotion information to the terminal device through a promotion sdk. The promotion sdk is a unit for performing related processing of promotion information in the terminal device, and a promotion server may be understood as a server specifically for processing advertisement delivery.
S502, receiving at least one piece of to-be-selected promotion information which is sent by a server and is matched with a target field, wherein the to-be-selected promotion information is determined by the server according to the matching degree of labels corresponding to the preset promotion information and the target field.
At least one target field may be included in the acquisition request, and the server may determine, for each target field, respective candidate promotional information, and a possible implementation of determining, by the server, candidate promotional information that matches the target field is described below with reference to fig. 7.
As shown in fig. 7, the resource library may include a plurality of preset popularization information, where each preset popularization information corresponds to an advertisement of a product, and the preset popularization information includes text information, picture information, jump links, and the like of the advertisement. And each piece of preset popularization information corresponds to a respective label, wherein the label corresponding to the preset popularization information can be manually marked or obtained through machine learning, and the label can reflect the characteristics of the product corresponding to the preset popularization information.
For example, referring to fig. 7, for promotion information a, the corresponding tag includes brand a, mobile phone, electronic product, advertisement a, etc., and the rest of promotion information is similar.
The server may determine, based on the labels corresponding to the plurality of preset popularization information, the matching degree of each label and the target field, and then determine the preset popularization information corresponding to the label with the matching degree greater than the preset threshold value as the to-be-selected popularization information matched with the target field.
In connection with fig. 7, for example, taking the target field "electronic product" as an example, it is necessary to determine the degree of matching between the target field and each tag. For example, referring to fig. 7, the matching degree between the tag of "brand a" and the target field of "electronic product" is determined, the matching degree between the tag of "mobile phone" and the target field of "electronic product" is determined, and so on.
The matching degree with each target field needs to be calculated separately for the rest of the labels. The matching degree can be binary, that is, when the label is consistent with the target field, the matching degree is determined to be 1, and when the label is inconsistent with the target field, the matching degree is determined to be 0. Or the matching degree may also be a numerical value (for example, 100%, 80%), so as to refine the matching degree between the representation tag and the target field, and the specific calculation mode of the matching degree may be selected and set according to the actual requirement, which is not limited in this embodiment.
For any one target field, the server may have a plurality of pieces of to-be-selected promotion information determined based on the matching degree, when the plurality of pieces of to-be-selected promotion information exist, the server may send all to the terminal device, and then the terminal device may determine the target promotion information matched with the target field from the plurality of pieces of to-be-selected promotion information according to the corresponding policy.
The method for determining the target popularization information matched with the target field from the plurality of to-be-selected popularization information can be selected according to requirements, for example, the to-be-selected popularization information with the highest matching degree is used as the target popularization information of the corresponding target field, and the like. Another possible implementation of determining target promotion information matching the target field from among a plurality of candidate promotion information is shown below in connection with steps S503 to S504.
S503, determining the occurrence number N of the target field in the subtitle text according to any target field, wherein N is an integer greater than or equal to 1.
In determining the target promotion information matched with the target fields, the processing manner for each target field is similar, so that any one of the target fields will be described as an example.
In this embodiment, for any one target field, the target field may appear at one or more locations in the subtitle text, for example, the target field "chocolate" may appear at many locations in the subtitle text, and in this embodiment, the number of times the target field appears in the subtitle text may be determined.
Here, the same field appearing at different positions in the caption text is a plurality of mutually independent target fields in the determination result of the target fields, for example, a field containing "chocolate" at position 1 in the caption text and a field containing "chocolate" also at position 2 in the caption text, however, the "chocolate" fields in these two places are determined as two target fields. That is, in this embodiment, duplicate target fields are determined, but each target field is independent of the other. Thus, for example, the number of occurrences of each of the target fields may be counted directly in the plurality of target fields determined.
S504, if the occurrence number N is greater than the preset number, respectively determining the corresponding target popularization information for the target fields which appear in different positions in the caption text in at least one piece of to-be-selected popularization information, wherein the determined target popularization information for the target fields which appear in different positions is not identical.
And then, comparing the occurrence number N of the target field with the preset number, and if the occurrence initial N is larger than the preset number, determining that the occurrence frequency of the target field is higher, so that the corresponding target popularization information can be respectively determined for the target fields which appear in different positions in the caption text in at least one piece of popularization information to be selected, wherein the determined target popularization information for the target fields which appear in different positions is not identical. That is, different advertisements can be recommended at different locations of the target field to ensure diversity of promotional information associated with the target field.
The method for determining the corresponding target popularization information for the target fields appearing in different positions in the caption text may be selected according to needs, for example, a plurality of target popularization information may be randomly selected, and the target fields appearing in different positions may be randomly allocated to each other, and another possible implementation manner is described below.
In determining the respective corresponding target promotional information for the target fields that appear at different locations in the subtitle text, in one possible implementation, a first number may be first determined according to a number of occurrences N of the target field, where the first number is proportional to N and the first number is less than or equal to N.
The first number is the category number of the target popularization information determined for the target field, that is, the more the number of occurrences of one target field is, the more the category number (first number) of the target popularization information matched for the target field is correspondingly. For example, the target field "chocolate" appears 10 times, then 3 different advertisements (the first number is 3) can be associated at these 10 different places; for another example, the target field of "chocolate" appears 50 times, then 10 different advertisements (10 for the first number) may be associated at these 50 different places.
The effect of corresponding realization is that when the number of times of occurrence of one target field is more, the corresponding opportunity of displaying promotion information for the target field is more, so that more promotion information is displayed in an associated mode under the condition, and the display effectiveness of each promotion information can be ensured while the diversity of the promotion information is improved.
After the first number is determined, the first number of target promotion information can be selected from at least one piece of promotion information to be selected according to the matching degree corresponding to each piece of promotion information to be selected. For example, a first number of the popularization information to be selected, which is ranked forward in the matching degree, may be selected as the target popularization information.
For example, in the above-described example, the target field of "chocolate" appears 50 times, and the first number determined for this appearance number is 10, then 10 pieces of target popularization information may be first selected for subsequent display according to the matching degree corresponding to each of the plurality of pieces of popularization information to be selected.
It is to be understood that the first number is proportional to N, however, after the first number is determined according to the number of occurrences N, if the number of the to-be-selected promotion information corresponding to the target field is less than the first number, each to-be-selected promotion information corresponding to the target field is directly determined as the target promotion information.
Then, for any one of the first number of target popularization information, M field positions are selected from N field positions of the target field according to the priority of the target popularization information, the target field of the M field positions is associated with the target popularization information, M is an integer greater than or equal to 1, and M is proportional to the priority.
After the first number of target promotion information is determined, corresponding association positions are respectively determined for the target promotion information, and processing modes for each target promotion information are similar, and any one target promotion information is taken as an example for description.
In this embodiment, each piece of target promotion information is preset with a corresponding priority, and then M field positions can be selected from N field positions of the target field according to the priority of the target promotion information, where M is proportional to the priority, that is, the higher the priority of one piece of target promotion information, the greater the corresponding number of M (M is less than or equal to N), that is, the greater the number of times that the corresponding M is displayed in association in the N field positions of the target field.
And then, the target fields of the M field positions are associated with the target popularization information, so that the more times of associated display are ensured aiming at the target popularization information with higher priority.
As described herein in connection with one example, assuming that the target field "chocolate" occurs 50 times, 10 different advertisements may be associated at these 50 different places. Meanwhile, assuming that promotion information A and promotion information B exist currently, wherein the priority of promotion information A is greater than that of promotion information B, 10 field positions can be selected from 50 field positions where a target field of chocolate appears, and the target field of chocolate of the 10 field positions is associated with promotion information A so as to display promotion information A in an associated manner in the video playing process. And 4 field positions can be selected from 50 field positions of the target field of chocolate, and the target field of chocolate of the 4 field positions is associated with the promotion information B so as to display the promotion information B in an associated manner in the video playing process, thereby ensuring that promotion information with higher priority can obtain more promotion times.
In the actual implementation, when M field positions are selected from the N field positions, the selection may be random, or may be sequential, which is not limited in this embodiment.
Or if the number of occurrences N of the target field is less than or equal to the preset number of times, it may be determined that the frequency of occurrence of the target field is not high, and in order to ensure effective popularization of the popularization information, only one target popularization information may be determined for the target field, that is, the target popularization information determined for the target field that occurs at different positions in the subtitle text is the same. When determining one target popularization information from the plurality of to-be-selected popularization information corresponding to the target field, for example, the to-be-selected popularization information with the highest matching degree may be determined as the target popularization information, or the to-be-selected popularization information with the highest priority may also be determined as the target popularization information, and the specific selection mode is not limited in this embodiment.
In this embodiment, the terminal device may send an acquisition request to the server, and then the server may calculate a matching degree according to a target field included in the acquisition request and respective corresponding tags of a plurality of preset popularization information, and then determine the to-be-selected popularization information according to the matching degree, so that accuracy and relevance of the determined to-be-selected popularization information may be ensured. Meanwhile, because the promotion information in the resource library is dynamically updated, the request server determines the target promotion information, and the real-time performance of determining the target promotion information can be effectively ensured. And, in this embodiment, different kinds of target promotion information are associated with the target field with a large number of occurrence times, and the more the occurrence times are, the more the kinds of associated promotion information are, so as to ensure the exposure sufficiency of each promotion information while improving the diversity of the promotion information. Meanwhile, when various target popularization information is displayed aiming at a certain target field, the target popularization information with higher priority can obtain more display opportunities, so that the popularization priority of the target popularization information with higher priority can be ensured.
In another possible implementation manner, when determining the target promotion information matched with the target field, at least one video frame corresponding to the field position of the target field may be determined in the target video for any target field, then image recognition is performed on each video frame to determine product information of an object contained in the video frame, and candidate promotion information which is identical or partially identical to the product information in the at least one candidate promotion information is determined as the target promotion information.
The to-be-selected promotion information and the product information are identical and can be understood as recommending the same type of product, and the to-be-selected promotion information and the product information are partially identical and can be understood as recommending similar products. That is, the application can also recommend the same product or the same brand of product appearing in the target video, so as to ensure the recommendation accuracy and recommendation effectiveness of the popularization information.
On the basis of the description of the embodiment, there is a scenario that the terminal device may detect a switching instruction for the subtitle file, where the switching instruction may be used to instruct to switch the subtitle file in the current first language to the subtitle file in the second language; or, the switching instruction may be further configured to switch the current subtitle file of the first data source to a subtitle file of the second data source.
The first data source and the second data source may be different data sources, i.e. different sources of the subtitle file, e.g. the subtitle file may originate from different servers, respectively, or from servers and terminal locations, respectively.
When a switching instruction for the plug-in subtitle file is detected, the terminal equipment needs to switch the subtitle text, however, no matter which plug-in subtitle file is, the content of the subtitle text and the appearance time of the subtitle text are corresponding, so that the determined target popularization information can be directly switched to the plug-in subtitle file. Specifically, each piece of target promotion information corresponding to the pre-switching off subtitle file is determined as the target promotion information corresponding to the post-switching off subtitle file.
In one possible implementation manner, according to the time correspondence between the pre-switching and post-switching subtitle files, corresponding fields of each target field in the pre-switching subtitle file in the post-switching subtitle file can be determined, and then target promotion information associated with each target field is associated with each corresponding field respectively, so as to realize switching of the target promotion information.
For example, it can be understood with reference to fig. 8, and fig. 8 is a schematic implementation diagram of switching a subtitle file according to an embodiment of the present application.
As shown in fig. 8, it is assumed that a section of subtitle text is included in the pre-switching plug-in subtitle file, which is "i have recently purchased a brand a mobile phone, and is really very useful", where "brand a mobile phone" is a target field, and the target field is associated with promotion information a.
And assuming that the switched off-hook subtitle file is an English subtitle, the subtitle text corresponding to the introduced subtitle text in the switched off-hook subtitle file is I recently bought a brand Aphone and it works really well, wherein "brandAphone" is a corresponding field of a target field in the off-hook subtitle file before switching on the off-hook subtitle file, so that the corresponding field can be determined to be associated with the promotion information A, and the promotion information A can be switched along with the off-hook subtitle file.
Further, when determining the corresponding field of each target field in the pre-switching plug-in subtitle file in the post-switching plug-in subtitle file according to the time correspondence of the pre-switching plug-in subtitle file, for any target field, the field corresponding to the appearance period in the post-switching plug-in subtitle file may be determined as the corresponding field directly according to the appearance period of the target field in the pre-switching plug-in subtitle file.
In this embodiment, because the plug-in subtitle file has the characteristic of being convenient for switching subtitle sources, when a switching instruction for the plug-in subtitle file is detected, the target promotion information matched for the plug-in subtitle file is also switched and associated to the switched plug-in subtitle file, so that the purposes of only needing to associate and match the promotion information once for various plug-in subtitle files can be realized, repeated operations can be effectively avoided, and system resources can be saved.
After the target popularization information is determined, the target popularization information can be displayed in a screen, wherein the specific display form of the target popularization information can be selected according to actual requirements. Meanwhile, since the relevant promotion information is displayed in association with the caption of the video in the present embodiment, it is necessary to ensure that the period of displaying the target promotion information is in the vicinity of the period of the caption content, so as to ensure the association and validity of the displayed target promotion information.
Therefore, in this embodiment, each target field may be processed separately, to determine a corresponding playing period of each target field in the target video, and then determine the display period according to the playing period. In the actual implementation process, the specific time relation between the display time period and the play time period can be determined according to the actual requirement, and the relevance of the display target popularization information, the subtitle content and the video content can be ensured as long as the play time period is positioned near the display time period. Preferably, the playing time period can be set to be located after the starting time of the display time period, so as to avoid abrupt appearance of the target popularization information and ensure rationality and relevance of the appearance.
For example, it can be understood with reference to fig. 9, and fig. 9 is a schematic diagram of an interface for displaying target promotion information according to an embodiment of the present application.
As shown in fig. 9, for example, a control 901 for displaying the target popularization information may be stacked on top of the video frame, and the control for the target popularization information may include contents in the target popularization information, for example, text introduction contents, picture contents, jump links, etc. of the corresponding product, and in this embodiment, the content specifically included in the target popularization information and the specific display mode of the target popularization information are not limited.
The popularization information display method introduced by the embodiment is that the terminal equipment carries out corresponding analysis on the caption text so as to realize the display of the target popularization information. In another possible implementation manner, the server may perform a pre-analysis on the target video, so as to determine at least one target popularization information for the target video, determine a display period of each target popularization information, and then when the server pushes a video stream of the target video to the terminal device, send at least one target popularization information corresponding to the target video and a display period corresponding to each target popularization information to the terminal device at the same time.
The terminal equipment only needs to directly display the target popularization information in the screen according to the display time periods corresponding to the target popularization information. The implementation manner of the server to determine the target popularization information and the corresponding display period is similar to that described above, and when emphasis is required, the specific time of processing the target video by the server is not limited in this embodiment, and the server may execute the processing procedure described above at any time after the target video is uploaded to the server, and the specific processing implementation may refer to the content described in the foregoing embodiment.
In this embodiment, the target video is pre-processed in the server according to the plug-in subtitle file, so as to determine at least one target popularization information corresponding to the target video and a display period corresponding to each target popularization information, so that repeated operations of a plurality of terminal devices can be effectively avoided, and the terminal devices can directly display the target video, thereby effectively saving processing resources of the terminal devices, and simultaneously effectively ensuring that the associated target popularization information is automatically displayed according to subtitle content of the video, so as to improve processing efficiency of advertisement delivery.
In summary, according to the popularization information display method provided by the application, the caption text is obtained according to the external caption file of the target video, so that the complete caption text of the target video can be directly obtained at the initial stage, and the abundant original information quantity is obtained. And then, text analysis is carried out on the caption text, and a target field with popularization value and forward emotion pointing direction is extracted from the caption text so as to ensure the accuracy and effectiveness of the extracted target field. And then matching the target field with corresponding target popularization information and displaying the target field, wherein the content of the caption text is closely related to the content of the video picture, so that the relevance of the target popularization information and the video content can be effectively ensured through analyzing the matched target popularization information of the caption text, and the exposure rate, the click volume and the achievement volume of the popularization information are improved. Meanwhile, the technical scheme of the application can realize automatic matching to the associated target popularization information and automatic display through the above-described automatic processing process, and avoid the inefficiency of advertisement delivery caused by manual matching.
Fig. 10 is a schematic structural diagram of a promotion information display device according to an embodiment of the present application. As shown in fig. 10, the apparatus 100 includes: an acquisition module 1001, a processing module 1002 and a display module 1003.
An obtaining module 1001, configured to obtain a subtitle text of a target video according to a plug-in subtitle file;
a processing module 1002, configured to extract a target field from the subtitle text;
the obtaining module 1001 is further configured to obtain target promotion information that matches the target field;
and a display module 1003, configured to display the target promotion information on the screen.
In one possible design, the processing module 1001 is specifically configured to:
word segmentation processing is carried out on the caption text to obtain a plurality of initial fields;
for any initial field, if a field matched with the initial field exists in a preset word stock, determining the initial field as a to-be-selected field;
and determining the target field in a plurality of candidate fields according to the context information of each candidate field in the subtitle text.
In one possible design, the processing module 1002 is specifically configured to:
for any one of the fields to be selected, carrying out semantic analysis according to the context information of the field to be selected in the subtitle text, and determining emotion pointing information of the field to be selected;
and if the emotion pointing information of the to-be-selected field meets a preset condition, determining the to-be-selected field as the target field.
In one possible design, the obtaining module 1001 is specifically configured to:
sending an acquisition request to a server, wherein the acquisition request comprises at least one target field;
receiving at least one piece of to-be-selected promotion information which is sent by the server and matched with the target field, wherein the to-be-selected promotion information is determined by the server according to the matching degree of the labels corresponding to the preset promotion information and the target field;
and determining target popularization information matched with the target field in the at least one piece of popularization information to be selected.
In one possible design, the obtaining module 1001 is specifically configured to:
for any one of the target fields, determining the occurrence number N of the target field in the subtitle text, wherein N is an integer greater than or equal to 1;
if the occurrence number N is greater than the preset number, respectively determining the corresponding target popularization information for the target fields which appear in different positions in the caption text in the at least one piece of to-be-selected popularization information, wherein the target popularization information determined for the target fields which appear in different positions is not identical.
In one possible design, the obtaining module 1001 is specifically configured to:
Determining a first number according to the occurrence number N of the target field, wherein the first number is proportional to N, and the first number is smaller than or equal to N;
selecting the first number of target popularization information from the at least one piece of popularization information to be selected according to the matching degree corresponding to each piece of popularization information to be selected;
for any one of the first number of target promotion information, selecting M field positions from N field positions of the target field according to the priority of the target promotion information, and associating a target field of the M field positions with the target promotion information, wherein M is an integer greater than or equal to 1, and the M is proportional to the priority.
In one possible design, the processing module 1002 is further configured to:
if a switching instruction for the plug-in subtitle file is detected, determining each piece of target popularization information corresponding to the plug-in subtitle file before switching as the target popularization information corresponding to the plug-in subtitle file after switching.
In one possible design, the switching instruction is configured to instruct to switch the current subtitle file in the first language to the subtitle file in the second language; or alternatively, the process may be performed,
The switching instruction is used for switching the current off-caption file of the first data source into the off-caption file of the second data source.
The device provided in this embodiment may be used to implement the technical solution of the foregoing method embodiment, and its implementation principle and technical effects are similar, and this embodiment will not be described herein again.
Fig. 11 is a schematic structural diagram of a popularization information display device according to an embodiment of the present application. As shown in fig. 11, the apparatus 110 includes: the receiving module 1101 and the display module 1102.
The receiving module 1101 is configured to receive at least one target promotion information corresponding to a target video, and display periods corresponding to the target promotion information respectively;
the display module 1102 is configured to display the target promotion information in a screen according to a display period corresponding to each target promotion information;
the at least one piece of target popularization information and each display period are predetermined by the server according to the externally hung subtitle file of the target video.
Fig. 12 is a schematic hardware structure of an electronic device according to an embodiment of the present application, as shown in fig. 12, an electronic device 120 of the present embodiment includes: a processor 1201 and a memory 1202; wherein the method comprises the steps of
A memory 1202 for storing computer-executable instructions;
the processor 1201 is configured to execute computer-executable instructions stored in the memory to implement the steps executed by the promotion information display method in the above embodiment. Reference may be made in particular to the relevant description of the embodiments of the method described above.
Alternatively, the memory 1202 may be separate or integrated with the processor 1201.
When the memory 1202 is provided separately, the electronic device further comprises a bus 1203 for connecting the memory 1202 and the processor 1201.
The embodiment of the application also provides a computer readable storage medium, wherein computer execution instructions are stored in the computer readable storage medium, and when a processor executes the computer execution instructions, the popularization information display method executed by the electronic equipment is realized.
It should be noted that, the user information (including but not limited to user equipment information, user personal information, etc.) and the data (including but not limited to data for analysis, stored data, presented data, etc.) related to the present application are information and data authorized by the user or fully authorized by each party, and the collection, use and processing of the related data need to comply with related laws and regulations and standards, and provide corresponding operation entries for the user to select authorization or rejection.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The integrated modules, which are implemented in the form of software functional modules, may be stored in a computer readable storage medium. The software functional module is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some steps of the methods of the embodiments of the application.
It should be understood that the above processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile memory NVM, such as at least one magnetic disk memory, and may also be a U-disk, a removable hard disk, a read-only memory, a magnetic disk or optical disk, etc.
The bus may be an industry standard architecture (Industry Standard Architecture, ISA) bus, an external device interconnect (Peripheral Component, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, the buses in the drawings of the present application are not limited to only one bus or to one type of bus.
The storage medium may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer readable storage medium. The program, when executed, performs steps including the method embodiments described above; and the aforementioned storage medium includes: various media that can store program code, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (14)

1. The popularization information display method is characterized by comprising the following steps of:
acquiring a subtitle text of a target video according to the plug-in subtitle file;
extracting a target field from the caption text;
acquiring target popularization information matched with the target field;
and displaying the target popularization information in a screen.
2. The method of claim 1, wherein extracting the target field in the subtitle text comprises:
word segmentation processing is carried out on the caption text to obtain a plurality of initial fields;
for any initial field, if a field matched with the initial field exists in a preset word stock, determining the initial field as a to-be-selected field;
And determining the target field in a plurality of candidate fields according to the context information of each candidate field in the subtitle text.
3. The method of claim 2, wherein determining the target field among the plurality of candidate fields according to the context information of each of the candidate fields in the subtitle text comprises:
for any one of the fields to be selected, carrying out semantic analysis according to the context information of the field to be selected in the subtitle text, and determining emotion pointing information of the field to be selected;
and if the emotion pointing information of the to-be-selected field meets a preset condition, determining the to-be-selected field as the target field.
4. A method according to any one of claims 1-3, wherein said obtaining target promotional information matching said target field comprises:
sending an acquisition request to a server, wherein the acquisition request comprises at least one target field;
receiving at least one piece of to-be-selected promotion information which is sent by the server and matched with the target field, wherein the to-be-selected promotion information is determined by the server according to the matching degree of the labels corresponding to the preset promotion information and the target field;
And determining target popularization information matched with the target field in the at least one piece of popularization information to be selected.
5. The method of claim 4, wherein the determining, in the at least one candidate promotional information, target promotional information that matches the target field comprises:
for any one of the target fields, determining the occurrence number N of the target field in the subtitle text, wherein N is an integer greater than or equal to 1;
if the occurrence number N is greater than the preset number, respectively determining the corresponding target popularization information for the target fields which appear in different positions in the caption text in the at least one piece of to-be-selected popularization information, wherein the target popularization information determined for the target fields which appear in different positions is not identical.
6. The method of claim 5, wherein the determining the respective corresponding target promotional information for the target fields that appear at different locations in the subtitle text, respectively, comprises:
determining a first number according to the occurrence number N of the target field, wherein the first number is proportional to N, and the first number is smaller than or equal to N;
Selecting the first number of target popularization information from the at least one piece of popularization information to be selected according to the matching degree corresponding to each piece of popularization information to be selected;
for any one of the first number of target promotion information, selecting M field positions from N field positions of the target field according to the priority of the target promotion information, and associating a target field of the M field positions with the target promotion information, wherein M is an integer greater than or equal to 1, and the M is proportional to the priority.
7. The method according to any one of claims 1-6, further comprising:
if a switching instruction for the plug-in subtitle file is detected, determining each piece of target popularization information corresponding to the plug-in subtitle file before switching as the target popularization information corresponding to the plug-in subtitle file after switching.
8. The method of claim 7, wherein the switch instruction is configured to instruct switching a current subtitle file in a first language to a subtitle file in a second language; or alternatively, the process may be performed,
the switching instruction is used for switching the current off-caption file of the first data source into the off-caption file of the second data source.
9. The popularization information display method is characterized by comprising the following steps of:
receiving at least one target promotion information corresponding to a target video and display time periods corresponding to the target promotion information respectively;
displaying the target popularization information in a screen according to the display time periods corresponding to the target popularization information;
the at least one piece of target popularization information and each display period are predetermined by the server according to the externally hung subtitle file of the target video.
10. A promotional information display apparatus, comprising:
the acquisition module is used for acquiring the caption text of the target video according to the plug-in caption file;
the processing module is used for extracting a target field from the caption text;
the acquisition module is also used for acquiring target popularization information matched with the target field;
and the display module is used for displaying the target popularization information in a screen.
11. A promotional information display apparatus, comprising:
the receiving module is used for receiving at least one target promotion information corresponding to the target video and the display time periods corresponding to the target promotion information respectively;
The display module is used for displaying the target popularization information in a screen according to the display time periods corresponding to the target popularization information;
the at least one piece of target popularization information and each display period are predetermined by the server according to the externally hung subtitle file of the target video.
12. An electronic device, comprising:
a memory for storing a program;
a processor for executing the program stored by the memory, the processor being for performing the method of any one of claims 1 to 9 when the program is executed.
13. A computer readable storage medium comprising instructions which, when run on a computer, cause the computer to perform the method of any one of claims 1 to 9.
14. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the method of any of claims 1 to 9.
CN202310602668.2A 2023-05-25 2023-05-25 Popularization information display method, device, equipment and medium Active CN116634218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310602668.2A CN116634218B (en) 2023-05-25 2023-05-25 Popularization information display method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310602668.2A CN116634218B (en) 2023-05-25 2023-05-25 Popularization information display method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN116634218A true CN116634218A (en) 2023-08-22
CN116634218B CN116634218B (en) 2024-04-02

Family

ID=87602218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310602668.2A Active CN116634218B (en) 2023-05-25 2023-05-25 Popularization information display method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN116634218B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926628A (en) * 2004-02-10 2007-03-07 Lg电子株式会社 Recording medium having a data structure for managing data streams associated with different languages and recording and reproducing methods and apparatuses
KR20110043568A (en) * 2011-03-16 2011-04-27 강민수 Keyword Advertising Method and System Based on Meta Information of Multimedia Contents Information like Ccommercial Tags etc.
CN103971268A (en) * 2014-04-14 2014-08-06 百度在线网络技术(北京)有限公司 Method and device for processing promotional information
CN107786887A (en) * 2017-10-10 2018-03-09 北京奇艺世纪科技有限公司 A kind of method and device for showing displaying information
CN108491496A (en) * 2018-03-19 2018-09-04 重庆首卓网络信息科技有限公司 A kind of processing method and processing device of promotion message
WO2020135192A1 (en) * 2018-12-24 2020-07-02 深圳Tcl新技术有限公司 Multi-subtitle display method, intelligent terminal and storage medium
CN113068077A (en) * 2020-01-02 2021-07-02 腾讯科技(深圳)有限公司 Subtitle file processing method and device
CN113722592A (en) * 2021-08-31 2021-11-30 南京尚网网络科技有限公司 Method and equipment for presenting target presentation promotion information
CN113935307A (en) * 2021-09-16 2022-01-14 有米科技股份有限公司 Method and device for extracting features of advertisement case
CN115604494A (en) * 2022-09-28 2023-01-13 海信视像科技股份有限公司(Cn) Display device and language setting method of live program

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1926628A (en) * 2004-02-10 2007-03-07 Lg电子株式会社 Recording medium having a data structure for managing data streams associated with different languages and recording and reproducing methods and apparatuses
KR20110043568A (en) * 2011-03-16 2011-04-27 강민수 Keyword Advertising Method and System Based on Meta Information of Multimedia Contents Information like Ccommercial Tags etc.
CN103971268A (en) * 2014-04-14 2014-08-06 百度在线网络技术(北京)有限公司 Method and device for processing promotional information
CN107786887A (en) * 2017-10-10 2018-03-09 北京奇艺世纪科技有限公司 A kind of method and device for showing displaying information
CN108491496A (en) * 2018-03-19 2018-09-04 重庆首卓网络信息科技有限公司 A kind of processing method and processing device of promotion message
WO2020135192A1 (en) * 2018-12-24 2020-07-02 深圳Tcl新技术有限公司 Multi-subtitle display method, intelligent terminal and storage medium
CN113068077A (en) * 2020-01-02 2021-07-02 腾讯科技(深圳)有限公司 Subtitle file processing method and device
CN113722592A (en) * 2021-08-31 2021-11-30 南京尚网网络科技有限公司 Method and equipment for presenting target presentation promotion information
CN113935307A (en) * 2021-09-16 2022-01-14 有米科技股份有限公司 Method and device for extracting features of advertisement case
CN115604494A (en) * 2022-09-28 2023-01-13 海信视像科技股份有限公司(Cn) Display device and language setting method of live program

Also Published As

Publication number Publication date
CN116634218B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
CN110837579A (en) Video classification method, device, computer and readable storage medium
CN113301360B (en) Information prompting method, computing device and storage medium
CN110221747B (en) Presentation method of e-book reading page, computing device and computer storage medium
CN112930669A (en) Content recommendation method and device, mobile terminal and server
CN110929021A (en) Text information generating method and text information generating device
CN107948730B (en) Method, device and equipment for generating video based on picture and storage medium
CN109101505B (en) Recommendation method, recommendation device and device for recommendation
CN113704507B (en) Data processing method, computer device and readable storage medium
CN111582913A (en) Advertisement recommendation method and device
CN113570413A (en) Method and device for generating advertisement keywords, storage medium and electronic equipment
CN115237301B (en) Method and device for processing barrage in interactive novel
CN111836118A (en) Video processing method, device, server and storage medium
CN115203539B (en) Media content recommendation method, device, equipment and storage medium
CN111597446A (en) Content pushing method and device based on artificial intelligence, server and storage medium
CN116634218B (en) Popularization information display method, device, equipment and medium
CN113010785A (en) User recommendation method and device
CN109829043B (en) Part-of-speech confirmation method, part-of-speech confirmation device, electronic device, and storage medium
CN111666408A (en) Method and device for screening and displaying important clauses
CN109120509B (en) Information collection method and device
CN111625619A (en) Query omission method and device, computer readable medium and electronic equipment
CN112148964B (en) Information processing and recommending method, system and equipment
CN112597295A (en) Abstract extraction method and device, computer equipment and storage medium
CN115080686A (en) Commodity reference resolution method and device for live broadcast platform and computing equipment
CN112581954A (en) High-matching voice interaction method and intelligent equipment
CN108182191B (en) Hotspot data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant