TW201907323A - Method for displaying and providing video result item, client, and server - Google Patents

Method for displaying and providing video result item, client, and server Download PDF

Info

Publication number
TW201907323A
TW201907323A TW107103627A TW107103627A TW201907323A TW 201907323 A TW201907323 A TW 201907323A TW 107103627 A TW107103627 A TW 107103627A TW 107103627 A TW107103627 A TW 107103627A TW 201907323 A TW201907323 A TW 201907323A
Authority
TW
Taiwan
Prior art keywords
video
barrage
result item
result
item
Prior art date
Application number
TW107103627A
Other languages
Chinese (zh)
Inventor
李寧
季寶朋
劉云劍
劉尚堃
王建宇
潘柏宇
項青
Original Assignee
中國商優酷信息技術(北京)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中國商優酷信息技術(北京)有限公司 filed Critical 中國商優酷信息技術(北京)有限公司
Publication of TW201907323A publication Critical patent/TW201907323A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data

Abstract

Embodiments of the application disclose a method for displaying and providing a video result item, a client, and a server, wherein the display method comprises: sending a search request comprising a search keyword to a server; receiving a video result set fed back by the server and matched with the search keyword, the video result set comprising at least one video result item associated with bullet screen data; and displaying each video result item of the video result set on a search result page, wherein when a video result item associated with the bullet screen data is displayed, the associated bullet screen data is displayed in an area occupied by the video result item. The technical solution provided by the application can improve efficiency of video selection by users.

Description

視訊結果項的展示、提供方法、客戶端及伺服器  Video result item display, providing method, client and server  

本申請涉及互聯網技術領域,特別涉及一種視訊結果項的展示、提供方法、客戶端及伺服器。 The present application relates to the field of Internet technologies, and in particular, to a display, a providing method, a client, and a server for a video result item.

當前的視訊播放平台通常都會提供視訊搜尋功能,透過接收用戶輸入的搜尋關鍵詞,便可以向用戶提供與所述搜尋關鍵詞相適配的視訊結果項。 The current video playback platform usually provides a video search function, and by receiving a search keyword input by the user, the video result item adapted to the search keyword can be provided to the user.

隨著視訊數量的不斷攀升,根據搜尋關鍵詞反饋的視訊結果項的數量通常會較多。為了從眾多的視訊結果項中挑選自己感興趣的視訊,用戶通常會根據視訊結果項的歷史點擊次數來進行判斷,歷史點擊次數越多,表明該視訊結果項越受歡迎。 As the number of video messages continues to rise, the number of video result items that are fed back based on search keywords is usually higher. In order to select the video of interest from a large number of video result items, the user usually judges according to the historical clicks of the video result item, and the more the number of historical clicks, the more popular the video result item is.

然而,歷史點擊次數無法反應視訊結果項表徵的視訊的實際內容。如果需要對視訊內容進行進一步的確定,用戶則需要點擊各個視訊結果項,以進入實際的視訊頁面。在視訊頁面中,可以展示用戶發表的評論信息。這樣,用戶透過查看視訊的評論信息,從而可以確定該視訊是否是自己感興趣的視訊。 However, historical clicks do not reflect the actual content of the video represented by the video result item. If the video content needs to be further determined, the user needs to click on each video result item to enter the actual video page. In the video page, you can display the comment information posted by the user. In this way, the user can determine whether the video is of interest to the user by viewing the comment information of the video.

由上可見,在當前的視訊結果項的展示方式中,用戶需要逐一點擊各個視訊結果項,才能確定自身是否對視訊 的內容感興趣。這樣的方式會給用戶帶來較大的負擔,無法高效地讓用戶在視訊結果項中篩選出感興趣的視訊。 It can be seen from the above that in the current display method of the video result item, the user needs to click each video result item one by one to determine whether he is interested in the content of the video. Such a method will impose a large burden on the user, and cannot effectively filter the video of interest in the video result item.

本申請實施方式的目的是提供一種視訊結果項的展示、提供方法、客戶端及伺服器,能夠提高用戶篩選視訊的效率。 The purpose of the embodiments of the present application is to provide a display, a providing method, a client, and a server for a video result item, which can improve the efficiency of screening video by the user.

為實現上述目的,本申請實施方式提供一種視訊結果項的展示方法,所述方法包括:向伺服器發送包含搜尋關鍵詞的搜尋請求;接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項;在搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。 To achieve the above objective, an embodiment of the present application provides a method for displaying a video result item, where the method includes: sending a search request including a search keyword to a server; and receiving the server feedback to match the search keyword. a video result set, the video result set includes at least one video result item associated with the barrage data; displaying, in the search result page, each video result item in the video result set; wherein, when the display is related to the barrage data When the video result item is linked, the associated barrage data is displayed in an area occupied by the video result item.

為實現上述目的,本申請實施方式還提供一種客戶端,所述客戶端包括網路通信端口、處理器以及顯示器,其中:所述網路通信端口,用於與伺服器進行資料互動;所述顯示器,用於顯示所述伺服器反饋的視訊結果集中的各個視訊結果項;所述處理器,用於控制所述網路通信端口向所述伺服器發送包含搜尋關鍵詞的搜尋請求並透過所述網路通信端口接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項;在所述顯示器的搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊 結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。 To achieve the above objective, an embodiment of the present application further provides a client, where the client includes a network communication port, a processor, and a display, where: the network communication port is configured to perform data interaction with a server; a display, configured to display respective video result items in the video result set fed back by the server; the processor, configured to control the network communication port to send a search request including a search keyword to the server Receiving, by the network communication port, a video result set that is matched by the server and matched with the search keyword, where the video result set includes at least one video result item associated with the barrage data; searching in the display Displaying, in the result page, each video result item in the video result set; wherein, when displaying the video result item associated with the barrage data, displaying the associated barrage data in an area occupied by the video result item .

為實現上述目的,本申請實施方式還提供一種視訊結果項的提供方法,所述方法包括:接收客戶端發來的包含搜尋關鍵詞的搜尋請求,並從資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項;當所述至少一個視訊結果項中存在與彈幕資料相關聯的目標結果項時,獲取所述目標結果項關聯的彈幕資料,並將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目標結果項時,所述客戶端在所述目標結果項所佔的區域中顯示關聯的所述彈幕資料。 To achieve the above objective, the embodiment of the present application further provides a method for providing a video result item, where the method includes: receiving a search request sent by a client, including a search keyword, and obtaining the search keyword from the database. Corresponding at least one video result item; when there is a target result item associated with the barrage data in the at least one video result item, acquiring the barrage data associated with the target result item, and the at least one video message The result item and the obtained barrage data are fed back to the client, so that the client displays each video result item in the search result page; wherein, when the target result item associated with the barrage material is displayed, The client displays the associated barrage material in an area occupied by the target result item.

為實現上述目的,本申請實施方式還提供一種伺服器,所述伺服器包括網路通信端口、存儲器以及處理器,其中:所述網路通信端口,用於與客戶端進行資料互動;所述存儲器,用於存儲視訊資源以及與所述視訊資源相關聯的彈幕資料;所述處理器,用於透過所述網路通信端口接收所述客戶端發來的包含搜尋關鍵詞的搜尋請求,並從所述存儲器中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項;當所述至少一個視訊結果項中存在與彈幕資料相關聯的目標結果項時,從所述存儲器中獲取所述目標結果項關聯的彈幕資料,並透過所述網路通信端口將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目 標結果項時,所述客戶端在所述目標果項所佔的區域中顯示關聯的所述彈幕資料。 To achieve the above objective, an embodiment of the present application further provides a server, where the server includes a network communication port, a memory, and a processor, where: the network communication port is configured to perform data interaction with a client; a memory for storing a video resource and a barrage data associated with the video resource; the processor, configured to receive, by using the network communication port, a search request that includes a search keyword sent by the client, Obtaining, from the memory, at least one video result item that matches the search keyword; when there is a target result item associated with the barrage data in the at least one video result item, acquiring from the memory And the at least one video result item and the obtained barrage data are fed back to the client through the network communication port, so that the client is searching Each video result item is displayed in a result page; wherein, when the target result item associated with the barrage material is displayed, the client is at the target The associated barrage material is displayed in the area occupied by the fruit item.

由上可見,在用戶提供了搜尋關鍵詞之後,伺服器在針對該搜尋關鍵詞反饋相適配的視訊結果項時,還可以將其中一部分視訊結果項關聯的彈幕資料一併反饋給用戶的客戶端。所述彈幕資料可以是用戶在觀看視訊的過程中發表的針對該視訊內容的評論或者感想。在客戶端的搜尋結果頁面中,除了顯示各個視訊結果項,還可以在視訊結果項所佔的區域中顯示其關聯的彈幕資料。這樣,用戶可以直接在搜尋結果頁面中查看到視訊結果項對應的彈幕資料,從而使得用戶在無需進行額外的操作的情況下,獲知觀看過視訊的用戶對該視訊的看法,從而確定該視訊是否是自己感興趣的視訊。由上可見,本申請提供的技術方案,在客戶端顯示了搜尋結果頁面之後,用戶不需要進行額外的操作便可以篩選出自己感興趣的視訊,從而提高了視訊篩選的效率,也提高了用戶的體驗。 It can be seen that after the user provides the search keyword, the server can also feed back the video data associated with a part of the video result item to the user when feeding back the adapted video result item for the search keyword. Client. The barrage material may be a comment or a feeling for the video content published by the user during the process of watching the video. In the search result page of the client, in addition to displaying each video result item, the associated barrage data can be displayed in the area occupied by the video result item. In this way, the user can directly view the barrage data corresponding to the video result item in the search result page, so that the user can know the view of the video user and view the video without performing additional operations, thereby determining the video. Is it video that you are interested in? It can be seen from the above that the technical solution provided by the present application can improve the video screening efficiency and improve the user's interest after the client displays the search result page without performing additional operations. Experience.

100‧‧‧網路通信端口 100‧‧‧Network communication port

110‧‧‧網路通信端口 110‧‧‧Network communication port

200‧‧‧處理器 200‧‧‧ processor

210‧‧‧存儲器 210‧‧‧ memory

300‧‧‧顯示器 300‧‧‧ display

310‧‧‧處理器 310‧‧‧ processor

為了更清楚地說明本申請實施方式或現有技術中的技術方案,下面將對實施方式或現有技術描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本申請中記載的一些實施方式,對於本領域普通技術人員來講,在不付出創造性勞動性的前提下,還可以根據這些附圖獲得其他的附圖。 In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings to be used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only Some of the embodiments described in the application can be obtained by those skilled in the art from the drawings without further inventive labor.

