CN104636336B - A kind of method and apparatus of video search - Google Patents
A kind of method and apparatus of video search Download PDFInfo
- Publication number
- CN104636336B CN104636336B CN201310547358.1A CN201310547358A CN104636336B CN 104636336 B CN104636336 B CN 104636336B CN 201310547358 A CN201310547358 A CN 201310547358A CN 104636336 B CN104636336 B CN 104636336B
- Authority
- CN
- China
- Prior art keywords
- video
- information
- geographical location
- user terminal
- location information
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/735—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/78—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/7867—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title and artist information, manually generated time, location and usage information, user ratings
Abstract
The present invention provides a kind of method and apparatus of video search, including video database establishment process: S11, the geographical location information and video playing behavioural information for collecting user terminal;S12, video database is stored in after being integrated the corresponding video playing behavioural information of same geographical location information;Periphery video search process: S21, when receiving the periphery video search request for carrying out user terminal, the geographical location information of inquiry radius information and the user terminal is obtained from the request and determines geographical location information to be searched;Video resource information corresponding to geographical location information to be searched described in S22, the search video database;S23, video search result is generated using the video resource information searched and returns to the user terminal for sending the periphery video search request.The present invention can be realized the search of periphery video information, provide a user the video content of people from periphery concern.
Description
[technical field]
The present invention relates to computer application technology, in particular to a kind of method and apparatus of video search.
[background technique]
With the fast development of computer technology, search engine has become the important tool that people obtain information, in addition to
Except common Webpage search, picture searching, music searching and video search are also quickly obtained development.For video search
Speech, currently used video search mode are user entered keywords, and video search engine returns to view relevant to the keyword
Frequency search result, such as user input " the good sound of China " in the search box of video search engine, and video search engine just returns
Return " the good sound of China " relevant video search result.
However, often being needed exist in real life: when user comes a new place or new ring
Border, it is desirable to be able to soon recognize that the people in locals or new environment is interested in what, what is popular, everybody
What hot spot etc. is paid close attention to, if by exchanging with the people in locals or new environment, it is obviously desirable to pay a large amount of
Energy, efficiency is relatively low, and by checking that associated video is most convenient, most quick way, however existing video search is still not
It is able to satisfy the demand of such user.
[summary of the invention]
In view of this, the present invention provides a kind of method and apparatus of video search, for providing a user periphery people
The video content of concern.
Specific technical solution is as follows:
The present invention provides a kind of methods of video search, this method comprises:
Periphery video search process:
S21, when receiving the periphery video search request for carrying out user terminal, the inquiry radius information and user is obtained
The geographical location information of terminal simultaneously determines geographical location information to be searched;
Video resource information corresponding to geographical location information to be searched described in S22, search video database;
S23, video search result is generated using the video resource information searched and returns to the transmission periphery video
The user terminal of searching request;
The wherein foundation of the video database includes:
S11, the geographical location information and video playing behavioural information for collecting user terminal;
S12, video data is stored in after being integrated the corresponding video playing behavioural information of same geographical location information
Library.
A preferred embodiment according to the present invention, the collection or acquisition of the geographical location information of the user terminal include:
Receive the geographical location information that user terminal is got and uploaded by positioning;Alternatively,
The IP address information for obtaining user terminal inquires corresponding geographical location information by the IP address information.
A preferred embodiment according to the present invention, in the step S12 further include: be created as geographical location information emerging
Interest point POI, the POI include unique identifier poi_id and geographical location information;Using poi_id as corresponding video playing behavior
The index of information.
A preferred embodiment according to the present invention determines that geographical location information to be searched specifically wraps described in step S21
It includes: calculating and look into according to the geographical location information for the user terminal for sending the periphery video search request and inquiry radius information
Range is ask, each POI created is searched, searches poi_id of the geographical location information in the query context;
Step S22 is specifically included: determining that the corresponding video of poi_id hunted out provides by inquiring the video database
Source information.
A preferred embodiment according to the present invention, the radius information of acquisition inquiry described in step S21 include:
Obtain the inquiry radius information for including in the periphery video search request;Alternatively,
If not comprising inquiry radius information in the periphery video search request, using the inquiry radius information of default.
A preferred embodiment according to the present invention, the foundation of the video database further include: obtain user terminal report
Illegal video resource information, and illegal video resource information is recorded;
Between the step S22 and step S23 further include: according to the illegal video resource information of record to searching
Video resource information is filtered.
A preferred embodiment according to the present invention generates view using the video resource information searched described in step S23
Frequency search result includes: that will search according at least one of broadcasting time, video quality, playing duration and user interest
Video resource information is used as video search result after being ranked up;
Wherein the broadcasting time and playing duration are obtained from user's broadcasting behavior of collection, and the video quality passes through
It is determined after being identified to the resolution ratio of video resource information, the user interest passes through the video playing behavior to same user
Information determines after being collected and analyzing.
The present invention also provides the methods of another video search, this method comprises:
User terminal sends the request of periphery video search to server;
The video search result that the server returns is obtained, the video search result is that the server obtains inquiry
After the geographical location information of radius information and user terminal and determining geographical location information to be searched, video database is searched for
Described in video resource information corresponding to geographical location information to be searched, utilize the video resource information searched to generate
's;
Wherein in the establishment process of the video database, the user terminal sends the user to the server
The geographical location information and video playing behavioural information of terminal, so that the server is by the corresponding view of same geographical location information
Frequency plays after behavioural information is integrated and is stored in video database.
A preferred embodiment according to the present invention, if the user terminal gets the inquiry radius information of user's input,
It include then the inquiry radius information in periphery video search request, so that the server is asked from the periphery video search
It asks middle and obtains the inquiry radius information;
If the user terminal has not been obtained the inquiry radius information of user's input, in periphery video search request
Not comprising inquiry radius information, so that the server is using the inquiry radius information of default.
A preferred embodiment according to the present invention, this method further include:
The user terminal reports illegal video resource information to the server, so that the server is recorded simultaneously
The video resource information searched is filtered according to the illegal video resource information of record.
The present invention also provides a kind of device of video search, which includes: that video database establishes unit and periphery
Video search unit;
Wherein the video database establishes unit and includes:
Information collects subelement, for collecting the geographical location information and video playing behavioural information of user terminal;
Storing sub-units are integrated, after being integrated the corresponding video playing behavioural information of same geographical location information
It is stored in video database;
The periphery video search unit includes:
Request processing subelement when for receiving the periphery video search request for carrying out user terminal, obtains inquiry half
The geographical location information of diameter information and the user terminal simultaneously determines geographical location information to be searched;
Video search subelement, for searching for corresponding to geographical location information to be searched described in the video database
Video resource information;
As a result subelement is generated, for generating video search result using the video resource information searched and returning to hair
Send the user terminal of the periphery video search request.
A preferred embodiment according to the present invention, the information are collected subelement and are believed in the geographical location for collecting user terminal
When breath or the request processing subelement is when obtaining the geographical location information of user terminal, and it is whole to be specifically used for reception user
The geographical location information that end is got and uploaded by positioning passes through the IP alternatively, obtaining the IP address information of user terminal
Address information inquires corresponding geographical location information.
A preferred embodiment according to the present invention, the video database establish unit further include: and POI creates subelement,
For geographical location information to be created as point of interest POI, which includes unique identifier poi_id and geographical location information;It will
Index of the poi_id as corresponding video playing behavioural information.
A preferred embodiment according to the present invention, the request processing subelement are determining geographical location information to be searched
When, specifically for the geographical location information and inquiry radius information according to the user terminal for sending the periphery video search request
Query context is calculated, each POI created is searched, searches poi_ of the geographical location information in the query context
id;
The video search subelement, specifically for determining poi_id pairs hunted out by inquiring the video database
The video resource information answered.
A preferred embodiment according to the present invention, the request processing subelement is when obtaining inquiry radius information, specifically
For obtaining the inquiry radius information for including in the request of periphery video search, alternatively, if in periphery video search request not
Comprising inquiring radius information, then using the inquiry radius information of default.
A preferred embodiment according to the present invention, the device further include: resource screen unit is lifted for obtaining user terminal
The illegal video resource information of report, and illegal video resource information is recorded;According to the illegal video resource information of record
The video resource information searched to the video search subelement is filtered.
A preferred embodiment according to the present invention, the result generate subelement, are also used to according to broadcasting time, video matter
The video resource information that at least one of amount, playing duration and user interest search the video search subelement carries out
Video search result is used as after sequence;
Wherein the broadcasting time and playing duration are obtained from user's broadcasting behavior of collection, and the video quality passes through
It is determined after being identified to the resolution ratio of video resource information, the user interest passes through the video playing behavior to same user
Information determines after being collected and analyzing.
The present invention also provides the device of another video search, which is set to user terminal, which includes:
Request transmitting unit, for sending the request of periphery video search to server;
As a result receiving unit, the video search result returned for obtaining the server, the video search result are
The server obtains the geographical location information of inquiry radius information and user terminal and determines geographical location letter to be searched
After breath, video resource information corresponding to geographical location information to be searched described in video database is searched for, using searching
Video resource information generate;
Reporting position unit, for sending the geographical location information and video playing of the user terminal to the server
Behavioural information stores after being integrated the corresponding video playing behavioural information of same geographical location information for the server
In video database.
A preferred embodiment according to the present invention, the device further include:
User interaction unit, for obtaining the inquiry radius information of user's input;
If the user interaction unit gets the inquiry radius information of user's input, the request transmitting unit is in institute
It states the request of periphery video search and includes the inquiry radius information, so that the server is obtained from periphery video search request
Take the inquiry radius information;
If the inquiry radius information of user's input has not been obtained in the user interaction unit, the request transmitting unit exists
Inquiry radius information is not included in the periphery video search request, so that the server is using the inquiry radius letter of default
Breath.
A preferred embodiment according to the present invention, the device further include:
Unit is reported, for reporting illegal video resource information to the server, so that the server is recorded
And the video resource information searched is filtered according to the illegal video resource information of record.
As can be seen from the above technical solutions, the present invention is based on the geographical location information of user terminal to carry out video playing row
It is the collection of information to establish video database, and the geographical location information based on request user terminal realizes periphery video
The search of information, to provide a user the video content of periphery people concern.
[Detailed description of the invention]
Fig. 1 is the method flow diagram for the video search that the embodiment of the present invention one provides;
Fig. 2 is the structure chart of video searching apparatus provided by Embodiment 2 of the present invention;
Fig. 3 is the structure drawing of device for the video search that the embodiment of the present invention three provides.
[specific embodiment]
To make the objectives, technical solutions, and advantages of the present invention clearer, right in the following with reference to the drawings and specific embodiments
The present invention is described in detail.
Core of the invention thought is that the geographical location information based on user terminal realizes the search of periphery video, mainly
Including two parts: first part is the foundation and update of video database, and second part is the search of periphery video.Lead to below
A pair of method provided by the invention of embodiment is crossed to be described.
Embodiment one,
Fig. 1 is the method flow diagram for the video search that the embodiment of the present invention one provides, and the user terminal being directed to can
To include but is not limited to the equipment such as smart phone, tablet computer, PC, the server being related to refers to that view can be provided for user
The server of frequency search service is in this way, subsequent no longer illustrate in the embodiment of the present invention.As shown in fig. 1, this method can be with
The following steps are included:
Step 101: the geographical location information and video playing behavioural information of server collection user terminal.
In this step, user terminal can be by the data upload interface between server by the geography of user terminal
Location information and video playing behavioural information information are uploaded onto the server.Here it is logical that geographical location information can be user terminal
Cross what positioning was got, such as the wireless class user terminal with positioning function can be positioned by such as GPS, WiFi, base station
Positioning etc. gets the geographical location information of oneself, which can be accurate latitude and longitude information, or thick
The address information etc. of granularity.
However not having the user terminal of wireless locating function for PC etc., server is available to arrive user terminal
IP address information, corresponding geographical location information is inquired by IP address information, user that this mode is usually got is whole
The geographical location information at end is the address information of coarseness, such as the XX province city XX XX cell.
The video resource information played is included at least in video playing behavioural information, can further include: broadcasting
The information such as duration, play time.
Step 102: being stored in video after the corresponding video playing behavioural information of same geographical location information is integrated
Database, and geographical location information is created and is indexed.
Geographical location information can be created as to POI(Point of Interest, point of interest in this step), the POI
It can be made of unique identifier poi_id and geographical location information, wherein address information can be latitude and longitude information, can also be with
It is the address information of coarseness, using poi_id as the index of corresponding video playing behavioural information, i.e., " geographical location information=>
Poi_id ", in order to improve search speed, which be can store in memory.
Then the video playing behavioural information of the same POI is integrated, the video playing behavioural information after integration is removed
It can also include that information, these information such as broadcasting time, playing duration, play time are stored in except video resource information
It in database, is identified with poi_id, such as can be using storage form shown in table 1:
Table 1
poi_id |
Address(address name) |
Num(corresponds to the number of video resource) |
Ext(corresponds to the set of video resource) |
Can also include step 103 other than above-mentioned two step: server obtains the illegal view of user terminal report
Frequency resource information, and illegal video resource information is recorded.
In this step, user can pass through user terminal if it find that there is the illegal videos resource such as sensitivity, pornographic
Report interface between server reports the illegal video resource information, and server can be according to scheduled strategy, by video
Illegal video resource in database is recorded, such as will report that number is more than that the video resource information of preset threshold is determined as
Illegal video resource information can also be aided with the artificial identification of supervisor, such as after receiving the report of user terminal, by supervising
Pipe personnel are manually determined whether by edition interface for illegal video resource information.This step is a kind of preferred function of the invention
It can, it is not essential however to the step of.
Above-mentioned steps 101 to step 103 is the foundation of video database and the content for updating part, and the execution of the process is
It carries out persistently and independently, will not be affected because of video search process.Following step is periphery video search part
Content:
Step 111: when server receives the periphery video search request for carrying out user terminal, obtaining inquiry radius information
And geographical location information and the determining geographical location information to be searched of the user terminal.
In this step, when user wants inquiry periphery video resource, user terminal input inquiry radius, example can be passed through
The interested video resource of periphery user within the scope of 2km is such as searched for, after triggering periphery video search, user terminal just passes through
Video search interface between server sends the request of periphery video search to server, includes inquiry radius in the request
Information.If user does not have input inquiry radius, periphery video search is only triggered, then may be not comprising looking into request
Radius information is ask, then server is just using the inquiry radius information of default, such as the inquiry radius of default is used uniformly and is
1km.It is known as the user for sending the request of periphery video search to request user in the present embodiment.
It is similar with step 101, in this step when obtaining the geographical location information of user terminal, for having positioning function
The wireless class user terminal of energy can will position obtained geographical location information carrying and be sent in the request of periphery video search
Server.Do not have the user terminal of wireless locating function for PC etc., server can be requested from periphery video search
The middle IP address for obtaining user terminal inquires corresponding geographical location information according to IP address.
When determining geographical location information to be searched, first according to the geographical location information of user terminal and inquiry radius letter
Breath calculates query context, which may be an approximate range, allow to have acceptable error.Then
The POI of video resource each in video database is searched, poi_ of the geographical location information in above-mentioned query context is searched
Id, wherein if there are quantity limitations to the poi_id of search, it can be since the geographical location information of user terminal by close
And the remote search for carrying out POI, determine corresponding poi_id.The poi_id is exactly geographical location information to be searched.
Step 112: video resource information corresponding to geographical location information to be searched in search video database.
After hunting out poi_id, corresponding video resource information can be found by looking into video database.In the present invention
The video resource information searched in this step can be directly returned to send periphery as video search result in embodiment
The user terminal of video search request.Step 113 can also further be executed.
Step 113: according to the illegal video resource information for the user terminal report that server in step 103 records, will walk
The illegal video resource information in video resource information that rapid 112 search obtains is filtered.
In order to help user to be quickly found out useful, hot spot or interested video, step can be further executed
114。
Step 114: will according at least one of broadcasting time, video quality, playing duration and the interest for requesting user
After the video resource information searched is ranked up, the use for sending the request of periphery video search is returned to as video search result
Family terminal.
The broadcasting time major embodiment temperature of video resource, the more video resource temperature of broadcasting time is higher, sequence
Shi Youxian comes front.
It is preferentially arranged when being ranked up according to video quality, when can be by video quality higher video resource information sorting
In front.In embodiments of the present invention, the identification of resolution ratio can be carried out down online for the video resource in video database,
Determine that video quality, the video quality of the higher video resource of usual resolution ratio are higher according to the resolution ratio of each video resource.
Playing duration embodies user to the favorable rating of video resource to a certain extent, and usual playing duration is longer
Video resource illustrates that user is higher to its favorable rating, if playing duration is shorter, illustrates user to its favorable rating
It is lower.When being ranked up using playing duration to video resource, can and/or average value total according to absolute playing duration come
It is ranked up, can also be ranked up according to the total and/or average value of opposite playing duration, so-called opposite playing duration
It is exactly the ratio of actual play duration Yu video resource duration.
Due to server can the video playing behavioural information to each user terminal be collected, then can be to each
The video playing behavioural information of user is analyzed, and user interest model is established, can using the user interest model of foundation
Judge user to the interest level of some video resource information.It simply gives one example herein: each video resource
It is provided with the label about video resource type, content, feature, the performer etc., such as: film, playlet, amusement, is feared TV play
Fear, terrible, plot, comedy, Liu Dehua, Liang Chaowei ... can establish a use using the label of the played video of user
Family interest model, the user interest model can be user to the interest weight of each label.For each in video search result
Video resource information utilizes label possessed by the user interest model and video resource information, it will be able to obtain user couple
The interest level of the video resource information.According to user to the interest level of the video resource information, by interest level
Higher video resource information comes more forward position.It should be noted that since video of the server to user terminal is broadcast
It is lasting for putting the collection of behavioural information, therefore the user interest model established is that can obtain continuous updating so as to reflect
Latest stage user interest.But the present invention is not limited to the modes that this kind establishes user interest model, no longer poor one by one herein
It lifts.
When carrying out the sequence of video resources using at least two in above several factors simultaneously, can using to it is each because
Element setting weighting coefficient, by carry out after each factor gives a mark to video resource weighted sum in the way of, it is final according to weighting
The scores of summation carry out the sequence of video resource.
It is the detailed description carried out to method provided by the present invention above, it is right below with reference to embodiment two and embodiment three
Device provided by the invention is described in detail.
Embodiment two,
Fig. 2 is the structure chart of video searching apparatus provided by Embodiment 2 of the present invention, the view provided in an embodiment of the present invention
Frequency searcher is set to server end, provides video search service for user terminal, and as shown in Figure 2, which includes view
Frequency Database unit 00 and periphery video search unit 10, can further include resource screen unit 20.
Wherein video database establishes unit 00 and mainly completes the foundation of video database and update the operation of part, periphery
Video search unit 10 mainly completes the operation of the search part of periphery video resource.Specifically, video database establishes unit
00 includes: that information collects subelement 01 and integrates storing sub-units 02.
Information collects subelement 01 and is responsible for collecting the geographical location information and video playing behavioural information of user terminal.
Here, information, which collects subelement 01, obtains user's end by the data upload interface between user terminal and server
Hold the geographical location information uploaded and video playing behavioural information information.Here it is logical that geographical location information can be user terminal
Cross what positioning was got, such as the wireless class user terminal with positioning function can be positioned by such as GPS, WiFi, base station
Positioning etc. gets the geographical location information of oneself, which can be accurate latitude and longitude information, or thick
The address information etc. of granularity.However not having the user terminal of wireless locating function for PC etc., information collects subelement
The IP address of 01 also available user terminal inquires corresponding geographical location information by IP address information, and this mode is logical
The geographical location information of the user terminal often got is the address information of coarseness, such as the XX province city XX XX cell.
The video resource information played is included at least in video playing behavioural information, can further include: broadcasting
The information such as duration, play time.
Later, storing sub-units 02 are integrated to be responsible for carrying out the corresponding video playing behavioural information of same geographical location information
Video database is stored in after integration.
In addition to this, it can also include: POI creation subelement 03 that video database, which establishes unit 00, be responsible for geographical position
Confidence breath is created as POI, which includes poi_id and geographical location information;Using poi_id as corresponding video playing behavior letter
The index of breath, i.e. " geographical location information=> poi_id ", in order to improve search speed, which be can store in memory
In.
The video playing behavioural information after storing sub-units 02 are integrated is integrated other than video resource information, can also be wrapped
The information such as broadcasting time, playing duration, play time are included, these information are stored in database profession, and are identified with poi_id.
Periphery video search unit 10 in the device specifically includes: request processing subelement 11, video search subelement
12 and result generate subelement 13.
When request processing subelement 11 is responsible for receiving the periphery video search request of user terminal, from the request
It obtains the geographical location information of inquiry radius information and the user terminal and determines geographical location information to be searched.
The subelement 11 of request processing herein can pass through the video search interface week between user terminal and server
The request of side video search.If user has input inquiry radius, meeting in the request of periphery video search when triggering user terminal
Comprising inquiring radius information, if user only triggers user terminal and has sent the request of periphery video search, and non-input inquiry
Radius, then may be not comprising inquiry radius information, then request processing subelement 11 is just adopted in the request of periphery video search
With the inquiry radius information of default.
Equally, geographical location information here can be what user terminal was got by positioning, such as with positioning function
The wireless class user terminal of energy can get the geographical location letter of oneself by GPS, WiFi positioning, base station location etc.
Breath, the geographical location information can be the address information etc. of accurate latitude and longitude information or coarseness.However for such as
PC etc. does not have a user terminal of wireless locating function, the IP address of request processing subelement 11 also available user terminal,
Corresponding geographical location information, the geographical location letter for the user terminal that this mode is usually got are inquired by IP address information
Breath is the address information of coarseness, such as the XX province city XX XX cell.
Video search subelement 12, for searching for video corresponding to geographical location information to be searched in video database
Resource information.
Specifically, request processing subelement 11 is when determining geographical location information to be searched, according to transmission periphery video
The geographical location information and inquiry radius information of the user terminal of searching request calculate query context, to each POI created
It is searched, searches poi_id of the geographical location information in query context, which is exactly geographical location letter to be searched
Breath.Video search subelement 12 determines the corresponding video resource information of poi_id hunted out by inquiry video database.
As a result subelement 13 is generated to be responsible for generating video search result using the video resource information searched and return to
Send the user terminal of periphery video search request.
When in the device including resource screen unit 20, the available user terminal of resource screen unit 20 (passes through report
Interface) report illegal video resource information, and illegal video resource information is recorded;It is provided according to the illegal video of record
Source information is filtered the video resource information that video search subelement 12 searches.Result generates subelement 13 and generates in this way
Video search result in would not include illegal video resource information.
In order to help user to be quickly found out useful, hot spot or interested video, it is single that above-mentioned result generates son
Member 13, can also be single by video search according at least one of broadcasting time, video quality, playing duration and user interest
The video resource information that member 12 searches is used as video search result after being ranked up;Wherein broadcasting time and playing duration are from receipts
It is obtained in user's broadcasting behavior of collection, video quality determines after being identified by the resolution ratio to video resource information, user
Interest determines after being collected and analyze by the video playing behavioural information to same user.
The broadcasting time major embodiment temperature of video resource, the more video resource temperature of broadcasting time is higher, sequence
Shi Youxian comes front.
It is preferentially arranged when being ranked up according to video quality, when can be by video quality higher video resource information sorting
In front.In embodiments of the present invention, the identification of resolution ratio can be carried out down online for the video resource in video database,
Determine that video quality, the video quality of the higher video resource of usual resolution ratio are higher according to the resolution ratio of each video resource.
Playing duration embodies user to the favorable rating of video resource to a certain extent, and usual playing duration is longer
Video resource illustrates that user is higher to its favorable rating, if playing duration is shorter, illustrates user to its favorable rating
It is lower.When being ranked up using playing duration to video resource, can and/or average value total according to absolute playing duration come
It is ranked up, can also be ranked up according to the total and/or average value of opposite playing duration, so-called opposite playing duration
It is exactly the ratio of actual play duration Yu video resource duration.
Due to server can the video playing behavioural information to each user terminal be collected, then can be to each
The video playing behavioural information of user is analyzed, and user interest model is established, can using the user interest model of foundation
Judge user to the interest level of some video resource information.The mode for wherein establishing user interest model can be using existing
Have any mode in technology, simply give one example herein: each video resource is both provided with about the video resource
The label of type, content, feature, performer etc., such as: film, TV play, playlet, amusement, terror, terrible, plot, comedy, Liu
Moral China, Liang Chaowei ... can establish a user interest model using the label of the played video of user, and the user is emerging
Interesting model can be user to the interest weight of each label.For each video resource information in video search result, this is utilized
Label possessed by user interest model and video resource information, it will be able to it is emerging to the sense of the video resource information to obtain user
Interesting degree.According to user to the interest level of the video resource information, the higher video resource information of interest level is arranged
In more forward position.It should be noted that since collection of the server to the video playing behavioural information of user terminal is to hold
Continuous, therefore the user interest model established can obtain continuous updating so as to reflect latest stage user interest.
This sequence carried out based on user interest, realizes targeted personalized recommendation.
When carrying out the sequence of video resources using at least two in above several factors simultaneously, can using to it is each because
Element setting weighting coefficient, by carry out after each factor gives a mark to video resource weighted sum in the way of, it is final according to weighting
The scores of summation carry out the sequence of video resource.
Embodiment three,
Fig. 3 is the structure drawing of device for the video search that the embodiment of the present invention three provides, which can be set in user's end
End, such as exist in the form of client, as shown in Figure 3, which includes: request transmitting unit 31, result receiving unit
32 and reporting position unit 33;It can further include user interaction unit 34 and report unit 35.
Request transmitting unit 31 is responsible for sending by the video search interface between user terminal and server to server
The request of periphery video search.Under normal conditions, periphery video search request is sent under the trigger of the user, user's interaction
Unit 34 is responsible for obtaining the inquiry radius information of user's input.When user wants inquiry periphery video resource, user can be passed through
34 input inquiry radius of interactive unit, user interaction unit 34 get the inquiry radius information of user's input, when triggering periphery
After video search, request transmitting unit 31 includes the inquiry radius information in the request of periphery video search, so that server is from week
Inquiry radius information is obtained in the request of side video search.If the non-input inquiry radius information of user, i.e. user interaction unit 34 are not
The inquiry radius information of user's input is got, then request transmitting unit 31 does not include inquiry half in the request of periphery video search
Diameter information, so that server is using the inquiry radius information of default.
As a result receiving unit 32 is responsible for obtaining the video search result that server returns, and video search result is that server obtains
After taking the geographical location information of inquiry radius information and user terminal and determining geographical location information to be searched, video is searched for
Video resource information corresponding to geographical location information to be searched in database is generated using the video resource information searched
's.
When determining geographical location information to be searched, first according to the geographical location information of user terminal and inquiry radius letter
Breath calculates query context, which may be an approximate range, allow to have acceptable error.Then
The POI of video resource each in video database is searched, poi_ of the geographical location information in above-mentioned query context is searched
Id, wherein if there are quantity limitations to the poi_id of search, it can be since the geographical location information of user terminal by close
And the remote search for carrying out POI, determine corresponding poi_id.The poi_id is exactly geographical location information to be searched.It hunts out
After poi_id, corresponding video resource information can be found by looking into video database.
In order to realize server to the geographical location information of user terminal and the collection of video playing behavioural information, on position
Declaration form member 33 is responsible for sending the geography of user terminal to server by the data upload interface between user terminal and server
Location information and video playing behavioural information, so that server is by the corresponding video playing behavioural information of same geographical location information
Video database is stored in after being integrated.The video resource information played is included at least in video playing behavioural information, may be used also
To further comprise: the information such as duration, play time of broadcasting.
Further, the report unit 35 in the device can pass through the report interface between user terminal and server
Illegal video resource information is reported to server, so that server carries out record and according to the illegal video resource information pair of record
The video resource information searched is filtered.
In order to help user to be quickly found out useful, hot spot or interested video, the above results receiving unit 32
The video search result received is will according at least one of broadcasting time, video quality, playing duration and user interest
Server search to video resource information be ranked up after video search result.Wherein broadcasting time, video quality are by taking
Business device is obtained from user's broadcasting behavior, after video quality is identified by server by the resolution ratio to video resource information
It determines, user interest determines after being collected and analyzed by the video playing behavioural information to same user by server.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it
Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
Only a kind of logical function partition, there may be another division manner in actual implementation.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer
It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the present invention
The part steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. it is various
It can store the medium of program code.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Within mind and principle, any modification, equivalent substitution, improvement and etc. done be should be included within the scope of the present invention.
Claims (20)
1. a kind of method of video search, which is characterized in that this method comprises:
S21, when receiving the periphery video search request for carrying out user terminal, the inquiry radius information and user terminal is obtained
Geographical location information and determine geographical location information to be searched;
Video resource information corresponding to geographical location information to be searched described in S22, search video database;
S23, video search result is generated using the video resource information searched and returns to the transmission periphery video search
The user terminal of request;
The wherein foundation of the video database includes:
S11, the geographical location information and video playing behavioural information for collecting user terminal;
S12, video database is stored in after being integrated the corresponding video playing behavioural information of same geographical location information.
2. the method according to claim 1, wherein the collection of the geographical location information of the user terminal or obtaining
It takes and includes:
Receive the geographical location information that user terminal is got and uploaded by positioning;Alternatively,
The IP address information for obtaining user terminal inquires corresponding geographical location information by the IP address information.
3. the method according to claim 1, wherein in the step S12 further include:
Geographical location information is created as point of interest POI, which includes unique identifier poi_id and geographical location information;It will
Index of the poi_id as corresponding video playing behavioural information.
4. according to the method described in claim 3, it is characterized in that, determining geographical location letter to be searched described in step S21
Breath specifically includes: according to the geographical location information and inquiry radius information of the user terminal for sending the periphery video search request
Query context is calculated, each POI created is searched, searches poi_ of the geographical location information in the query context
id;
Step S22 is specifically included: determining that the corresponding video resource of poi_id hunted out is believed by inquiring the video database
Breath.
5. the method according to claim 1, wherein the radius information of acquisition inquiry described in step S21 includes:
Obtain the inquiry radius information for including in the periphery video search request;Alternatively,
If not comprising inquiry radius information in the periphery video search request, using the inquiry radius information of default.
6. the method according to claim 1, wherein the foundation of the video database further include: obtain user
The illegal video resource information of terminal report, and illegal video resource information is recorded;
Between the step S22 and step S23 further include: according to the illegal video resource information of record to the video searched
Resource information is filtered.
7. according to claim 1 to method described in 6 any claims, which is characterized in that using searching described in step S23
It includes: according in broadcasting time, video quality, playing duration and user interest that video resource information, which generates video search result,
At least one video resource information that will be searched is used as video search result after being ranked up;
Wherein the broadcasting time and playing duration are obtained from user's broadcasting behavior of collection, and the video quality passes through to view
The resolution ratio of frequency resource information determines that the user interest passes through the video playing behavioural information to same user after being identified
It is determined after being collected and analyzing.
8. a kind of method of video search, which is characterized in that this method comprises:
User terminal sends the request of periphery video search to server;
The video search result that the server returns is obtained, the video search result is that the server obtains inquiry radius
After the geographical location information of information and user terminal and determining geographical location information to be searched, institute in video database is searched for
Video resource information corresponding to geographical location information to be searched is stated, is generated using the video resource information searched;
Wherein in the establishment process of the video database, the user terminal sends the user terminal to the server
Geographical location information and video playing behavioural information, so that the server broadcasts the corresponding video of same geographical location information
It puts after behavioural information is integrated and is stored in video database.
9. according to the method described in claim 8, it is characterized in that, if the user terminal gets the inquiry half of user's input
Diameter information includes then the inquiry radius information in periphery video search request, so that the server is regarded from the periphery
The inquiry radius information is obtained in frequency searching request;
If the inquiry radius information of user's input has not been obtained in the user terminal, do not wrapped in the periphery video search request
The radius information containing inquiry, so that the server is using the inquiry radius information of default.
10. according to the method described in claim 8, it is characterized in that, this method further include:
The user terminal reports illegal video resource information to the server, so that the server record simultaneously basis
The illegal video resource information of record is filtered the video resource information searched.
11. a kind of device of video search, which is characterized in that the device includes: that video database establishes unit and periphery video
Search unit;
Wherein the video database establishes unit and includes:
Information collects subelement, for collecting the geographical location information and video playing behavioural information of user terminal;
Storing sub-units are integrated, for storing after being integrated the corresponding video playing behavioural information of same geographical location information
In video database;
The periphery video search unit includes:
Request processing subelement when for receiving the periphery video search request for carrying out user terminal, obtains inquiry radius letter
The geographical location information of breath and the user terminal simultaneously determines geographical location information to be searched;
Video search subelement, for searching for view corresponding to geographical location information to be searched described in the video database
Frequency resource information;
As a result subelement is generated, sends institute for generating video search result using the video resource information searched and returning to
State the user terminal of periphery video search request.
12. device according to claim 11, which is characterized in that the information collects subelement and collecting user terminal
When geographical location information or the request processing subelement is when obtaining the geographical location information of user terminal, is specifically used for
The geographical location information that user terminal is got and uploaded by positioning is received, alternatively, the IP address information of user terminal is obtained,
Corresponding geographical location information is inquired by the IP address information.
13. device according to claim 11, which is characterized in that the video database establishes unit further include: POI wound
Subelement is built, for geographical location information to be created as point of interest POI, which includes unique identifier poi_id and geographical position
Confidence breath;Using poi_id as the index of corresponding video playing behavioural information.
14. device according to claim 13, which is characterized in that the request processing subelement is determining ground to be searched
When managing location information, specifically for according to the geographical location information of the user terminal for sending periphery video search request and looking into
It askes radius information and calculates query context, each POI created is searched, search geographical location information in the inquiry model
Enclose interior poi_id;
The video search subelement, specifically for determining that the poi_id hunted out is corresponding by inquiring the video database
Video resource information.
15. device according to claim 11, which is characterized in that the request processing subelement is obtaining inquiry radius letter
When breath, specifically for obtaining the inquiry radius information for including in the request of periphery video search, alternatively, if the periphery video search
Not comprising inquiry radius information in request, then using the inquiry radius information of default.
16. device according to claim 11, which is characterized in that the device further include: resource screen unit, for obtaining
The illegal video resource information of user terminal report, and illegal video resource information is recorded;According to the illegal view of record
The video resource information that frequency resource information searches the video search subelement is filtered.
17. device described in 1 to 16 any claim according to claim 1, which is characterized in that the result generates subelement, also
For according at least one of broadcasting time, video quality, playing duration and user interest by the video search subelement
The video resource information searched is used as video search result after being ranked up;
Wherein the broadcasting time and playing duration are obtained from user's broadcasting behavior of collection, and the video quality passes through to view
The resolution ratio of frequency resource information determines that the user interest passes through the video playing behavioural information to same user after being identified
It is determined after being collected and analyzing.
18. a kind of device of video search, the device are set to user terminal, which is characterized in that the device includes:
Request transmitting unit, for sending the request of periphery video search to server;
As a result receiving unit, the video search result returned for obtaining the server, the video search result is described
After server obtains the geographical location information of inquiry radius information and user terminal and determines geographical location information to be searched,
Video resource information corresponding to geographical location information to be searched described in video database is searched for, the video searched is utilized
What resource information generated;
Reporting position unit, for sending geographical location information and the video playing behavior of the user terminal to the server
Information is stored in view after being integrated the corresponding video playing behavioural information of same geographical location information for the server
Frequency database.
19. device according to claim 18, which is characterized in that the device further include:
User interaction unit, for obtaining the inquiry radius information of user's input;
If the user interaction unit gets the inquiry radius information of user's input, the request transmitting unit is in the week
Video search request in side includes the inquiry radius information, so that the server obtains institute from periphery video search request
State inquiry radius information;
If the inquiry radius information of user's input has not been obtained in the user interaction unit, the request transmitting unit is described
Inquiry radius information is not included in the request of periphery video search, so that the server is using the inquiry radius information of default.
20. device according to claim 18, which is characterized in that the device further include:
Unit is reported, for reporting illegal video resource information to the server, so that the server record simultaneously root
The video resource information searched is filtered according to the illegal video resource information of record.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310547358.1A CN104636336B (en) | 2013-11-06 | 2013-11-06 | A kind of method and apparatus of video search |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310547358.1A CN104636336B (en) | 2013-11-06 | 2013-11-06 | A kind of method and apparatus of video search |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104636336A CN104636336A (en) | 2015-05-20 |
CN104636336B true CN104636336B (en) | 2019-07-09 |
Family
ID=53215108
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310547358.1A Active CN104636336B (en) | 2013-11-06 | 2013-11-06 | A kind of method and apparatus of video search |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104636336B (en) |
Families Citing this family (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935967B (en) * | 2015-06-19 | 2017-12-01 | 北京数码视讯科技股份有限公司 | The interest recognition methods of video terminal user a kind of and device |
CN104991971B (en) * | 2015-07-28 | 2019-01-18 | 无锡天脉聚源传媒科技有限公司 | A kind of processing method and processing device of video information |
CN105426463A (en) * | 2015-11-13 | 2016-03-23 | 深圳市至壹科技开发有限公司 | Video file indexing method and server |
CN105898424A (en) * | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Video recommendation method and system and server |
CN105872636A (en) * | 2015-12-15 | 2016-08-17 | 乐视致新电子科技(天津)有限公司 | Video pushing method and system, and device based on CDN (Content Delivery Network) |
CN105812959A (en) * | 2016-04-28 | 2016-07-27 | 武汉斗鱼网络科技有限公司 | Method and device for labeling wonderful point of video player |
CN107404659B (en) * | 2016-07-01 | 2019-11-26 | 北京都在哪网讯科技有限公司 | Network video display methods and device |
CN106385634A (en) * | 2016-09-07 | 2017-02-08 | 合智能科技(深圳)有限公司 | Video recommendation method and device |
CN107066493A (en) * | 2016-12-29 | 2017-08-18 | 广州联客信息科技有限公司 | The sort result optimization method and system of a kind of search engine of utilization IP address |
CN111290807A (en) * | 2018-12-10 | 2020-06-16 | 上海擎感智能科技有限公司 | List display method, vehicle machine and vehicle |
CN110049356A (en) * | 2019-01-23 | 2019-07-23 | 阿里巴巴集团控股有限公司 | Display control method, device and electronic equipment |
CN111125102B (en) * | 2019-12-16 | 2023-03-21 | 北京明略软件系统有限公司 | Data query method and device based on index data |
CN111310008A (en) * | 2020-03-20 | 2020-06-19 | 北京三快在线科技有限公司 | Search intention recognition method and device, electronic equipment and storage medium |
CN111563100A (en) * | 2020-04-28 | 2020-08-21 | 张乐 | Communication equipment and system |
CN114329223A (en) * | 2022-01-04 | 2022-04-12 | 北京字节跳动网络技术有限公司 | Media content searching method, device, equipment and medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184224A (en) * | 2011-05-09 | 2011-09-14 | 李郁文 | System and method for screening search results |
CN102289520A (en) * | 2011-09-15 | 2011-12-21 | 山西四和交通工程有限责任公司 | Traffic video retrieval system and realization method thereof |
-
2013
- 2013-11-06 CN CN201310547358.1A patent/CN104636336B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184224A (en) * | 2011-05-09 | 2011-09-14 | 李郁文 | System and method for screening search results |
CN102289520A (en) * | 2011-09-15 | 2011-12-21 | 山西四和交通工程有限责任公司 | Traffic video retrieval system and realization method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN104636336A (en) | 2015-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104636336B (en) | A kind of method and apparatus of video search | |
CN105701216B (en) | A kind of information-pushing method and device | |
CN103888837B (en) | A kind of video information method for pushing and device | |
US9158794B2 (en) | System and method for presentation of media related to a context | |
JP5078674B2 (en) | Analysis system, information processing apparatus, activity analysis method, and program | |
KR101847360B1 (en) | Method, apparatus and system for implementing location based services | |
US20100082427A1 (en) | System and Method for Context Enhanced Ad Creation | |
CN107426620B (en) | Program content recommendation method | |
TW201727558A (en) | System, method, and device for generating a geographic area heat map | |
CN103793403A (en) | Method and device for forwarding and searching information related with results | |
CN101833570A (en) | Method and device for optimizing page push of mobile terminal | |
CN101464881A (en) | Method and system for generating media recommendations in a distributed environment based on tagging play history information with location information | |
US7783636B2 (en) | Personalized information retrieval search with backoff | |
CN103942221B (en) | Search method and equipment | |
CN104717526B (en) | Multi-medium data method for pushing and device | |
JP2010009315A (en) | Recommended store presentation system | |
CN103970861A (en) | Information presenting method and device | |
CN107885873A (en) | Method and apparatus for output information | |
CN108205770A (en) | The acquisition methods and device of a kind of target medium | |
CN108205769A (en) | A kind of acquisition methods and device of target outdoor media | |
CN106528851A (en) | Intelligent recommendation method and device | |
CN111177289A (en) | Method and system for extracting and checking related information of data space of multi-source network | |
CN107968807A (en) | Automatically update the method and device of local cache resource | |
KR101682659B1 (en) | Method for customized news alarm based on keyword and management server for news search for the same | |
CN109635192A (en) | Magnanimity information temperature seniority among brothers and sisters update method and platform towards micro services |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20161221 Address after: 100193 room 303-305, building, East District, No. 10, Wang Dong Road, Beijing, Haidian District Applicant after: Beijing small mutual Entertainment Technology Co., Ltd. Address before: 100085 Beijing, Haidian District, No. ten on the street Baidu building, No. 10 Applicant before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |