WO2015081848A1 - 社交化扩展搜索方法及相应的装置、系统 - Google Patents
社交化扩展搜索方法及相应的装置、系统 Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000004590 computer program Methods 0.000 claims description 10
- 230000006855 networking Effects 0.000 description 29
- 238000012552 review Methods 0.000 description 18
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- 238000013507 mapping Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 241000239290 Araneae Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000000969 carrier Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003997 social interaction Effects 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/01—Social networking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/14—Details of searching files based on file metadata
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/951—Indexing; Web crawling techniques
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)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Business, Economics & Management (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- Library & Information Science (AREA)
- Economics (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Primary Health Care (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- Information Transfer Between Computers (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种社交化扩展搜索方法及相应的装置、系统。其中,该方法应用于第一服务器,包括:接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;以及,根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高。
Description
本发明涉及数据处理技术,尤其涉及一种社交化扩展搜索方法及相应的装置、系统。
随着网络技术的不断发展,用户越来越依赖搜索引擎来获取网络数据,通常,用户可以通过终端向网络侧的服务器发送搜索请求,服务器中的搜索引擎根据搜索请求中携带的关键词,搜索出包含有所述关键词的文档数据。
然而,互联网上的数据质量参差不齐,现有技术仅考虑关键词与文档数据字面上的相关程度,并未考虑文档数据所包含的具体内容,排在最前面的字面相关程度高的文档数据信息可能只是包含有用户欲搜索的关键词,并未包含与关键词相关的具体内容,从用户的角度来看,这样搜索出来的文档数据并不具有参考价值。
由此可知,现有的搜索数据处理方法得出的搜索结果的有效性较低。
发明内容
鉴于上述问题,提出了本发明以便提供一种克服上述问题或者至少部分地解决或者减缓上述问题的社交化扩展搜索方法和相应的装置、系统。
依据本发明的一方面,提供一种社交化扩展搜索方法,包括:
第一服务器接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;
所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;
所述第一服务器根据所述用户信息,获取与所述用户信息关联的好友信息;
所述第一服务器根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息
得到与所述匹配的其他用户信息对应的文档数据。
其中,所述第一服务器根据所述用户信息,获取与所述用户信息关联的好友信息,包括:
所述第一服务器向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。
其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
其中,所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表之后,包括:
所述第一服务器接收所述用户终端发送的文档数据;
将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。
其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。
依据本发明的另一方面,还提供一种搜索数据处理装置,位于第一服务器侧,其中,包括:
接收模块,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;
第一获取模块,用于根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;
第二获取模块,用于根据所述用户信息,获取与所述用户信息关联的好友信息;
第三获取模块,用于根据所述第二获取模块得到的所述好友信息,在所述第一获取模块得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
其中,所述第二获取模块具体用于:
向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述
用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。
其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
其中,所述接收模块,还用于接收所述用户终端发送的文档数据;
所述装置还包括:
保存模块,用于将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。
其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。
依据本发明的又一方面,还提供一种搜索数据处理系统,位于第一服务器侧,其中,包括:第一服务器、用户终端和第二服务器;
所述第一服务器包括如第二方面所述的搜索数据处理装置;
所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;
所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器;
所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
根据本发明的又一个方面,提供了一种计算机程序,其包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,导致所述计算设备执行根据上述的社交化扩展搜索方法。
根据本发明的再一个方面,提供了一种计算机可读介质,其中存储了如上所述的计算机程序。
本发明的有益效果为:
本实施例的第一服务器接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息,根据所述关键词,得到文档数据列表,所述文档数据列表中包括所有关注所述关键词的其他用户信息以及对应的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
上述说明仅是本发明技术方案的概述,为了能够更清楚了解本发明的技术手段,而可依照说明书的内容予以实施,并且为了让本发明的上述和其它目的、特征和优点能够更明显易懂,以下特举本发明的具体实施方式。
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本发明的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:
图1为本发明一实施例提供的社交化扩展搜索方法的流程示意图;
图2为本发明另一实施例提供的社交化扩展搜索方法的流程示意图;
图3为现有技术应用的与关键词“苹果5s”对应的网页URL的集合的示意图;
图4为本发明实施例中应用的与关键词“苹果5s”对应的网页URL的集合的示意图;
图5为本发明一实施例提供的社交化扩展搜索装置的结构示意图;
图6为本发明一实施例提供的服务器的结构示意图;
图7示意性地示出了用于执行根据本发明的社交化扩展搜索方法
的计算设备的框图;以及
图8示意性地示出了用于保持或者携带实现根据本发明的社交化扩展搜索方法的程序代码的存储单元。
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明实施例所述的第一服务器为提供搜索引擎功能的服务器,例如包括360搜索引擎服务器;第二服务器为提供网络社交功能的服务器,例如包括微信服务器、微博服务器、QQ服务器等;用户终端例如包括台式电脑或笔记本电脑等计算设备,或者包括用户手机等移动设备。
需要说明的是,本发明实施例的用户注册信息不涉及用户隐私信息。
如图1所示,本发明实施例一提供的社交化扩展搜索方法的流程示意图,所述方法可应用于第一服务器。如图所示,依据本实施例一的方法包括:
步骤101、接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;
依据本发明的一个实施例,第一服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第一服务器进行用户注册,这样,第一服务器可以获取并存储用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。
步骤102、根据所述关键词,得到与所述关键词对应的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;
其中,其他用户信息与所述关键词关联的文档数据中包括其他用户的操作记录(如其他用户购买记录)或者输入的文字信息(如其他用户输入的用户点评);
具体地,第一服务器接收当前用户通过用户终端发送的搜索请求之后,第一服务器根据所述搜索请求中包括的关键词,得到与所述关键词对应的文档数据列表,该文档数据列表通过用户终端进行展示,当前用户可以通过用户终端在文档数据列表中添加文档数据(操作记录或文字信息),以使第一服务器可以将当前用户添加的文档数据以及所述用户信息对应存储到文档数据列表中。
步骤103、根据所述用户信息,获取与所述用户信息关联的好友信息;
需要说明的是,上述用户信息是用户通过用户终端在所述第一服务器和所述第二服务器中的用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。
具体地,第二服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第二服务器进行用户注册,这样,第二服务器可以获取并存储用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息)。
具体实现时,第一服务器向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。其中,好友信息为第二服务器(社交网站)保存的与所述用户信息对应的好友名单中的信息,具体为该用户的好友在第二服务器(社交网站)中的用户注册信息。
或者,第一服务器预先已经从第二服务器中获取该用户的好友信息,并将获取的好友信息保存在该用户在第二服务器中的好友信息表中,这样,第一服务器根据所述用户信息,直接查询本地的好友信息表获取与该用户信息对应的好友信息。
步骤104、根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
其中,与所述匹配的其他用户信息也可以称为匹配的好友信息,与所述匹配的其他用户信息对应的文档数据也可以称为与好友信息对应的文档数据,其中,与好友信息对应的文档数据中包括所述好友信息与所述关键词的关联的文档数据,例如可以包括好友的操作记录(如好友购买记录)或者输入的文字信息(如好友点评)。
本实施例的第一服务器接收用户终端发送的搜索请求,其中,所述搜索请求中包括用户欲搜索的关键词和所述用户信息,根据所述关键词,得到文档数据列表,所述文档数据列表中包括所有关注所述关键词的其他用户信息以及对应的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。本发明的方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
下面结合附图和具体实施方式对本发明的技术方案做进一步的详细说明:
为了实现社交化的扩展搜索功能,第一服务器需要确定每个用户在其使用的社交网站中的用户注册信息,另外,第一服务器还需要获取每个用户在其使用的社交网站中的好友信息,例如好友在该社交网站中的用户注册信息。
在实际应用中,用户通常会使用多个社交网站,在每个社交网站注册时,通常会填写一些能够唯一标识用户身份的用户注册信息,例如用户名、电子邮件地址、即时通信账号等,可以利用这些用户注册信息进行用户识别,确定用户使用的所有社交网站。
为此,第一服务器可以提供用户注册界面,用户可以在用户注册界面填写用户注册信息(包括用户名、用户口令或用户电子邮箱地址等),用户点击触发注册按钮,以生成注册请求发送到第一服务器进行用户注册,这样,第一服务器可以获取并存储每个用户的用户注册信息(包括用户名、用户口令或用户电子邮箱地址等用户信息);
对应地,第一服务器根据本地存储的每个用户的用户注册信息,可以确定每个用户使用的所有社交网站,例如:第一服务器从每个社交网站中获取该社交网站的所有用户注册信息(如每个注册用户的用户电子邮箱地址),第一服务器根据本地存储的注册用户的用户注册信息(如用户电子邮箱地址),若查找到社交网站中的用户注册信息(如用户电子邮箱地址)与第一服务器本地存储的注册用户的用户注册信息(如用户电子邮箱地址)相同,则可以确定该用户注册信息对应的用户使用该社交网站。
通过上述方法,第一服务器可以确定本地存储的每个注册用户使用的社交网站,还可以生成每个注册用户对应的社交网站的映射表,其中,社交网站的映射表如图表1所示,包括在第一服务器中注册的每个注册用户的用户注册信息,以及每个注册用户使用的社交网站信息,以及每个注册用户在其使用的社交网站中的社交用户信息,其中,社交用户信息也就是第一服务器中存储的每个注册用户在其使用的社交网站中注册的用户注册信息。
表1:
第一服务器确定本地存储的每个注册用户使用的社交网站之后,可以从社交网站的映射表中获取每个注册用户在其使用的各社交网站对应的社交用户信息,根据各社交网站对应的社交用户信息,获取每个社交用户信息在对应社交网站的好友信息,例如从各社交网站的服务器(相当于第二服务器)中下载得到该社交用户信息在各社交网站中的好友信息;之后,可以将获取的好友信息添加到上述社交网站的映射表中,添加好友信息之后的社交网站的映射表如表2所示:
表2:
为了实现第一服务器的搜索功能,举例来说,第一服务器可以释放出网络爬虫,获取因特网上的网页(文档数据),服务器对获取到的网页进行分词,形成以关键词为索引的索引表;其中,索引表用于根据关键词索引查找网页,可以实现快速高效的网页搜索,索引表中存储有关键词、关键词对应的网页的统一资源定位符(Uni form/Universal Resource Locator,URL)。
需要说明的是,网络爬虫又名网络蜘蛛(Web spider),是现有技术中的一个自动提取网页的程序,它为搜索引擎从万维网上下载网页,是搜索引擎的重要组成,本发明对此不作详细介绍。
上述索引表的结构如表3所示:
关键词 | 网页(文档数据)的URL |
Key1 | Page1 |
Page2 | |
Page2 | |
Key2 | Page3 |
Page3 | |
Page4 | |
…… | …… |
图2是本发明另一实施例提供的社交化扩展搜索方法的流程示意图,所述方法可应用于第一服务器。如图2所示,所述方法包括:
步骤201、接收用户通过用户终端发送的搜索请求,搜索请求中包括用户欲搜索的关键词以及用户信息;
其中,用户信息包括用户在第一服务器中注册的用户注册信息;
举例来说,第一服务器提供用户登陆功能,提供用户登陆界面,用户可以在用户登陆界面填写用户注册信息并点击触发登陆的按钮,生成登陆请求发送到第一服务器进行用户验证,完成用户登陆。
之后,用户可以在第一服务器提供的搜索功能的界面中输入关键词,并点击相应的触发检索的按钮,以生成搜索请求发送到第一服务器,该搜索请求中携带有用户欲搜索的关键词以及用户在第一服务器中用户注册信息。
步骤202、根据用户欲搜索的关键词,得到与该关键词对应的网页
URL的集合,所述网页URL的集合中包括点评网页的URL;
其中,本实施例中的网页URL的集合为本发明所述的文档数据列表的一种表现形式,本发明所述文档数据列表的表现形式并不限于此;
例如,用户欲搜索的关键词为“苹果5s”,第一服务器根据关键词“苹果5s”查询上述索引表,得到与该关键词“苹果5s”对应的网页URL的集合,之后,服务器将搜索得到的网页URL的集合发送给用户终端,具体地,网页URL的集合通过超文本传输协议HTTP应答展现在用户终端侧,以便用户可以点击这些网页URL的集合中的网页URL去访问相关“苹果5s”的网页;这里的网页为本发明所述的文档数据的一种表现形式,本发明所述文档数据的表现形式并不限于此;
图3为现有技术中应用的与关键词“苹果5s”对应的网页URL的集合的示意图,如图3所示,与关键词“苹果5s”对应的网页URL的集合中包括与该关键词“苹果5s”对应的文档数据(如参数、行情、商家、论坛、点评等网页)的URL。
步骤203、根据所述网页URL的集合,获取点评网页中的点评用户信息;
例如,用户可以通过点击与关键词“苹果5s”对应的点评网页(相当于文档数据)的URL去访问相关“苹果5s”的其他用户点评(相当于文档数据);其中,每条用户点评中记录有写入该条点评的用户信息,为了方便区分,将写入点评的用户信息简称点评用户信息。
又例如,本实施例中,用户也可以在用户点评界面中写入该用户对“苹果5s”的点评(相当于写入文档数据)。
步骤204、根据搜索请求中携带的用户信息,获取与所述用户信息对应的好友信息;
举例来说,第一服务器根据搜索请求中携带的用户信息,查询上述社交网站的映射表,确定该用户使用的社交网站信息,以及该用户在其使用的社交网站中的好友信息。
步骤205、在点评用户信息中查找与好友信息匹配的点评用户信息,根据所述匹配的点评用户信息得到对应的用户点评。
例如,步骤203中获取的点评用户信息包括10个用户信息,步骤204中获取的好友信息为15个,其中,10个点评用户信息中有5个点评用户信息包括在好友信息中时,可以确定该5个点评用户信息是与
所述好友信息匹配的用户信息(也可以称为匹配的好友信息),则可以根据该5个匹配的点评用户信息(或者匹配的好友信息),查找点评网页,得到与该5个匹配的点评用户信息对应的用户点评(简称好友点评)。
本实施例中,可以将上述获取的好友点评的URL通过超文本传输协议HTTP应答展现在用户终端侧,以便用户可以点击这些好友点评的URL去访问相关“苹果5s”的好友点评。
图4为本发明实施例中应用的与关键词“苹果5s”对应的网页URL的集合的示意图,如图4所示,与关键词“苹果5s”对应的网页URL的集合中包括与该关键词“苹果5s”对应的好友点评的URL。
本发明实施例所述的方法不仅考虑用户欲搜索的关键词“苹果5s”,得到与该“苹果5s”关联的搜索结果(例如与该“苹果5s”相关的参数、图片、商家、价格等),同时,还考虑了该用户信息在各社交网站的好友信息,根据该用户的好友信息,还得到好友对该“苹果5s”的好友点评,较现有技术,采用本发明实施例提供的方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
图5为本发明一实施例提供的社交化扩展搜索装置的结构示意图;位于第一服务器侧,如图5所示,包括:
接收模块21,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;
第一获取模块22,用于根据接收模块21接收的所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;
第二获取模块23,用于根据接收模块21接收的所述用户信息,获取与所述用户信息关联的好友信息;
第三获取模块24,用于根据所述第二获取模块23得到的所述好友信息,在所述第一获取模块22得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
其中,所述第二获取模块23具体用于:
向第二服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述第二服务器根据所述用户信息,获取与所
述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器。
其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
其中,所述接收模块21,还用于接收所述用户终端发送的文档数据,其中,文档数据中携带有所述用户信息;
可选地,所述装置还包括:
保存模块25,用于将接收模块21接收的所述文档数据以及所述用户信息对应存储到所述文档数据列表中。
其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。
本实施例所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
图6为本发明一实施例提供的服务器的结构示意图,如图6所示,本实施例所述的服务器包括处理器31、存储器32和通信总线33,其中,处理器31通过通信总线33和存储器32连接,存储器32中保存有实现上述搜索数据处理方法的指令,当处理器31调用存储器32中的指令时,可以执行如下步骤:
接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;
根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;
根据所述用户信息,获取与所述用户信息关联的好友信息;
根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
其中,所述根据所述用户信息,获取与所述用户信息关联的好友信息,包括:
向另一服务器发送获取好友信息的请求消息,所述请求消息中包括所述用户信息;以使所述另一服务器根据所述用户信息,获取与所
述用户信息对应的好友信息,将所述好友信息发送给所述服务器。
其中,所述用户信息是所述用户终端在所述服务器和所述另一服务器中注册的用户注册信息。
其中,所述根据所述关键词,得到与所述关键词关联的文档数据列表之后,包括:
接收所述用户终端发送的文档数据,该文档数据中携带有用户信息;
将所述文档数据以及所述用户信息对应存储到所述文档数据列表中。
其中,所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。
本实施例的所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
本发明实施例还提供了社交化扩展搜索系统,其可以包括:第一服务器、用户终端和第二服务器;
所述第一服务器为如图6所示实施例提供的服务器,其包括如图5所示实施例所述的社交化扩展搜索装置;
所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;
所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器;
所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
本实施例的所述方法不仅考虑了用户欲搜索关键词与文档数据相关程度,还同时考虑了与该用户信息对应的好友对该关键词的关注,结合用户欲搜索关键词和好友对该关键词的关注,得到相应的搜索结果。较现有技术,采用本发明实施例提供的所述方法得出的搜索结果的有效性更高,体现了用户社交化的搜索要求。
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的一部分或全部的情况下实施。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。
类似地,应当理解,为了精简本公开并帮助理解各个发明方面中的一个或多个,在上面对本发明的示例性实施例的描述中,本发明的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本发明要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,发明方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本发明的单独实施例。
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。
此外,本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施
例的特征的组合意味着处于本发明的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的社交化扩展搜索设备中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。
例如,图7示出了可以实现根据本发明的社交化扩展搜索的计算设备。该计算设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图8所述的便携式或者固定存储单元。该存储单元可以具有与图7的计算设备中的存储器720类似布置的存储段、存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括计算机可读代码731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由计算设备运行时,导致该计算设备执行上面所描述的方法中的各个步骤。
本文中所称的“一个实施例”、“实施例”或者“一个或者多个实施例”意味着,结合实施例描述的特定特征、结构或者特性包括在本发明的至少一个实施例中。此外,请注意,这里“在一个实施例中”
的词语例子不一定全指同一个实施例。
应该注意的是上述实施例对本发明进行说明而不是对本发明进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”或“包括”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本发明可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
此外,还应当注意,本说明书中使用的语言主要是为了可读性和教导的目的而选择的,而不是为了解释或者限定本发明的主题而选择的。因此,在不偏离所附权利要求书的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。对于本发明的范围,对本发明所做的公开是说明性的,而非限制性的,本发明的范围由所附权利要求书限定。
Claims (13)
- 一种社交化扩展搜索方法,应用于第一服务器,包括:接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;以及根据所述好友信息,在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
- 根据权利要求1所述的方法,其中,根据所述用户信息,获取与所述用户信息关联的好友信息,包括:向第二服务器发送获取好友信息的请求消息,以使所述第二服务器根据所述用户信息获取与所述用户信息对应的好友信息,并将所述好友信息发送给所述第一服务器,所述请求消息中包括所述用户信息。
- 根据权利要求2所述的方法,其中:所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息。
- 根据权利要求2所述的方法,其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
- 根据权利要求1所述的方法,其中,根据所述关键词,得到与所述关键词关联的文档数据列表之后,还包括:接收所述用户终端发送的文档数据,所述文档数据中携带有所述用户信息;以及将所述文档数据以及所述用户信息对应地存储到所述文档数据列表中。
- 一种社交化扩展搜索装置,位于第一服务器侧,其中,包括:接收模块,用于接收用户终端发送的搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;第一获取模块,用于根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词 关联的文档数据;第二获取模块,用于根据所述用户信息,获取与所述用户信息关联的好友信息;以及第三获取模块,用于根据所述第二获取模块得到的所述好友信息,在所述第一获取模块得到的文档数据列表中,查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据。
- 根据权利要求6所述的装置,其中,所述第二获取模块具体用于:向第二服务器发送获取好友信息的请求消息,以使所述第二服务器根据所述用户信息获取与所述用户信息对应的好友信息,并将所述好友信息发送给所述第一服务器,所述请求消息中包括所述用户信息。
- 根据权利要求7所述的装置,其中:所述好友信息为所述第二服务器保存的与所述用户信息对应的好友名单中的信息,包括。
- 根据权利要求7所述的装置,其中,所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
- 根据权利要求6所述的装置,其中,所述接收模块,还用于接收所述用户终端发送的文档数据,所述文档数据中携带有所述用户信息;所述装置还包括:保存模块,用于将所述文档数据以及所述用户信息对应地存储到所述文档数据列表中。
- 一种社交化扩展搜索系统,包括:第一服务器、用户终端和第二服务器,所述第一服务器包括如权利要求6-10任一项所述的社交化扩展搜索装置;所述用户终端,用于向第一服务器发送搜索请求,所述搜索请求中包括用户欲搜索的关键词和所述用户信息;以使所述第一服务器根据所述关键词,得到与所述关键词关联的文档数据列表,所述文档数据列表中包括其他用户信息与所述关键词关联的文档数据;根据所述用户信息,获取与所述用户信息关联的好友信息;根据所述好友信息, 在所述文档数据列表中查找与所述好友信息匹配的其他用户信息,根据所述匹配的其他用户信息得到与所述匹配的其他用户信息对应的文档数据;所述第二服务器,用于在接收到所述第一服务器发送的获取好友信息的请求消息,所述请求消息中包括所述用户信息;根据所述用户信息,获取与所述用户信息对应的好友信息,将所述好友信息发送给所述第一服务器;所述用户信息是所述用户终端在所述第一服务器和所述第二服务器中注册的用户注册信息。
- 一种计算机程序,包括计算机可读代码,当所述计算机可读代码在计算设备上运行时,包括所述计算设备执行根据权利要求1-5中任一个所述的社交化扩展搜索方法。
- 一种计算机可读介质,其中存储了如权利要求12所述的计算机程序。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310642523.1 | 2013-12-03 | ||
CN201310642523.1A CN103617267B (zh) | 2013-12-03 | 2013-12-03 | 社交化扩展搜索方法及装置、系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015081848A1 true WO2015081848A1 (zh) | 2015-06-11 |
Family
ID=50167970
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/092803 WO2015081848A1 (zh) | 2013-12-03 | 2014-12-02 | 社交化扩展搜索方法及相应的装置、系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN103617267B (zh) |
WO (1) | WO2015081848A1 (zh) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103617267B (zh) * | 2013-12-03 | 2017-05-10 | 北京奇虎科技有限公司 | 社交化扩展搜索方法及装置、系统 |
CN104182488B (zh) * | 2014-08-08 | 2016-09-07 | 腾讯科技(深圳)有限公司 | 搜索方法、服务器及客户端 |
CN104462340B (zh) * | 2014-12-04 | 2018-06-19 | 华为技术有限公司 | 目标物信息搜索方法和装置 |
CN106156166B (zh) * | 2015-04-16 | 2020-11-10 | 深圳市腾讯计算机系统有限公司 | 关系链查询系统、文档检索方法、索引建立方法及装置 |
CN105678625B (zh) * | 2015-12-29 | 2019-09-17 | 联动优势科技有限公司 | 一种确定用户身份信息的方法及设备 |
CN107025607B (zh) * | 2017-03-23 | 2021-05-25 | 秦景龙 | 精确定位社交处理方法 |
CN108345636A (zh) * | 2017-12-31 | 2018-07-31 | 广东智媒云图科技股份有限公司 | 一种阅读情况跟踪方法、电子设备及存储介质 |
CN110782222A (zh) * | 2019-10-11 | 2020-02-11 | 厦门谷道集团有限公司 | 基于大数据智能邮箱识别社交媒体账号的方法、系统及设备 |
CN111241142A (zh) * | 2019-12-30 | 2020-06-05 | 绍兴市上虞区理工高等研究院 | 一种科技成果转化推送系统及方法 |
CN113778950B (zh) * | 2021-08-24 | 2023-07-04 | 中国联合网络通信集团有限公司 | 授信文件的获取方法、索引服务器、查询服务器和介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088419A (zh) * | 2009-12-07 | 2011-06-08 | 倪加元 | 一种在社交网络中查找好友信息的方法和系统 |
CN102955781A (zh) * | 2011-08-19 | 2013-03-06 | 腾讯科技(深圳)有限公司 | 一种人物搜索方法及装置 |
CN103123641A (zh) * | 2012-02-22 | 2013-05-29 | 深圳市谷古科技有限公司 | 一种社交搜索的方法和装置 |
CN103365917A (zh) * | 2012-04-09 | 2013-10-23 | 腾讯科技(深圳)有限公司 | 搜索信息的方法和装置 |
CN103617267A (zh) * | 2013-12-03 | 2014-03-05 | 北京奇虎科技有限公司 | 社交化扩展搜索方法及装置、系统 |
Family Cites Families (3)
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 (zh) * | 2010-08-20 | 2012-03-14 | 腾讯数码(天津)有限公司 | 信息提供方法和系统 |
CN103034706B (zh) * | 2012-12-07 | 2015-10-07 | 合一网络技术(北京)有限公司 | 一种基于信息网络的视频推荐列表的产生装置及方法 |
-
2013
- 2013-12-03 CN CN201310642523.1A patent/CN103617267B/zh not_active Expired - Fee Related
-
2014
- 2014-12-02 WO PCT/CN2014/092803 patent/WO2015081848A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102088419A (zh) * | 2009-12-07 | 2011-06-08 | 倪加元 | 一种在社交网络中查找好友信息的方法和系统 |
CN102955781A (zh) * | 2011-08-19 | 2013-03-06 | 腾讯科技(深圳)有限公司 | 一种人物搜索方法及装置 |
CN103123641A (zh) * | 2012-02-22 | 2013-05-29 | 深圳市谷古科技有限公司 | 一种社交搜索的方法和装置 |
CN103365917A (zh) * | 2012-04-09 | 2013-10-23 | 腾讯科技(深圳)有限公司 | 搜索信息的方法和装置 |
CN103617267A (zh) * | 2013-12-03 | 2014-03-05 | 北京奇虎科技有限公司 | 社交化扩展搜索方法及装置、系统 |
Also Published As
Publication number | Publication date |
---|---|
CN103617267B (zh) | 2017-05-10 |
CN103617267A (zh) | 2014-03-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015081848A1 (zh) | 社交化扩展搜索方法及相应的装置、系统 | |
CN104462557B (zh) | 基于搜索历史记录的即时搜索方法及装置 | |
US20180048673A1 (en) | Techniques for determining threat intelligence for network infrastructure analysis | |
US11604843B2 (en) | Method and system for generating phrase blacklist to prevent certain content from appearing in a search result in response to search queries | |
CN103744856B (zh) | 联动性扩展搜索方法及装置、系统 | |
US20140222800A1 (en) | Personalization of news articles based on news sources | |
CN102982117B (zh) | 信息搜索方法和装置 | |
WO2015103938A1 (zh) | 一种加载网站点评信息的方法和浏览器客户端 | |
WO2015081792A1 (zh) | 联动性和个性化扩展搜索方法及装置、系统 | |
US20130179773A1 (en) | Method for online editing and publishing and device thereof | |
CN102982118B (zh) | 一种基于收藏夹的搜索方法和装置 | |
CN103617266A (zh) | 个性化扩展搜索方法及装置、系统 | |
CN102708132A (zh) | 一种网页推荐方法及系统 | |
US20220391461A1 (en) | Method and system for intent-driven searching | |
US10990620B2 (en) | Aiding composition of themed articles about popular and novel topics and offering users a navigable experience of associated content | |
US11848830B2 (en) | Techniques for detection and analysis of network assets under common management | |
CN104699837B (zh) | 网页配图选取方法、装置及服务器 | |
US20160315997A1 (en) | File transfer method, device, and system | |
CN103793495A (zh) | 应用信息检索方法及系统和应用信息获取方法及系统 | |
CN102937977A (zh) | 一种搜索服务器及搜索方法 | |
US20160232240A1 (en) | Browser new tab page generation for enterprise environments | |
CN102436509A (zh) | 在移动终端进行网页浏览的方法及系统 | |
CN104715067A (zh) | 在网页上标注关键词的方法、装置、系统和浏览器客户端 | |
CN103841121B (zh) | 一种基于本地文件的评论和互动系统及方法 | |
CN105824951A (zh) | 检索方法和装置 |
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 |