圖1為本申請實施方式中伺服器和客戶端的互動示意圖;圖2為本申請實施方式中客戶端介面的第一示意圖; 圖3為本申請實施方式中控件位置的第一示意圖;圖4為本申請實施方式中控件位置的第二示意圖;圖5為本申請實施方式中分析用戶行為資料的流程圖;圖6為本申請實施方式中的客戶端的結構示意圖;圖7為本申請實施方式中的伺服器的結構示意圖。 1 is a schematic diagram of interaction between a server and a client in an embodiment of the present application; FIG. 2 is a first schematic diagram of a client interface in an embodiment of the present application; FIG. 3 is a first schematic diagram of a control position in an embodiment of the present application; The second schematic diagram of the position of the control in the embodiment of the present application; FIG. 5 is a flowchart of analyzing the user behavior data in the embodiment of the present application; FIG. 6 is a schematic structural diagram of the client in the embodiment of the present application; Schematic diagram of the server.

為了使本技術領域的人員更好地理解本申請中的技術方案,下面將結合本申請實施方式中的附圖,對本申請實施方式中的技術方案進行清楚、完整地描述,顯然,所描述的實施方式僅僅是本申請一部分實施方式,而不是全部的實施方式。基於本申請中的實施方式,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施方式,都應當屬於本申請保護的範圍。 In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. The embodiments are only a part of the embodiments of the present application, and not all of them. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.

本申請提供一種視訊結果項的展示和提供方法,所述展示和提供方法可以應用於伺服器和客戶端的系統架構中。其中,所述伺服器可以指視訊播放網站的後台伺服器。所述視訊播放網站例如可以是愛奇藝、搜狐視訊、Acfun等。在本實施方式中並不具體限定所述伺服器的數量。所述伺服器可以為一個伺服器,還可以為幾個伺服器,或者,若干伺服器形成的伺服器集群。 The present application provides a method for displaying and providing a video result item, which can be applied to a server architecture of a server and a client. The server may refer to a background server of the video playing website. The video playing website may be, for example, iQiyi, Sohu video, Acfun, and the like. The number of the servers is not specifically limited in the present embodiment. The server may be a server, or may be several servers, or a server cluster formed by several servers.

所述客戶端可以是具備網路通信功能、資料處理功能以及圖像顯示功能的電子設備。所述電子設備例如可以是台式電腦、平板電腦、筆記本電腦、智慧型手機、數位助理、智慧型可穿戴設備、導購終端、智慧型電視機等。當然,所述 客戶端還可以是在上述電子設備中運行的軟體。所述軟體可以是具備視訊製作功能或者視訊播放功能的軟體。例如,所述軟體可以是安裝於智慧型手機上的應用(Application,APP)。 The client may be an electronic device having a network communication function, a data processing function, and an image display function. The electronic device may be, for example, a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, a shopping guide terminal, a smart television, or the like. Of course, the client may also be a software running in the above electronic device. The software may be a software having a video production function or a video playback function. For example, the software may be an application (Application, APP) installed on a smart phone.

請參閱圖1,本申請提供一種視訊結果項的展示方法,所述方法可以應用於客戶端中。所述方法可以包括以下步驟。 Referring to FIG. 1 , the present application provides a method for displaying a video result item, and the method can be applied to a client. The method can include the following steps.

步驟S11:向伺服器發送包含搜尋關鍵詞的搜尋請求。 Step S11: Send a search request including a search keyword to the server.

在本實施方式中,所述搜尋關鍵詞可以是用戶在視訊播放網站的搜尋欄中輸入的內容。所述搜尋關鍵詞可以是視訊的名稱,也可以是關於視訊內容的描述性短語。例如,所述搜尋關鍵詞可以是“微微一笑很傾城”、“懸疑歐美”、“萊昂納多”等。 In this embodiment, the search keyword may be content input by the user in the search bar of the video playing website. The search keyword may be the name of the video or a descriptive phrase about the video content. For example, the search keyword may be “a little smile, a city”, “suspended Europe”, “Leonardo”, and the like.

在本實施方式中,當用戶在視訊播放網站的搜尋欄中輸入搜尋關鍵詞,並點擊搜尋或者確認等按鍵後,客戶端便可以生成包含所述搜尋關鍵詞的搜尋請求,並向所述視訊播放網站的伺服器發送該搜尋請求。 In this embodiment, when the user inputs a search keyword in the search field of the video play website and clicks a button such as search or confirmation, the client can generate a search request including the search keyword, and send the search request to the video. The server that plays the website sends the search request.

在本實施方式中,所述搜尋請求可以是按照預設規則進行編寫的字符串。其中,所述預設規則可以是所述客戶端與所述伺服器之間遵循的網路通信協議。例如,所述搜尋請求可以是按照HTTP協議進行編寫的字符串。所述預設規則可以限定搜尋請求中的各個組成部分以及各個組成部分之間的排列順序。例如,所述搜尋請求中可以包括請求標識字段、源IP地址字段以及目的IP地址字段。所述請求標識字段可以填 充所述搜尋關鍵詞。所述源IP地址字段可以填寫所述客戶端的IP地址,所述目標IP地址字段可以填寫所述伺服器的IP地址。這樣,所述搜尋請求便可以從所述客戶端發送至所述伺服器處。 In this embodiment, the search request may be a character string that is written according to a preset rule. The preset rule may be a network communication protocol that is followed between the client and the server. For example, the search request may be a string written in accordance with the HTTP protocol. The preset rule may define each component in the search request and the order of arrangement between the components. For example, the search request may include a request identifier field, a source IP address field, and a destination IP address field. The request identification field may fill the search keyword. The source IP address field may fill in an IP address of the client, and the target IP address field may fill in an IP address of the server. In this way, the search request can be sent from the client to the server.

步驟S13:接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項。 Step S13: Receive a video result set that is matched by the server and matched with the search keyword, and the video result set includes at least one video result item associated with the barrage data.

在本實施方式中,所述伺服器中可以提供有視訊資料庫。所述視訊資料庫可以是存儲視訊資料的資料集。所述視訊資料庫可以採用MySQL、Oracle、DB2、Sybase等資料庫格式中的任意一種。所述視訊資料庫可以部署在伺服器中的存儲媒體上。 In this embodiment, a video data library may be provided in the server. The video database may be a data set for storing video data. The video database can adopt any one of database formats such as MySQL, Oracle, DB2, and Sybase. The video library can be deployed on a storage medium in the server.

在本實施方式中,所述視訊資料庫中可以存儲各種視訊資料。所述視訊資料庫中的每個視訊資料可以具備各自的資料標識。所述資料標識與視訊資料之間可以透過key-value(鍵值對)的形式進行存儲,這樣,透過將搜尋關鍵詞與資料標識進行匹配,便可以從所述視訊資料庫中獲取到搜尋關鍵詞對應的視訊資料。 In this embodiment, various video materials can be stored in the video database. Each video material in the video database may have its own data identifier. The data identifier and the video data can be stored in the form of a key-value (key-value pair), so that by matching the search keyword with the data identifier, the search key can be obtained from the video database. Video data corresponding to the word.

在本實施方式中,所述伺服器從所述視訊資料庫中獲取到的每個視訊資料均可以作為一個視訊結果項。其中,一部分視訊資料可以與彈幕資料相關聯。所述彈幕資料可以是歷史用戶在觀看視訊時發表的針對該視訊內容的評論信息或者用戶自身的感想。所述彈幕資料通常都是字符信息。 In this embodiment, each video data obtained by the server from the video database can be used as a video result item. Among them, a part of the video material can be associated with the barrage data. The barrage material may be comment information for the video content published by the historical user when viewing the video or the user's own feelings. The barrage material is usually character information.

在本實施方式中,視訊資料與關聯的彈幕資料可 以同時存儲於所述視訊資料庫中,並且視訊資料與關聯的彈幕資料同樣可以透過key-value的形式進行存儲。這樣,伺服器在從視訊資料庫中獲取視訊資料時,可以將所述視訊資料關聯的彈幕資料一併獲取。 In this embodiment, the video material and the associated barrage data may be simultaneously stored in the video database, and the video data and the associated barrage data may be stored in the form of a key-value. In this way, when the server obtains the video data from the video database, the server can acquire the barrage data associated with the video data.

在本實施方式中,當伺服器獲取了與所述搜尋關鍵詞相適配的視訊資料並且獲取了與視訊資料相關聯的彈幕資料之後,可以將獲取的視訊資料以及關聯的彈幕資料作為視訊結果集反饋至所述客戶端處。這樣,所述客戶端便可以接收到所述視訊結果集,所述視訊結果集中的每一個視訊資料均可以作為一個視訊結果項,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項。 In this embodiment, after the server acquires the video material adapted to the search keyword and acquires the barrage material associated with the video material, the acquired video material and the associated barrage data may be used as The video result set is fed back to the client. In this way, the client can receive the video result set, and each video data in the video result set can be used as a video result item, and the video result set includes at least one video associated with the barrage data. Result item.

需要說明的是,在本實施方式中,所述彈幕資料中的信息可以包括用戶在觀看視訊時透過彈幕欄發送的彈幕信息,還可以包括用戶在視訊的評論區中發布的評論信息。此外,由於實際的彈幕信息和評論信息的數量通常較多,在本申請中,所述彈幕資料中的信息可以是從上述的彈幕信息和評論信息中提取的一部分信息。 It should be noted that, in this embodiment, the information in the barrage data may include the barrage information sent by the user through the bullet bar during the viewing of the video, and may also include the comment information posted by the user in the comment area of the video. . In addition, since the actual number of the bullet information and the comment information is usually large, in the present application, the information in the barrage material may be a part of the information extracted from the above-mentioned barrage information and comment information.

步驟S15:在搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。 Step S15: displaying, in the search result page, each video result item in the video result set; wherein, when displaying the video result item associated with the barrage data, displaying the associated area in the area occupied by the video result item The barrage information.

在本實施方式中,當所述客戶端接收到所述視訊結果集後,便可以在搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項。具體地,所述搜尋結果頁面可以預先指定各 個視訊結果項的展示方式以及各個視訊結果項所佔的區域。例如,所述搜尋結果頁面可以限定每個視訊結果項占據的大小都是相同的,並且在當前頁面中每一行僅展示一個視訊結果項,各個視訊結果項按照從上至下的方式排列。又例如,所述搜尋結果頁面可以根據視訊結果項的類型的不同,為視訊結果項設置不同的顯示方式。具體地,當視訊結果項表徵視訊合集時,顯示在搜尋結果頁面中的通常是視訊合集的封面以及相應的一些文字簡介以及劇集的選擇按鍵。因此,視訊合集類型的視訊結果項所佔據的區域可以稍大一些。當視訊結果項表徵單個視訊時,該視訊結果項所佔據的區域可以稍微小一些。在進行展示時,可以將視訊合集類型的視訊結果項優先顯示。當然,在實際應用場景中,所述搜尋結果頁面中可以設置切換頁面佈局的控件,用戶可以在所述控件中選擇視訊結果項的排列方式。 In this embodiment, after the client receives the video result set, each video result item in the video result set may be displayed in the search result page. Specifically, the search result page may pre-designate a display manner of each video result item and an area occupied by each video result item. For example, the search result page may define that each video result item occupies the same size, and only one video result item is displayed in each line in the current page, and each video result item is arranged in a top-to-bottom manner. For another example, the search result page may set different display manners for the video result items according to different types of video result items. Specifically, when the video result item represents the video collection, the display of the video collection is usually the cover of the video collection and the corresponding text introduction and the selection button of the episode. Therefore, the video result item of the video collection type can occupy a slightly larger area. When the video result item represents a single video, the area occupied by the video result item can be slightly smaller. The video result item of the video collection type can be preferentially displayed during the presentation. Of course, in the actual application scenario, a control for switching the layout of the page may be set in the search result page, and the user may select an arrangement manner of the video result items in the control.

在本實施方式中,對於不與彈幕資料相關聯的視訊結果項,可以按照常規的方式在搜尋結果頁面中進行展示。但是在展示與彈幕資料相關聯的視訊結果項時,可以直接在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。請參閱圖2,假設用戶提供的搜尋關鍵詞是“微微一笑很傾城”,那麼客戶端接收到的視訊結果集中可以包括該電視劇的合集,也可以包括獨立的單個視訊。此時,針對與彈幕數量相關聯的視訊結果項,可以在該視訊結果項的顯示區域中展示其相關聯的彈幕資料。這樣,用戶可以直接在搜尋結果頁面中看到歷史用戶針對這些視訊或者視訊合集發布的評價信息或者感想,從而可 以根據這些評價信息或者感想選擇觀看感興趣的視訊。 In the present embodiment, the video result items that are not associated with the barrage material can be displayed in the search result page in a conventional manner. However, when displaying the video result item associated with the barrage material, the associated barrage material may be displayed directly in the area occupied by the video result item. Referring to FIG. 2, it is assumed that the search keyword provided by the user is “slightly smiles,” and the video result set received by the client may include a collection of the dramas, and may also include a separate single video. At this time, for the video result item associated with the number of barrage, the associated barrage material may be displayed in the display area of the video result item. In this way, the user can directly see the evaluation information or impressions published by the historical user for the video or video collection directly on the search result page, so that the user can select the video of interest according to the evaluation information or feelings.

在本實施方式中,展示所述彈幕資料的方式可以包括將所述彈幕資料中的每條彈幕依次在所述視訊結果項所佔的區域中進行播放。具體的播放方式例如可以是將彈幕從右至左動態播放,還可以是在固定位置處保持顯示指定時長。關於各條彈幕的播放順序,可以按照在彈幕資料中排列的順序依次播放,還可以按照各個彈幕生成的時間從先到後的順序進行播放。在本實施方式中,在播放完所述彈幕資料中的各條彈幕之後,可以停止播放彈幕,還可以繼續重新播放彈幕,本申請對此並不作限定。 In this embodiment, the manner of displaying the barrage data may include sequentially playing each barrage in the barrage material in an area occupied by the video result item. The specific playing manner may be, for example, dynamically playing the barrage from right to left, or keeping the display for a specified length of time at a fixed position. The order of playing the various barrages may be sequentially played in the order in which they are arranged in the barrage data, or may be played in the order from the first to the last in accordance with the time of each barrage generation. In this embodiment, after the barrage in the barrage material is played, the barrage can be stopped, and the barrage can be resumed. This application does not limit this.

由上可見,在用戶提供了搜尋關鍵詞之後,伺服器在針對該搜尋關鍵詞反饋相適配的視訊結果項時,還可以將其中一部分視訊結果項關聯的彈幕資料一併反饋給用戶的客戶端。所述彈幕資料可以是用戶在觀看視訊的過程中發表的針對該視訊內容的評論或者感想。在客戶端的搜尋結果頁面中,除了顯示各個視訊結果項,還可以在視訊結果項所佔的區域中顯示其關聯的彈幕資料。這樣,用戶可以直接在搜尋結果頁面中查看到視訊結果項對應的彈幕資料,從而使得用戶在無需進行額外的操作的情況下,獲知觀看過視訊的用戶對該視訊的看法,從而確定該視訊是否是自己感興趣的視訊。 It can be seen that after the user provides the search keyword, the server can also feed back the video data associated with a part of the video result item to the user when feeding back the adapted video result item for the search keyword. Client. The barrage material may be a comment or a feeling for the video content published by the user during the process of watching the video. In the search result page of the client, in addition to displaying each video result item, the associated barrage data can be displayed in the area occupied by the video result item. In this way, the user can directly view the barrage data corresponding to the video result item in the search result page, so that the user can know the view of the video user and view the video without performing additional operations, thereby determining the video. Is it video that you are interested in?

在本申請一個實施方式中,當客戶端在搜尋結果頁面中展示視訊結果項時,通常會根據視訊結果項實際所需佔用的尺寸,在搜尋結果頁面中構建相應的容器(container),該容器通常是不可見的。在建立了該容器之後,可以在該容器 中填充所述視訊結果項對應的可視化內容。這樣,用戶便可以在搜尋結果頁面中查看到對應的視訊結果項。 In an embodiment of the present application, when the client displays the video result item in the search result page, a corresponding container is usually built in the search result page according to the actual required size of the video result item, and the container is Usually not visible. After the container is created, the visual content corresponding to the video result item can be filled in the container. In this way, the user can view the corresponding video result item in the search result page.

在本實施方式中,當客戶端判定當前需要展示的視訊結果項具備關聯的彈幕資料時,可以在建立上述容器的同時,在所述視訊結果項所佔的區域中建立浮窗,並在建立的所述浮窗中顯示關聯的所述彈幕資料。具體地,所述浮窗可以視為在所述容器中嵌套的另一個容器,只不過該浮窗的屬性可以設置為處於所述容器的上一層。這樣,所述容器中展示的視訊結果項便不會對該浮窗中顯示的彈幕資料構成遮擋。 In this embodiment, when the client determines that the video result item that needs to be displayed currently has the associated barrage data, the floating window may be established in the area occupied by the video result item while establishing the container. The associated barrage material is displayed in the established floating window. In particular, the floating window can be considered as another container nested within the container, except that the properties of the floating window can be set to be above the container. Thus, the video result item displayed in the container does not obstruct the barrage data displayed in the floating window.

在本實施方式中,為了能夠將關聯彈幕資料的視訊結果項與其它視訊結果項進行明顯的區分,可以將所述浮窗的背景色設置為與所述搜尋結果頁面的背景色不同。例如,所述搜尋結果頁面的背景色為白色,那麼所述浮窗的背景色便可以為灰色。需要說明的是,由於浮窗處於所述容器的上一層,為了不對容器中展示的視訊結果項的內容造成嚴重的遮擋,可以將所述浮窗的透明度設置的較高,從而可以透過該浮窗查看到容器內的視訊結果項的信息。 In this embodiment, in order to be able to distinguish the video result item of the associated barrage material from other video result items, the background color of the floating window may be set to be different from the background color of the search result page. For example, if the background color of the search result page is white, then the background color of the floating window may be gray. It should be noted that, since the floating window is in the upper layer of the container, in order not to cause serious occlusion on the content of the video result item displayed in the container, the transparency of the floating window may be set higher, so that the floating window can be The window looks at the information of the video result item in the container.

在本申請一個實施方式中,考慮到並不是所有的用戶都習慣視訊結果項的區域中顯示彈幕資料,因此可以在所述搜尋結果頁面中設置用於控制所述彈幕資料開啟或者關閉的控件。請參閱圖3,所述控件在所述搜尋結果頁面中可以僅顯示一個,該控件可以控制整個搜尋結果頁面中各個視訊結果項上彈幕資料的關閉和開啟。此外,請參閱圖4,與彈幕資料相關聯的視訊結果項所佔的區域中均可以包括一個控件,這 樣,控件與關聯有彈幕資料的視訊結果項便可以一一對應,每個視訊結果項對應的控件可以用於控制該視訊結果項的區域中彈幕資料的開啟或者關閉,而不會影響到別的視訊結果項的區域中彈幕資料的顯示情況。 In an embodiment of the present application, in consideration of not displaying the barrage information in the area where all the users are accustomed to the video result item, the search result page may be set to control whether the barrage data is turned on or off. Control. Referring to FIG. 3, the control may display only one in the search result page, and the control may control the closing and opening of the barrage data on each video result item in the entire search result page. In addition, referring to FIG. 4, the area occupied by the video result item associated with the barrage data may include a control, so that the control and the video result item associated with the barrage data may be in one-to-one correspondence, each video message The control corresponding to the result item can be used to control the opening or closing of the barrage data in the area of the video result item without affecting the display of the barrage data in the area of the other video result item.

在本申請一個實施方式中,展示所述彈幕資料的方式可以包括將所述彈幕資料中的每條彈幕依次在所述視訊結果項所佔的區域中進行播放。具體的播放方式例如可以是將彈幕從右至左動態播放,還可以是在固定位置處保持顯示指定時長。關於各條彈幕的播放順序,可以按照在彈幕資料中排列的順序依次播放,還可以按照所述彈幕資料中每條彈幕的生成時間,在所述視訊結果項所佔的區域中依次播放所述彈幕資料中的各條彈幕。在本實施方式中,在播放完所述彈幕資料中的各條彈幕之後,可以停止播放彈幕,還可以繼續重新播放彈幕,本申請對此並不作限定。 In an embodiment of the present application, the manner of displaying the barrage material may include sequentially playing each barrage in the barrage material in an area occupied by the video result item. The specific playing manner may be, for example, dynamically playing the barrage from right to left, or keeping the display for a specified length of time at a fixed position. The playing order of each barrage may be sequentially played in the order arranged in the barrage data, and may also be in the area occupied by the video result item according to the generation time of each barrage in the barrage data. Each of the barrage in the barrage material is played in sequence. In this embodiment, after the barrage in the barrage material is played, the barrage can be stopped, and the barrage can be resumed. This application does not limit this.

在本申請一個實施方式中,為了體現與彈幕資料相關聯的視訊結果項的特殊性,客戶端在接收到所述視訊結果集後,可以對其中的各個視訊結果項進行排序。排序的依據在於,將與彈幕資料相關聯的視訊結果項排列於不與彈幕資料相關聯的視訊結果項之前。這樣,在搜尋結果頁面中展示各個視訊結果項時,與彈幕資料相關聯的視訊結果項可以位於不與彈幕資料相關聯的視訊結果項之前。 In an embodiment of the present application, in order to embody the particularity of the video result item associated with the barrage material, the client may sort each of the video result items after receiving the video result set. The sorting is based on arranging the video result items associated with the barrage material in front of the video result items that are not associated with the barrage material. Thus, when each video result item is displayed in the search results page, the video result item associated with the barrage material can be located before the video result item that is not associated with the barrage material.

在本實施方式中,在與彈幕資料相關聯的視訊結果項的數量為至少兩個的情況下,可以根據各個視訊結果項關聯的彈幕資料中的彈幕數量,對所述各個視訊結果項進行排 序。具體地,可以按照彈幕數量從多到少的順序進行排序,並按照排序結果在所述搜尋結果頁面中展示所述各個視訊結果項。彈幕數量越多,表明該視訊觀看的用戶也可能越多,該視訊便可能越受歡迎。這樣,可以將彈幕數量較多的視訊結果項優先向用戶展示。此外,在本實施方式中,各個所述視訊結果項所佔的區域中還可以分別顯示有各自關聯的彈幕資料中的彈幕數量,從而可以讓用戶直觀地看到具體的彈幕數量。 In this embodiment, in a case where the number of video result items associated with the barrage material is at least two, the respective video result may be obtained according to the number of barrages in the barrage data associated with each video result item. Items are sorted. Specifically, the sorting may be performed in ascending order according to the number of the barrage, and the respective video result items are displayed in the search result page according to the sorting result. The greater the number of barrage, the more users are likely to watch the video, and the video may be more popular. In this way, the video result items with a larger number of barrage can be preferentially displayed to the user. In addition, in the embodiment, the number of the barrage in the respective associated barrage data may be separately displayed in the area occupied by each of the video result items, so that the user can visually see the specific number of barrage.

請參閱圖5,在本申請一個實施方式中,可以對用戶觀看視訊的習慣進行記錄,並根據記錄的結果判斷用戶是否對彈幕資料感興趣,從而確定是否向用戶展示帶有彈幕資料的視訊結果項。具體地,客戶端可以判斷提供所述搜尋關鍵詞的用戶是否傾向於查看帶有彈幕資料的視訊,當確定所述用戶傾向於查看帶有彈幕資料的視訊時,才在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。 Referring to FIG. 5, in an embodiment of the present application, the user's habit of watching video can be recorded, and according to the result of the recording, it is determined whether the user is interested in the barrage material, thereby determining whether to display the user with the barrage data. Video result item. Specifically, the client may determine whether the user providing the search keyword tends to view the video with the barrage data, and when the user is determined to view the video with the barrage data, the video result is obtained. The associated barrage material is displayed in the area occupied by the item.

在本實施方式中,可以透過對用戶的行為資料進行分析,從而判斷該用戶是否傾向於查看帶有彈幕資料的視訊。具體地,客戶端可以透過埋點的方式來記錄用戶的行為資料。具體地,埋點的方式可以指在視訊播放網站的頁面中預先綁定用於獲取用戶行為資料的代碼。當該代碼被觸發時,客戶端可以自動採集用戶的行為資料。其中,所述用戶的行為資料可以包括用戶在當前頁面上的點擊、滑動、拖拽等操作行為,還可以包括用戶查看的頁面類型、查看當前頁面的時長等信息。在本實施方式中,所述代碼可以與指定介面或者指定介面中的控件相綁定,這樣,一旦該指定介面被加載或者該指定介 面中的控件被觸發,所述代碼便可以自動運行。例如,視訊播放網站中的視訊播放頁面可以與所述代碼相綁定,這樣,每當用戶客戶端加載視訊播放頁面時,客戶端便可以統計用戶觀看當前頁面中視訊的總時長。 In the present embodiment, the user's behavior data can be analyzed to determine whether the user tends to view the video with the barrage data. Specifically, the client can record the user's behavior data by means of a buried point. Specifically, the manner of burying the point may refer to pre-binding the code for acquiring the user behavior data in the page of the video playing website. When the code is triggered, the client can automatically collect the user's behavior data. The behavior data of the user may include the user's operation behaviors such as clicking, sliding, dragging, and the like on the current page, and may also include information such as the type of the page viewed by the user and the duration of the current page. In this embodiment, the code can be bound to a control in a specified interface or a specified interface such that the code can be run automatically once the specified interface is loaded or a control in the specified interface is triggered. For example, the video play page in the video play website can be bound to the code, so that each time the user client loads the video play page, the client can count the total duration of the video viewed by the user on the current page.

在本實施方式中,透過埋點的方式,客戶端可以記錄所述用戶觀看視訊的總時長以及在觀看視訊過程中開啟彈幕的總時長,這樣,可以計算所述開啟彈幕的總時長與所述觀看視訊的總時長之間的比值。所述比值越大,表明用戶在觀看視訊過程中開啟彈幕的時長越長。這樣,當所述比值大於或者等於指定閾值時,可以確定提供所述搜尋關鍵詞的用戶傾向於查看帶有彈幕資料的視訊。其中,所述指定閾值可以是根據實際應用場景靈活變動的數值。例如,所述指定閾值可以為50%。那麼當計算出的比值達到50%時,便可以判定該用戶傾向於查看帶有彈幕資料的視訊。 In this embodiment, the client can record the total duration of the video viewing by the user and the total duration of opening the barrage during the video viewing process, so that the total opening of the barrage can be calculated. The ratio between the duration and the total length of time the video is viewed. The larger the ratio, the longer the user will open the barrage during the video viewing process. Thus, when the ratio is greater than or equal to the specified threshold, it can be determined that the user providing the search keyword tends to view the video with the barrage material. The specified threshold may be a value that is flexibly changed according to an actual application scenario. For example, the specified threshold may be 50%. Then, when the calculated ratio reaches 50%, it can be determined that the user tends to view the video with the barrage data.

需要說明的是,上述的用戶,通常可以指所述客戶端中的保存的用戶信息表徵的用戶。所述用戶信息例如可以是在客戶端中註冊的用戶賬號。這樣,每當該用戶賬號處於登陸狀態時,客戶端便可以記錄該用戶賬號對應的行為特徵,從而可以總結出該用戶賬號針對帶有彈幕資料的視訊的傾向性。當在該用戶賬號登陸的情況下,客戶端接收到搜尋關鍵詞時,便可以根據該用戶賬號對應的傾向性,相應地展示帶有彈幕資料或者不帶有彈幕資料的視訊結果項。 It should be noted that the user mentioned above may generally refer to a user represented by the saved user information in the client. The user information may be, for example, a user account registered in the client. In this way, each time the user account is in the login state, the client can record the behavior characteristics corresponding to the user account, so that the user account can be summarized for the tendency of the video with the barrage data. When the user account is logged in, when the client receives the search keyword, the client may display the video result item with the barrage data or without the barrage data according to the preference of the user account.

在本實施方式中,為了保證所述傾向性判斷的準確性,可以針對該用戶的歷史觀看記錄進行整體的計算。也就 是說,可以統計一段時間內該用戶觀看視訊的總時長,以及開啟彈幕的總時長,透過這段時間內統計的資料進行計算所述比值,從而保證最終判定結果的準確性。 In the present embodiment, in order to ensure the accuracy of the tendency judgment, the overall history calculation of the user may be performed. That is to say, it is possible to count the total duration of the user's viewing of the video over a period of time, and the total duration of the opening of the barrage, and calculate the ratio through the statistical data during this period to ensure the accuracy of the final determination result.

在本申請一個實施方式中,在對用戶的行為資料進行分析時,還可以統計該用戶經常觀看的視訊的類別。具體地,可以統計一段時間內該用戶觀看過的各個視訊所屬的類別,並將觀看次數較多的視訊類別作為該用戶對應的指定視訊類別。例如,某個用戶在最近半年內,主要觀看的是愛情題材的視訊,因此可以將該用戶對應的指定視訊類別設定為“言情”。 In an embodiment of the present application, when analyzing the behavior data of the user, the category of the video that the user frequently views may also be counted. Specifically, the category to which each video viewed by the user belongs may be counted for a period of time, and the video category with more views is used as the specified video category corresponding to the user. For example, in the past six months, a user mainly watches the video of the love theme, so the specified video category corresponding to the user can be set to “speech”.

在本實施方式中,基於用戶對應的指定視訊類別,在向用戶展示視訊結果集中的各個視訊結果項時,可以在搜尋結果頁面中優先展示與所述指定視訊類別相適配的視訊結果項,從而滿足該用戶的喜好。例如,指定視訊類別為“言情”的用戶輸入的搜尋關鍵詞為“微微一笑”,那麼便可以將“微微一笑很傾城”的電視劇或者電影優先展示給所述用戶,而將其它類型的相關視訊排列於“言情”主題的視訊之後。 In this embodiment, based on the specified video category corresponding to the user, when the video result items in the video result set are displayed to the user, the video result items corresponding to the specified video category may be preferentially displayed in the search result page. Thereby satisfying the preferences of the user. For example, if the search keyword input by the user who specifies the "speech" of the video category is "slightly smile", then the TV show or movie "slightly smiles" can be preferentially displayed to the user, and other types of related videos can be displayed. Arranged after the video of the "Live" theme.

請參閱圖6,本申請還提供一種客戶端,所述客戶端包括網路通信端口100、處理器200以及顯示器300。 Referring to FIG. 6, the present application further provides a client, which includes a network communication port 100, a processor 200, and a display 300.

其中,所述網路通信端口100,用於與伺服器進行資料互動;所述顯示器300,用於顯示所述伺服器反饋的視訊結果集中的各個視訊結果項;所述處理器200,用於控制所述網路通信端口向所 述伺服器發送包含搜尋關鍵詞的搜尋請求並透過所述網路通信端口接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項;在所述顯示器的搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。 The network communication port 100 is configured to perform data interaction with a server; the display 300 is configured to display each video result item in the video result set fed back by the server; the processor 200 is configured to: Controlling, by the network communication port, a search request including a search keyword to the server, and receiving, by the network communication port, a video result set that is matched by the server and matched with the search keyword, The video result set includes at least one video result item associated with the barrage data; displaying, in the search result page of the display, each video result item in the video result set; wherein, when displaying the video information associated with the barrage data In the result item, the associated barrage material is displayed in the area occupied by the video result item.

在本實施方式中,所述網路通信端口100可以是與不同的通信協議進行綁定,從而可以發送或接收不同資料的虛擬端口。例如,所述網路通信端口可以是負責進行web資料通信的80號端口,也可以是負責進行FTP資料通信的21號端口,還可以是負責進行郵件資料通信的25號端口。此外,所述網路通信端口還可以是實體的通信介面或者通信晶片。例如,其可以為無線移動網路通信晶片,如GSM、CDMA等;其還可以為Wifi晶片;其還可以為藍芽晶片。 In this embodiment, the network communication port 100 may be a virtual port that is bound to a different communication protocol so that different materials can be sent or received. For example, the network communication port may be port 80 responsible for web data communication, port 21 responsible for FTP data communication, and port 25 responsible for mail data communication. In addition, the network communication port can also be a physical communication interface or a communication chip. For example, it can be a wireless mobile network communication chip such as GSM, CDMA, etc.; it can also be a Wifi chip; it can also be a Bluetooth chip.

所述顯示器300可以為將一定的電子文件透過特定的傳輸設備顯示到屏幕上再反射到人眼的顯示工具。所述顯示器可以包括液晶LCD顯示器、陰極射線管CRT顯示器、發光二極體LED顯示器等。 The display 300 can be a display tool that displays a certain electronic file to a screen through a specific transmission device and then reflects it to the human eye. The display may include a liquid crystal LCD display, a cathode ray tube CRT display, a light emitting diode LED display, and the like.

所述處理器200可以按任何適當的方式實現。例如,處理器可以採取例如微處理器或處理器以及存儲可由該(微)處理器執行的計算機可讀程序代碼(例如軟體或韌體)的計算機可讀媒體、邏輯閘、開關、專用集成電路(Application Specific Integrated Circuit,ASIC)、可編程邏輯控制器和嵌 入微控制器的形式等等。本申請並不作限定。 The processor 200 can be implemented in any suitable manner. For example, the processor can take the form of, for example, a microprocessor or processor, and computer readable media, logic gates, switches, application-specific integrated circuits that store computer readable program code (eg, software or firmware) executable by the (micro)processor. (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form, etc. This application is not limited.

上述實施方式公開的客戶端,其網路通信端口100、顯示器300和處理器200實現的具體功能,可以與本申請中視訊結果項的展示方法實施方式相對照解釋,可以實現本申請的視訊結果項的展示方法實施方式並達到方法實施方式的技術效果。 The specific functions implemented by the network communication port 100, the display 300, and the processor 200 of the client disclosed in the above embodiments may be compared with the implementation method of the video result item in the present application, and the video result of the present application may be implemented. The method of displaying the method and achieving the technical effect of the method embodiment.

本申請還提供一種視訊結果項的提供方法,所述方法可以應用於伺服器中。請參閱圖1,所述方法可以包括以下步驟。 The application also provides a method for providing a video result item, which can be applied to a server. Referring to FIG. 1, the method may include the following steps.

S21:接收客戶端發來的包含搜尋關鍵詞的搜尋請求,並從資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項。 S21: Receive a search request sent by the client that includes the search keyword, and obtain at least one video result item that matches the search keyword from the database.

在本實施方式中,所述搜尋關鍵詞可以是用戶在視訊播放網站的搜尋欄中輸入的內容。所述搜尋關鍵詞可以是視訊的名稱,也可以是關於視訊內容的描述性短語。例如,所述搜尋關鍵詞可以是“微微一笑很傾城”、“懸疑歐美”、“萊昂納多”等。 In this embodiment, the search keyword may be content input by the user in the search bar of the video playing website. The search keyword may be the name of the video or a descriptive phrase about the video content. For example, the search keyword may be “a little smile, a city”, “suspended Europe”, “Leonardo”, and the like.

在本實施方式中,所述搜尋請求可以是按照預設規則進行編寫的字符串。其中,所述預設規則可以是所述客戶端與所述伺服器之間遵循的網路通信協議。例如,所述搜尋請求可以是按照HTTP協議進行編寫的字符串。所述預設規則可以限定搜尋請求中的各個組成部分以及各個組成部分之間的排列順序。例如,所述搜尋請求中可以包括請求標識字段、源IP地址字段以及目的IP地址字段。所述請求標識字段可以填 充所述搜尋關鍵詞。所述源IP地址字段可以填寫所述客戶端的IP地址,所述目標IP地址字段可以填寫所述伺服器的IP地址。這樣,所述搜尋請求便可以從所述客戶端發送至所述伺服器處。 In this embodiment, the search request may be a character string that is written according to a preset rule. The preset rule may be a network communication protocol that is followed between the client and the server. For example, the search request may be a string written in accordance with the HTTP protocol. The preset rule may define each component in the search request and the order of arrangement between the components. For example, the search request may include a request identifier field, a source IP address field, and a destination IP address field. The request identification field may fill the search keyword. The source IP address field may fill in an IP address of the client, and the target IP address field may fill in an IP address of the server. In this way, the search request can be sent from the client to the server.

在本實施方式中,所述伺服器中可以提供有資料庫。所述資料庫可以是存儲視訊資料的資料集。所述資料庫可以採用MySQL、Oracle、DB2、Sybase等資料庫格式中的任意一種。所述資料庫可以部署在伺服器中的存儲媒體上。 In this embodiment, a database may be provided in the server. The database may be a data set for storing video data. The database may use any one of database formats such as MySQL, Oracle, DB2, and Sybase. The database can be deployed on a storage medium in the server.

在本實施方式中,所述資料庫中可以存儲各種視訊資料。所述資料庫中的每個視訊資料可以具備各自的資料標識。所述資料標識與視訊資料之間可以透過key-value(鍵值對)的形式進行存儲,這樣,透過將搜尋關鍵詞與資料標識進行匹配,便可以從所述資料庫中獲取到搜尋關鍵詞對應的視訊資料。 In this embodiment, various video materials can be stored in the database. Each video material in the database may have its own data identifier. The data identifier and the video data can be stored in a form of a key-value (key-value pair), so that by matching the search keyword with the data identifier, the search keyword can be obtained from the database. Corresponding video data.

在本實施方式中,所述伺服器從所述資料庫中獲取到的每個視訊資料均可以作為一個視訊結果項。這樣,所述伺服器便可以從所述資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項。 In this embodiment, each video data obtained by the server from the database can be used as a video result item. In this way, the server can obtain at least one video result item matching the search keyword from the database.

S23:當所述至少一個視訊結果項中存在與彈幕資料相關聯的目標結果項時,獲取所述目標結果項關聯的彈幕資料,並將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目標結果項時,所述客戶端在所述目標結果項所佔的區域中顯示關聯的所 述彈幕資料。 S23: when there is a target result item associated with the barrage data in the at least one video result item, acquiring the barrage data associated with the target result item, and the at least one video result item and the obtained Transmitting the data to the client, so that the client displays each video result item in the search result page; wherein when the target result item associated with the barrage material is displayed, the client is in the The associated barrage material is displayed in the area occupied by the target result item.

在本實施方式中,獲取的所述至少一個視訊結果項中,一部分目標結果項可以與彈幕資料相關聯。所述彈幕資料可以是歷史用戶在觀看視訊時發表的針對該視訊內容的評論信息或者用戶自身的感想。所述彈幕資料通常都是字符信息。 In this embodiment, among the acquired at least one video result item, a part of the target result item may be associated with the barrage data. The barrage material may be comment information for the video content published by the historical user when viewing the video or the user's own feelings. The barrage material is usually character information.

在本實施方式中,目標結果項表徵的視訊資料與關聯的彈幕資料可以同時存儲於所述資料庫中,並且視訊資料與關聯的彈幕資料可以透過key-value的形式進行存儲。這樣,伺服器在從資料庫中獲取視訊資料時,可以將所述視訊資料關聯的彈幕資料一併獲取。 In this embodiment, the video data represented by the target result item and the associated barrage data may be simultaneously stored in the database, and the video data and the associated barrage data may be stored in a key-value form. In this way, when the server obtains the video data from the database, the server can acquire the barrage data associated with the video data.

在本實施方式中,當伺服器獲取了與所述搜尋關鍵詞相適配的視訊資料並且獲取了與目標結果項表徵的視訊資料相關聯的彈幕資料之後,可以將獲取的各個視訊資料作為視訊結果項反饋至所述客戶端,同時,還可以將獲取的所述彈幕資料一併反饋至所述客戶端。這樣,當所述客戶端接收到所述視訊結果項和彈幕資料後,便可以在搜尋結果頁面中展示各個視訊結果項。在本實施方式中,對於不與彈幕資料相關聯的視訊結果項,可以按照常規的方式在搜尋結果頁面中進行展示。但是在展示與彈幕資料相關聯的視訊結果項時,可以直接在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。例如,假設用戶提供的搜尋關鍵詞是“微微一笑很傾城”,那麼客戶端接收到的視訊結果項可以包括該電視劇的合集,也可以包括獨立的單個視訊。此時,針對與彈幕數量相關聯的視訊結果 項,可以在該視訊結果項的顯示區域中展示其相關聯的彈幕資料。這樣,用戶可以直接在搜尋結果頁面中看到歷史用戶針對這些視訊或者視訊合集發布的評價信息或者感想,從而可以根據這些評價信息或者感想選擇觀看感興趣的視訊。 In this embodiment, after the server acquires the video data adapted to the search keyword and obtains the barrage data associated with the video data represented by the target result item, the acquired video data may be used as The video result item is fed back to the client, and the obtained barrage data may be fed back to the client. In this way, after the client receives the video result item and the barrage data, each video result item can be displayed in the search result page. In the present embodiment, the video result items that are not associated with the barrage material can be displayed in the search result page in a conventional manner. However, when displaying the video result item associated with the barrage material, the associated barrage material may be displayed directly in the area occupied by the video result item. For example, if the search keyword provided by the user is “small smile”, then the video result item received by the client may include a collection of the drama, and may also include a separate single video. At this time, for the video result item associated with the number of barrage, its associated barrage material may be displayed in the display area of the video result item. In this way, the user can directly see the evaluation information or impressions issued by the historical user for the video or video collection directly in the search result page, so that the video of interest can be selected according to the evaluation information or feelings.

在本申請一個實施方式中,客戶端可以對用戶觀看視訊的行為進行分析,從而得出該用戶比較關注的視訊類別。在這種情況下,為了能夠給用戶提供其感興趣的視訊題材,客戶端在發送所述搜尋請求時,在所述搜尋請求中還可以包括用戶的指定視訊類別。所述指定視訊類別便可以是該用戶比較關注的視訊類別。這樣,當伺服器從資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項之後,可以從所述至少一個視訊結果項中篩選出符合所述指定視訊類別的視訊結果項。具體地,所述至少一個視訊結果項可以分別與視訊標識相關聯,所述視訊標識可以標註該視訊結果項表徵的視訊所對應的題材。那麼所述伺服器可以將視訊標識中包含所述指定視訊類別的視訊結果項作為符合所述指定視訊類別的視訊結果項。這樣,所述伺服器後續可以從符合所述指定視訊類別的視訊結果項中確定與彈幕資料相關聯的目標結果項,從而可以保證提供給客戶端的視訊結果項均是與所述用戶的指定視訊類別相對應的視訊結果項。 In an embodiment of the present application, the client may analyze the behavior of the user watching the video, thereby obtaining a video category that the user is more concerned about. In this case, in order to provide the user with the video theme of interest to the user, the client may further include the specified video category of the user in the search request when sending the search request. The specified video category may be a video category that the user is more concerned with. In this way, after the server obtains at least one video result item matching the search keyword from the database, the video result item that meets the specified video category may be selected from the at least one video result item. Specifically, the at least one video result item may be associated with a video identifier, and the video identifier may mark a theme corresponding to the video represented by the video result item. Then, the server may use the video result item including the specified video category in the video identifier as the video result item that meets the specified video category. In this way, the server can subsequently determine the target result item associated with the barrage data from the video result items that meet the specified video category, thereby ensuring that the video result items provided to the client are all specified with the user. The video result item corresponding to the video category.

在本申請一個實施方式中,所述目標結果項相關聯的彈幕資料中的信息,可以包括用戶在觀看視訊時透過彈幕欄發送的彈幕信息,還可以包括用戶在視訊的評論區中發布的評論信息。此外,由於實際的彈幕信息和評論信息的數量通常 較多,在本申請中,所述彈幕資料中的信息可以是從上述的彈幕信息和評論信息中提取的一部分信息。具體地,在提取彈幕信息時,可以先將所述目標結果項表徵的視訊的總時長劃分為預設數量的時長區間。在劃分時長區間時,可以按照固定的時間區間進行劃分。例如,可以將視訊的總時長按照2分鐘的時間區間進行劃分。在劃分時長區間之後,可以統計每個所述時長區間內用戶針對所述視訊發布的彈幕的總數量。彈幕的總數量越多,表明該時長區間內的內容越能引發大家的討論,該時長區間內的彈幕的內容也更能夠反映視訊的實際內容。這樣,可以將用戶針對所述視訊發布的彈幕的總數量大於或者等於指定彈幕閾值的時長區間作為目標時長區間,並從各個所述目標時長區間內分別提取指定數量的彈幕。所述指定彈幕閾值可以是根據實際情況進行靈活變動的數值,該指定彈幕閾值可以作為判斷目標時長區間的門檻。當彈幕總數量大於或者等於所述指定彈幕閾值時,說明該時長區間內播放的內容能夠引髮用戶的廣泛討論,該時長區間內的彈幕便可以較好地反映視訊的實際內容。這樣,可以將從各個所述目標時長區間內提取的彈幕作為與所述目標結果項相關聯的彈幕資料。從各個目標時長區間內提取彈幕的方式可以是在限定總數量的前提下進行隨機提取,也可以將該時長區間內重複次數最多的一些彈幕提取出來。 In an embodiment of the present application, the information in the barrage data associated with the target result item may include the barrage information sent by the user through the bullet bar during the viewing of the video, and may also include the user in the comment area of the video. Comment information posted. Further, since the actual amount of the bullet information and the comment information is usually large, in the present application, the information in the barrage material may be a part of the information extracted from the above-described barrage information and comment information. Specifically, when extracting the bullet information, the total duration of the video represented by the target result item may be first divided into a preset number of duration intervals. When dividing the time interval, it can be divided according to a fixed time interval. For example, the total duration of the video can be divided into time intervals of 2 minutes. After dividing the duration interval, the total number of bullets issued by the user for the video in each of the durations may be counted. The more the total number of barrage, the more content in the time interval can trigger discussion, and the content of the barrage in the time interval can reflect the actual content of the video. In this way, the duration of the barrage issued by the user for the video is greater than or equal to the duration of the specified barrage threshold as the target duration interval, and a specified number of barrages are respectively extracted from each of the target duration segments. . The specified barrage threshold may be a value that is flexibly changed according to actual conditions, and the specified barrage threshold may be used as a threshold for determining a target duration interval. When the total number of barrage is greater than or equal to the specified barrage threshold, it indicates that the content played in the time interval can cause extensive discussion by the user, and the barrage in the time interval can better reflect the actual video. content. In this way, the barrage extracted from each of the target duration intervals can be used as the barrage material associated with the target result item. The method of extracting the barrage from each target duration interval may be random extraction under the premise of limiting the total number, or extracting some of the barrage with the most repetitions in the duration interval.

需要說明的是,除了對視訊的彈幕進行提取,在實際應用場景中還可以對視訊評論區中的評論信息進行提取,並將提取的評論信息也作為彈幕資料的一部分。具體地, 可以統計每條評論信息點讚的次數,或者每條評論信息跟帖的次數,並將統計的次數較多的評論信息提取為彈幕資料的一部分。 It should be noted that, in addition to extracting the barrage of the video, the comment information in the video comment area may be extracted in the actual application scenario, and the extracted comment information is also used as part of the barrage data. Specifically, the number of times each comment information is liked, or the number of times each comment information is followed, may be counted, and the comment information with more statistics is extracted as part of the barrage data.

在本申請一個實施方式中,所述目標結果項表徵的可能不是單一的視訊,而是一個視訊合集,在所述視訊合集中包括多個視訊,每個或者部分視訊可以具備對應的彈幕信息。在這種情況下,可以針對所述目標結果項表徵的各個視訊,從各個視訊中分別提取相應的彈幕子集,然後可以將各個所述彈幕子集的組合作為所述目標結果項相關聯的彈幕資料。具體地,提取各個視訊的彈幕子集的方式可以與上述的提取單個視訊對應的彈幕資料的方式一致,首先可以將所述視訊的總時長劃分為預設數量的時長區間,然後可以統計每個所述時長區間內用戶針對所述視訊發布的彈幕的總數量。接著,可以將用戶針對所述視訊發布的彈幕的總數量大於或者等於指定彈幕閾值的時長區間作為目標時長區間,並從各個所述目標時長區間內分別提取指定數量的彈幕。這樣,可以將從各個所述目標時長區間內提取的彈幕作為所述視訊對應的彈幕子集。具體的提取過程可以參見上述實施方式,這里便不再贅述。 In an embodiment of the present application, the target result item may not be a single video but a video collection, and the video collection includes multiple video messages, and each or part of the video information may have corresponding barrage information. . In this case, a corresponding subset of the curtains may be separately extracted from each video for each video represented by the target result item, and then the combination of each of the subsets of the curtains may be associated with the target result item. Joint barrage information. Specifically, the manner of extracting the subset of the video clips of each video may be consistent with the manner of extracting the barcode data corresponding to the single video. First, the total duration of the video may be divided into a preset number of durations, and then The total number of barrages posted by the user for the video in each of the durations can be counted. Then, the duration of the barrage issued by the user for the video is greater than or equal to the duration of the specified barrage threshold as the target duration interval, and the specified number of barrages are respectively extracted from each of the target duration segments. . In this way, the barrage extracted from each of the target duration segments can be used as a subset of the bounce corresponding to the video. For the specific extraction process, refer to the above embodiments, and details are not described herein again.

請參閱圖7,本申請還提供一種伺服器,所述伺服器包括網路通信端口110、存儲器210以及處理器310。 Referring to FIG. 7, the present application further provides a server, which includes a network communication port 110, a memory 210, and a processor 310.

其中,所述網路通信端口110,用於與客戶端進行資料互動;所述存儲器210,用於存儲視訊資源以及與所述視訊資源相關聯的彈幕資料; 所述處理器310,用於透過所述網路通信端口接收所述客戶端發來的包含搜尋關鍵詞的搜尋請求,並從所述存儲器中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項;當所述至少一個視訊結果項中存在與彈幕資料相關聯的目標結果項時,從所述存儲器中獲取所述目標結果項關聯的彈幕資料,並透過所述網路通信端口將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目標結果項時,所述客戶端在所述目標結果項所佔的區域中顯示關聯的所述彈幕資料。 The network communication port 110 is configured to perform data interaction with the client; the memory 210 is configured to store video resources and the barrage data associated with the video resource; the processor 310 is configured to: Receiving, by the network communication port, a search request sent by the client that includes a search keyword, and acquiring, from the memory, at least one video result item that matches the search keyword; when the at least one When there is a target result item associated with the barrage data in the video result item, the barrage data associated with the target result item is obtained from the memory, and the at least one video result item is transmitted through the network communication port. And the obtained barrage data is fed back to the client, so that the client displays each video result item in the search result page; wherein, when the target result item associated with the barrage material is displayed, The client displays the associated barrage material in an area occupied by the target result item.

在本實施方式中,所述網路通信端口110可以是與不同的通信協議進行綁定,從而可以發送或接收不同資料的虛擬端口。例如,所述網路通信端口可以是負責進行web資料通信的80號端口,也可以是負責進行FTP資料通信的21號端口,還可以是負責進行郵件資料通信的25號端口。此外,所述網路通信端口還可以是實體的通信介面或者通信晶片。例如,其可以為無線移動網路通信晶片,如GSM、CDMA等;其還可以為Wifi晶片;其還可以為藍芽晶片。 In this embodiment, the network communication port 110 may be a virtual port that is bound to a different communication protocol so that different materials can be transmitted or received. For example, the network communication port may be port 80 responsible for web data communication, port 21 responsible for FTP data communication, and port 25 responsible for mail data communication. In addition, the network communication port can also be a physical communication interface or a communication chip. For example, it can be a wireless mobile network communication chip such as GSM, CDMA, etc.; it can also be a Wifi chip; it can also be a Bluetooth chip.

在本實施方式中,所述存儲器210可以是用於保存信息的記憶設備。在數位系統中,能保存二進制資料的設備可以是存儲器;在集成電路中,一個沒有實物形式的具有存儲功能的電路也可以為存儲器,如RAM、FIFO等;在系統中,具有實物形式的存儲設備也可以叫存儲器,如內存條、TF卡等。 In the present embodiment, the memory 210 may be a memory device for storing information. In a digital system, a device capable of storing binary data may be a memory; in an integrated circuit, a circuit having a memory function without a physical form may also be a memory such as a RAM, a FIFO, etc.; in the system, having a physical form of storage The device can also be called a memory, such as a memory stick, a TF card, or the like.

所述處理器310可以按任何適當的方式實現。例如,處理器可以採取例如微處理器或處理器以及存儲可由該(微)處理器執行的計算機可讀程序代碼(例如軟體或韌體)的計算機可讀媒體、邏輯閘、開關、專用集成電路(Application Specific Integrated Circuit,ASIC)、可編程邏輯控制器和嵌入微控制器的形式等等。本申請並不作限定。 The processor 310 can be implemented in any suitable manner. For example, the processor can take the form of, for example, a microprocessor or processor, and computer readable media, logic gates, switches, application-specific integrated circuits that store computer readable program code (eg, software or firmware) executable by the (micro)processor. (Application Specific Integrated Circuit, ASIC), programmable logic controller and embedded microcontroller form, etc. This application is not limited.

上述實施方式公開的伺服器,其網路通信端口1100、存儲器210和處理器310實現的具體功能,可以與本申請中視訊結果項的提供方法實施方式相對照解釋,可以實現本申請的視訊結果項的提供方法實施方式並達到方法實施方式的技術效果。 The specific functions implemented by the network communication port 1100, the memory 210, and the processor 310 of the server disclosed in the foregoing embodiment may be compared with the implementation method of the video result item in the present application, and the video result of the present application may be implemented. The method of providing the method is implemented and achieves the technical effect of the method embodiment.

由上可見,在用戶提供了搜尋關鍵詞之後,伺服器在針對該搜尋關鍵詞反饋相適配的視訊結果項時,還可以將其中一部分視訊結果項關聯的彈幕資料一併反饋給用戶的客戶端。所述彈幕資料可以是用戶在觀看視訊的過程中發表的針對該視訊內容的評論或者感想。在客戶端的搜尋結果頁面中,除了顯示各個視訊結果項,還可以在視訊結果項所佔的區域中顯示其關聯的彈幕資料。這樣,用戶可以直接在搜尋結果頁面中查看到視訊結果項對應的彈幕資料,從而使得用戶在無需進行額外的操作的情況下,獲知觀看過視訊的用戶對該視訊的看法,從而確定該視訊是否是自己感興趣的視訊。由上可見,本申請提供的技術方案,在客戶端顯示了搜尋結果頁面之後,用戶不需要進行額外的操作便可以篩選出自己感興趣的視訊,從而提高了視訊篩選的效率,也提高了用戶的體驗。 It can be seen that after the user provides the search keyword, the server can also feed back the video data associated with a part of the video result item to the user when feeding back the adapted video result item for the search keyword. Client. The barrage material may be a comment or a feeling for the video content published by the user during the process of watching the video. In the search result page of the client, in addition to displaying each video result item, the associated barrage data can be displayed in the area occupied by the video result item. In this way, the user can directly view the barrage data corresponding to the video result item in the search result page, so that the user can know the view of the video user and view the video without performing additional operations, thereby determining the video. Is it video that you are interested in? It can be seen from the above that the technical solution provided by the present application can improve the video screening efficiency and improve the user's interest after the client displays the search result page without performing additional operations. Experience.

在20世紀90年代,對於一個技術的改進可以很明顯地區分是硬體上的改進(例如,對二極體、電晶體、開關等電路結構的改進)還是軟體上的改進(對於方法流程的改進)。然而,隨著技術的發展,當今的很多方法流程的改進已經可以視為硬體電路結構的直接改進。設計人員幾乎都透過將改進的方法流程編程到硬體電路中來得到相應的硬體電路結構。因此,不能說一個方法流程的改進就不能用硬體實體模塊來實現。例如,可編程邏輯器件(Programmable Logic Device,PLD)(例如現場可編程門陣列(Field Programmable Gate Array,FPGA))就是這樣一種集成電路,其邏輯功能由用戶對器件編程來確定。由設計人員自行編程來把一個數位系統“集成”在一片PLD上,而不需要請晶片製造廠商來設計和製作專用的集成電路晶片。而且,如今,取代手工地製作集成電路晶片,這種編程也多半改用“邏輯編譯器(logic compiler)”軟體來實現,它與程序開發撰寫時所用的軟體編譯器相類似,而要編譯之前的原始代碼也得用特定的編程語言來撰寫,此稱之為硬體描述語言(Hardware Description Language,HDL),而HDL也並非僅有一種,而是有許多種,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)與Verilog。本領域技術人員也應該清楚,只需要將方法流程用上述幾種硬體描述語言稍作邏輯編程並編程到集成電路中,就可以很容易得到實現該邏輯方法流程的硬體電路。 In the 1990s, improvements to a technology could clearly distinguish between hardware improvements (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (for method flow). Improve). However, as technology advances, many of today's method flow improvements can be seen as direct improvements in hardware circuit architecture. Designers almost always get the corresponding hardware structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented by a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers program themselves to "integrate" a digital system on a single PLD without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit die. Moreover, today, instead of manually making integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in programming development, but before compiling The original code has to be written in a specific programming language. This is called the Hardware Description Language (HDL). HDL is not the only one, but there are many kinds, such as ABEL (Advanced Boolean Expression Language). ), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are used. It should also be apparent to those skilled in the art that the hardware process for implementing the logic method flow can be easily obtained by simply programming the method flow into the integrated circuit with a few logic description languages.

透過以上的實施方式的描述可知,本領域的技術人員可以清楚地了解到本申請可藉助軟體加必需的通用硬體平台的方式來實現。基於這樣的理解,本申請的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該計算機軟體產品可以存儲在存儲媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台計算機設備(可以是個人計算機,伺服器,或者網路設備等)執行本申請各個實施方式或者實施方式的某些部分所述的方法。 As can be seen from the description of the above embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of a software plus a necessary universal hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product in essence or in the form of a software product, which may be stored in a storage medium such as a ROM/RAM, a disk, Optical disks, etc., include instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods described in various embodiments of the present application or portions of the embodiments.

本申請可以在由計算機執行的計算機可執行指令的一般上下文中描述,例如程序模塊。一般地,程序模塊包括執行特定任務或實現特定抽像資料類型的例程、程序、對象、組件、資料結構等等。也可以在分佈式計算環境中實踐本申請,在這些分佈式計算環境中,由透過通信網路而被連接的遠程處理設備來執行任務。在分佈式計算環境中,程序模塊可以位於包括存儲設備在內的本地和遠程計算機存儲媒體中。 The application can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular types of abstraction data. The present application can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.

本領域技術人員也知道,除了以純計算機可讀程序代碼方式實現客戶端和伺服器以外,完全可以透過將方法步驟進行邏輯編程來使得客戶端和伺服器以邏輯閘、開關、專用集成電路、可編程邏輯控制器和嵌入微控制器等的形式來實現相同功能。因此這種客戶端和伺服器可以被認為是一種硬體部 件,而對其內包括的用於實現各種功能的裝置也可以視為硬體部件內的結構。或者甚至,可以將用於實現各種功能的裝置視為既可以是實現方法的軟體模塊又可以是硬體部件內的結構。 Those skilled in the art also know that in addition to implementing the client and the server in a purely computer readable program code, it is entirely possible to logically program the method steps to enable the client and the server to use logic gates, switches, ASICs, and Program logic controllers and embedded microcontrollers, etc., to achieve the same functionality. Thus such a client and server can be considered a hardware component, and the means for implementing various functions included therein can also be considered as a structure within the hardware component. Or even a device for implementing various functions may be considered to be either a software module implementing the method or a structure within the hardware component.

本說明書中的各個實施方式均採用遞進的方式描述,各個實施方式之間相同相似的部分互相參見即可,每個實施方式重點說明的都是與其他實施方式的不同之處。尤其,針對客戶端和伺服器的實施方式來說,均可以參照前述方法的實施方式的介紹對照解釋。 The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the implementation of the client and the server, reference can be made to the description of the implementation of the foregoing method.

雖然透過實施方式描繪了本申請,本領域普通技術人員知道,本申請有許多變形和變化而不脫離本申請的精神,希望所附的申請專利範圍包括這些變形和變化而不脫離本申請的精神。 While the present invention has been described in terms of the embodiments of the present invention, it will be understood by those skilled in the art .

Claims (18)

一種視訊結果項的展示方法,包括:向伺服器發送包含搜尋關鍵詞的搜尋請求;接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項;在搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。  A method for displaying a video result item, comprising: sending a search request including a search keyword to a server; receiving a video result set that is matched by the server and matching the search keyword, where the video result set includes at least one a video result item associated with the barrage data; displaying, in the search result page, each video result item in the video result set; wherein, when the video result item associated with the barrage material is displayed, the video result item is displayed The associated barrage material is displayed in the occupied area.   根據請求項1所述的方法,其中,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料包括:在所述視訊結果項所佔的區域中建立浮窗,並在建立的所述浮窗中顯示關聯的所述彈幕資料。  The method of claim 1, wherein displaying the associated barrographic material in an area occupied by the video result item comprises: establishing a floating window in an area occupied by the video result item, and establishing The associated barrage material is displayed in the floating window.   根據請求項2所述的方法,其中,所述浮窗的背景色與所述搜尋結果頁面的背景色不同。  The method of claim 2, wherein the background color of the floating window is different from the background color of the search result page.   根據請求項1所述的方法,其中,所述方法還包括:在所述搜尋結果頁面中還顯示有用於控制所述彈幕資料開啟或者關閉的控件。  The method of claim 1, wherein the method further comprises: displaying, in the search result page, a control for controlling whether the barr material is turned on or off.   根據請求項1所述的方法,其中,所述方法還包括:與彈幕資料相關聯的視訊結果項所佔的區域中均包括一個控件,其中,所述控件用於控制所述區域中彈幕資料的開啟或者關閉。  The method of claim 1, wherein the method further comprises: including a control in an area occupied by the video result item associated with the barrage material, wherein the control is used to control the area to be shot Turn on or off the screen data.   根據請求項1所述的方法,其中,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料包括: 按照所述彈幕資料中每條彈幕的生成時間,在所述視訊結果項所佔的區域中依次播放所述彈幕資料中的各條彈幕。  The method of claim 1, wherein displaying the associated barrographic material in an area occupied by the video result item comprises: following the generation time of each barrage in the barrage data, Each barrage in the barrage material is played in turn in the area occupied by the video result item.   根據請求項1所述的方法,其中,在所述搜尋結果頁面中,與彈幕資料相關聯的視訊結果項位於不與彈幕資料相關聯的視訊結果項之前。  The method of claim 1, wherein, in the search result page, the video result item associated with the barrage material is located before the video result item that is not associated with the barrage material.   根據請求項1或7所述的方法,其中,在展示與彈幕資料相關聯的視訊結果項時,所述方法還包括:根據各個視訊結果項關聯的彈幕資料中的彈幕數量,對所述各個視訊結果項進行排序,並按照排序結果在所述搜尋結果頁面中展示所述各個視訊結果項;其中,各個所述視訊結果項所佔的區域中分別顯示有各自關聯的彈幕資料中的彈幕數量。  The method of claim 1 or 7, wherein, when displaying the video result item associated with the barrage material, the method further comprises: according to the number of barrage in the barrage data associated with each video result item, Each of the video result items is sorted, and the respective video result items are displayed in the search result page according to the sorting result; wherein each of the video result items occupies a respective associated barrage data The number of barrage in the middle.   根據請求項1所述的方法,其中,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料包括:判斷提供所述搜尋關鍵詞的用戶是否傾向於查看帶有彈幕資料的視訊;當確定所述用戶傾向於查看帶有彈幕資料的視訊時,才在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。  The method of claim 1, wherein displaying the associated barrographic material in an area occupied by the video result item comprises: determining whether a user providing the search keyword tends to view data with a barrage The video is displayed; when it is determined that the user tends to view the video with the barrage material, the associated barrage material is displayed in the area occupied by the video result item.   根據請求項9所述的方法,其中,判斷提供所述搜尋關鍵詞的用戶是否傾向於查看帶有彈幕資料的視訊包括:記錄所述用戶觀看視訊的總時長以及在觀看視訊過程中開啟彈幕的總時長,並計算所述開啟彈幕的總時長與所述觀看視訊的總時長之間的比值;當所述比值大於或者等於指定閾值時,確定提供所述搜尋 關鍵詞的用戶傾向於查看帶有彈幕資料的視訊。  The method of claim 9, wherein determining whether the user providing the search keyword tends to view the video with the barrage material comprises: recording the total duration of the user watching the video and turning on during the video viewing process. a total duration of the barrage, and calculating a ratio between the total duration of the opening of the barrage and the total duration of the viewing video; determining that the search keyword is provided when the ratio is greater than or equal to a specified threshold Users tend to view video with barrage material.   根據請求項1所述的方法,其中,提供所述搜尋關鍵詞的用戶與指定視訊類別相關聯;相應地,在搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項包括:在搜尋結果頁面中優先展示與所述指定視訊類別相適配的視訊結果項。  The method of claim 1, wherein the user providing the search keyword is associated with a specified video category; and correspondingly, displaying the video result items in the video result set in the search result page includes: The video result item corresponding to the specified video category is preferentially displayed in the page.   一種客戶端,包括網路通信端口、處理器以及顯示器,其中:所述網路通信端口,用於與伺服器進行資料互動;所述顯示器,用於顯示所述伺服器反饋的視訊結果集中的各個視訊結果項;所述處理器,用於控制所述網路通信端口向所述伺服器發送包含搜尋關鍵詞的搜尋請求並透過所述網路通信端口接收所述伺服器反饋的與所述搜尋關鍵詞相匹配的視訊結果集,所述視訊結果集中包括至少一個與彈幕資料相關聯的視訊結果項;在所述顯示器的搜尋結果頁面中展示所述視訊結果集中的各個視訊結果項;其中,當展示與彈幕資料相關聯的視訊結果項時,在所述視訊結果項所佔的區域中顯示關聯的所述彈幕資料。  A client includes a network communication port, a processor, and a display, wherein: the network communication port is configured to perform data interaction with a server; and the display is configured to display a video result set fed back by the server Each of the video result items; the processor, configured to control the network communication port to send a search request including a search keyword to the server, and receive the server feedback through the network communication port Searching for a video result set that matches the keyword, the video result set includes at least one video result item associated with the barrage data; and displaying, in the search result page of the display, each video result item in the video result set; Wherein, when the video result item associated with the barrage material is displayed, the associated barrage material is displayed in an area occupied by the video result item.   一種視訊結果項的提供方法,包括:接收客戶端發來的包含搜尋關鍵詞的搜尋請求,並從資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項;當所述至少一個視訊結果項中存在與彈幕資料相關聯的目 標結果項時,獲取所述目標結果項關聯的彈幕資料,並將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目標結果項時,所述客戶端在所述目標結果項所佔的區域中顯示關聯的所述彈幕資料。  A method for providing a video result item includes: receiving a search request sent by a client that includes a search keyword, and acquiring, from the database, at least one video result item that matches the search keyword; when the at least one Obtaining a barrage data associated with the target result item when the target result item associated with the barrage data is present in the video result item, and feeding back the at least one video result item and the obtained barrage data to the a client, so that the client displays each video result item in a search result page; wherein, when the target result item associated with the barrage material is displayed, the client is in an area occupied by the target result item The associated barrage material is displayed in the middle.   根據請求項13所述的方法,其中,所述搜尋請求中還包括用戶的指定視訊類別;相應地,在從資料庫中獲取與所述搜尋關鍵詞相匹配的至少一個視訊結果項之後,所述方法還包括:從所述至少一個視訊結果項中篩選出符合所述指定視訊類別的視訊結果項,並從符合所述指定視訊類別的視訊結果項中確定與彈幕資料相關聯的目標結果項。  The method of claim 13, wherein the search request further includes a specified video category of the user; and correspondingly, after acquiring at least one video result item matching the search keyword from the database, The method further includes: selecting, from the at least one video result item, a video result item that meets the specified video category, and determining a target result associated with the barrage data from the video result items that meet the specified video category. item.   根據請求項13所述的方法,其中,與所述目標結果項相關聯的彈幕資料按照下述方式確定:將所述目標結果項表徵的視訊的總時長劃分為預設數量的時長區間;統計每個所述時長區間內用戶針對所述視訊發布的彈幕的總數量;將用戶針對所述視訊發布的彈幕的總數量大於或者等於指定彈幕閾值的時長區間作為目標時長區間,並從各個所述目標時長區間內分別提取指定數量的彈幕;將從各個所述目標時長區間內提取的彈幕作為與所述目標結果項相關聯的彈幕資料。  The method of claim 13, wherein the barrage data associated with the target result item is determined in such a manner that the total duration of the video characterized by the target result item is divided into a preset number of durations. An interval; a total number of the barrages issued by the user for the video in each of the durations; and a time interval in which the total number of the barrages issued by the user for the video is greater than or equal to the specified barrage threshold is used as a target a time interval, and extracting a specified number of barrages from each of the target time duration intervals; the barrage extracted from each of the target time duration intervals is used as the barrage material associated with the target result item.   根據請求項13所述的方法,其中,當所述目標結果項為視訊合集時,與所述目標結果項相關聯的彈幕資料按照下述方式確定:從所述目標結果項表徵的各個視訊中分別提取相應的彈幕子集;將各個所述彈幕子集的組合作為所述目標結果項相關聯的彈幕資料。  The method of claim 13, wherein when the target result item is a video collection, the barrage data associated with the target result item is determined in the following manner: each video message represented from the target result item The respective subsets of the curtains are respectively extracted; the combination of each of the subsets of the screenlets is used as the barrage material associated with the target result item.   根據請求項16所述的方法,其中,所述彈幕子集按照下述方式確定:將所述視訊的總時長劃分為預設數量的時長區間;統計每個所述時長區間內用戶針對所述視訊發布的彈幕的總數量;將用戶針對所述視訊發布的彈幕的總數量大於或者等於指定彈幕閾值的時長區間作為目標時長區間,並從各個所述目標時長區間內分別提取指定數量的彈幕;將從各個所述目標時長區間內提取的彈幕作為所述視訊對應的彈幕子集。  The method of claim 16, wherein the sub-screen subset is determined according to the method of dividing the total duration of the video into a preset number of duration intervals; counting each of the durations The total number of the barrages issued by the user for the video; the duration of the barrage issued by the user for the video is greater than or equal to the duration of the specified barrage threshold as the target duration interval, and from each of the targets A specified number of barrages are respectively extracted in the long interval; the barrage extracted from each of the target duration segments is used as a subset of the bounce corresponding to the video.   一種伺服器,包括網路通信端口、存儲器以及處理器,其中:所述網路通信端口,用於與客戶端進行資料互動;所述存儲器,用於存儲視訊資源以及與所述視訊資源相關聯的彈幕資料;所述處理器,用於透過所述網路通信端口接收所述客戶端發來的包含搜尋關鍵詞的搜尋請求,並從所述存儲器中獲 取與所述搜尋關鍵詞相匹配的至少一個視訊結果項;當所述至少一個視訊結果項中存在與彈幕資料相關聯的目標結果項時,從所述存儲器中獲取所述目標結果項關聯的彈幕資料,並透過所述網路通信端口將所述至少一個視訊結果項以及獲取的所述彈幕資料反饋至所述客戶端,以使得所述客戶端在搜尋結果頁面中展示各個視訊結果項;其中,當展示與彈幕資料相關聯的目標結果項時,所述客戶端在所述目標結果項所佔的區域中顯示關聯的所述彈幕資料。  A server includes a network communication port, a memory, and a processor, wherein: the network communication port is configured to perform data interaction with a client, and the memory is configured to store a video resource and be associated with the video resource. The browser data is configured to receive, by using the network communication port, a search request that is sent by the client and includes a search keyword, and obtain, from the memory, a search keyword that matches the search keyword. At least one video result item; when there is a target result item associated with the barrage material in the at least one video result item, acquiring the barrage data associated with the target result item from the memory, and transmitting The network communication port feeds back the at least one video result item and the obtained barrage data to the client, so that the client displays each video result item in the search result page; wherein, when the display and the bullet are displayed When the target data item associated with the screen material is associated, the client displays the associated barrage material in an area occupied by the target result item.  
TW107103627A 2017-07-03 2018-02-01 Method for displaying and providing video result item, client, and server TW201907323A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201710532678.8 2017-07-03
CN201710532678.8A CN109213894A (en) 2017-07-03 2017-07-03 A kind of displaying, providing method, client and the server of results for video item

Publications (1)

Publication Number Publication Date
TW201907323A true TW201907323A (en) 2019-02-16

Family

ID=64949711

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107103627A TW201907323A (en) 2017-07-03 2018-02-01 Method for displaying and providing video result item, client, and server

Country Status (3)

Country Link
CN (1) CN109213894A (en)
TW (1) TW201907323A (en)
WO (1) WO2019007017A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111372109B (en) * 2019-11-29 2021-05-11 广东海信电子有限公司 Intelligent television and information interaction method
CN111031397B (en) * 2019-12-05 2022-09-30 北京奇艺世纪科技有限公司 Method, device, equipment and storage medium for collecting clip comments
CN112365322A (en) * 2020-11-25 2021-02-12 刘维 Supply and demand docking method and system
CN114584824A (en) * 2020-12-01 2022-06-03 阿里巴巴集团控股有限公司 Data processing method and system, electronic equipment, server and client equipment

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6480837B1 (en) * 1999-12-16 2002-11-12 International Business Machines Corporation Method, system, and program for ordering search results using a popularity weighting
JP2003141167A (en) * 2001-10-31 2003-05-16 Toshiba Corp Content providing system, retrieval server and content providing method
CN102402519A (en) * 2010-09-09 2012-04-04 腾讯科技(深圳)有限公司 Search method, search result display method, search server and client
CN104469508B (en) * 2013-09-13 2018-07-20 中国电信股份有限公司 Method, server and the system of video location are carried out based on the barrage information content
CN103533442B (en) * 2013-09-27 2018-01-23 北京奇虎科技有限公司 The loading method and device of video barrage
CN104636434A (en) * 2014-12-31 2015-05-20 百度在线网络技术(北京)有限公司 Search result processing method and device
CN104994425B (en) * 2015-06-30 2018-11-23 北京奇艺世纪科技有限公司 A kind of video identifier method and apparatus
CN105095389A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Method and device for displaying search result
CN106096050A (en) * 2016-06-29 2016-11-09 乐视控股(北京)有限公司 A kind of method and apparatus of video contents search
CN106599289A (en) * 2016-12-23 2017-04-26 北京奇虎科技有限公司 Method and device for aggregating cartoon information message in search result page
CN106777206A (en) * 2016-12-23 2017-05-31 北京奇虎科技有限公司 Movie and television play class keywords search for exhibiting method and device

Also Published As

Publication number Publication date
CN109213894A (en) 2019-01-15
WO2019007017A1 (en) 2019-01-10

Similar Documents

Publication Publication Date Title
JP7201729B2 (en) Video playback node positioning method, apparatus, device, storage medium and computer program
US11438637B2 (en) Computerized system and method for automatic highlight detection from live streaming media and rendering within a specialized media player
US11323753B2 (en) Live video classification and preview selection
US10645142B2 (en) Video keyframes display on online social networks
CN113473189B (en) System and method for providing content in a content list
TW201907323A (en) Method for displaying and providing video result item, client, and server
CN109286850B (en) Video annotation method and terminal based on bullet screen
WO2017161784A1 (en) Method and device for displaying recommended contents
EP3326377A1 (en) Video-production system with social-media features
US20210248198A1 (en) Content Recommendation Method and Apparatus, Mobile Terminal, and Server
CN110475140B (en) Bullet screen data processing method and device, computer readable storage medium and computer equipment
WO2018108047A1 (en) Method and device for generating information displaying image
US10708662B1 (en) Customized streaming of digital content
US10620801B1 (en) Generation and presentation of interactive information cards for a video
WO2022247220A9 (en) Interface processing method and apparatus
CN109245989A (en) A kind of processing method, device and computer readable storage medium shared based on information
CN103699694A (en) Data processing method and device
CN110177306A (en) Video broadcasting method, device, mobile terminal and medium based on mobile terminal
US20170017382A1 (en) System and method for interaction between touch points on a graphical display
KR20160016574A (en) Method and device for providing image
CN107911749B (en) Method for displaying and providing rehearsal graph, client and server
CN108737850B (en) Video recommendation method, server and client
CN116049490A (en) Material searching method and device and electronic equipment
CN112533032B (en) Video data processing method and device and storage medium
CN113111243A (en) Display object sharing method and device and storage medium