The content of the invention
The application proposes a kind of methods of exhibiting of business object, and this method includes:
Extracted from the media file of broadcasting and play text;
The broadcasting text is matched with the business object title stored in database;
, will be with when matching the business object title stored in the database in the broadcasting text
The corresponding description information of the business object title is shown in the broadcast interface of the media file.
Optionally, the broadcasting text includes caption information;
Extracted in the media file from broadcasting and play text, including:
Judge whether the media file includes caption information;
When the media file includes caption information, the caption information for extracting the media file is used as institute
State broadcasting text.
Optionally, the text of playing includes the text that the audio-frequency information based on the media file is converted to
This information;
Methods described also includes:
When the media file does not include caption information, the audio-frequency information of the media file is extracted;
The audio-frequency information of extraction is converted to text message as the broadcasting text.
Optionally, it is described to be matched the broadcasting text with the business object title stored in database
Including:
Word segmentation processing, the keyword that word segmentation processing is obtained and the data are carried out for the broadcasting text
The business object title stored in storehouse performs matching successively;Or
Business object title is successively read from the database, by the business object title read in institute
State in broadcasting text and perform matching.
Optionally, methods described also includes:
When matching the business object title stored in the database in the broadcasting text, record
Business object title position in the broadcasting text;
Mark is added on position corresponding with the position of record in the playing progress bar of the media file
Note.
Optionally, broadcasting circle of the description information by the business object title in the media file
Display includes in face:
Preview interface is exported in the predeterminated position of the mark;
Description information corresponding with the business object title is shown in the preview interface.
Optionally, the predeterminated position in the mark exports preview interface, including:
Obtain the operation focus of user;
It is defeated in the predeterminated position of the mark when the operation focus is moved to the mark region
Go out the preview interface.
Optionally, methods described also includes:
When matching the business object title stored in the database in the broadcasting text, by this
Business object title is highlighted in the broadcasting text.
Optionally, the business object title includes trade name;The description information include goods links,
One or more in commodity picture and commodity character introduction.
The application also proposes a kind of exhibiting device of business object, and the device includes:
Extraction module, text is played for being extracted from the media file of broadcasting;
Matching module, for the business object title progress that will be stored in the broadcasting text and database
Match somebody with somebody;
Display module, the business pair stored in the database is matched for working as in the broadcasting text
During as title, by description information corresponding with the business object title the media file broadcasting circle
Shown in face.
Optionally, the broadcasting text includes caption information;
The extraction module specifically for:
Judge whether the media file includes caption information;
When the media file includes caption information, the caption information for extracting the media file is used as institute
State broadcasting text.
Optionally, the text of playing includes the text that the audio-frequency information based on the media file is converted to
This information;
The extraction module is further used for:
When the media file does not include caption information, the audio-frequency information of the media file is extracted;
The audio-frequency information of extraction is converted to text message as the broadcasting text.
Optionally, the matching module specifically for:
Word segmentation processing, the keyword that word segmentation processing is obtained and the data are carried out for the broadcasting text
The business object title stored in storehouse performs matching successively;Or
Business object title is successively read from the database, by the business object title read in institute
State in broadcasting text and perform matching.
Optionally, described device also includes:
Logging modle, the business pair stored in the database is matched for working as in the broadcasting text
During as title, business object title position in the broadcasting text is recorded;
Add module, described in being recorded in the playing progress bar of the media file with logging modle
Mark is added on the corresponding position in position.
Optionally, the display module specifically for:
Preview interface is exported in the predeterminated position of the mark;
Description information corresponding with the business object title is shown in the preview interface.
Optionally, the display module is further used for:
Obtain the operation focus of user;
It is defeated in the predeterminated position of the mark when the operation focus is moved to the mark region
Go out the preview interface.
Optionally, the display module is further used for:
When matching the business object title stored in the database in the broadcasting text, by this
Business object title is highlighted in the broadcasting text.
Optionally, the business object title includes trade name;The description information include goods links,
One or more in commodity picture and commodity character introduction.
In the application, text is played by being extracted in the media file from broadcasting, text and number will be played
Matched according to the business object title stored in storehouse, when in the database is matched in playing text
, can be by description information corresponding with the business object title in the media during business object title of storage
Shown in the broadcast interface of file, so as to quickly be presented on the industry mentioned in media file to user
The description information of business object, without being manually added.
Embodiment
The application proposes a kind of methods of exhibiting of business object, by being extracted in the media file from broadcasting
Text is played, text will be played and matched with the business object title stored in database, when in broadcasting
When the business object title stored in the database is matched in text, can by with the business object name
Corresponding description information is claimed to be shown in the broadcast interface of the media file, so as to quickly to user
The description information for the business object mentioned in media file is presented on, without being manually added.
, can be with when the technical scheme of the application is applied to deliver the application scenarios of advertisement in media file
The details for showing the commodity mentioned in the media file automatically in the broadcast interface of media file are realized,
Without manually adding advertisement in media file, so as to reach the playing process in media file
In the quick product placement of broadcasting content based on media file effect.
The application is described below by specific embodiment and with reference to specific application scenarios.
Fig. 1 is refer to, Fig. 1 is a kind of methods of exhibiting for business object that the embodiment of the application one is provided,
Applied to terminal, methods described performs following steps:
Step 101, extracted from the media file of broadcasting and play text;
Above-mentioned terminal can include the playback terminal for being used to play media file;For example, the terminal can be
Intelligent mobile terminal, PC terminals etc..Above-mentioned media file can include video file, audio file or
The other types of media file that can be used for playing.Above-mentioned broadcasting text can include caption information or
The text message that audio-frequency information based on media file is converted to.
In this example, terminal can be extracted when extracting broadcasting text from the media file played
The caption information of the media file can also extract the audio-frequency information of the media file as text is played,
The audio-frequency information that extraction is obtained is converted to text message as broadcasting text.
In a kind of embodiment shown, terminal is extracting broadcasting text from the media file played
This when, it can be determined that whether the media file being currently played includes caption information.
On the one hand, if the media file being currently played includes caption information, the media file is shown
To carry the video file of captions, terminal can extract the caption information of media file as above-mentioned broadcasting text
This.
On the other hand, if not including caption information in the media file being currently played, the matchmaker is shown
Body file may be the video file for not carrying captions, or the media file is audio file, now eventually
End can extract audio-frequency information from the media file, and (such as terminal can gather the media file in real time
Voice data in playing process), then changed by audio, the audio-frequency information extracted is changed
For text message, and it regard the text message being converted to as above-mentioned broadcasting text.
It is pointed out that in actual applications, above-mentioned broadcasting text is except that can be from media file
The caption information extracted, or extract from media file the text message that is converted to of audio-frequency information with
The outer or other types of text message associated with the playing progress rate of media file, in this reality
Apply in example and no longer enumerated.
Step 102, the broadcasting text is matched with the business object title stored in database;
In this example, terminal locally can pre-set a database, and the database can be one
Business object title storehouse, can be with storage service object oriented in the database, and and business object name
Claim corresponding description information, etc..
For example, in a kind of application scenarios shown, above-mentioned business object title can be trade name.
Under this application scenarios, above-mentioned database can be a trade name storehouse, can be with the database
Store the shiploads of merchandise title that electric business platform is provided, and descriptive labelling corresponding with trade name;Such as,
The descriptive labelling can be including one in goods links, commodity picture and commodity character introduction or many
It is individual.
Certainly, in actual applications, above-mentioned database can also set the data on cloud server
Storehouse, in this case, terminal can by network remote access come the real time access database, or
By network by the database synchronization to local.
In this example, terminal, can be by after being extracted from the media file played and playing text
The broadcasting text is matched with the business object title stored in above-mentioned database.
In a kind of embodiment shown, terminal is in the industry that will be played text with stored in above-mentioned database
When business object oriented is matched, terminal can carry out word segmentation processing for the broadcasting text, extract this and broadcast
The recognizable keyword in text is put, is stored in the keyword and database that then obtain word segmentation processing
Business object title perform matching successively.When what is stored in the keyword and database that word segmentation processing is obtained
When any one business object title is matched, terminal can then determine to have matched data in text is played
The business object title stored in storehouse.
, wherein it is desired to, it is noted that the process of word segmentation processing be performed for playing text, as from broadcasting
The process of recognizable keyword is extracted in text.On performing the detailed of word segmentation processing for playing text
Process, is no longer described in detail in the present embodiment, and those skilled in the art are by the technical scheme of the application
When putting into practice, the record in correlation technique may be referred to.
For example, so that above-mentioned database is commodity storehouse as an example, it is assumed that what terminal was extracted from video file broadcasts
Text is put for " iPhone for turning off you soon ", terminal carries out word segmentation processing for the broadcasting text, can
To extract " iPhone " this recognizable keyword.After this keyword is extracted, terminal
This recognizable keyword " iPhone " can be matched with the trade name in commodity storehouse,
If having matched " iPhone " this trade name in commodity storehouse, now terminal can be determined
Play in text and matched the business object title stored in database.
In the another embodiment shown, terminal will play what is stored in text and above-mentioned database
When business object title is matched, business object title can also be successively read from database, then
The business object title read is performed into matching in text is played.When appointing for being read from database
One business object title of meaning, after identical business object title has been matched in playing text, now
Terminal can determine to have matched the business object title stored in database in text is played.
For example, still so that above-mentioned database is commodity storehouse as an example, the trade name that terminal is read from commodity storehouse
For " iPhone ".Terminal by the trade name read play text in perform match when,
Each character that broadcasting text can be traveled through is matched with trade name " iPhone ", it is assumed that eventually
It is " iPhone for turning off you soon " to hold the broadcasting text extracted from video file, due to this word
" iPhone " this trade name is included in curtain, therefore when terminal matches this in the broadcasting text
After trade name, then it can determine to have matched the business object name stored in database in text is played
Claim.
In this example, when terminal determines to have matched the business object stored in database in text is played
During title, under some scenes, the business object title that can also be will match to is dashed forward in text is played
Go out display.For example, under scene of the media file to carry the video file of captions, it is assumed that above-mentioned data
Storehouse is commodity storehouse, after terminal determines matching the trade name stored in database in playing text,
The trade name can be highlighted in the captions of video file, or using being different from its in captions
The color, word size of its character are shown.
In this way, when terminal has matched the business object stored in database in text is played
During title, user can be reminded by the way that the business object title is highlighted.
Step 103, when matching the business object name that is stored in the database in the broadcasting text
During title, by description information corresponding with the business object title in the broadcast interface of the media file
Display.
In this example, when terminal is matching the business object title stored in database in playing text,
Can also backstage record matching to position of the business object title in the broadcasting text.
Wherein, terminal record matching to position of the business object title in the broadcasting text when, can
With record the business object title in the broadcasting text position of bebinning character, termination character position,
Or the position of record start character and the position of termination character simultaneously.
For example, it is assumed that it is " iPhone for turning off you soon ", the entitled " apple of business object to play text
Fruit mobile phone ", terminal matches " iPhone " this business object title in text is played, in note
The business object title is recorded at the position of the broadcasting text terminal, the business object title can broadcast
Put " the 6th character ", " the 1st character reciprocal " that the position in text is recorded as in broadcasting text
Or " 9 characters of the 6th character-the ".
Certainly, in actual applications, if what is stored in database has been matched in playing text is multiple
During business object title, now terminal can record multiple positions.
In this example, after terminal have recorded the business object title matched in the position in playing text,
Can the position based on record, determine and remember in the playing progress bar of currently playing media file
The corresponding position in the position of record.
Wherein, because above-mentioned broadcasting text is associated generally with the playing progress rate of media file, therefore terminal
Can be based on the incidence relation between above-mentioned broadcasting text and the playing progress rate of media file, in media file
Playing progress bar in determine with record above-mentioned position corresponding to position.
For example, so that above-mentioned broadcasting text is caption information as an example, caption information is generally broadcast with video file
Degree of putting into be associated, terminal by the incidence relation between caption information and the playing progress rate of video file,
Play time corresponding with the above-mentioned position recorded can be reverse-located out in video file, or even can
To navigate to specific a certain frame or multiframe picture in video file according to the position of captions, so that terminal
It can be determined in the playing progress bar of the video file and the position corresponding to the above-mentioned position of record.
When the position determined with recorded in playing progress bar of the terminal in currently playing media file is corresponding
Position after, can also in playing progress bar on position corresponding with the position of record add mark.Its
In, the mark is used to remind user that the media file refer to a number on the position that the mark is identified
According to the business object title in storehouse.
Certainly, if terminal has matched the multiple business object names stored in database in text is played
Claim, and when recording multiple positions, multiple marks can be now added in playing progress bar.
In this example, after terminal with the addition of mark in the playing progress bar of media file, now terminal
Can by the description information of business object corresponding with the mark in the broadcast interface of the media file to
Family is shown.
In a kind of embodiment shown, terminal can play boundary when exporting foregoing description information
Preview interface is exported on the predeterminated position of the mark added in playing progress bar in face, then will with it is above-mentioned
The description information of corresponding business object is marked to be exported in the preview interface.
Wherein, above-mentioned predeterminated position can be any direction of the mark;Such as, can addition mark
The lower section of note exports above-mentioned preview interface.On the output opportunity of above-mentioned preview interface, can with the addition of mark
Export, can also be exported after user triggers the mark immediately after note.
For example, in a kind of embodiment shown, terminal is added in the playing progress bar of media file
After mark, the operation focus of user can be obtained, then judge whether the operation focus of user is moved to
Region where the mark.
Wherein, aforesaid operations focus can include the touch point of user, or where the pointer of user's mouse
Position;For example, when the terminal is touch screen terminal, the operation focus can be the touch point of user;
When the terminal is PC terminals, the operation focus can be the position where the pointer of mouse.
When the region where terminal judges that the operation focus of user is moved to the mark, now terminal can
To read the description information of business object corresponding with the mark from database immediately, then it will read
Description information shown in above-mentioned preview interface to user.Certainly, when by foregoing description information in preview
After being shown in interface, if terminal judges that the operation focus of user removes the mark region, or
, can also be by the preview after user is detected for the clicking operation of arbitrary region beyond the preview interface
Interface is closed.
Below in conjunction with specific application scenarios, the technical scheme in above example is described in detail.
In a kind of embodiment shown, the technical scheme in above example can apply in video
The application scenarios of advertisement are delivered in playing platform based on video content.
Under the scene, above-mentioned media file can be the video file provided in video playback platform;On
It can be trade name to state business object title;Foregoing description information can then include goods links, commodity
One or more in picture and commodity character introduction.
Terminal can extract the video file when locally playing the video file that video playback platform is provided
Caption information as above-mentioned broadcasting text, or when the video file does not carry caption information,
The audio-frequency information of the video file can be extracted, the audio-frequency information extracted is then converted into text envelope
Breath is used as above-mentioned broadcasting text.
After terminal extracts broadcasting text from the video file of broadcasting, text and data can will be played
Trade name in storehouse is matched;Wherein, specific matching process is repeated no more.When in broadcasting text
After the trade name that database is matched in part, it is whole in the broadcasting text that terminal can record the trade name
The position at end, is then based on playing the incidence relation between text and the playing progress rate of video, in the video
Position corresponding with the position recorded is determined in playing progress bar in file broadcast interface, then true
The position addition mark made.
Refer to Fig. 2, it is assumed that above-mentioned video file carries captions, the video file that terminal is extracted
Captions are " iPhone for turning off you soon ", and terminal carries out the trade name in the captions and commodity storehouse
After matching, " iPhone " this trade name has been matched in commodity storehouse.
Now terminal can record " iPhone " this trade name and " turn off your apple soon in captions
Position in mobile phone ", such as the position recorded can be " the 9th character of 6- ", be then based on word
Incidence relation between curtain and playing progress rate, finds corresponding with the position recorded in playing progress bar
Position, and on the position found add one mark.
Continuing with referring to Fig. 2, after the completion of mark addition, terminal can obtain the operation focus of user,
Such as obtain user touch point, or mouse pointer position, when the operation focus of user is moved to this
During region where mark, a preview interface can be exported in the lower section of the mark, while from commodity storehouse
It is middle to read commodity picture corresponding with " iPhone " this trade name, commodity character introduction and business
The information such as product link, and by the presentation of information read in the preview interface.Now, user can lead to
Cross and checked in the preview interface and iPhone " details of the corresponding commodity of this trade name.
It can be seen that, in such a scenario, terminal can parse the content of currently playing video file automatically,
When refer to the commodity in database in video file, it can be marked immediately in playing progress bar,
When the operation focus of user is moved to the mark region, terminal can be immediately in the lower section of the mark
Preview interface is exported, and the description information of the commodity is read from database, it is quick in the preview interface
Presented to user, it is achieved thereby that the content based on video file, deliver advertisement automatically, quick plant
Enter the effect of advertisement.Moreover, in the launch process of whole advertisement, it is not necessary to manual intervention, completely by end
The autonomous execution advertisement putting in end, therefore help to save human cost.
In the embodiment above, text is played by being extracted in the media file from broadcasting, text will be played
This is matched with the business object title stored in database, when matching the number in broadcasting text
During according to the business object title stored in storehouse, description information corresponding with the business object title can be existed
It has been shown that, carried so as to be quickly presented on to user in media file in the broadcast interface of the media file
The description information of the business object arrived, without being manually added.
, can be with when the technical scheme of the application is applied to deliver the application scenarios of advertisement in media file
The details for showing the commodity mentioned in the media file automatically in the broadcast interface of media file are realized,
Without manually adding advertisement in media file, so as to reach the playing process in media file
In the quick product placement of broadcasting content based on media file effect.
Corresponding with above method embodiment, present invention also provides the embodiment of device.
Fig. 3 is referred to, the application proposes a kind of exhibiting device 30 of business object, applied to terminal;Its
In, Fig. 4 is referred to, the hardware involved by the terminal for the exhibiting device 30 for carrying the business object is used as
In framework, CPU, internal memory, nonvolatile memory, network interface and internal bus etc. are generally included;
Exemplified by implemented in software, the exhibiting device 30 of the business object is it is generally understood that be carried in internal memory
Computer program, the logic device that the software and hardware formed after being run by CPU is combined, the dress
Putting 30 includes:
Extraction module 301, text is played for being extracted from the media file of broadcasting;
Matching module 302, for the business object title for playing text with being stored in database to be entered
Row matching;
Display module 303, the industry stored in the database is matched for working as in the broadcasting text
During business object oriented, by description information broadcasting in the media file corresponding with the business object title
Put in interface and show.
In this example, the broadcasting text includes caption information;
The extraction module 301 specifically for:
Judge whether the media file includes caption information;
When the media file includes caption information, the caption information for extracting the media file is used as institute
State broadcasting text.
In this example, the text of playing includes what the audio-frequency information based on the media file was converted to
Text message;
The extraction module 301 is further used for:
When the media file does not include caption information, the audio-frequency information of the media file is extracted;
The audio-frequency information of extraction is converted to text message as the broadcasting text.
In this example, the matching module specific 302 is used for:
Word segmentation processing, the keyword that word segmentation processing is obtained and the data are carried out for the broadcasting text
The business object title stored in storehouse performs matching successively;Or
Business object title is successively read from the database, by the business object title read in institute
State in broadcasting text and perform matching.
In this example, described device 30 also includes:
Logging modle 304, the industry stored in the database is matched for working as in the broadcasting text
During business object oriented, business object title position in the broadcasting text is recorded;
Add module 305, for what is recorded in the playing progress bar of the media file with logging modle
The position add mark on corresponding position.
In this example, the display module 303 specifically for:
Preview interface is exported in the predeterminated position of the mark;
Description information corresponding with the business object title is shown in the preview interface.
In this example, the predeterminated position in the mark exports preview interface, including:
Obtain the operation focus of user;
It is defeated in the predeterminated position of the mark when the operation focus is moved to the mark region
Go out the preview interface.
In this example, the display module 303 is further used for:
When matching the business object title stored in the database in the broadcasting text, by this
Business object title is highlighted in the broadcasting text.
In this example, the business object title includes trade name;The description information includes commodity chain
Connect, one or more in commodity picture and commodity character introduction.
Those skilled in the art will readily occur to this after considering specification and putting into practice invention disclosed herein
Other embodiments of application.The application is intended to any modification, purposes or the adaptability of the application
Change, these modifications, purposes or adaptations follow the general principle of the application and including this Shen
Please undocumented common knowledge or conventional techniques in the art.Description and embodiments only by
It is considered as exemplary, the true scope of the application and spirit are pointed out by following claim.
It should be appreciated that the application be not limited to be described above and be shown in the drawings it is accurate
Structure, and various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only by institute
Attached claim is limited.
The preferred embodiment of the application is the foregoing is only, it is all at this not to limit the application
Within the spirit and principle of application, any modification, equivalent substitution and improvements done etc. should be included in
Within the scope of the application protection.