[go: up one dir, main page]

WO2015081848A1 - Socialized extended search method and corresponding device and system - Google Patents

Socialized extended search method and corresponding device and system Download PDF

Info

Publication number
WO2015081848A1
WO2015081848A1 PCT/CN2014/092803 CN2014092803W WO2015081848A1 WO 2015081848 A1 WO2015081848 A1 WO 2015081848A1 CN 2014092803 W CN2014092803 W CN 2014092803W WO 2015081848 A1 WO2015081848 A1 WO 2015081848A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
user
user information
server
document data
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.)
Ceased
Application number
PCT/CN2014/092803
Other languages
French (fr)
Chinese (zh)
Inventor
李天华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Publication of WO2015081848A1 publication Critical patent/WO2015081848A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • G06Q10/40
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata

Definitions

  • the present invention relates to data processing technologies, and in particular, to a socialized extended search method and corresponding apparatus and system.
  • users rely more and more on search engines to obtain network data.
  • users can send search requests to servers on the network side through terminals, and search engines in the server search according to keywords carried in search requests.
  • the document data containing the keyword is included.
  • the prior art only considers the degree of relevance between keywords and document data, and does not consider the specific content contained in the document data.
  • the document data with the highest degree of relevance is listed at the top.
  • the information may only contain the keywords that the user wants to search, and does not contain the specific content related to the keywords. From the user's point of view, the document data thus searched does not have reference value.
  • the present invention has been made in order to provide a social extended search method and corresponding apparatus and system that overcomes the above problems or at least partially solves or alleviates the above problems.
  • a socialized extended search method including:
  • the first server receives a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;
  • the first server acquires friend information associated with the user information according to the user information
  • the first server acquires the friend information associated with the user information according to the user information, including:
  • the first server sends a request message for acquiring the friend information to the second server, where the request message includes the user information, so that the second server acquires the friend corresponding to the user information according to the user information.
  • Information the friend information is sent to the first server.
  • the user information is user registration information registered by the user terminal in the first server and the second server.
  • the first server After the first server obtains the list of document data associated with the keyword according to the keyword, the first server includes:
  • the first server receives document data sent by the user terminal
  • the buddy information is information in a buddy list corresponding to the user information saved by the second server.
  • a search data processing apparatus which is located on a first server side, and includes:
  • a receiving module configured to receive a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;
  • a first obtaining module configured to obtain, according to the keyword, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword;
  • a second acquiring module configured to acquire, according to the user information, friend information associated with the user information
  • a third obtaining module configured to search, according to the friend information obtained by the second acquiring module, other user information that matches the friend information in the document data list obtained by the first acquiring module, according to the The matched other user information gets the document data corresponding to the matched other user information.
  • the second acquiring module is specifically configured to:
  • the user information is user registration information registered by the user terminal in the first server and the second server.
  • the receiving module is further configured to receive document data sent by the user terminal;
  • the device also includes:
  • a saving module configured to store the document data and the user information correspondingly into the document data list.
  • the buddy information is information in a buddy list corresponding to the user information saved by the second server.
  • a search data processing system which is located on a first server side, and includes: a first server, a user terminal, and a second server;
  • the first server includes the search data processing device of the second aspect
  • the user terminal is configured to send a search request to the first server, where the search request includes a keyword to be searched by the user and the user information, so that the first server obtains the Keyword associated document data list, the document data list includes other user information and document data associated with the keyword; and according to the user information, acquiring friend information associated with the user information; according to the friend information Searching, in the document data list, other user information that matches the friend information, and obtaining document data corresponding to the matched other user information according to the matched other user information;
  • the second server is configured to receive, by the first server, a request message for acquiring buddy information, where the request message includes the user information, and according to the user information, acquire, corresponding to the user information, The friend information, the friend information is sent to the first server;
  • the user information is user registration information registered by the user terminal in the first server and the second server.
  • a computer program comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform a socialized extended search method according to the above .
  • a computer readable medium storing a computer program as described above is provided.
  • the first server of the embodiment receives a search request sent by the user terminal, where the search request includes a keyword to be searched by the user and the user information, and according to the keyword, obtain a document data list, where the document data list is Included with all other user information that concerns the keyword and corresponding document data; acquiring, according to the user information, friend information associated with the user information; and searching and searching for the document data list according to the friend information.
  • the other user information matched by the friend information is obtained according to the matched other user information, and the document data corresponding to the matched other user information is obtained.
  • the method not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and combines the user's desire to search for the keyword and the friend's attention to the keyword. Get the corresponding search results.
  • the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.
  • FIG. 1 is a schematic flowchart of a socialized extended search method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a socialized extended search method according to another embodiment of the present invention.
  • FIG. 3 is a schematic diagram of a collection of webpage URLs corresponding to the keyword "Apple 5s" applied in the prior art
  • FIG. 4 is a schematic diagram of a set of webpage URLs corresponding to a keyword “Apple 5s” applied in an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a socialized extended search apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • FIG. 7 schematically shows a socialized extended search method for performing the present invention a block diagram of a computing device
  • Fig. 8 schematically shows a storage unit for holding or carrying program code implementing the socialized extended search method according to the present invention.
  • the first server is a server that provides search engine functions, for example, includes a 360 search engine server;
  • the second server is a server that provides network social functions, for example, includes a WeChat server, a Weibo server, a QQ server, etc.;
  • the terminal includes, for example, a computing device such as a desktop computer or a notebook computer, or a mobile device such as a user mobile phone.
  • the user registration information of the embodiment of the present invention does not involve user privacy information.
  • a schematic flowchart of a socialized extended search method according to Embodiment 1 of the present invention is applicable to a first server.
  • the method according to the first embodiment includes:
  • Step 101 Receive a search request sent by a user terminal, where the search request includes a keyword that the user wants to search and the user information.
  • the first server may provide a user registration interface, and the user may fill in the user registration information (including a user name, a user password, or a user email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate
  • the registration request is sent to the first server for user registration, so that the first server can acquire and store user registration information (including user information such as user name, user password or user email address).
  • Step 102 Obtain a document data list corresponding to the keyword according to the keyword, where the document data list includes other user information and document data associated with the keyword;
  • the document data associated with the other user information includes other user operation records (such as other user purchase records) or input text information (such as user comments input by other users);
  • the first server After the first server receives the search request sent by the current user through the user terminal, the first server obtains a document data list corresponding to the keyword according to the keyword included in the search request, and the document data list passes the user.
  • the terminal displays, the current user can add document data (operation record or text information) in the document data list through the user terminal, so that the first server can store the document data added by the current user and the user information correspondingly to the document data list. in.
  • Step 103 Acquire, according to the user information, friend information associated with the user information.
  • the user information is user registration information (including user information such as a user name, a user password, or a user email address) of the user in the first server and the second server by the user terminal.
  • the second server may provide a user registration interface, and the user may fill in the user registration information (including the user name, the user password, or the user's email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate a registration request to send to the first
  • the second server performs user registration, so that the second server can acquire and store user registration information (including user information such as user name, user password, or user email address).
  • the first server sends a request message for obtaining the buddy information to the second server, where the request message includes the user information, so that the second server acquires the user information according to the user information.
  • the friend information is sent to the first server.
  • the buddy information is the information in the buddy list corresponding to the user information saved by the second server (social website), specifically the user registration information of the buddy of the user in the second server (social website).
  • the first server obtains the friend information of the user from the second server in advance, and saves the obtained friend information in the friend information table of the user in the second server, so that the first server is based on the user information.
  • the local friend information table is directly queried to obtain the friend information corresponding to the user information.
  • Step 104 Search for other user information that matches the friend information in the document data list according to the friend information, and obtain document data corresponding to the matched other user information according to the matched other user information.
  • the other user information that is matched with the user information may also be referred to as matching friend information
  • the document data corresponding to the matched other user information may also be referred to as document data corresponding to the friend information, wherein the friend data corresponds to the friend information.
  • the document data includes document data of the friend information associated with the keyword, and may include, for example, a friend's operation record (such as a friend purchase record) or input text information (such as a friend review).
  • the first server of the embodiment receives the search request sent by the user terminal, where the search request includes the keyword to be searched by the user and the user information, and according to the keyword, obtain a document data list, and the document data
  • the list includes all other user information that concerns the keyword and corresponding document data; according to the user information, acquiring friend information associated with the user information; and searching for the document data list according to the friend information Other user information that matches the friend information, and obtains document data corresponding to the matched other user information according to the matched other user information.
  • the method of the invention not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and combines the user's desire to search for the keyword and the friend's attention to the keyword. , get the corresponding search results.
  • the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.
  • the first server needs to determine the user registration information of each user in the social networking website that the user uses. In addition, the first server also needs to obtain the friend information of each social networking website that the user uses. , for example, a user's user registration information in the social networking site.
  • users usually use multiple social networking sites.
  • they When registering each social networking site, they usually fill in some user registration information that can uniquely identify the user, such as user name, email address, instant messaging account, etc. Use these user registration information for user identification to determine all social networking sites that users use.
  • the first server can provide a user registration interface, and the user can fill in the user registration information (including the user name, user password or user email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate a registration request to send to the first
  • a server performs user registration, so that the first server can acquire and store user registration information (including user information such as a user name, a user password, or a user email address) of each user;
  • the first server may determine all social networking websites used by each user according to the user registration information of each user stored locally, for example, the first server obtains all user registration information of the social networking website from each social networking website ( For example, the user's e-mail address of each registered user), according to the user registration information of the registered user stored locally (such as the user's e-mail address), if the user registration information (such as the user's e-mail address) in the social networking website is found.
  • the user registration information (such as the user email address) of the registered user stored locally by the first server is the same, and the user corresponding to the user registration information may be determined to use the social networking website.
  • the first server may determine a social networking website used by each registered user stored locally, and may also generate a mapping table of the social networking website corresponding to each registered user, where the mapping table of the social networking website is as shown in FIG.
  • the social user information corresponding to each social networking website used by each registered user may be obtained from the mapping table of the social networking website, according to the social interaction corresponding to each social networking website.
  • User information obtaining friend information of each social user information on the corresponding social networking website, for example, downloading the friend information of the social user information in each social networking website from a server (equivalent to the second server) of each social networking website; Add the obtained friend information to the mapping table of the above social networking site, and the mapping table of the social networking site after adding the friend information is as shown in Table 2:
  • the first server may release the web crawler, obtain a webpage (document data) on the Internet, and the server segments the obtained webpage to form an index table indexed by the keyword.
  • the index table is used to search for a webpage according to a keyword index, and can implement a fast and efficient webpage search.
  • the index table stores a uniform resource locator (URL) of a keyword and a webpage corresponding to the keyword. .
  • the web crawler also known as a web spider, is a program for automatically extracting web pages in the prior art, which is a search engine for downloading web pages from the World Wide Web, and is an important component of a search engine. No details are given.
  • FIG. 2 is a schematic flowchart of a socialized extended search method according to another embodiment of the present invention, where the method is applicable to a first server. As shown in FIG. 2, the method includes:
  • Step 201 Receive a search request sent by a user through a user terminal, where the search request includes a keyword that the user wants to search and user information.
  • the user information includes user registration information registered by the user in the first server;
  • the first server provides a user login function, and provides a user login interface.
  • the user can fill in the user registration information on the user login interface and click a button that triggers the login, generate a login request and send it to the first server for user verification, and complete the user login.
  • the user can input a keyword in the interface of the search function provided by the first server, and click a corresponding button for triggering the search to generate a search request and send the search request to the first server, where the search request carries the keyword to be searched by the user. And the user registration information in the first server.
  • Step 202 Obtain a webpage corresponding to the keyword according to the keyword that the user wants to search. a collection of URLs, the set of webpage URLs including a URL of the review webpage;
  • the set of webpage URLs in this embodiment is a representation form of the document data list in the present invention, and the manifestation form of the document data list in the present invention is not limited thereto;
  • the keyword to be searched by the user is “Apple 5s”
  • the first server queries the index table according to the keyword “Apple 5s” to obtain a collection of webpage URLs corresponding to the keyword “Apple 5s”, after which the server searches.
  • the obtained set of webpage URLs is sent to the user terminal.
  • the set of webpage URLs is displayed on the user terminal side through a hypertext transfer protocol HTTP response, so that the user can click on the webpage URL in the set of webpage URLs to access the related "Apple 5s".
  • a web page is a representation form of the document data according to the present invention, and the representation form of the document data according to the present invention is not limited thereto;
  • FIG. 3 is a schematic diagram of a collection of webpage URLs corresponding to the keyword “Apple 5s” applied in the prior art. As shown in FIG. 3, the set of webpage URLs corresponding to the keyword “Apple 5s” includes the keyword. The URL of the document data (such as parameters, quotes, merchants, forums, reviews, etc.) corresponding to "Apple 5s".
  • Step 203 Obtain, according to the set of the webpage URLs, the review user information in the review webpage;
  • the user can access other user reviews (equivalent to document data) of the relevant "Apple 5s" by clicking the URL of the review webpage (equivalent to the document data) corresponding to the keyword "Apple 5s"; wherein, each user comment
  • the user information written in the comment is recorded.
  • the user information written into the review is referred to as the review user information.
  • the user may also write the user's comment on "Apple 5s" in the user comment interface (equivalent to writing document data).
  • Step 204 Acquire, according to user information carried in the search request, friend information corresponding to the user information.
  • the first server queries the mapping table of the social networking website according to the user information carried in the search request, determines the social networking website information used by the user, and the friend information of the social networking website used by the user.
  • Step 205 Search for the review user information that matches the friend information in the review user information, and obtain the corresponding user comment according to the matched review user information.
  • the comment user information obtained in step 203 includes 10 pieces of user information, and the number of friend information obtained in step 204 is 15, wherein 5 of the 10 comment user information are included in the friend information, and may be determined.
  • the 5 review user information is with
  • the user information matched by the friend information also referred to as matched friend information
  • User comments corresponding to user information (referred to as friend reviews).
  • the URL of the friend comment obtained above may be displayed on the user terminal side through a hypertext transfer protocol HTTP response, so that the user can click the URL of the friend review to access the friend comment of the related "Apple 5s".
  • FIG. 4 is a schematic diagram of a set of webpage URLs corresponding to the keyword “Apple 5s” applied in the embodiment of the present invention.
  • the set of webpage URLs corresponding to the keyword “Apple 5s” includes the key.
  • the method described in the embodiment of the present invention not only considers the keyword "Apple 5s” that the user wants to search, but also obtains search results associated with the "Apple 5s" (for example, parameters, pictures, merchants, prices, etc. related to the "Apple 5s".
  • search results associated with the "Apple 5s” for example, parameters, pictures, merchants, prices, etc. related to the "Apple 5s”.
  • the friend information of the user information on each social networking site is also considered, and according to the friend information of the user, the friend's friend rating of the "Apple 5s" is also obtained, which is provided by the embodiment of the present invention.
  • the search results obtained by the method are more effective, reflecting the user's social search requirements.
  • FIG. 5 is a schematic structural diagram of a socialized extended search apparatus according to an embodiment of the present invention.
  • the receiving module 21 is configured to receive a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;
  • the first obtaining module 22 is configured to obtain, according to the keyword received by the receiving module 21, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword. ;
  • the second obtaining module 23 is configured to acquire, according to the user information received by the receiving module 21, friend information associated with the user information;
  • the third obtaining module 24 is configured to search, according to the friend information obtained by the second acquiring module 23, other user information that matches the friend information in the document data list obtained by the first obtaining module 22, Document data corresponding to the matched other user information is obtained according to the matched other user information.
  • the second obtaining module 23 is specifically configured to:
  • the friend information corresponding to the user information is sent to the first server.
  • the user information is user registration information registered by the user terminal in the first server and the second server.
  • the receiving module 21 is further configured to receive document data sent by the user terminal, where the user data is carried in the document data;
  • the device further includes:
  • the saving module 25 is configured to store the document data received by the receiving module 21 and the user information in the document data list.
  • the buddy information is information in a buddy list corresponding to the user information saved by the second server.
  • the method in this embodiment considers not only the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the keyword. Concerned, get the corresponding search results.
  • the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.
  • FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention.
  • the server in this embodiment includes a processor 31, a memory 32, and a communication bus 33, wherein the processor 31 passes through the communication bus 33.
  • the memory 32 is connected, and the memory 32 stores instructions for implementing the above-mentioned search data processing method.
  • the processor 31 calls the instruction in the memory 32, the following steps can be performed:
  • the obtaining the friend information associated with the user information according to the user information includes:
  • the friend information corresponding to the user information is sent, and the friend information is sent to the server.
  • the user information is user registration information registered by the user terminal in the server and the another server.
  • the method After the obtaining the list of document data associated with the keyword according to the keyword, the method includes:
  • the buddy information is information in a buddy list corresponding to the user information saved by the second server.
  • the method of the embodiment not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the key.
  • the word's attention get the corresponding search results.
  • the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.
  • the embodiment of the present invention further provides a socialized extended search system, which may include: a first server, a user terminal, and a second server;
  • the first server is a server provided in the embodiment shown in FIG. 6, which includes the socialized extended search device as described in the embodiment shown in FIG. 5;
  • the user terminal is configured to send a search request to the first server, where the search request includes a keyword to be searched by the user and the user information, so that the first server obtains the Keyword associated document data list, the document data list includes other user information and document data associated with the keyword; and according to the user information, acquiring friend information associated with the user information; according to the friend information Searching, in the document data list, other user information that matches the friend information, and obtaining document data corresponding to the matched other user information according to the matched other user information;
  • the second server is configured to receive, by the first server, a request message for acquiring buddy information, where the request message includes the user information, and according to the user information, acquire, corresponding to the user information, The friend information, the friend information is sent to the first server;
  • the user information is user registration information registered by the user terminal in the first server and the second server.
  • the method of the embodiment not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the key.
  • the word's attention get the corresponding search results.
  • the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.
  • modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment.
  • the modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components.
  • any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined.
  • Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.
  • the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
  • Those skilled in the art will appreciate that some or all of the functionality of some or all of the components of the socialized extended search device in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or digital signal processor (DSP).
  • DSP digital signal processor
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
  • Figure 7 illustrates a computing device that can implement a socialized extended search in accordance with the present invention.
  • the computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
  • Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above.
  • storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively.
  • the program code can be read from or written to one or more computer program products.
  • Such computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks.
  • Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG.
  • the storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 720 in the computing device of FIG.
  • the program code can be compressed, for example, in an appropriate form.
  • the storage unit includes computer readable code 731', ie, code readable by a processor, such as 710, that when executed by a computing device causes the computing device to perform each of the methods described above step.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Disclosed are a socialized extended search method and a corresponding device and system. The method is applicable to a first server and comprises: receiving a search request transmitted by a user terminal, where the search request comprises a keyword that a user intends to search and the user information; acquiring, on the basis of the keyword, a document data list associated with the keyword, where the document data list comprises other user information and document data associated with the keyword; acquiring, on the basis of the user information, friend information associated with the user information; and, searching, on the basis of the friend information, in the document data list for other user information matching the friend information, and acquiring, on the basis of the matching other user information, document data corresponding to the matching other user information. Compared with the prior art, the validity of a search result acquired by employing the method provided in embodiments of the present invention is higher.

Description

社交化扩展搜索方法及相应的装置、系统Socialized extended search method and corresponding device and system 技术领域Technical field

本发明涉及数据处理技术,尤其涉及一种社交化扩展搜索方法及相应的装置、系统。The present invention relates to data processing technologies, and in particular, to a socialized extended search method and corresponding apparatus and system.

背景技术Background technique

随着网络技术的不断发展,用户越来越依赖搜索引擎来获取网络数据,通常,用户可以通过终端向网络侧的服务器发送搜索请求,服务器中的搜索引擎根据搜索请求中携带的关键词,搜索出包含有所述关键词的文档数据。With the continuous development of network technology, users rely more and more on search engines to obtain network data. Generally, users can send search requests to servers on the network side through terminals, and search engines in the server search according to keywords carried in search requests. The document data containing the keyword is included.

然而,互联网上的数据质量参差不齐,现有技术仅考虑关键词与文档数据字面上的相关程度,并未考虑文档数据所包含的具体内容,排在最前面的字面相关程度高的文档数据信息可能只是包含有用户欲搜索的关键词,并未包含与关键词相关的具体内容,从用户的角度来看,这样搜索出来的文档数据并不具有参考价值。However, the quality of data on the Internet is uneven. The prior art only considers the degree of relevance between keywords and document data, and does not consider the specific content contained in the document data. The document data with the highest degree of relevance is listed at the top. The information may only contain the keywords that the user wants to search, and does not contain the specific content related to the keywords. From the user's point of view, the document data thus searched does not have reference value.

由此可知,现有的搜索数据处理方法得出的搜索结果的有效性较低。It can be seen that the search results obtained by the existing search data processing method are less effective.

发明内容Summary of the invention

鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的社交化扩展搜索方法和相应的装置、系统。In view of the above problems, the present invention has been made in order to provide a social extended search method and corresponding apparatus and system that overcomes the above problems or at least partially solves or alleviates the above problems.

依据本发明的一方面,提供一种社交化扩展搜索方法,包括:According to an aspect of the present invention, a socialized extended search method is provided, including:

第一服务器接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;The first server receives a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;

所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;Determining, by the first server, a document data list associated with the keyword according to the keyword, where the document data list includes other user information and document data associated with the keyword;

所述第一服务器根据所述用户信息,获取与所述用户信息关联的好友信息;The first server acquires friend information associated with the user information according to the user information;

所述第一服务器根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息 得到与所述匹配的其他用户信息对应的文档数据。Determining, by the first server, other user information that matches the friend information in the document data list according to the friend information, according to the matched other user information. Document data corresponding to the matched other user information is obtained.

其中,所述第一服务器根据所述用户信息,获取与所述用户信息关联的好友信息,包括:The first server acquires the friend information associated with the user information according to the user information, including:

所述第一服务器向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。The first server sends a request message for acquiring the friend information to the second server, where the request message includes the user information, so that the second server acquires the friend corresponding to the user information according to the user information. Information, the friend information is sent to the first server.

其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server.

其中,所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表之后,包括:After the first server obtains the list of document data associated with the keyword according to the keyword, the first server includes:

所述第一服务器接收所述用户终端发送的文档数据;The first server receives document data sent by the user terminal;

将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。Correspondingly storing the document data and the user information into the document data list.

其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。The buddy information is information in a buddy list corresponding to the user information saved by the second server.

依据本发明的另一方面,还提供一种搜索数据处理装置,位于第一服务器侧,其中,包括:According to another aspect of the present invention, a search data processing apparatus is further provided, which is located on a first server side, and includes:

接收模块,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;a receiving module, configured to receive a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;

第一获取模块,用于根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;a first obtaining module, configured to obtain, according to the keyword, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword;

第二获取模块,用于根据所述用户信息,获取与所述用户信息关联的好友信息;a second acquiring module, configured to acquire, according to the user information, friend information associated with the user information;

第三获取模块,用于根据所述第二获取模块得到的所述好友信息,在所述第一获取模块得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。a third obtaining module, configured to search, according to the friend information obtained by the second acquiring module, other user information that matches the friend information in the document data list obtained by the first acquiring module, according to the The matched other user information gets the document data corresponding to the matched other user information.

其中,所述第二获取模块具体用于:The second acquiring module is specifically configured to:

向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述 用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。Sending a request message for obtaining friend information to the second server, where the request message includes the The user information is obtained, so that the second server acquires the friend information corresponding to the user information according to the user information, and sends the friend information to the first server.

其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server.

其中,所述接收模块,还用于接收所述用户终端发送的文档数据;The receiving module is further configured to receive document data sent by the user terminal;

所述装置还包括:The device also includes:

保存模块,用于将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。And a saving module, configured to store the document data and the user information correspondingly into the document data list.

其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。The buddy information is information in a buddy list corresponding to the user information saved by the second server.

依据本发明的又一方面,还提供一种搜索数据处理系统,位于第一服务器侧,其中,包括:第一服务器、用户终端和第二服务器;According to still another aspect of the present invention, a search data processing system is further provided, which is located on a first server side, and includes: a first server, a user terminal, and a second server;

所述第一服务器包括如第二方面所述的搜索数据处理装置;The first server includes the search data processing device of the second aspect;

所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;The user terminal is configured to send a search request to the first server, where the search request includes a keyword to be searched by the user and the user information, so that the first server obtains the Keyword associated document data list, the document data list includes other user information and document data associated with the keyword; and according to the user information, acquiring friend information associated with the user information; according to the friend information Searching, in the document data list, other user information that matches the friend information, and obtaining document data corresponding to the matched other user information according to the matched other user information;

所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器;The second server is configured to receive, by the first server, a request message for acquiring buddy information, where the request message includes the user information, and according to the user information, acquire, corresponding to the user information, The friend information, the friend information is sent to the first server;

所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server.

根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上述的社交化扩展搜索方法。According to still another aspect of the present invention, a computer program is provided, comprising computer readable code, when the computer readable code is run on a computing device, causing the computing device to perform a socialized extended search method according to the above .

根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了如上所述的计算机程序。According to still another aspect of the present invention, a computer readable medium storing a computer program as described above is provided.

本发明的有益效果为: The beneficial effects of the invention are:

本实施例的第一服务器接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息,根据所述关键词,得到文档数据列表,所述文档数据列表中包括所有关注所述关键词的其他用户信息以及对应的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The first server of the embodiment receives a search request sent by the user terminal, where the search request includes a keyword to be searched by the user and the user information, and according to the keyword, obtain a document data list, where the document data list is Included with all other user information that concerns the keyword and corresponding document data; acquiring, according to the user information, friend information associated with the user information; and searching and searching for the document data list according to the friend information The other user information matched by the friend information is obtained according to the matched other user information, and the document data corresponding to the matched other user information is obtained. The method not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and combines the user's desire to search for the keyword and the friend's attention to the keyword. Get the corresponding search results. Compared with the prior art, the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.

上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。The above description is only an overview of the technical solutions of the present invention, and the above-described and other objects, features and advantages of the present invention can be more clearly understood. Specific embodiments of the invention are set forth below.

附图说明DRAWINGS

通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not to be construed as limiting. Throughout the drawings, the same reference numerals are used to refer to the same parts. In the drawing:

图1为本发明一实施例提供的社交化扩展搜索方法的流程示意图;1 is a schematic flowchart of a socialized extended search method according to an embodiment of the present invention;

图2为本发明另一实施例提供的社交化扩展搜索方法的流程示意图;2 is a schematic flowchart of a socialized extended search method according to another embodiment of the present invention;

图3为现有技术应用的与关键词“苹果5s”对应的网页URL的集合的示意图;3 is a schematic diagram of a collection of webpage URLs corresponding to the keyword "Apple 5s" applied in the prior art;

图4为本发明实施例中应用的与关键词“苹果5s”对应的网页URL的集合的示意图;4 is a schematic diagram of a set of webpage URLs corresponding to a keyword “Apple 5s” applied in an embodiment of the present invention;

图5为本发明一实施例提供的社交化扩展搜索装置的结构示意图;FIG. 5 is a schematic structural diagram of a socialized extended search apparatus according to an embodiment of the present invention;

图6为本发明一实施例提供的服务器的结构示意图;FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention;

图7示意性地示出了用于执行根据本发明的社交化扩展搜索方法 的计算设备的框图;以及FIG. 7 schematically shows a socialized extended search method for performing the present invention a block diagram of a computing device;

图8示意性地示出了用于保持或者携带实现根据本发明的社交化扩展搜索方法的程序代码的存储单元。Fig. 8 schematically shows a storage unit for holding or carrying program code implementing the socialized extended search method according to the present invention.

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

本发明实施例所述的第一服务器为提供搜索引擎功能的服务器,例如包括360搜索引擎服务器;第二服务器为提供网络社交功能的服务器,例如包括微信服务器、微博服务器、QQ服务器等;用户终端例如包括台式电脑或笔记本电脑等计算设备,或者包括用户手机等移动设备。The first server according to the embodiment of the present invention is a server that provides search engine functions, for example, includes a 360 search engine server; the second server is a server that provides network social functions, for example, includes a WeChat server, a Weibo server, a QQ server, etc.; The terminal includes, for example, a computing device such as a desktop computer or a notebook computer, or a mobile device such as a user mobile phone.

需要说明的是,本发明实施例的用户注册信息不涉及用户隐私信息。It should be noted that the user registration information of the embodiment of the present invention does not involve user privacy information.

如图1所示,本发明实施例一提供的社交化扩展搜索方法的流程示意图,所述方法可应用于第一服务器。如图所示,依据本实施例一的方法包括:As shown in FIG. 1 , a schematic flowchart of a socialized extended search method according to Embodiment 1 of the present invention is applicable to a first server. As shown in the figure, the method according to the first embodiment includes:

步骤101、接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;Step 101: Receive a search request sent by a user terminal, where the search request includes a keyword that the user wants to search and the user information.

依据本发明的一个实施例,第一服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第一服务器进行用户注册,这样,第一服务器可以获取并存储用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。According to an embodiment of the present invention, the first server may provide a user registration interface, and the user may fill in the user registration information (including a user name, a user password, or a user email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate The registration request is sent to the first server for user registration, so that the first server can acquire and store user registration information (including user information such as user name, user password or user email address).

步骤102、根据所述关键词,得到与所述关键词对应的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据; Step 102: Obtain a document data list corresponding to the keyword according to the keyword, where the document data list includes other user information and document data associated with the keyword;

其中,其他用户信息与所述关键词关联的文档数据中包括其他用户的操作记录(如其他用户购买记录)或者输入的文字信息(如其他用户输入的用户点评);The document data associated with the other user information includes other user operation records (such as other user purchase records) or input text information (such as user comments input by other users);

具体地,第一服务器接收当前用户通过用户终端发送的搜索请求之后,第一服务器根据所述搜索请求中包括的关键词,得到与所述关键词对应的文档数据列表,该文档数据列表通过用户终端进行展示,当前用户可以通过用户终端在文档数据列表中添加文档数据(操作记录或文字信息),以使第一服务器可以将当前用户添加的文档数据以及所述用户信息对应存储到文档数据列表中。Specifically, after the first server receives the search request sent by the current user through the user terminal, the first server obtains a document data list corresponding to the keyword according to the keyword included in the search request, and the document data list passes the user. The terminal displays, the current user can add document data (operation record or text information) in the document data list through the user terminal, so that the first server can store the document data added by the current user and the user information correspondingly to the document data list. in.

步骤103、根据所述用户信息,获取与所述用户信息关联的好友信息;Step 103: Acquire, according to the user information, friend information associated with the user information.

需要说明的是,上述用户信息是用户通过用户终端在所述第一服务器和所述第二服务器中的用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。It should be noted that the user information is user registration information (including user information such as a user name, a user password, or a user email address) of the user in the first server and the second server by the user terminal.

具体地,第二服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第二服务器进行用户注册,这样,第二服务器可以获取并存储用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。Specifically, the second server may provide a user registration interface, and the user may fill in the user registration information (including the user name, the user password, or the user's email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate a registration request to send to the first The second server performs user registration, so that the second server can acquire and store user registration information (including user information such as user name, user password, or user email address).

具体实现时,第一服务器向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。其中,好友信息为第二服务器(社交网站)保存的与所述用户信息对应的好友名单中的信息,具体为该用户的好友在第二服务器(社交网站)中的用户注册信息。In a specific implementation, the first server sends a request message for obtaining the buddy information to the second server, where the request message includes the user information, so that the second server acquires the user information according to the user information. The friend information is sent to the first server. The buddy information is the information in the buddy list corresponding to the user information saved by the second server (social website), specifically the user registration information of the buddy of the user in the second server (social website).

或者,第一服务器预先已经从第二服务器中获取该用户的好友信息,并将获取的好友信息保存在该用户在第二服务器中的好友信息表中,这样,第一服务器根据所述用户信息,直接查询本地的好友信息表获取与该用户信息对应的好友信息。Alternatively, the first server obtains the friend information of the user from the second server in advance, and saves the obtained friend information in the friend information table of the user in the second server, so that the first server is based on the user information. The local friend information table is directly queried to obtain the friend information corresponding to the user information.

步骤104、根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。 Step 104: Search for other user information that matches the friend information in the document data list according to the friend information, and obtain document data corresponding to the matched other user information according to the matched other user information.

其中,与所述匹配的其他用户信息也可以称为匹配的好友信息,与所述匹配的其他用户信息对应的文档数据也可以称为与好友信息对应的文档数据,其中,与好友信息对应的文档数据中包括所述好友信息与所述关键词的关联的文档数据,例如可以包括好友的操作记录(如好友购买记录)或者输入的文字信息(如好友点评)。The other user information that is matched with the user information may also be referred to as matching friend information, and the document data corresponding to the matched other user information may also be referred to as document data corresponding to the friend information, wherein the friend data corresponds to the friend information. The document data includes document data of the friend information associated with the keyword, and may include, for example, a friend's operation record (such as a friend purchase record) or input text information (such as a friend review).

本实施例的第一服务器接收用户终端发送的搜索请求,其中,所述搜索请求中包括用户欲搜索的关键词和所述用户信息,根据所述关键词,得到文档数据列表,所述文档数据列表中包括所有关注所述关键词的其他用户信息以及对应的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。本发明的方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The first server of the embodiment receives the search request sent by the user terminal, where the search request includes the keyword to be searched by the user and the user information, and according to the keyword, obtain a document data list, and the document data The list includes all other user information that concerns the keyword and corresponding document data; according to the user information, acquiring friend information associated with the user information; and searching for the document data list according to the friend information Other user information that matches the friend information, and obtains document data corresponding to the matched other user information according to the matched other user information. The method of the invention not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and combines the user's desire to search for the keyword and the friend's attention to the keyword. , get the corresponding search results. Compared with the prior art, the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.

下面结合附图和具体实施方式对本发明的技术方案做进一步的详细说明:The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments:

为了实现社交化的扩展搜索功能,第一服务器需要确定每个用户在其使用的社交网站中的用户注册信息,另外,第一服务器还需要获取每个用户在其使用的社交网站中的好友信息,例如好友在该社交网站中的用户注册信息。In order to implement the socialized extended search function, the first server needs to determine the user registration information of each user in the social networking website that the user uses. In addition, the first server also needs to obtain the friend information of each social networking website that the user uses. , for example, a user's user registration information in the social networking site.

在实际应用中,用户通常会使用多个社交网站,在每个社交网站注册时,通常会填写一些能够唯一标识用户身份的用户注册信息,例如用户名、电子邮件地址、即时通信账号等,可以利用这些用户注册信息进行用户识别,确定用户使用的所有社交网站。In practical applications, users usually use multiple social networking sites. When registering each social networking site, they usually fill in some user registration information that can uniquely identify the user, such as user name, email address, instant messaging account, etc. Use these user registration information for user identification to determine all social networking sites that users use.

为此,第一服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第一服务器进行用户注册,这样,第一服务器可以获取并存储每个用户的用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息); To this end, the first server can provide a user registration interface, and the user can fill in the user registration information (including the user name, user password or user email address, etc.) in the user registration interface, and the user clicks the trigger registration button to generate a registration request to send to the first A server performs user registration, so that the first server can acquire and store user registration information (including user information such as a user name, a user password, or a user email address) of each user;

对应地,第一服务器根据本地存储的每个用户的用户注册信息,可以确定每个用户使用的所有社交网站,例如:第一服务器从每个社交网站中获取该社交网站的所有用户注册信息(如每个注册用户的用户电子邮箱地址),第一服务器根据本地存储的注册用户的用户注册信息(如用户电子邮箱地址),若查找到社交网站中的用户注册信息(如用户电子邮箱地址)与第一服务器本地存储的注册用户的用户注册信息(如用户电子邮箱地址)相同,则可以确定该用户注册信息对应的用户使用该社交网站。Correspondingly, the first server may determine all social networking websites used by each user according to the user registration information of each user stored locally, for example, the first server obtains all user registration information of the social networking website from each social networking website ( For example, the user's e-mail address of each registered user), according to the user registration information of the registered user stored locally (such as the user's e-mail address), if the user registration information (such as the user's e-mail address) in the social networking website is found. The user registration information (such as the user email address) of the registered user stored locally by the first server is the same, and the user corresponding to the user registration information may be determined to use the social networking website.

通过上述方法,第一服务器可以确定本地存储的每个注册用户使用的社交网站,还可以生成每个注册用户对应的社交网站的映射表,其中,社交网站的映射表如图表1所示,包括在第一服务器中注册的每个注册用户的用户注册信息,以及每个注册用户使用的社交网站信息,以及每个注册用户在其使用的社交网站中的社交用户信息,其中,社交用户信息也就是第一服务器中存储的每个注册用户在其使用的社交网站中注册的用户注册信息。Through the foregoing method, the first server may determine a social networking website used by each registered user stored locally, and may also generate a mapping table of the social networking website corresponding to each registered user, where the mapping table of the social networking website is as shown in FIG. User registration information of each registered user registered in the first server, and social networking website information used by each registered user, and social user information in the social networking website used by each registered user, wherein the social user information is also It is the user registration information registered by each registered user stored in the social network website used by the first server.

表1:Table 1:

Figure PCTCN2014092803-appb-000001
Figure PCTCN2014092803-appb-000001

第一服务器确定本地存储的每个注册用户使用的社交网站之后,可以从社交网站的映射表中获取每个注册用户在其使用的各社交网站对应的社交用户信息,根据各社交网站对应的社交用户信息,获取每个社交用户信息在对应社交网站的好友信息,例如从各社交网站的服务器(相当于第二服务器)中下载得到该社交用户信息在各社交网站中的好友信息;之后,可以将获取的好友信息添加到上述社交网站的映射表中,添加好友信息之后的社交网站的映射表如表2所示:After the first server determines the social networking website used by each registered user, the social user information corresponding to each social networking website used by each registered user may be obtained from the mapping table of the social networking website, according to the social interaction corresponding to each social networking website. User information, obtaining friend information of each social user information on the corresponding social networking website, for example, downloading the friend information of the social user information in each social networking website from a server (equivalent to the second server) of each social networking website; Add the obtained friend information to the mapping table of the above social networking site, and the mapping table of the social networking site after adding the friend information is as shown in Table 2:

表2:Table 2:

Figure PCTCN2014092803-appb-000002
Figure PCTCN2014092803-appb-000002

Figure PCTCN2014092803-appb-000003
Figure PCTCN2014092803-appb-000003

为了实现第一服务器的搜索功能,举例来说,第一服务器可以释放出网络爬虫,获取因特网上的网页(文档数据),服务器对获取到的网页进行分词,形成以关键词为索引的索引表;其中,索引表用于根据关键词索引查找网页,可以实现快速高效的网页搜索,索引表中存储有关键词、关键词对应的网页的统一资源定位符(Uni form/Universal Resource Locator,URL)。In order to implement the search function of the first server, for example, the first server may release the web crawler, obtain a webpage (document data) on the Internet, and the server segments the obtained webpage to form an index table indexed by the keyword. The index table is used to search for a webpage according to a keyword index, and can implement a fast and efficient webpage search. The index table stores a uniform resource locator (URL) of a keyword and a webpage corresponding to the keyword. .

需要说明的是,网络爬虫又名网络蜘蛛(Web spider),是现有技术中的一个自动提取网页的程序,它为搜索引擎从万维网上下载网页,是搜索引擎的重要组成,本发明对此不作详细介绍。It should be noted that the web crawler, also known as a web spider, is a program for automatically extracting web pages in the prior art, which is a search engine for downloading web pages from the World Wide Web, and is an important component of a search engine. No details are given.

上述索引表的结构如表3所示:The structure of the above index table is shown in Table 3:

关键词Key words 网页(文档数据)的URLURL of web page (document data) Key1Key1 Page1Page1   Page2Page2   Page2Page2 Key2Key2 Page3Page3   Page3Page3   Page4Page4 ……...... ……......

图2是本发明另一实施例提供的社交化扩展搜索方法的流程示意图,所述方法可应用于第一服务器。如图2所示,所述方法包括:FIG. 2 is a schematic flowchart of a socialized extended search method according to another embodiment of the present invention, where the method is applicable to a first server. As shown in FIG. 2, the method includes:

步骤201、接收用户通过用户终端发送的搜索请求,搜索请求中包括用户欲搜索的关键词以及用户信息;Step 201: Receive a search request sent by a user through a user terminal, where the search request includes a keyword that the user wants to search and user information.

其中,用户信息包括用户在第一服务器中注册的用户注册信息;The user information includes user registration information registered by the user in the first server;

举例来说,第一服务器提供用户登陆功能,提供用户登陆界面,用户可以在用户登陆界面填写用户注册信息并点击触发登陆的按钮,生成登陆请求发送到第一服务器进行用户验证,完成用户登陆。For example, the first server provides a user login function, and provides a user login interface. The user can fill in the user registration information on the user login interface and click a button that triggers the login, generate a login request and send it to the first server for user verification, and complete the user login.

之后,用户可以在第一服务器提供的搜索功能的界面中输入关键词,并点击相应的触发检索的按钮,以生成搜索请求发送到第一服务器,该搜索请求中携带有用户欲搜索的关键词以及用户在第一服务器中用户注册信息。Afterwards, the user can input a keyword in the interface of the search function provided by the first server, and click a corresponding button for triggering the search to generate a search request and send the search request to the first server, where the search request carries the keyword to be searched by the user. And the user registration information in the first server.

步骤202、根据用户欲搜索的关键词,得到与该关键词对应的网页 URL的集合,所述网页URL的集合中包括点评网页的URL;Step 202: Obtain a webpage corresponding to the keyword according to the keyword that the user wants to search. a collection of URLs, the set of webpage URLs including a URL of the review webpage;

其中,本实施例中的网页URL的集合为本发明所述的文档数据列表的一种表现形式,本发明所述文档数据列表的表现形式并不限于此;The set of webpage URLs in this embodiment is a representation form of the document data list in the present invention, and the manifestation form of the document data list in the present invention is not limited thereto;

例如,用户欲搜索的关键词为“苹果5s”,第一服务器根据关键词“苹果5s”查询上述索引表,得到与该关键词“苹果5s”对应的网页URL的集合,之后,服务器将搜索得到的网页URL的集合发送给用户终端,具体地,网页URL的集合通过超文本传输协议HTTP应答展现在用户终端侧,以便用户可以点击这些网页URL的集合中的网页URL去访问相关“苹果5s”的网页;这里的网页为本发明所述的文档数据的一种表现形式,本发明所述文档数据的表现形式并不限于此;For example, the keyword to be searched by the user is “Apple 5s”, and the first server queries the index table according to the keyword “Apple 5s” to obtain a collection of webpage URLs corresponding to the keyword “Apple 5s”, after which the server searches. The obtained set of webpage URLs is sent to the user terminal. Specifically, the set of webpage URLs is displayed on the user terminal side through a hypertext transfer protocol HTTP response, so that the user can click on the webpage URL in the set of webpage URLs to access the related "Apple 5s". a web page; the web page herein is a representation form of the document data according to the present invention, and the representation form of the document data according to the present invention is not limited thereto;

图3为现有技术中应用的与关键词“苹果5s”对应的网页URL的集合的示意图,如图3所示,与关键词“苹果5s”对应的网页URL的集合中包括与该关键词“苹果5s”对应的文档数据(如参数、行情、商家、论坛、点评等网页)的URL。FIG. 3 is a schematic diagram of a collection of webpage URLs corresponding to the keyword “Apple 5s” applied in the prior art. As shown in FIG. 3, the set of webpage URLs corresponding to the keyword “Apple 5s” includes the keyword. The URL of the document data (such as parameters, quotes, merchants, forums, reviews, etc.) corresponding to "Apple 5s".

步骤203、根据所述网页URL的集合,获取点评网页中的点评用户信息;Step 203: Obtain, according to the set of the webpage URLs, the review user information in the review webpage;

例如,用户可以通过点击与关键词“苹果5s”对应的点评网页(相当于文档数据)的URL去访问相关“苹果5s”的其他用户点评(相当于文档数据);其中,每条用户点评中记录有写入该条点评的用户信息,为了方便区分,将写入点评的用户信息简称点评用户信息。For example, the user can access other user reviews (equivalent to document data) of the relevant "Apple 5s" by clicking the URL of the review webpage (equivalent to the document data) corresponding to the keyword "Apple 5s"; wherein, each user comment The user information written in the comment is recorded. For convenience of distinction, the user information written into the review is referred to as the review user information.

又例如,本实施例中,用户也可以在用户点评界面中写入该用户对“苹果5s”的点评(相当于写入文档数据)。For another example, in this embodiment, the user may also write the user's comment on "Apple 5s" in the user comment interface (equivalent to writing document data).

步骤204、根据搜索请求中携带的用户信息,获取与所述用户信息对应的好友信息;Step 204: Acquire, according to user information carried in the search request, friend information corresponding to the user information.

举例来说,第一服务器根据搜索请求中携带的用户信息,查询上述社交网站的映射表,确定该用户使用的社交网站信息,以及该用户在其使用的社交网站中的好友信息。For example, the first server queries the mapping table of the social networking website according to the user information carried in the search request, determines the social networking website information used by the user, and the friend information of the social networking website used by the user.

步骤205、在点评用户信息中查找与好友信息匹配的点评用户信息,根据所述匹配的点评用户信息得到对应的用户点评。Step 205: Search for the review user information that matches the friend information in the review user information, and obtain the corresponding user comment according to the matched review user information.

例如,步骤203中获取的点评用户信息包括10个用户信息,步骤204中获取的好友信息为15个,其中,10个点评用户信息中有5个点评用户信息包括在好友信息中时,可以确定该5个点评用户信息是与 所述好友信息匹配的用户信息(也可以称为匹配的好友信息),则可以根据该5个匹配的点评用户信息(或者匹配的好友信息),查找点评网页,得到与该5个匹配的点评用户信息对应的用户点评(简称好友点评)。For example, the comment user information obtained in step 203 includes 10 pieces of user information, and the number of friend information obtained in step 204 is 15, wherein 5 of the 10 comment user information are included in the friend information, and may be determined. The 5 review user information is with The user information matched by the friend information (also referred to as matched friend information) may be searched for the review page according to the five matching review user information (or matching friend information), and the reviews matching the five are obtained. User comments corresponding to user information (referred to as friend reviews).

本实施例中,可以将上述获取的好友点评的URL通过超文本传输协议HTTP应答展现在用户终端侧,以便用户可以点击这些好友点评的URL去访问相关“苹果5s”的好友点评。In this embodiment, the URL of the friend comment obtained above may be displayed on the user terminal side through a hypertext transfer protocol HTTP response, so that the user can click the URL of the friend review to access the friend comment of the related "Apple 5s".

图4为本发明实施例中应用的与关键词“苹果5s”对应的网页URL的集合的示意图,如图4所示,与关键词“苹果5s”对应的网页URL的集合中包括与该关键词“苹果5s”对应的好友点评的URL。4 is a schematic diagram of a set of webpage URLs corresponding to the keyword “Apple 5s” applied in the embodiment of the present invention. As shown in FIG. 4, the set of webpage URLs corresponding to the keyword “Apple 5s” includes the key. The URL of the friend's comment corresponding to the word "Apple 5s".

本发明实施例所述的方法不仅考虑用户欲搜索的关键词“苹果5s”,得到与该“苹果5s”关联的搜索结果(例如与该“苹果5s”相关的参数、图片、商家、价格等),同时,还考虑了该用户信息在各社交网站的好友信息,根据该用户的好友信息,还得到好友对该“苹果5s”的好友点评,较现有技术,采用本发明实施例提供的方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The method described in the embodiment of the present invention not only considers the keyword "Apple 5s" that the user wants to search, but also obtains search results associated with the "Apple 5s" (for example, parameters, pictures, merchants, prices, etc. related to the "Apple 5s". At the same time, the friend information of the user information on each social networking site is also considered, and according to the friend information of the user, the friend's friend rating of the "Apple 5s" is also obtained, which is provided by the embodiment of the present invention. The search results obtained by the method are more effective, reflecting the user's social search requirements.

图5为本发明一实施例提供的社交化扩展搜索装置的结构示意图;位于第一服务器侧,如图5所示,包括:FIG. 5 is a schematic structural diagram of a socialized extended search apparatus according to an embodiment of the present invention;

接收模块21,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;The receiving module 21 is configured to receive a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information;

第一获取模块22,用于根据接收模块21接收的所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;The first obtaining module 22 is configured to obtain, according to the keyword received by the receiving module 21, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword. ;

第二获取模块23,用于根据接收模块21接收的所述用户信息,获取与所述用户信息关联的好友信息;The second obtaining module 23 is configured to acquire, according to the user information received by the receiving module 21, friend information associated with the user information;

第三获取模块24,用于根据所述第二获取模块23得到的所述好友信息,在所述第一获取模块22得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。The third obtaining module 24 is configured to search, according to the friend information obtained by the second acquiring module 23, other user information that matches the friend information in the document data list obtained by the first obtaining module 22, Document data corresponding to the matched other user information is obtained according to the matched other user information.

其中,所述第二获取模块23具体用于:The second obtaining module 23 is specifically configured to:

向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所 述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。Sending, to the second server, a request message for obtaining friend information, where the request message includes the user information, so that the second server acquires the user information according to the user information. The friend information corresponding to the user information is sent to the first server.

其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server.

其中,所述接收模块21,还用于接收所述用户终端发送的文档数据,其中,文档数据中携带有所述用户信息;The receiving module 21 is further configured to receive document data sent by the user terminal, where the user data is carried in the document data;

可选地,所述装置还包括:Optionally, the device further includes:

保存模块25,用于将接收模块21接收的所述文档数据以及所述用户信息对应存储到所述文档数据列表中。The saving module 25 is configured to store the document data received by the receiving module 21 and the user information in the document data list.

其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。The buddy information is information in a buddy list corresponding to the user information saved by the second server.

本实施例所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The method in this embodiment considers not only the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the keyword. Concerned, get the corresponding search results. Compared with the prior art, the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.

图6为本发明一实施例提供的服务器的结构示意图,如图6所示,本实施例所述的服务器包括处理器31、存储器32和通信总线33,其中,处理器31通过通信总线33和存储器32连接,存储器32中保存有实现上述搜索数据处理方法的指令,当处理器31调用存储器32中的指令时,可以执行如下步骤:FIG. 6 is a schematic structural diagram of a server according to an embodiment of the present invention. As shown in FIG. 6, the server in this embodiment includes a processor 31, a memory 32, and a communication bus 33, wherein the processor 31 passes through the communication bus 33. The memory 32 is connected, and the memory 32 stores instructions for implementing the above-mentioned search data processing method. When the processor 31 calls the instruction in the memory 32, the following steps can be performed:

接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;Receiving a search request sent by the user terminal, where the search request includes a keyword to be searched by the user and the user information;

根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;Obtaining, according to the keyword, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword;

根据所述用户信息,获取与所述用户信息关联的好友信息;Obtaining friend information associated with the user information according to the user information;

根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。And searching, according to the friend information, other user information that matches the friend information in the document data list, and obtaining document data corresponding to the matched other user information according to the matched other user information.

其中,所述根据所述用户信息,获取与所述用户信息关联的好友信息,包括:The obtaining the friend information associated with the user information according to the user information includes:

向另一服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述另一服务器根据所述用户信息,获取与所 述用户信息对应的好友信息,将所述好友信息发送给所述服务器。Sending a request message for obtaining friend information to another server, where the request message includes the user information; so that the another server obtains the user information according to the user information. The friend information corresponding to the user information is sent, and the friend information is sent to the server.

其中,所述用户信息是所述用户终端在所述服务器和所述另一服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the server and the another server.

其中,所述根据所述关键词,得到与所述关键词关联的文档数据列表之后,包括:After the obtaining the list of document data associated with the keyword according to the keyword, the method includes:

接收所述用户终端发送的文档数据,该文档数据中携带有用户信息;Receiving document data sent by the user terminal, where the document data carries user information;

将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。Correspondingly storing the document data and the user information into the document data list.

其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。The buddy information is information in a buddy list corresponding to the user information saved by the second server.

本实施例的所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The method of the embodiment not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the key. The word's attention, get the corresponding search results. Compared with the prior art, the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.

本发明实施例还提供了社交化扩展搜索系统,其可以包括:第一服务器、用户终端和第二服务器;The embodiment of the present invention further provides a socialized extended search system, which may include: a first server, a user terminal, and a second server;

所述第一服务器为如图6所示实施例提供的服务器,其包括如图5所示实施例所述的社交化扩展搜索装置;The first server is a server provided in the embodiment shown in FIG. 6, which includes the socialized extended search device as described in the embodiment shown in FIG. 5;

所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;The user terminal is configured to send a search request to the first server, where the search request includes a keyword to be searched by the user and the user information, so that the first server obtains the Keyword associated document data list, the document data list includes other user information and document data associated with the keyword; and according to the user information, acquiring friend information associated with the user information; according to the friend information Searching, in the document data list, other user information that matches the friend information, and obtaining document data corresponding to the matched other user information according to the matched other user information;

所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器; The second server is configured to receive, by the first server, a request message for acquiring buddy information, where the request message includes the user information, and according to the user information, acquire, corresponding to the user information, The friend information, the friend information is sent to the first server;

所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server.

本实施例的所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。The method of the embodiment not only considers the degree of relevance of the user to search for the keyword and the document data, but also considers the friend's attention to the keyword corresponding to the user information, and the user wants to search for the keyword and the friend to the key. The word's attention, get the corresponding search results. Compared with the prior art, the search result obtained by using the method provided by the embodiment of the present invention is more effective, and reflects the user's socialized search requirement.

在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的一部分或全部的情况下实施。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without some or all of these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the description.

类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。Similarly, the various features of the invention are sometimes grouped together into a single embodiment, in the above description of the exemplary embodiments of the invention, Figure, or a description of it. However, the method disclosed is not to be interpreted as reflecting the intention that the claimed invention requires more features than those recited in the claims. Rather, as the following claims reflect, inventive aspects reside in less than all features of the single embodiments disclosed herein. Therefore, the claims following the specific embodiments are hereby explicitly incorporated into the embodiments, and each of the claims as a separate embodiment of the invention.

本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will appreciate that the modules in the devices of the embodiments can be adaptively changed and placed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and further they may be divided into a plurality of sub-modules or sub-units or sub-components. In addition to such features and/or at least some of the processes or units being mutually exclusive, any combination of the features disclosed in the specification, including the accompanying claims, the abstract and the drawings, and any methods so disclosed, or All processes or units of the device are combined. Each feature disclosed in this specification (including the accompanying claims, the abstract and the drawings) may be replaced by alternative features that provide the same, equivalent or similar purpose.

此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施 例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Moreover, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments and not other features, different implementations Combinations of features of the examples are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any one of the claimed embodiments can be used in any combination.

本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的社交化扩展搜索设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components of the socialized extended search device in accordance with embodiments of the present invention may be implemented in practice using a microprocessor or digital signal processor (DSP). The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

例如,图7示出了可以实现根据本发明的社交化扩展搜索的计算设备。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图7的计算设备中的存储器720类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。For example, Figure 7 illustrates a computing device that can implement a socialized extended search in accordance with the present invention. The computing device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720. Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above. For example, storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such a computer program product is typically a portable or fixed storage unit as described with reference to FIG. The storage unit may have storage segments, storage spaces, and the like that are similarly arranged to memory 720 in the computing device of FIG. The program code can be compressed, for example, in an appropriate form. Typically, the storage unit includes computer readable code 731', ie, code readable by a processor, such as 710, that when executed by a computing device causes the computing device to perform each of the methods described above step.

本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中” 的词语例子不一定全指同一个实施例。"an embodiment," or "an embodiment," or "an embodiment," Also, please note that here "in one embodiment" The examples of words are not necessarily all referring to the same embodiment.

应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”或“包括”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。It is to be noted that the above-described embodiments are illustrative of the invention and are not intended to be limiting, and that the invention may be devised without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as a limitation. The word "comprising" or "comprising" does not exclude the presence of the elements or the steps in the claims. The word "a" or "an" The invention can be implemented by means of hardware comprising several distinct elements and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by the same hardware item. The use of the words first, second, and third does not indicate any order. These words can be interpreted as names.

此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。 In addition, it should be noted that the language used in the specification has been selected for the purpose of readability and teaching, and is not intended to be construed or limited. Therefore, many modifications and changes will be apparent to those skilled in the art without departing from the scope of the invention. The disclosure of the present invention is intended to be illustrative, and not restrictive, and the scope of the invention is defined by the appended claims.

Claims (13)

一种社交化扩展搜索方法,应用于第一服务器,包括:A social extended search method applied to a first server, including: 接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;Receiving a search request sent by the user terminal, where the search request includes a keyword to be searched by the user and the user information; 根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;Obtaining, according to the keyword, a document data list associated with the keyword, where the document data list includes other user information and document data associated with the keyword; 根据所述用户信息,获取与所述用户信息关联的好友信息;以及Obtaining friend information associated with the user information according to the user information; 根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。And searching, according to the friend information, other user information that matches the friend information in the document data list, and obtaining document data corresponding to the matched other user information according to the matched other user information. 根据权利要求1所述的方法,其中,根据所述用户信息,获取与所述用户信息关联的好友信息,包括:The method of claim 1, wherein the obtaining the friend information associated with the user information according to the user information comprises: 向第二服务器发送获取好友信息的请求消息,以使所述第二服务器根据所述用户信息获取与所述用户信息对应的好友信息,并将所述好友信息发送给所述第一服务器,所述请求消息中包括所述用户信息。Sending a request message for obtaining the friend information to the second server, so that the second server acquires the friend information corresponding to the user information according to the user information, and sends the friend information to the first server. The user information is included in the request message. 根据权利要求2所述的方法,其中:The method of claim 2 wherein: 所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。The friend information is information in a friend list corresponding to the user information saved by the second server. 根据权利要求2所述的方法,其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The method of claim 2, wherein the user information is user registration information registered by the user terminal in the first server and the second server. 根据权利要求1所述的方法,其中,根据所述关键词,得到与所述关键词关联的文档数据列表之后,还包括:The method according to claim 1, wherein after obtaining the list of document data associated with the keyword according to the keyword, the method further comprises: 接收所述用户终端发送的文档数据,所述文档数据中携带有所述用户信息;以及Receiving document data sent by the user terminal, where the document data carries the user information; 将所述文档数据以及所述用户信息对应地存储到所述文档数据列表中。The document data and the user information are correspondingly stored in the document data list. 一种社交化扩展搜索装置,位于第一服务器侧,其中,包括:A social extended search device is located on the first server side, and includes: 接收模块,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;a receiving module, configured to receive a search request sent by the user terminal, where the search request includes a keyword that the user wants to search and the user information; 第一获取模块,用于根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词 关联的文档数据;a first obtaining module, configured to obtain, according to the keyword, a document data list associated with the keyword, where the document data list includes other user information and the keyword Associated document data; 第二获取模块,用于根据所述用户信息,获取与所述用户信息关联的好友信息;以及a second acquiring module, configured to acquire, according to the user information, friend information associated with the user information; 第三获取模块,用于根据所述第二获取模块得到的所述好友信息,在所述第一获取模块得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。a third obtaining module, configured to search, according to the friend information obtained by the second acquiring module, other user information that matches the friend information in the document data list obtained by the first acquiring module, according to the The matched other user information gets the document data corresponding to the matched other user information. 根据权利要求6所述的装置,其中,所述第二获取模块具体用于:The device according to claim 6, wherein the second obtaining module is specifically configured to: 向第二服务器发送获取好友信息的请求消息,以使所述第二服务器根据所述用户信息获取与所述用户信息对应的好友信息,并将所述好友信息发送给所述第一服务器,所述请求消息中包括所述用户信息。Sending a request message for obtaining the friend information to the second server, so that the second server acquires the friend information corresponding to the user information according to the user information, and sends the friend information to the first server. The user information is included in the request message. 根据权利要求7所述的装置,其中:The device of claim 7 wherein: 所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息,包括。The buddy information is information in the buddy list corresponding to the user information saved by the second server, including: 根据权利要求7所述的装置,其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The apparatus according to claim 7, wherein said user information is user registration information registered by said user terminal in said first server and said second server. 根据权利要求6所述的装置,其中,所述接收模块,还用于接收所述用户终端发送的文档数据,所述文档数据中携带有所述用户信息;The device according to claim 6, wherein the receiving module is further configured to receive document data sent by the user terminal, where the document data carries the user information; 所述装置还包括:The device also includes: 保存模块,用于将所述文档数据以及所述用户信息对应地存储到所述文档数据列表中。And a saving module, configured to store the document data and the user information in the document data list correspondingly. 一种社交化扩展搜索系统,包括:第一服务器、用户终端和第二服务器,A social extended search system includes: a first server, a user terminal, and a second server, 所述第一服务器包括如权利要求6-10任一项所述的社交化扩展搜索装置;The first server includes the socialized extension search device of any one of claims 6-10; 所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息, 在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;The user terminal is configured to send a search request to the first server, where the search request includes a keyword to be searched by the user and the user information, so that the first server obtains the Keyword associated document data list, the document data list includes other user information and document data associated with the keyword; and according to the user information, acquiring friend information associated with the user information; according to the friend information , Searching, in the document data list, other user information that matches the friend information, and obtaining document data corresponding to the matched other user information according to the matched other user information; 所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器;The second server is configured to receive, by the first server, a request message for acquiring buddy information, where the request message includes the user information, and according to the user information, acquire, corresponding to the user information, The friend information, the friend information is sent to the first server; 所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。The user information is user registration information registered by the user terminal in the first server and the second server. 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,包括所述计算设备执行根据权利要求1-5中任一个所述的社交化扩展搜索方法。A computer program comprising computer readable code comprising, when said computer readable code is run on a computing device, said computing device performing a socialized extended search method according to any of claims 1-5. 一种计算机可读介质,其中存储了如权利要求12所述的计算机程序。 A computer readable medium storing the computer program of claim 12.
PCT/CN2014/092803 2013-12-03 2014-12-02 Socialized extended search method and corresponding device and system Ceased WO2015081848A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310642523.1A CN103617267B (en) 2013-12-03 2013-12-03 Socialized extension search method, device and system
CN201310642523.1 2013-12-03

Publications (1)

Publication Number Publication Date
WO2015081848A1 true WO2015081848A1 (en) 2015-06-11

Family

ID=50167970

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092803 Ceased WO2015081848A1 (en) 2013-12-03 2014-12-02 Socialized extended search method and corresponding device and system

Country Status (2)

Country Link
CN (1) CN103617267B (en)
WO (1) WO2015081848A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103617267B (en) * 2013-12-03 2017-05-10 北京奇虎科技有限公司 Socialized extension search method, device and system
CN104182488B (en) * 2014-08-08 2016-09-07 腾讯科技(深圳)有限公司 Searching method, server and client
CN104462340B (en) * 2014-12-04 2018-06-19 华为技术有限公司 Object information search method and device
CN106156166B (en) * 2015-04-16 2020-11-10 深圳市腾讯计算机系统有限公司 Relation chain query system, document retrieval method, index establishment method and device
CN105678625B (en) * 2015-12-29 2019-09-17 联动优势科技有限公司 A kind of method and apparatus of determining subscriber identity information
CN107025607B (en) * 2017-03-23 2021-05-25 秦景龙 Pinpoint social processing methods
CN108345636A (en) * 2017-12-31 2018-07-31 广东智媒云图科技股份有限公司 A kind of reading conditions tracking, electronic equipment and storage medium
CN110782222A (en) * 2019-10-11 2020-02-11 厦门谷道集团有限公司 Method, system and equipment for identifying social media account based on big data intelligent mailbox
CN111241142A (en) * 2019-12-30 2020-06-05 绍兴市上虞区理工高等研究院 Scientific and technological achievement conversion pushing system and method
CN113778950B (en) * 2021-08-24 2023-07-04 中国联合网络通信集团有限公司 Method for acquiring trusted file, index server, query server and medium
CN115660578A (en) * 2022-10-17 2023-01-31 珠海金山办公软件有限公司 Search method, device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088419A (en) * 2009-12-07 2011-06-08 倪加元 Method and system for searching information of good friends in social network
CN102955781A (en) * 2011-08-19 2013-03-06 腾讯科技(深圳)有限公司 Method and device for figure search
CN103123641A (en) * 2012-02-22 2013-05-29 深圳市谷古科技有限公司 Social contact search method and device
CN103365917A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Method and device for searching information
CN103617267A (en) * 2013-12-03 2014-03-05 北京奇虎科技有限公司 Socialized extension search method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6526399B1 (en) * 1999-06-15 2003-02-25 Microsoft Corporation Method and system for grouping and displaying a database
CN102375844A (en) * 2010-08-20 2012-03-14 腾讯数码(天津)有限公司 Information providing method and system
CN103034706B (en) * 2012-12-07 2015-10-07 合一网络技术(北京)有限公司 A kind of generation device of the video recommendations list based on information network and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102088419A (en) * 2009-12-07 2011-06-08 倪加元 Method and system for searching information of good friends in social network
CN102955781A (en) * 2011-08-19 2013-03-06 腾讯科技(深圳)有限公司 Method and device for figure search
CN103123641A (en) * 2012-02-22 2013-05-29 深圳市谷古科技有限公司 Social contact search method and device
CN103365917A (en) * 2012-04-09 2013-10-23 腾讯科技(深圳)有限公司 Method and device for searching information
CN103617267A (en) * 2013-12-03 2014-03-05 北京奇虎科技有限公司 Socialized extension search method, device and system

Also Published As

Publication number Publication date
CN103617267B (en) 2017-05-10
CN103617267A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
WO2015081848A1 (en) Socialized extended search method and corresponding device and system
US12255918B2 (en) Techniques for determining threat intelligence for network infrastructure analysis
US11036744B2 (en) Personalization of news articles based on news sources
US8645355B2 (en) Mapping Uniform Resource Locators of different indexes
CN104462557B (en) Instant search method and device based on search history record
US11604843B2 (en) Method and system for generating phrase blacklist to prevent certain content from appearing in a search result in response to search queries
CN102982117B (en) Information search method and device
US20130179773A1 (en) Method for online editing and publishing and device thereof
WO2015103938A1 (en) Method for loading website commenting information, and browser client
US20220391461A1 (en) Method and system for intent-driven searching
WO2015081792A1 (en) Method, device, and system for correlative and personalized extended search
CN103617266A (en) Personalized extension search method, device and system
US10496686B2 (en) Method and system for searching and identifying content items in response to a search query using a matched keyword whitelist
WO2016000507A1 (en) Traffic-saving mode search service method, server, client and system
US20160315997A1 (en) File transfer method, device, and system
CN102629265B (en) A kind of method and system setting up web database
CN104699837B (en) Method, device and server for selecting illustrated pictures of web pages
US20220353157A1 (en) Techniques for detection and analysis of network assets under common management
CN103793495A (en) Application message search method and system and application message acquisition method and system
WO2017000613A1 (en) Method and device for generating indication information in search result page
CN107430609B (en) Generation of new tab pages for browsers for enterprise environments
CN104715067A (en) Method, device and system for making key words on web page and browser client
CN102937977A (en) Search server and search method
CN102436509A (en) Method and system for browsing web page at mobile terminal
CN105824951A (en) Retrieval method and retrieval device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14867286

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14867286

Country of ref document: EP

Kind code of ref document: A1