CN109947982A - Information recommendation method, device, terminal and storage medium - Google Patents
Information recommendation method, device, terminal and storage medium Download PDFInfo
- Publication number
- CN109947982A CN109947982A CN201910116395.4A CN201910116395A CN109947982A CN 109947982 A CN109947982 A CN 109947982A CN 201910116395 A CN201910116395 A CN 201910116395A CN 109947982 A CN109947982 A CN 109947982A
- Authority
- CN
- China
- Prior art keywords
- information
- video
- user
- dimension
- target video
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Abstract
The disclosure is directed to a kind of information recommendation method, device, terminal and storage mediums.The described method includes: obtaining the video features with the associated preset dimension of target video;It is obtained and matched at least one first information of the video features from presupposed information database;Recommend the first information to user.The disclosure searches information by memory frequency range or search engine without user, saves the time that user obtains information, improves information acquisition efficiency, and then improve the usage experience of user.
Description
Technical field
This disclosure relates to which field of computer technology more particularly to a kind of information recommendation method, device, terminal and storage are situated between
Matter.
Background technique
With the continuous development of internet audio and video technology, more and more users are shared by shooting the modes such as short-sighted frequency
With record oneself life.
It has shot video in user usually to want to add caption or verbal description for the video of shooting, for example, for shooting
Video add a classic poetry or song sentence, make shooting video more have artistic conception etc..However, most people is to classic poetry at present
And the accumulation of song sentence is less, and when user needs to add classic poetry or song sentence for video as title or description information, it needs
User is scanned for by memory segment or keyword removal search engine, and search engine can not search in time and expire user
Meaning as a result, cause user be video add title or verbal description efficiency it is lower, reduce user experience.
Summary of the invention
To overcome the problems in correlation technique, the disclosure provides one kind.
According to the first aspect of the embodiments of the present disclosure, a kind of information recommendation method, including acquisition and target video are provided
The video features of associated preset dimension;It is obtained from presupposed information database and the video features matched at least one the
One information;Recommend the first information to user.
In a kind of optional embodiment, it is described obtained from presupposed information database with the video features it is matched to
Few first information, comprising: obtain and the matched information characteristics of the video features;It is obtained from the presupposed information database
It takes and the first information of the information characteristics matched at least one.
In a kind of optional embodiment, the acquisition and the associated preset dimension of target video video features it
Before, further includes: at least one second information of acquisition is parsed;According to parsing result, determining and each second information
At least one corresponding information characteristics;Each second information is stored in described preset with the corresponding information characteristics
Information database.
In a kind of optional embodiment, it is described recommend the first information to user before, further includes: according to described in
Video features and the information characteristics determine each first information similarity corresponding with the target video;It obtains and each
Associated every kind preset dimension of the first information;According to the mapping relations of preset dimension and dimension weight, each described the is obtained
Total weight of one information;According to each corresponding similarity of the first information and total weight, each first information is arranged
Sequence;It is described to recommend the first information to user, comprising: the first information after sequence is recommended into the user.
In a kind of optional embodiment, it is described recommend the first information to user after, further includes: described in acquisition
The target information that user selects from the first information described at least one;The target information is blended in the target video,
Generate fused target video;The fused target video is uploaded to social platform.
In a kind of optional embodiment, the preset dimension includes time dimension, location dimension, weather dimension, scene
At least one of dimension.
According to the second aspect of an embodiment of the present disclosure, a kind of information recommending apparatus is provided, comprising: video features obtain mould
Block, for obtaining and the video features of the associated preset dimension of target video;The first information obtains module, is used for from presupposed information
It is obtained and matched at least one first information of the video features in database;First information recommending module is used for user
Recommend the first information.
In a kind of optional embodiment, it includes: information characteristics acquisition submodule that the first information, which obtains module, is used for
It obtains and the matched information characteristics of the video features;First information acquisition submodule is used for from the presupposed information database
Middle acquisition and the first information of the information characteristics matched at least one.
In a kind of optional embodiment, further includes: the second information analysis module, at least one to acquisition second
Information is parsed;Information characteristics determining module, for according to parsing result, determination to be corresponding with each second information
At least one information characteristics;Information preservation module, for each second information to be stored in the corresponding information characteristics
The presupposed information database.In a kind of optional embodiment, further includes: similarity determining module, for according to the view
Frequency feature and the information characteristics determine each first information similarity corresponding with the target video;Relevant dimension obtains
Modulus block, for obtaining and each associated every kind preset dimension of the first information;Total Weight Acquisition module, for according to preset
The mapping relations of dimension and dimension weight obtain total weight of each first information;First information sorting module is used for foundation
Each corresponding similarity of the first information and total weight, are ranked up each first information;The first information is recommended
Module includes: that the first information recommends submodule, for the first information after sequence to be recommended the user.
In a kind of optional embodiment, further includes: target information selecting module, for obtaining the user from least one
The target information selected in a first information;Target video generation module, it is described for the target information to be blended in
Target video generates fused target video;Target video uploading module, for uploading the fused target video
To social platform.
In a kind of optional embodiment, the preset dimension includes time dimension, location dimension, weather dimension, scene
At least one of dimension.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal of information recommendation is provided, comprising: processor;For
The memory of storage processor executable instruction;Wherein, the processor is configured to: obtain it is associated preset with target video
The video features of dimension;It is obtained and matched at least one first information of the video features from presupposed information database;To
User recommends the first information.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, institute is worked as
When stating instruction in storage medium and being executed by the processor of terminal, enable the terminal to execute a kind of information recommendation method, it is described
Method includes: the video features of acquisition Yu the associated preset dimension of target video;From presupposed information database obtain with it is described
Matched at least one first information of video features;Recommend the first information to user.
According to a fifth aspect of the embodiments of the present disclosure, a kind of application program is provided, including one or more instructs, this
Or a plurality of instruction can by the processor of electronic equipment execute when so that electronic equipment be able to carry out above- mentioned information recommendation side
Method.
The technical scheme provided by this disclosed embodiment can include the following benefits: be closed by obtaining with target video
The video features of the preset dimension of connection obtain and matched at least one the first letter of video features from presupposed information database
Breath, and recommend the first information to user.The embodiment of the present disclosure is by presetting presupposed information database, and then according to preset dimension
The video features of degree obtain the matched first information, search information by memory frequency range or search engine without user, save
User obtains the time of information, improves information acquisition efficiency, and then improve the usage experience of user.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of step flow chart of information recommendation method shown according to an exemplary embodiment.
Fig. 2 is a kind of step flow chart of information recommendation method shown according to an exemplary embodiment.
Fig. 3 is a kind of structural block diagram of information recommending apparatus shown according to an exemplary embodiment.
Fig. 4 is a kind of structural block diagram of information recommending apparatus shown according to an exemplary embodiment.
Fig. 5 is a kind of structural block diagram of device for information recommendation shown according to an exemplary embodiment.
Fig. 6 is a kind of structural block diagram of device for information recommendation shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Embodiment one
Fig. 1 is a kind of step flow chart of information recommendation method shown according to an exemplary embodiment, as shown in Figure 1,
Information recommendation method includes the following steps.
In step s101, the video features with the associated preset dimension of target video are obtained.
The embodiment of the present disclosure can be applied in the scene for adding caption or verbal description for video.
Target video refers to the video for needing to add caption or verbal description of user's selection, and it is current to can be user
Or the video once shot, it is also possible to the video etc. that user downloads from browser, the embodiment of the present disclosure does not limit this
System.
The spies such as the scene of weather, shooting when video features refer to the shooting time of target video, shooting location, shooting
Sign.
Preset dimension may include one of dimensions such as time dimension, location dimension, weather dimension and scene dimension or
It is a variety of.
Time dimension refers to the shooting time of target video, as target video is shot in 2019-01-0510:25 or target
Video capture is at dusk etc..
Location dimension refers to the geographical location of target video shooting, as target video is shot in " scenic spot xxx " or " city xx
The area xx street xx xx " etc..
Weather dimension refers to weather when target video shooting, and such as in photographic subjects video, current weather is fine day,
Or rainy day etc..
Scene dimension refers to the scene of target video shooting, such as spends sea, mountains and rivers, streams in target video.
When user shoots video, the capture apparatus such as camera or mobile terminal usually will record the shooting time of video.Into
And when user selects the video of shooting as target video, it is available special with the video of the associated preset dimension of target video
Sign, for example, then obtaining the shooting time of target video when preset dimension only includes time dimension;And include in preset dimension
When time dimension and location dimension, then shooting time and shooting location of target video etc. are obtained.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
After obtaining the video features with the associated preset dimension of target video, step S102 is executed.
In step s 102, it is obtained from presupposed information database and matched at least one the first letter of the video features
Breath.
Presupposed information database can be the information database pre-saved in terminal side, be also possible to be pre-set at clothes
The information database of business device side.
The text informations such as poem, the song sentence of numerous quantity are pre-saved in presupposed information database, such as classic poetry, now
For poem, song well-known phrase etc..
The first information be in presupposed information database with the matched poem of the associated video features of target video, the song letter such as sentence
Breath.
After obtaining the video features with the associated preset dimension of target video, each video features can be directed to, respectively
The matched first information is searched from presupposed information database, for example, including A and B with the associated video features of target video, then
It is scanned in presupposed information database according to video features A, to obtain and the matched first information of video features A, packet
Include: information 1, information 2 and information 3, then, then foundation video features B is scanned in presupposed information database, to obtain
With the matched first information of video features B, comprising: information 4 and information 5, according to above-mentioned search process available matched
One information, are as follows: information 1, information 2, information 3, information 4 and information 5.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
From being obtained in presupposed information database with after matched at least one first information of video features, step is executed
S103。
In step s 103, recommend the first information to user.
From being obtained in presupposed information database with after matched at least one first information of target video, can will obtain
At least one first information taken recommends user, for example, an information display frames are popped up on the screen of user's using terminal, and
Each first information that will acquire is showed in information display frames, so that user selects one article from least one first information
Caption or character description information of one information as target video, for example, being used when the first information of acquisition only has one
It family can be directly using this first information as the caption of target video or verbal description;And have in the first information a plurality of
When, user can be selected from a plurality of first information one as the caption of target video or character description information etc., and
For user selection the first information can according to the actual situation depending on, the embodiment of the present disclosure is without restriction to this.
When the first information has a plurality of, before recommending to user, a plurality of first information can be ranked up, and will row
The first information after sequence recommends user, and the process being ranked up for a plurality of first information will in following embodiments two into
Row detailed description.
By the sequence at least one first information, the correlation degree of each first information and target video can be determined,
To which when first information quantity is more, user can intuitively see the higher first information of the degree of association, and be used for mesh
The caption or character description information for marking video, avoid user and search high first of correlation degree from a plurality of first information
Information, saves the time of user, to improve the usage experience of user.
The information recommendation method that the embodiment of the present disclosure provides, by obtaining the video with the associated preset dimension of target video
Feature, acquisition and matched at least one first information of video features from presupposed information database, and recommend first to user
Information.The embodiment of the present disclosure obtains by presetting presupposed information database, and then according to the video features of preset dimension
The first information matched searches information by memory frequency range or search engine without user, saves the time that user obtains information,
Information acquisition efficiency is improved, and then improves the usage experience of user.
Embodiment two
Fig. 2 is a kind of step flow chart of information recommendation method shown according to an exemplary embodiment, as shown in Fig. 2,
Information recommendation method includes the following steps.
In step s 201, at least one second information of acquisition is parsed.
The embodiment of the present disclosure can be applied in the scene for adding caption or verbal description for video.
Presupposed information database refers to the database for saving the text informations such as poem, song sentence, such as preservation classic poetry, now
For poem, song well-known phrase etc..
In the disclosure, the database of any type can be created as presupposed information database, such as MySql type
Data, the database of DataBase type etc., specifically, can according to the actual situation depending on, the embodiment of the present disclosure is to this
It is without restriction.
Presupposed information database can be to be pre-created for saving the database of the text informations such as poem, song sentence,
When creating presupposed information database, there are three ways to generalling use: 1, being created using guide or enterprise manager;2, using foot
Sheet or code establishing;3, replicate or import data creation database.
In the concrete realization, those skilled in the art can voluntarily select creation presupposed information database according to actual needs
Method, the embodiment of the present disclosure is without restriction to this.
Second information refers to the information such as poem, song sentence.
It in the embodiments of the present disclosure, can be by internet hunt classic poetry, modern poem, song well-known phrase etc. as the
Two information, to be parsed to the second information, and execute it is subsequent during, by the second information preservation in presupposed information data
Library, so that preserving the information such as a large amount of poem, song sentence in the presupposed information database of creation.
After obtaining at least one second information, the second information can be parsed, for example, being carried out to the second information
The parsings such as sentence fractionation, scene analysis operation, and execute step S202.
In step S202, according to parsing result, determining at least one information corresponding with each second information
Feature.
Information characteristics refer to the characterization information of the second information, for example, time that the second information is reflected (such as early morning,
Dusk, morning etc.), place (scenic spot xx, the street xx etc.), weather (such as light rain, wind and snow day), color (as green, yellow
Deng) etc. characterization informations.
After being parsed to each second information, at least one corresponding characteristic information of available each second information,
For example, obtained information characteristics may include: withered rattan, tree, crow, Huang after to the second information " withered vine on an old tree dusk crow " parsing
Dusk;And after parsing to the second information " small bridge over the flowing stream other ", obtained information characteristics may include: bridge, flowing water, room
Room.
After obtaining the corresponding information characteristics of each second information, the pass between the second information and information characteristics can be determined
Connection relationship, for example, the second information includes information A and information B, the information characteristics of information A include: feature 1, feature 2 and feature 3,
The information characteristics of information B include: feature 2 and feature 4, then can determine and exist between information A and feature 1, feature 2 and feature 3
There are incidence relations between incidence relation and information B and feature 2 and feature 4.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
After establishing incidence relation, it can be found from presupposed information database by information characteristics and information characteristics
Matched second information can also pass through the second acquisition of information for obtaining from presupposed information database to matched information characteristics.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present invention and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
Certainly, the second different information can also have the identical information characteristics in part with identical information characteristics, can also
To there is entirely different information characteristics, in this regard, can according to the actual situation depending on, the embodiment of the present disclosure is without restriction.
According to parsing result, after determining at least one corresponding information characteristics of each second information, step is executed
S203。
In step S203, each second information is stored in the presupposed information number with the corresponding information characteristics
According to library.
It, can be by each second information and each the after determining corresponding with each second information at least one information characteristics
The corresponding information characteristics of two information are stored in presupposed information database, and specifically, preserving type can be such as following table 1 institute
Show:
Table 1:
ID | Second information | Information characteristics |
2 | A | Dusk, flowing water, light rain |
3 | B | Dusk, slight snow, waterfall |
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
After each second information and corresponding information characteristics are stored in presupposed information database, step S204 is executed.
In step S204, the video features with the associated preset dimension of target video are obtained.
Target video refers to the video for needing to add caption or verbal description of user's selection, and it is current to can be user
Or the video once shot, it is also possible to the video etc. that user downloads from browser, the embodiment of the present disclosure does not limit this
System.
The spies such as the scene of weather, shooting when video features refer to the shooting time of target video, shooting location, shooting
Sign.
Preset dimension may include one of dimensions such as time dimension, location dimension, weather dimension and scene dimension or
It is a variety of.
Time dimension refers to the shooting time of target video, as target video is shot in 2019-01-0510:25 or target
Video capture is at dusk etc..
Location dimension refers to the geographical location of target video shooting, as target video is shot in " scenic spot xxx " or " city xx
The area xx street xx xx " etc..
Weather dimension refers to weather when target video shooting, and such as in photographic subjects video, current weather is fine day,
Or rainy day etc..
Scene dimension refers to the scene of target video shooting, such as spends sea, mountains and rivers, streams in target video.
When user shoots video, the capture apparatus such as camera or mobile terminal usually will record the shooting time of video.Into
And when user selects the video of shooting as target video, it is available special with the video of the associated preset dimension of target video
Sign, for example, then obtaining the shooting time of target video when preset dimension only includes time dimension;And include in preset dimension
When time dimension and location dimension, then shooting time and shooting location of target video etc. are obtained.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
After obtaining the video features with the associated preset dimension of target video, step S205 is executed.
In step S205, obtained and matched at least one first information of video features from presupposed information database.
Presupposed information database can be the information database pre-saved in terminal side, be also possible to be pre-set at clothes
The information database of business device side.
The text informations such as poem, the song sentence of numerous quantity are pre-saved in presupposed information database, such as classic poetry, now
For poem, song well-known phrase etc..
The first information be in presupposed information database with the matched poem of the associated video features of target video, the song letter such as sentence
Breath namely the first information are one or more information in above-mentioned second information.
Since the incidence relation of information characteristics and the second information is saved in presupposed information database in advance, thus, it can
The matched first information is searched from presetting database with the video features according to acquisition, specifically, with following optional embodiment party
Formula is described in detail.
In a kind of optional embodiment, above-mentioned steps 205 may include:
Sub-step A1: it obtains and the matched information characteristics of the video features.
Sub-step A2: it is obtained from the presupposed information database and the information characteristics matched at least one described the
One information.
In the embodiments of the present disclosure, after obtaining the video features with the associated preset dimension of target video, Ke Yicong
Searched in presupposed information database with the matched first information of video features, specifically, can by video features respectively with it is default
Information characteristics in information database are matched, in successful match, according to the information characteristics of successful match from presupposed information
The matched first information is obtained in database.For example, including A and B with the associated video features of target video, then according to video spy
Sign A is scanned in presupposed information database, to obtain and the matched first information of video features A, comprising: information 1, letter
Breath 2 and information 3, then, then foundation video features B is scanned in presupposed information database, to obtain and video features B
The matched first information, comprising: information 4 and information 5, according to the available matched first information of above-mentioned search process, are as follows: letter
Breath 1, information 2, information 3, information 4 and information 5.
It certainly, in the embodiments of the present disclosure, can also be according to the corresponding dimension of video features, from presupposed information database
It obtains the identical information characteristics of dimension, and obtains matched the from presupposed information database according to the identical information characteristics of dimension
One information.For example, the video features obtained include a and b, the corresponding dimension of a is time dimension, and the corresponding dimension of b is place dimension
Degree, and the information characteristics in presupposed information database also have corresponding information characteristics dimension, then can be respectively corresponded according to a and b
Dimension, information characteristics of the information characteristics of acquisition time dimension and place dimension from presetting database, and then according to a and b
Corresponding feature obtains the first information of characteristic matching.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
From being obtained in presupposed information database with after matched at least one first information of video features, step is executed
S206。
In step S206, recommend the first information to user.
From being obtained in presupposed information database with after matched at least one first information of video features, can will obtain
At least one first information taken recommends user, for example, an information display frames are popped up on the screen of user's using terminal, and
Each first information that will acquire is showed in information display frames, so that user selects one article from least one first information
Caption or character description information of one information as target video, for example, being used when the first information of acquisition only has one
It family can be directly using this first information as the caption of target video or verbal description;And have in the first information a plurality of
When, user can be selected from a plurality of first information one as the caption of target video or character description information etc., and
For user selection the first information can according to the actual situation depending on, the embodiment of the present disclosure is without restriction to this.
When the first information has a plurality of, before recommending to user, each first information can be ranked up, and will sequence
The first information afterwards recommends user, specifically, is described in detail with following optional embodiments.
In a kind of optional embodiment, before above-mentioned steps 206, can also include:
Step B1: according to the video features and the information characteristics, determine that each first information and the target regard
Frequently corresponding similarity.
In the embodiments of the present disclosure, similarity refers to the similarity degree of the first information and target video, for example, the first information
The rain scape at dusk of description, and captured by target video it is rain scape at dusk, indicate that the first information and target regard
The similarity of frequency is higher;And snow scenes at dusk are described in the first information, and when being dusk captured by target video
When the setting sun divided, indicate that the similarity of the first information and target video is lower.
In terminal side, similarity value can also be preset, similarity value is lower to indicate the first information and target video
Similarity degree is lower, and similarity value is higher, and the similarity degree for indicating the first information and target video is higher, and similarity value can be
Pre-set 1 to 10 numerical value etc., specifically, can according to the actual situation depending on, the embodiment of the present disclosure does not limit this
System.
It, can after obtaining the information characteristics of video features and each first information of the associated preset dimension of target video
Each video features to be compared with the information characteristics of each first information, so that it is determined that the first information is similar to target video
Degree, for example, the video features in target video include: dusk, light rain, spring, and the information characteristics of the first information include: Huang
Dusk, snow, winter when, then the similarity of the first information and target video is lower, then terminal system can according to the rule set as
The first information matches corresponding similarity value, such as similarity value is 1;And the video features of target video include: dusk,
Light rain, spring, and when the information characteristics of the first information include: dusk, rain, spring, then the first information is similar to target video
Degree is higher, then terminal system can match corresponding similarity value, such as similarity value as the first information according to the rule set
It is 10 etc..
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
Also, for how the mode of similarity value can be preset accordingly according to the experience of those skilled in the art
Similarity value matching rule, the embodiment of the present disclosure are not subject to concrete restriction to this.
According to each video features and each information characteristics, determine each first information similarity corresponding with target video it
Afterwards, step B2 is executed.
Step B2: it obtains and each associated every kind preset dimension of the first information.
After obtaining the first information, each first information can be parsed, so that the information for obtaining the first information is special
Sign, and then each information characteristics according to the first information, determine the associated preset dimension of each information characteristics, for example, believing first
After breath is parsed, it includes then time dimension and ground with the associated preset dimension of the first information that information characteristics, which include time, place,
Point dimension;And parsed to the first information, when information characteristics include light rain, then with the associated preset dimension packet of the first information
Include weather dimension.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
It is obtaining with after associated every kind preset dimension of each first information, is executing step B3.
Step B3: according to the mapping relations of preset dimension and dimension weight, total weight of each first information is obtained.
The corresponding dimension weight of preset dimension is pre-saved in terminal system, for example, time weighting in dimension weight
Corresponding weighted value is 0.2, and the corresponding weighted value of location weight is 0.3, and the corresponding weighted value of weather dimension is 0.1 etc..
It, can reflecting according to preset dimension and dimension weight after obtaining each associated every kind preset dimension of the first information
Relationship, total weight of available each first information are penetrated, for example, the associated preset dimension of the first information includes time dimension and ground
Point dimension, it is 0.1 that the corresponding weighted value of time dimension, which is the corresponding weighted value of the place 0.2. dimension, then total weight of the first information
Value is 0.3.
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
After the mapping relations according to preset dimension and dimension weight, the total weight for obtaining each first information, step is executed
Rapid B4.
Step B4: according to each corresponding similarity of the first information and total weight, each first information is arranged
Sequence.
After obtaining each corresponding similarity of the first information and total weight, can according to each first information similarity and
Total weight is ranked up each first information, can be with for example, after obtaining the corresponding similarity of the first information and total weight
The first information is divided according to similarity, the first information by similarity value greater than 5 is divided into type I information, will be similar
The first information of the angle value less than or equal to 5 is divided into the second category information, i.e. type I information sequence is forward, and the second category information is arranged in
It is after the category division for carrying out the first information, then descending according to total weight to type I information after type I information
Sequence be ranked up, and the second category information is ranked up according to the descending sequence of total weight, to obtain final
Ranking results.It is of course also possible to first category division be carried out to each first information according to total weight, then in conjunction with similarity value to class
Not Hua Fen after all kinds of first information be ranked up etc..
It is to be appreciated that above-mentioned example is merely to more fully understand the technical solution of the embodiment of the present disclosure and showing for enumerating
Example, not as the sole limitation to the embodiment of the present disclosure.
In practical applications, each first information can also be arranged otherwise according to similarity and total weight
Sequence, for example, according to the corresponding similarity value of each first information and total weighted value and value, each first information is ranked up
Deng, specifically, can according to the actual situation depending on, the embodiment of the present disclosure is without restriction to this.
After being ranked up to each first information, then the first information after sequence can be recommended into user, specifically,
It is described in detail with following optional embodiments.
In a kind of optional embodiment, above-mentioned steps 206 may include:
Sub-step C: each first information after sequence is recommended into the user.
In the embodiments of the present disclosure, after each first information after sequence is recommended user, forward first of sorting
Information is with the higher information of target video correlation degree, and the first information to sort rearward is and target video correlation degree
Lower information, so as to make user intuitively watch with the higher first information of target video correlation degree, in order to
User selects a first information as the caption or character description information of target video from multiple first information.
After recommending each first information to user, step S207 is executed.
In step S207, the target information that the user selects from the first information described at least one is obtained.
Target information refers to selected by user for as the caption of target video or the information of verbal description.
After recommending each first information to user, each first information can be showed in the displaying for the terminal that user uses
Interface, in turn, user can select a first information as target information from a plurality of first information.
When user passes through mobile terminal (such as mobile phone) selection target information, mobile terminal is usually all to touch screen,
In user's selection target information, certain first information can be clicked with finger, using the target information selected as user.
And when user passes through the end PC selection target information, user can click certain first chosen by mobile mouse
Information is using as the first information.
In the concrete realization, user can also obtain target information, such as input selection target information using other way
Voice, the target information etc. of user's selection is determined by speech recognition, specifically, can according to the actual situation depending on, this
Open embodiment is without restriction to this.
User is being obtained after the target information selected at least one first information, is executing step S208.
In step S208, the target information is blended in the target video, generates fused target video.
After the target information for obtaining user's selection, target information can be blended in target video, to generate fusion
Target video afterwards, for example, target information is blended on the first frame image of target video, using the text as target video
Title, or using target information as the associated information of target video, using the description information etc. as target video.
After generating fused target video, step S209 is executed.
In step S209, the fused target video is uploaded to social platform.
After generating fused target video, target video can be uploaded to social platform, such as microblogging public platform
Etc., in order to record life of user, or the sharing interested video of user etc. in real time.
It will be appreciated that though presupposed information data may be described using term first, second etc. in disclosure implementation
Information in library, but these information should not necessarily be limited by these terms, and these terms are only used to for information being distinguished from each other out.For example,
In the case where not departing from embodiment of the present disclosure range, the first information can also be referred to as the second information, similarly, the second information
The first information can be referred to as.
The information recommendation method that the embodiment of the present disclosure provides, by obtaining the video with the associated preset dimension of target video
Feature, acquisition and matched at least one first information of video features from presupposed information database, and recommend first to user
Information.The embodiment of the present disclosure obtains by presetting presupposed information database, and then according to the video features of preset dimension
The first information matched searches information by memory frequency range or search engine without user, saves the time that user obtains information,
Information acquisition efficiency is improved, and then improves the usage experience of user.
Embodiment three
Fig. 3 is a kind of structural block diagram of information recommending apparatus shown according to an exemplary embodiment, as shown in figure 3, letter
Ceasing recommendation apparatus includes:
Video features obtain module 301, for obtaining and the video features of the associated preset dimension of target video;First letter
Breath obtains module 302, for obtaining and matched at least one first information of the video features from presupposed information database;
First information recommending module 303, for recommending the first information to user.
In a kind of optional embodiment, the preset dimension includes time dimension, location dimension, weather dimension, scene
At least one of dimension.
The information recommending apparatus that the embodiment of the present disclosure provides, by obtaining the video with the associated preset dimension of target video
Feature, acquisition and matched at least one first information of the video features from presupposed information database, and recommend to user
The first information.The embodiment of the present disclosure is obtained by presetting presupposed information database, and then according to the video features of preset dimension
The matched first information is taken, information is searched by memory frequency range or search engine without user, user is saved and obtains information
Time improves information acquisition efficiency, and then improves the usage experience of user.
Example IV
Fig. 4 is a kind of structural block diagram of information recommending apparatus shown according to an exemplary embodiment, as shown in figure 4, letter
Ceasing recommendation apparatus includes:
Second information analysis module 410 is parsed for the second information of at least one to acquisition;Information characteristics determine
Module 420, for according to parsing result, determining at least one information characteristics corresponding with each second information;Information
Preserving module 430, for each second information to be stored in the presupposed information database with the corresponding information characteristics;
Video features obtain module 440, for obtaining and the video features of the associated preset dimension of target video;The first information obtains mould
Block 450, for being obtained and matched at least one first information of the video features from presupposed information database;The first information
Recommending module 460, for recommending the first information to user;Target information selecting module 470, for obtain the user from
The target information selected at least one described first information;Target video generation module 480, for melting the target information
Together in the target video, fused target video is generated;Target video uploading module 490, being used for will be described fused
Target video is uploaded to social platform.
In a kind of optional embodiment, it includes: information characteristics acquisition submodule that the first information, which obtains module 450,
For obtaining and the matched information characteristics of the video features;First information acquisition submodule is used for from the presupposed information number
It is obtained and the first information of the information characteristics matched at least one according in library.
In a kind of optional embodiment, further includes: similarity determining module, for according to video features and described
Information characteristics determine each first information similarity corresponding with the target video;Relevant dimension obtains module, for obtaining
It takes and each associated every kind preset dimension of the first information;Total Weight Acquisition module, for being weighed according to preset dimension and dimension
The mapping relations of weight obtain total weight of each first information;First information sorting module, for according to each first letter
Corresponding similarity and total weight are ceased, each first information is ranked up;The first information recommending module 460 includes:
The first information recommends submodule, for each first information after sequence to be recommended the user.
The information recommending apparatus that the embodiment of the present disclosure provides, by obtaining the video with the associated preset dimension of target video
Feature, acquisition and matched at least one first information of video features from presupposed information database, and recommend first to user
Information.The embodiment of the present disclosure obtains by presetting presupposed information database, and then according to the video features of preset dimension
The first information matched searches information by memory frequency range or search engine without user, saves the time that user obtains information,
Information acquisition efficiency is improved, and then improves the usage experience of user.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Embodiment five
Fig. 5 is a kind of block diagram of device 800 for information recommendation shown according to an exemplary embodiment.For example, dress
Setting 800 can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
Referring to Fig. 5, device 800 may include following one or more components: processing component 802, memory 804, electric power
Component 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, and
Communication component 816.
The integrated operation of the usual control device 800 of processing component 802, such as with display, telephone call, data communication, phase
Machine operation and record operate associated operation.Processing component 802 may include that one or more processors 820 refer to execute
It enables, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more modules, just
Interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, it is more to facilitate
Interaction between media component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown
Example includes the instruction of any application or method for operating on device 800, contact data, and telephone book data disappears
Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group
It closes and realizes, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable to compile
Journey read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 806 provides electric power for the various assemblies of device 800.Power supply module 806 may include power management system
System, one or more power supplys and other with for device 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between described device 800 and user.One
In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings
Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action
Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers
Body component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, such as screening-mode or
When video mode, front camera and/or rear camera can receive external multi-medium data.Each front camera and
Rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike
Wind (MIC), when device 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone is matched
It is set to reception external audio signal.The received audio signal can be further stored in memory 804 or via communication set
Part 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock
Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for device 800 is commented
Estimate.For example, sensor module 814 can detecte the state that opens/closes of equipment 800, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 800, and sensor module 814 can be with 800 1 components of detection device 800 or device
Position change, the existence or non-existence that user contacts with device 800,800 orientation of device or acceleration/deceleration and device 800
Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact
Presence of nearby objects.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, at
As being used in application.In some embodiments, which can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between device 800 and other equipment.Device
800 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G) or them
Combination.In one exemplary embodiment, communication component 816 is received via broadcast channel from the wide of external broadcasting management system
Broadcast signal or broadcast related information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC)
Module, to promote short range communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) can be based in NFC module
Technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 800 can be believed by one or more application specific integrated circuit (ASIC), number
Number processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method: acquisition and target
The video features of the associated preset dimension of video;It is obtained and the video features matched at least one from presupposed information database
The first information;Recommend the first information to user.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of device 800 to complete the above method.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
Embodiment six
Fig. 6 is a kind of block diagram of device 1900 for information recommendation shown according to an exemplary embodiment.For example, dress
Setting 1900 may be provided as a server.Referring to Fig. 6, it further comprises one that device 1900, which includes processing component 1922,
Or multiple processors and memory resource represented by a memory 1932, it can holding by processing component 1922 for storing
Capable instruction, such as application program.The application program stored in memory 1932 may include one or more each
A module for corresponding to one group of instruction.In addition, processing component 1922 is configured as executing instruction, to execute the above method: obtaining
With the video features of the associated preset dimension of target video;It is obtained from presupposed information database matched with the video features
At least one first information;Recommend the first information to user.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one
Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface
1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac
OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (10)
1. a kind of information recommendation method characterized by comprising
Obtain the video features with the associated preset dimension of target video;
It is obtained and matched at least one first information of the video features from presupposed information database;
Recommend the first information to user.
2. the method according to claim 1, wherein described obtain and the video from presupposed information database
At least one first information of characteristic matching, comprising:
It obtains and the matched information characteristics of the video features;
It is obtained and the first information of the information characteristics matched at least one from the presupposed information database.
3. the method according to claim 1, wherein in the acquisition and the associated preset dimension of target video
Before video features, further includes:
At least one second information of acquisition is parsed;
According to parsing result, determining at least one information characteristics corresponding with each second information;
Each second information is stored in the presupposed information database with the corresponding information characteristics.
4. according to the method described in claim 2, it is characterized in that, being gone back before the first information to user's recommendation
Include:
According to the video features and the information characteristics, determine that each first information is corresponding with the target video similar
Degree;
It obtains and each associated every kind preset dimension of the first information;
According to the mapping relations of preset dimension and dimension weight, total weight of each first information is obtained;
According to each corresponding similarity of the first information and total weight, each first information is ranked up;
It is described to recommend the first information to user, comprising:
Each first information after sequence is recommended into the user.
5. the method according to claim 1, wherein being gone back after the first information to user's recommendation
Include:
Obtain the target information that the user selects from the first information described at least one;
The target information is blended in the target video, generates fused target video;
The fused target video is uploaded to social platform.
6. the method according to claim 1, wherein the preset dimension includes time dimension, location dimension, day
At least one of gas dimension, scene dimension.
7. a kind of information recommending apparatus characterized by comprising
Video features obtain module, for obtaining and the video features of the associated preset dimension of target video;
The first information obtains module, for obtaining from presupposed information database and the video features matched at least one the
One information;
First information recommending module, for recommending the first information to user.
8. device according to claim 7, which is characterized in that the first information obtains module and includes:
Information characteristics acquisition submodule, for obtaining and the matched information characteristics of the video features;
First information acquisition submodule, it is matched at least with the information characteristics for being obtained from the presupposed information database
One first information.
9. a kind of terminal of information recommendation characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the video features with the associated preset dimension of target video;
It is obtained and matched at least one first information of the video features from presupposed information database;
Recommend the first information to user.
10. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal
When row, enable the terminal to execute a kind of information recommendation method, which comprises
Obtain the video features with the associated preset dimension of target video;
It is obtained and matched at least one first information of the video features from presupposed information database;To described in user's recommendation
The first information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910116395.4A CN109947982A (en) | 2019-02-13 | 2019-02-13 | Information recommendation method, device, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910116395.4A CN109947982A (en) | 2019-02-13 | 2019-02-13 | Information recommendation method, device, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109947982A true CN109947982A (en) | 2019-06-28 |
Family
ID=67007925
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910116395.4A Pending CN109947982A (en) | 2019-02-13 | 2019-02-13 | Information recommendation method, device, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109947982A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107832385A (en) * | 2017-10-30 | 2018-03-23 | 北京金山安全软件有限公司 | Picture processing method and device and electronic equipment |
CN107943899A (en) * | 2017-11-17 | 2018-04-20 | 上海图珠信息科技有限公司 | A kind of method and system for poem of doing something for the occasion for weather forecast increase |
CN107979687A (en) * | 2017-10-31 | 2018-05-01 | 维沃移动通信有限公司 | A kind of wallpaper switching method, mobile terminal |
US20190019234A1 (en) * | 2017-07-13 | 2019-01-17 | The Toronto-Dominion Bank | Contextually-aware recommendation and translation engine |
-
2019
- 2019-02-13 CN CN201910116395.4A patent/CN109947982A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190019234A1 (en) * | 2017-07-13 | 2019-01-17 | The Toronto-Dominion Bank | Contextually-aware recommendation and translation engine |
CN107832385A (en) * | 2017-10-30 | 2018-03-23 | 北京金山安全软件有限公司 | Picture processing method and device and electronic equipment |
CN107979687A (en) * | 2017-10-31 | 2018-05-01 | 维沃移动通信有限公司 | A kind of wallpaper switching method, mobile terminal |
CN107943899A (en) * | 2017-11-17 | 2018-04-20 | 上海图珠信息科技有限公司 | A kind of method and system for poem of doing something for the occasion for weather forecast increase |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106708282B (en) | A kind of recommended method and device, a kind of device for recommendation | |
CN104796781B (en) | Video clip extracting method and device | |
CN110020148B (en) | Information recommendation method and device and information recommendation device | |
KR101802404B1 (en) | Program, recording medium, method, apparatus and device for changing display background | |
CN105335414B (en) | Music recommendation method and device and terminal | |
CN109189986B (en) | Information recommendation method and device, electronic equipment and readable storage medium | |
KR20140119611A (en) | Method and device for executing application | |
CN112068711A (en) | Information recommendation method and device of input method and electronic equipment | |
CN112784142A (en) | Information recommendation method and device | |
CN111046210A (en) | Information recommendation method and device and electronic equipment | |
CN108073649B (en) | Information processing method and device for information processing | |
CN108717403B (en) | Processing method and device for processing | |
CN107229707B (en) | Method and device for searching image | |
CN110929176A (en) | Information recommendation method and device and electronic equipment | |
CN113157972A (en) | Recommendation method and device for video cover documents, electronic equipment and storage medium | |
CN105843865B (en) | Media file playing method and device | |
CN111831132A (en) | Information recommendation method and device and electronic equipment | |
CN108733226A (en) | A kind of method and device of information recommendation | |
CN110020106B (en) | Recommendation method, recommendation device and device for recommendation | |
WO2023279726A1 (en) | Video generation method and apparatus, and electronic device, storage medium, computer program and computer program product | |
CN109947982A (en) | Information recommendation method, device, terminal and storage medium | |
CN108205534B (en) | Skin resource display method and device and electronic equipment | |
CN110389759A (en) | A kind of target interface generation method and device | |
CN110244860A (en) | A kind of input method, device and electronic equipment | |
CN113870195A (en) | Target map detection model training and map detection 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190628 |