WO2016169241A1 - 一种用于在计算机设备中搜索私有资源的方法和装置 - Google Patents
一种用于在计算机设备中搜索私有资源的方法和装置 Download PDFInfo
- Publication number
- WO2016169241A1 WO2016169241A1 PCT/CN2015/092957 CN2015092957W WO2016169241A1 WO 2016169241 A1 WO2016169241 A1 WO 2016169241A1 CN 2015092957 W CN2015092957 W CN 2015092957W WO 2016169241 A1 WO2016169241 A1 WO 2016169241A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- private
- user
- information
- search
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
Definitions
- the present invention relates to the field of computer technologies, and in particular, to a method and apparatus for searching for private resources in a computer device.
- the user in order to protect the privacy of the resource-owned users, the user can only search in the open resources that have been opened to the public in the network to obtain the required resources. This makes the search range of resources smaller and the chances of finding satisfactory resources are lower.
- a method for searching for a private resource in a computer device comprising:
- Information related to the at least one private resource and allowed to be obtained by the resource search user is provided to the resource search user.
- an apparatus for searching for a private resource in a computer device comprising:
- an information providing unit configured to provide information related to the at least one private resource and allowed the resource search user to obtain information to the resource search user.
- the present invention has the following advantages: 1) being able to search in private resources on the network, thereby increasing the scope of the search and increasing the success rate of the search; 2) after searching for the private resources, based on the private
- the resource resource has the user's will to determine whether to provide the private resource to the user, thereby providing the resource search user with private resources under the premise that the resource has the user's personal privacy; 3) supporting the scheme of providing the private resource after paying first, And, after obtaining the private resources, providing a reward to the resource-owning user, thereby further securing the interests of the resource-owned users; 4) supporting the preview of the private resources, thereby increasing the success rate of the resource search users to obtain satisfactory resources; 5)
- the resource characteristic information of the resource can be determined in advance, thereby quickly determining at least one private resource matching the keyword in the private resource, further providing search efficiency.
- FIG. 1 is a schematic flow chart of a method for searching for a private resource in a computer device according to an embodiment of the present invention
- FIG. 2 is a schematic structural diagram of an apparatus for searching for a private resource in a computer device according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of multiple keywords and their corresponding resource content type information according to an example of the present invention.
- FIG. 1 is a schematic flow chart of a method for searching for a private resource in a computer device according to an embodiment of the present invention.
- the method of the embodiment is mainly implemented by a computer device, including but not limited to a single network server, a server group composed of multiple network servers, or a cloud computing-based network composed of a large number of computers or network servers.
- Cloud where cloud computing is a type of distributed computing, a super-virtual computer composed of a group of loosely coupled computers; the network in which the computer device is located includes, but is not limited to, the Internet, a wide area network, a metropolitan area network, a local area network , VPN network, etc.
- the method according to the present embodiment includes step S1 and step S2.
- step S1 the computer device performs a search in the private resources of the plurality of resource-owned users according to the keyword from the resource search user, and determines at least one private resource that matches.
- the private resource represents a resource stored by a user in a network where the computer device is located, but is not open to the public.
- the user can store its resources in a network storage device provided by the network service provider.
- a variety of authentication methods such as user registration, can be used to determine the resources owned by a user. For example, after a user registers for "Golden Mountain Express", all resources stored in the corresponding registered account are resources owned by the user.
- the network storage device provided by the network service provider includes a network storage device owned by the network service provider or leased by the network service provider.
- a resource-owned user can be classified to perform resource search for classification.
- a resource-owned user may have multiple tags, each tag indicating that the resource has a classification that the user has, and the like.
- the user who stores the private resource owns the user of the resource of the private resource.
- the resource A is stored in the Baidu cloud disk by the user A, and the resource A is not open to the network public, and the resource A is the private resource of the resource owning user A.
- the multiple resources owned by the resource search may be used by all users who can store resources in network storage devices provided by one or more service providers, or may be provided by one or more service providers.
- some users who are searched for resources can be determined in various ways; for example, The resource has a degree of matching between the tag and the keyword possessed by the user; for example, a part of the resource is randomly selected to own the user; and, for example, a part of the user or the like is determined according to the designation of the resource search user.
- the resource search user represents a user who searches for resources in the network; the resource has a user that indicates that the resource is stored in the network. It should be noted that in different scenarios, a user may search for a user as a resource, or may have a user as a resource.
- the computer device can obtain keywords from the resource search user in a plurality of manners; for example, the computer device directly receives a keyword input from the user equipment by the resource search user in the user equipment, wherein the user equipment includes but Not limited to a PC, a smart phone, a tablet, etc.; for example, the computer device receives information from other computer devices containing keywords input by the resource search user, and obtains keywords from the resource search user from the information.
- the computer device performs a search in the private resources of the plurality of resource-owned users according to the keyword from the resource search user, and the implementation manner of determining the matched at least one private resource includes but is not limited to:
- step S1 the computer device searches for the public resources of the plurality of resource-owned users according to the keywords from the resource search user, and obtains the search result; in step S1, when the search result indicates that the key does not exist and the key When the words match the public resources, the computer device searches for the private resources of the plurality of resource-owned users according to the keywords from the resource search user, and determines at least one private resource that matches.
- the public resource represents a resource that is stored by a user in a network where the computer device is located and is open to all or part of the network public.
- the computer device searches for the public resources of the plurality of resource-owned users of the Baidu cloud disk according to the keyword “panoramic vision” from the resource search user to obtain the search result; in step S1, the computer device determines the search result indication.
- the Baidu cloud disk does not have a public resource matching the "panoramic vision”
- the computer device searches the private resources of the plurality of resource-owned users to determine a plurality of private resources that match the "panoramic vision”.
- the computer device owns multiple resources based on keywords from the resource search user Searching for all resources of the user to obtain at least one resource that matches; and, the computer device determines at least one private resource of the at least one resource according to the attribute information of the at least one resource.
- the attribute information of a resource is used to indicate that the resource is a private resource or a public resource.
- the computer device searches for all the resources of the plurality of resource-owned users of the "Engineering Technology" tag corresponding to the "panoramic vision" among the registered users of the Baidu cloud disk according to the keyword "panoramic vision" from the resource search user.
- the following five resources are matched: resource1, resource2, resource3, resource4, and resource5.
- the computer device determines that resource2, resource3, and resource4 are private resources according to the attribute information of each of the five resources.
- step S1 further includes step S11 and step S12.
- step S11 the computer device determines resource feature information corresponding to the keyword based on a keyword from the resource search user and/or an operation performed by the resource search user.
- the resource feature information includes any information used to represent characteristics of the resource.
- the resource feature information includes but is not limited to:
- the resource content type information includes any information that can be used to indicate a content type of the resource; preferably, the resource content type information includes, but is not limited to, domain information to which the content of the resource belongs, content characteristics of the resource, and the like.
- the resource content type information corresponding to the keyword "TCP" indicates that the domain to which the resource content belongs is "Internet”, and the content feature of the resource is "Protocol”.
- FIG. 3 shows a plurality of keywords and their corresponding resource content type information.
- the resource format type information includes any information that can be used to indicate a format type of the resource.
- the resource format type information includes display type information for indicating a display format of the resource, wherein the display format includes, but is not limited to, plain text, a document, a picture, a video, an audio, and the like.
- the resource format type information further includes storage type information indicating a storage format of the resource, where the storage format includes but is not limited to a storage format corresponding to the various display formats; for example, storage corresponding to the plain text.
- the format includes but is not limited to TXT, ASC11, MIME, etc.
- the storage format corresponding to the document includes but is not limited to: doc, pdf, ppt, etc.
- the storage format corresponding to the video includes but is not limited to rm, rmvb, mov, wmv, avi, etc. .
- the computer device may determine the resource feature information corresponding to the keyword according to the keyword from the resource search user and/or the operation performed by the resource search user.
- the computer device determines the resource content type information of the keyword by using semantic analysis of the keyword “base station”, including “engineering technology” and “information and communication”.
- the computer device determines, according to the operation performed by the resource search user, that the resource search of the storage format is “doc” needs to be searched in the category “electronic technology”, and the computer device determines that the resource content type information corresponding to the keyword includes “electronic technology”. ", and the storage format of the resource is "doc”.
- the computer device determines that the search needs to be performed in the category “Internet” according to the operation performed by the resource search user, and the computer device determines that the content feature of the resource is “protocol” by analyzing the keyword “TCP”, then the computer The device determines the resource content type information corresponding to the keyword, including: “Internet” and “protocol”.
- step S12 the computer device performs a search in the private resources of the plurality of resource-owned users according to the keyword and the resource feature information, and determines at least one private match. Resources.
- the computer device performs a search in the private resources of the plurality of resource-owned users specified by the resource search user according to the keyword “base station” and the resource content type information “information and communication” to determine that under the “information and communication” category
- the keyword "base station” matches a plurality of private resources.
- the resource corresponds to predetermined resource feature information for determining whether the resource matches the keyword and/or the resource feature information corresponding to the keyword.
- the computer device may predetermine resource feature information corresponding to the resource in multiple manners. For example, when a resource is uploaded to a network, the computer device analyzes the resource through cloud semantic or multimedia analysis technology to obtain resource characteristic information of the resource; and, for example, the computer device classifies the private resource according to the resource owned user. To determine the resource characteristic information corresponding to the private resource, for example, the resource owner user classifies its private resource resource1 into the "Internet” category under the "computer technology” category, and the computer device determines the resource feature information of the private resource, including Resource content classification information: "computer technology", "Internet”.
- step S1 can be combined with implementations 1) and 2) of step S1.
- the computer device determines resource feature information corresponding to the keyword according to an operation performed by the user from the resource search user's keyword and/or resource search; then, the computer device compares the keyword and the resource feature information according to the keyword and the resource feature information.
- the resource has a public resource of the user to search for, and obtains a search result; and when the search result indicates that there is no open resource matching the keyword, the computer device is based on the keyword and the resource feature information
- the resources are searched in the user's private resources to determine at least one private resource that matches.
- the computer device determines resource feature information corresponding to the keyword according to an operation performed by the user and a resource search user from the resource search user; then, the computer device performs, according to the keyword and the resource feature information, The plurality of resources have all the resources of the user to search for at least one resource that is matched; then, the computer device determines at least one of the at least one resource according to the attribute information of the at least one resource.
- step S2 the computer device provides information related to the at least one private resource and allowing the resource search user to obtain information to the resource search user.
- the information related to the at least one private resource and allowed to be obtained by the resource search user including but not limited to: the private resource allowed by the resource search user in the at least one private resource, and the user information of the resource owned user of the at least one private resource.
- the resource is allowed to search for user information and the like obtained by the user.
- the implementation manner in which the computer device provides information related to the at least one private resource and allows the resource search user to obtain information to the resource search user includes, but is not limited to:
- the computer device provides the private resource obtained by the resource search user among the at least one private resource to the resource search user.
- This implementation can be performed in a variety of situations, and the following is exemplified in two scenarios.
- the computer device When the resource-owning user of the private resource indicates that the setting of the private resource allows the resource search user to obtain the private resource, the computer device directly provides the private resource to the resource search user.
- the resource-owned user setting allows the resource search user to obtain all the private resources of the user owned by the resource, and for the at least one private resource, the resource owns the user's private resource, and the computer device directly provides the private resource to the resource search user.
- the computer device When it is determined by the interaction with the resource-owned user of the private resource that the resource search user is allowed to obtain the private resource, the computer device provides the private resource to the resource search user.
- the implementation may further include the following steps:
- the computer device sends a resource acquisition request to the resource owner user of the private resource.
- the resource acquisition request is used to request a resource owner to obtain a private resource.
- the resource acquisition request includes, but is not limited to, identification information of the private resource.
- the feedback information is used to indicate that the resource has feedback from the user for the resource acquisition request received by the user.
- the feedback information includes, but is not limited to, information for indicating that the private resource is denied to be provided, and information for indicating that the private resource is provided.
- the information for indicating the provision of the private resource may further include, but is not limited to, information for indicating that only the resource search user is provided with the private resource, information for indicating that the private resource is disclosed to all or part of the users in the network, and the like.
- step S1 the computer device determines three matching private resources: resource1, resource2, and resource3; in step S2, the computer device separately sends a resource acquisition request to the resource-owning users of the three private resources, when received
- the resource of resource2 has user feedback information, and when the feedback information indicates that resource2 is disclosed to all users in the network, the computer device provides resource2 to the resource search user.
- the user information includes any information related to the resource-owned user; preferably, the user information includes, but is not limited to, account information of the resource-owned user, contact information, and the like.
- the computer device may determine, according to the setting of the resource-owned user, the user information obtained by the resource search user in the user information of the resource-owned user.
- the user information obtained by the resource search user is allowed to include the contact information of the user of the resource, and the computer device provides the contact information to the resource search user.
- the resource search user can be based on the user letter. Contact the resource to own the user (such as the user information is the phone, you can call the phone; if the user information is the mailbox, you can send the mail, etc.), so as to obtain the required resources from the resource owner.
- the resource search user may instruct the computer device to send a resource acquisition request to the resource owner user based on the user information; subsequently, if the computer device receives the feedback information from the resource owner user for the resource acquisition request, And the feedback information indicates that when the resource search user is allowed to obtain the private resource, the private resource is provided to the resource search user.
- the resource search user can provide a fee to the resource owner user who provides the private resource.
- the following two payment schemes are illustrated by way of example and without limitation.
- step a) further includes the step of: when the acquisition of the private resource requires payment, the computer device sends a resource acquisition request including the payment information to the resource owner user of the private resource.
- the payment information is used to indicate a payment operation performed by the resource search user for the private resource; preferably, the payment information includes, but is not limited to, a fee paid, an indication information indicating that the payment has been completed, and the like.
- the fee includes any transaction that can be used for payment; preferably, the fee includes but is not limited to real money in real life (such as RMB, US dollars, etc.), virtual currency in the network (such as Baidu's Baidu currency) , Tencent's Q coins, grand points, etc.).
- step S1 the computer device determines a matching private resource resource1; after that, the resource search user performs payment based on the resource set by the resource1 user of the resource1; after the payment is completed, in step S2, the computer device A resource acquisition request including payment information is sent to the resource owner user, the payment information being used to indicate that the resource search user has completed the payment.
- the private resource may be directly provided to the resource search user.
- resource search users can complete payment operations in a variety of ways. For example, when the computer device determines that the acquisition of the private resource requires payment, the user search device provides the payment function to the resource search user, and the resource search user completes the payment operation based on the payment function, and the computer device can directly determine that the resource search user has completed the payment; Again For example, the resource search user completes the payment operation based on the payment function provided by the other computer device, under which the computer device can determine that the resource search user has completed the payment operation based on the payment information from the other computer device.
- the step a) further comprises the step of: the computer device transmitting a resource acquisition request including the fee reward information to the resource owner user of the private resource; and thereafter, the computer device indicates the fee reward information The fee is provided to the resource owner who provided the private resource.
- the fee reward information is used to indicate a fee reward provided for a resource-owned user who provides a private resource.
- the fee reward information includes, but is not limited to, a reward condition (eg, a resource-owning user of the best private resource can obtain a fee reward, or a predetermined number of resource-owning users who first provide the private resource can obtain a fee reward), The cost of the reward (such as 10 Baidu coins, 1 yuan, etc.).
- step S1 the computer device determines three matching private resources: resource1, resource2, and resource3; in step S2, the computer device separately transmits resource acquisition including the fee reward information to the resource-owning users of the three private resources.
- the request, the fee reward information is used to indicate that the resource owner of each resource providing user has a fee reward of 1 Baidu coin; the computer device provides the resource1 to the resource search user according to the feedback information of the resource owned user of the resource1.
- the resource owner of the resource1 is provided with one Baidu currency; the computer device provides the user's feedback information according to the resource of the resource2, and the resource2 is provided to the resource search user, and then provides a Baidu currency to the resource owner of the resource2.
- the resource search user may refuse to pay the resource-owning user the fee indicated by the fee reward information.
- the implementation manner of the at least one private resource is multiple, and the computer device provides information related to the multiple private resources and allows the information obtained by the resource search user to be provided to the resource search user, including but not limited to:
- the computer device for each of the plurality of private resources, the computer device provides information related to the private resource and allows the resource search user to provide information to the resource search Cable users.
- the computer device sends a resource acquisition request to the resource owner user of the private resource, and receives feedback information of the user owned by the resource, and the feedback information indicates that the resource search is allowed.
- the user obtains the private resource the private resource is provided to the resource search user.
- the step S2 further includes a step S21.
- step S21 the computer device repeatedly performs the following operations until a predetermined termination condition is met: selecting, from the at least one private resource, a portion of the private resource that has not yet provided information related thereto to the resource search user; Information about the private resource and allowing the resource search user to obtain is provided to the resource search user.
- the predetermined termination condition includes any predetermined condition for terminating the execution of the predetermined operation.
- the predetermined termination condition includes but is not limited to:
- the computer device determines nine private resources in step S1.
- step S21 the computer device first selects 4 private resources, and sends a resource acquisition request to the resource owner user of each of the 4 private resources; then, after a predetermined time interval, the computer device does not receive To any feedback from a resource-owned user; then, the computer device selects 4 private resources among the remaining 5 private resources that have not performed the predetermined operation, and owns the resources of each of the 4 private resources
- the user sends a resource acquisition request; then, the computer device receives feedback information that the two resources own the user, and the two feedback information respectively indicate that the resource search user is allowed to obtain the private resource; then, the computer device will be private corresponding to the two feedback information.
- the resource is provided to the resource search user; then, the computer device determines from the resource search user that the resource search user has obtained the required private resource.
- the computer device can determine that the resource search user has obtained the required private resources in various ways.
- the computer device receives search response information from a resource search user indicating that the resource search user has obtained the private resources it needs.
- the search response information can be expressed as a specified operation, such as a private asset
- the source is set to the best private resource, and so on. For example, if the resource search user sets the private resource resource2 provided by the computer device as the optimal private resource, the computer device determines, according to the setting operation, that the resource search user has obtained the private resource required by the user.
- the computer device has performed a predetermined operation on all private resources in the at least one private resource determined in step S1.
- the computer device determines nine private resources in step S1.
- step S21 the computer device first selects 4 private resources, and sends a resource acquisition request to the resource owner user of each of the 4 private resources; then, after a predetermined time interval, the computer device does not receive To any feedback from a resource-owned user; then, the computer device selects 4 private resources among the remaining 5 private resources that have not performed the predetermined operation, and owns the resources of each of the 4 private resources
- the user sends a resource acquisition request; then, the computer device receives feedback information that the two resources own the user, and the two feedback information respectively indicate that the resource search user is allowed to obtain the private resource; then, the computer device will be private corresponding to the two feedback information.
- the resource is provided to the resource search user; then, the computer device determines, according to the information from the resource search user, that the resource search user has not obtained the required private resource; then, the computer device sends the remaining private resource to the remaining unscheduled operation.
- Resource owns the user to send a resource get request, and the calculation The device performs a predetermined operation has been determined to at least one private resource determined in step S1 all the private resources, thereby stopping the operation cycle.
- the computer device may select, from among the at least one private resource, a partial private resource that has not yet provided information related thereto to the resource search user, and will be related to the partial private resource and allow the The information obtained by the resource search user is provided to the resource search user.
- the computer device randomly selects, from at least one private resource, part of the private resource that has not yet provided information related thereto to the resource search user, and provides the private resource obtained by the resource search user in the partial private resource to the resource search. user.
- the computer device matches the keyword according to at least one private resource. Selecting, from the at least one private resource, part of the private resource that has not yet provided information related thereto to the resource search user, and providing the private resource obtained by the resource search user in the selected partial private resource to the resource search user.
- the resource search user may be based on various factors, such as the degree of satisfaction with the private resource, the matching degree of the private resource with the keyword, and the like. , evaluate or rate the private resources, etc.
- the solution of this embodiment further includes step S3.
- step S3 when there is a private resource allowing preview in the at least one private resource, the computer device provides the user with preview information of the private resource that allows preview.
- the computer device can determine whether a private resource allows previewing in various ways. For example, when the private resource has a predetermined display format or a storage format, the computer device may determine that the private resource allows preview; and, for example, the computer device has a user's setting of the private resource according to the resource of the private resource, and determines that the private resource allows preview .
- the preview information is used to indicate content that is allowed to be previewed in the private resource.
- the display format of the private resource is a document
- the preview information of the private resource is the content of the first two pages of the document; for example, the display format of the private resource is a video
- the preview information of the private resource is the video content of the first 5 minutes.
- the preview information of the private resource may be determined based on the setting of the resource owner user, or may be directly determined by the computer device according to the format type of the private resource.
- the computer device determines preview information of the private resource that is allowed to be previewed, and provides the preview information to the resource search user.
- step S1 the computer device determines three matching private resources: resource1, resource2, resource3; in step S3, the computer device is based on the 3
- the display format of the private resource determines that resource1 is a private resource that allows previewing, and the computer device provides the content of the first two pages of resource1 as preview information to the resource search user according to the display format "document" of resource1.
- step S3 if the resource search user selects at least one private resource in the private resource that allows preview, then in step S2, the computer device first relates to the private resource and allows the The information obtained by the resource search user is provided to the resource search user.
- any of the at least one private resource has a private resource that allows preview, to the resource.
- the manner in which the search user provides preview information of the private resources that are allowed to be previewed is intended to be included within the scope of the present invention.
- the user in order to protect the privacy of the resource-owned users, the user can only search in the open resources that have been opened to the public in the network to obtain the required resources. This makes the search range of resources smaller and the chances of finding satisfactory resources are lower.
- the search can be performed in the private resources on the network, thereby increasing the scope of the search, increasing the success rate of the search, and after searching for the private resources, the resources based on the private resources have the will of the user. Determining whether to provide the private resource to the user, thereby providing the resource search user with the private resource on the premise that the protection resource has the user's personal privacy; the solution of the invention also supports the scheme of providing the private resource after the payment, and obtaining the private The resource back-end resource has a scheme for providing a user with a fee reward, thereby further securing the benefit of the resource-owned user; and the solution of the present invention also supports previewing the private resource, thereby increasing the success rate of the resource search user to obtain a satisfactory resource; The resource characteristic information of the resource can be determined in advance, thereby quickly determining at least one private resource matching the keyword in the private resource, further providing search efficiency.
- the means for searching for a private resource in a computer device includes a determining unit 1 and an information providing unit 2.
- the determining unit 1 is used for multiple resources according to keywords from the resource search user. Searching among the user's private resources to determine at least one private resource that matches.
- the private resource represents a resource stored by a user in a network where the computer device is located, but is not open to the public.
- the user can store its resources in a network storage device provided by the network service provider.
- a variety of authentication methods such as user registration, can be used to determine the resources owned by a user. For example, after a user registers for "Golden Mountain Express", all resources stored in the corresponding registered account are resources owned by the user.
- the network storage device provided by the network service provider includes a network storage device owned by the network service provider or leased by the network service provider.
- a resource-owned user can be classified to perform resource search for classification.
- a resource-owned user may have multiple tags, each tag indicating that the resource has a classification that the user has, and the like.
- the user who stores the private resource owns the user of the resource of the private resource.
- the resource A is stored in the Baidu cloud disk by the user A, and the resource A is not open to the network public, and the resource A is the private resource of the resource owning user A.
- the multiple resources owned by the resource search may be used by all users who can store resources in network storage devices provided by one or more service providers, or may be provided by one or more service providers.
- a part of the users who are searched for resources can be determined in various ways; for example, the degree of matching between the tags and the keywords possessed by the users is owned by the resources; for example, the partial resources are randomly selected to own the users; and, for example, the users are searched according to the resources.
- the designation is to determine some users and so on.
- the resource search user represents a user who searches for resources in the network; the resource has a user that indicates that the resource is stored in the network. It should be noted that in different scenarios, a user may search for a user as a resource, or may have a user as a resource.
- the determining unit 1 can obtain keywords from the resource search user in a plurality of manners; for example, the determining unit 1 directly receives a keyword input by the resource search user in the user equipment from the user equipment, where the user equipment Including, but not limited to, a PC, a smart phone, a tablet, etc.; for example, the determining unit 1 receives information from other computer devices including keywords input by the resource search user, and obtains a key from the resource search user from the information. word.
- the determining unit 1 performs a search in the private resources of the plurality of resource-owned users according to the keyword from the resource search user, and the implementation manner of determining the matched at least one private resource includes but is not limited to:
- the search device further includes a first obtaining unit (not shown), and the determining unit 1 includes a third sub-determining unit (not shown).
- the first obtaining unit is configured to search for the public resources of the plurality of resource-owned users according to the keyword from the resource search user, and obtain the search result.
- the third sub-determination unit is configured to: when the search result indicates that there is no open resource matching the keyword, the computer device performs a search in the private resource of the plurality of resource-owned users according to the keyword from the resource search user, Determine at least one private resource that matches.
- the public resource represents a resource that is stored by a user in a network where the computer device is located and is open to all or part of the network public.
- the first obtaining unit searches for the public resources of the plurality of resource-owned users of the Baidu cloud disk according to the keyword “panoramic vision” from the resource search user to obtain the search result; the third sub-determining unit determines the search result indication.
- the Baidu cloud disk there is no public resource matching the “panoramic vision”, and the third sub-determination unit searches in the private resources of the plurality of resource-owned users to determine a plurality of private resources that match the “panoramic vision”. .
- the determining unit 1 further includes a second obtaining unit (not shown) and a fourth sub-determining unit (not shown).
- the second obtaining unit is configured to search all the resources of the plurality of resource-owned users according to the keyword from the resource search user, and obtain at least one resource that matches.
- the fourth sub-determination unit is configured to determine at least one private resource of the at least one resource according to the attribute information of the at least one resource.
- the attribute information of a resource is used to indicate that the resource is a private resource or a public resource.
- the second obtaining unit performs, according to the keyword “panoramic vision” from the resource search user, all resources of the plurality of resource-owned users having the “Engineering Technology” tag corresponding to “Panorama Vision” among the registered users of the Baiyun cloud disk.
- the search is performed to obtain the following five resources: resource1, resource2, resource3, resource4, and resource5.
- the fourth sub-determination unit determines that resource2, resource3, and resource4 are private resources according to the attribute information of each of the five resources.
- the determining unit 1 further includes a first sub-determining unit (not shown) and a second sub-determining unit (not shown).
- the first sub-determination unit determines resource feature information corresponding to the keyword based on a keyword from the resource search user and/or an operation performed by the resource search user.
- the resource feature information includes any information used to represent characteristics of the resource.
- the resource feature information includes but is not limited to:
- the resource content type information includes any information that can be used to indicate a content type of the resource; preferably, the resource content type information includes, but is not limited to, domain information to which the content of the resource belongs, content characteristics of the resource, and the like.
- the resource content type information corresponding to the keyword "TCP" indicates that the domain to which the resource content belongs is "Internet”, and the content feature of the resource is "Protocol”.
- FIG. 3 shows a plurality of keywords and their corresponding resource content type information.
- the resource format type information includes any information that can be used to indicate a format type of the resource.
- the resource format type information includes display type information for indicating a display format of the resource, wherein the display format includes, but is not limited to, plain text, a document, a picture, a video, an audio, and the like.
- the resource format type information further includes storage type information indicating a storage format of the resource, where the storage format includes but is not limited to a storage format corresponding to the various display formats; for example, storage corresponding to the plain text.
- the format includes but is not limited to TXT, ASC11, MIME, etc.
- the storage format corresponding to the document includes but is not limited to: doc, pdf, ppt, etc.
- the storage format corresponding to the video includes but is not limited to rm, rmvb, mov, wmv, avi, etc. .
- the first sub-determining unit can adopt various manners according to the search from the resource.
- the keyword of the user and/or the resource search for an operation performed by the user and determine resource feature information corresponding to the keyword.
- the first sub-determining unit determines the resource content type information of the keyword by using semantic analysis on the keyword “base station”, including “engineering technology” and “information and communication”.
- the first sub-determination unit determines that it is necessary to search for a resource search whose storage format is “doc” in the category “electronic technology” according to an operation performed by the resource search user, and the first sub-determination unit determines the resource content corresponding to the keyword.
- the type information includes "electronic technology” and the storage format of the resource is "doc”.
- the first sub-determination unit determines that the search needs to be performed in the category “Internet” according to the operation performed by the resource search user, and the first sub-determination unit analyzes the keyword “TCP” to determine that the content feature of the resource is The “protocol”, the first sub-determination unit determines the resource content type information corresponding to the keyword, including: "Internet”, "protocol”.
- the second sub-determination unit performs a search in the private resources of the plurality of resource-owned users according to the keyword and the resource feature information, and determines at least one private resource that matches.
- the second sub-determination unit performs a search in the private resources of the plurality of resource-owned users specified by the resource search user according to the keyword “base station” and the resource content type information “information and communication” to determine “information and communication”.
- the resource corresponds to predetermined resource feature information for determining whether the resource matches the keyword and/or the resource feature information corresponding to the keyword.
- the second sub-determining unit may predetermine resource feature information corresponding to the resource in multiple manners. For example, when the resource is uploaded to the network, the second sub-determination unit analyzes the resource by using cloud semantics or multimedia analysis technology to obtain resource feature information of the resource; for example, the second sub-determination unit according to the resource-owned user pair Private resources Classification, to determine the resource characteristic information corresponding to the private resource, for example, the resource owner user classifies its private resource resource1 into the "Internet" category under the "computer technology” category, and the second sub-determination unit determines the private resource.
- the resource characteristic information includes resource content classification information: "computer technology" and "Internet”.
- the preferred embodiment of the above determining unit 1 can be combined with the implementations 1) and 2) of the determining unit 1.
- the determining unit 1 determines resource feature information corresponding to the keyword according to an operation performed by the user from the resource search user's keyword and/or resource search; then, the determining unit 1 according to the keyword and the resource feature information, Searching for the public resources of the plurality of resource-owned users to obtain the search result; and, when the search result indicates that there is no public resource matching the keyword, the determining unit 1 according to the keyword and the resource feature information Searching among the private resources of the multiple resource-owned users to determine at least one private resource that matches.
- the determining unit 1 determines the resource feature information corresponding to the keyword according to an operation performed by the user from the resource search user and/or the resource search; and then the determining unit 1 according to the keyword and the resource feature information Searching for all resources of the plurality of resource-owned users to obtain at least one resource that matches; after that, the determining unit 1 determines at least one of the at least one resource according to the attribute information of the at least one resource.
- the information providing unit 2 provides information related to the at least one private resource and allowing the resource search user to obtain information to the resource search user.
- the information related to the at least one private resource and allowed to be obtained by the resource search user including but not limited to: the private resource allowed by the resource search user in the at least one private resource, and the user information of the resource owned user of the at least one private resource.
- the resource is allowed to search for user information and the like obtained by the user.
- the information providing unit 2 will be related to the at least one private resource and allowed
- the implementation manner in which the information obtained by the resource search user is provided to the resource search user includes but is not limited to:
- the information providing unit 2 includes a first providing unit (not shown) for providing a private resource obtained by the resource searching user in the at least one private resource to the resource searching user.
- the first providing unit can perform operations in a variety of situations, which are exemplified below in two cases.
- the first providing unit directly provides the private resource to the resource search user.
- the first providing unit directly provides the private resource to the resource search for the private resource of the user in the at least one private resource. user.
- the first providing unit When it is determined by the interaction with the resource-owned user of the private resource that the resource search user is allowed to obtain the private resource, the first providing unit provides the private resource to the resource search user.
- the first providing unit further includes a sending unit (not shown) and a third providing unit (not shown).
- the sending unit sends a resource acquisition request to the resource owner user of the private resource.
- the resource acquisition request is used to request a resource owner to obtain a private resource.
- the resource acquisition request includes, but is not limited to, identification information of the private resource.
- the third providing unit When receiving feedback information from the resource-owned user, and the feedback information indicates that the resource search user is allowed to obtain the private resource, the third providing unit provides the private resource to the resource search user.
- the feedback information is used to indicate that the resource has feedback from the user for the resource acquisition request received by the user.
- the feedback information includes but is not limited to: used to indicate rejection Provides information about private resources; information used to indicate the provision of private resources.
- the information for indicating the provision of the private resource may further include, but is not limited to, information for indicating that only the resource search user is provided with the private resource, information for indicating that the private resource is disclosed to all or part of the users in the network, and the like.
- the determining unit 1 determines three matching private resources: resource1, resource2, and resource3; the sending unit sends a resource obtaining request to the resource-owning users of the three private resources respectively, and when the resource that receives the resource2 has the feedback information of the user, And when the feedback information indicates that resource2 is disclosed to all users in the network, the third providing unit provides resource2 to the resource search user.
- the information providing unit 2 includes a second providing unit (not shown), and the second providing unit is configured to provide the user information obtained by the resource searching user in the user information of the resource-owning user of the at least one private resource Search for users for this resource.
- the user information includes any information related to the resource-owned user; preferably, the user information includes, but is not limited to, account information of the resource-owned user, contact information, and the like.
- the second providing unit may determine, according to the setting of the resource-owned user, the user information obtained by the resource searching user in the user information of the resource-owned user.
- the user information obtained by the resource search user is allowed to include the contact information of the user of the resource, and the second providing unit provides the contact information to the resource search user.
- the resource search user can contact the resource owner based on the user information (if the user information is a phone, the phone can be dialed; if the user information is a mailbox, the email can be sent, etc.) Get the resources you need from the resource owner.
- the resource search user may instruct the sending unit to send a resource acquisition request to the resource owner user based on the user information; subsequently, if receiving feedback information from the resource owner user for the resource acquisition request, and When the feedback information indicates that the resource search user is allowed to obtain the private resource, the search device provides the private resource to the resource search user.
- the resource search user can provide a fee to the resource owner user who provides the private resource.
- the following two payment schemes are illustrated by way of example and without limitation.
- the first sending unit is configured to include a first sub-sending unit (not shown), where the first sub-sending unit is configured to send the charging information to the resource-owning user of the private resource when the obtaining of the private resource requires payment.
- the payment information is used to indicate a payment operation performed by the resource search user for the private resource; preferably, the payment information includes, but is not limited to, a fee paid, an indication information indicating that the payment has been completed, and the like.
- the fee includes any transaction that can be used for payment; preferably, the fee includes but is not limited to real money in real life (such as RMB, US dollars, etc.), virtual currency in the network (such as Baidu's Baidu currency) , Tencent's Q coins, grand points, etc.).
- the determining unit 1 determines a matching private resource resource1; after that, the resource search user performs payment based on the resource set by the resource1 user of the resource1; after the payment is completed, the first child sending unit sends the resource to the resource-owning user.
- a resource acquisition request including a payment request, the payment information is used to indicate that the resource search user has completed the payment.
- the first providing unit may directly provide the private resource to the resource search user.
- resource search users can complete payment operations in a variety of ways. For example, when the computer device determines that the acquisition of the private resource requires payment, the user search device provides the payment function to the resource search user, and the resource search user completes the payment operation based on the payment function, and the computer device can directly determine that the resource search user has completed the payment; As another example, the resource search user completes the payment operation based on the payment function provided by the other computer device, and the computer device can determine, based on the payment information from the other computer device, that the resource search user has completed the payment operation.
- the sending unit further includes a second sub-transmission unit (not shown), and the second sub-transmission unit is configured to send a resource acquisition request including the fee reward information to the resource-owning user of the private resource, and the first providing The unit further includes a fourth providing unit (not shown) for using the fee indicated by the fee reward information after the third providing unit provides the private resource to the resource search user The resource is provided to the user who provides the private resource.
- the fee reward information is used to indicate a fee reward provided for a resource-owned user who provides a private resource.
- the fee reward information includes, but is not limited to, a reward condition (eg, a resource-owning user of the best private resource can obtain a fee reward, or a predetermined number of resource-owning users who first provide the private resource can obtain a fee reward), The cost of the reward (such as 10 Baidu coins, 1 yuan, etc.).
- the determining unit 1 determines three matching private resources: resource1, resource2, and resource3; and the second sub-sending unit respectively sends a resource obtaining request including the fee reward information to the resource-owned users of the three private resources, the fee reward information.
- the third providing unit is configured to provide a fee reward for each of the resource-providing users that provide the private resource, and the third providing unit provides the resource1 to the resource search user according to the feedback information of the resource-owned user of the resource1, and the fourth providing unit Providing 1 Baidu currency to the resource owner user of resource1; the third providing unit provides resource2 to the resource search user according to the resource 2 owning feedback information of the resource2, and the fourth providing unit provides 1 Baidu currency to the resource owner of the resource2 .
- the resource search user may refuse to pay the resource-owning user the fee indicated by the fee reward information.
- the at least one private resource is multiple, and the information providing unit 2 provides the information related to the multiple private resources and the information obtained by the resource search user to the resource search user, including but not limited to:
- the information providing unit 2 supplies information related to the private resource and allowing the resource search user to obtain information to the resource search user.
- the information providing unit 2 sends a resource acquisition request to the resource owner user of the private resource, and receives feedback information of the user owned by the resource, and the feedback information indicates permission When the resource search user obtains the private resource, the private resource is provided to the resource search user.
- the information providing unit 2 further includes a sub-providing unit (not shown) for repeatedly performing the following operations until a predetermined termination condition is satisfied: Selecting, from the at least one private resource, a portion of the private resource that has not yet provided relevant information to the resource search user; providing information related to the partial private resource and allowing the resource search user to obtain information to the resource search user.
- a sub-providing unit (not shown) for repeatedly performing the following operations until a predetermined termination condition is satisfied: Selecting, from the at least one private resource, a portion of the private resource that has not yet provided relevant information to the resource search user; providing information related to the partial private resource and allowing the resource search user to obtain information to the resource search user.
- the predetermined termination condition includes any predetermined condition for terminating the execution of the predetermined operation.
- the predetermined termination condition includes but is not limited to:
- the determining unit 1 determines 9 private resources.
- the sub-providing unit first selects 4 of the private resources, and sends a resource acquisition request to the resource-owning user of each of the 4 private resources; then, after a predetermined time interval, the sub-providing unit does not receive any The resource has feedback information of the user; then, the sub-providing unit selects 4 private resources among the remaining 5 private resources that have not performed the predetermined operation, and sends the private resource to the resource-owned user of each of the 4 private resources.
- the sub-providing unit receives the feedback information of the two resource-owned users, and the two feedback information respectively indicate that the resource search user is allowed to obtain the private resource; then, the sub-providing unit will be privately associated with the two feedback information.
- the resource is provided to the resource search user; then, the child providing unit determines that the resource search user has obtained the required private resource based on the information from the resource search user.
- the sub-providing unit may determine, in various manners, that the resource search user has obtained the required private resources.
- the sub-providing unit receives search response information from a resource search user indicating that the resource search user has obtained the private resources it needs.
- the search response information can be represented as a specified operation, such as setting a private resource as the best private resource.
- the resource search user sets the private resource resource2 provided by the child providing unit as the optimal private resource, and the child providing unit determines, according to the setting operation, that the resource search user has obtained the private resource required by the user.
- the sub-providing unit has performed a predetermined operation on all the private resources in the at least one private resource determined by the determining unit 1.
- the determining unit 1 determines 9 private resources.
- the sub-providing unit first selects 4 of the private resources and uses the resources of each of the 4 private resources.
- the user sends a resource acquisition request; then, after a predetermined time interval, the sub-providing unit does not receive any feedback information from the resource-owned user; and then, the sub-providing unit leaves the remaining 5 private resources that have not performed the predetermined operation.
- the sub-providing unit receives feedback information of the users owned by the two resources, and the two feedback information are Instructing the resource search user to obtain the private resource; then, the sub-providing unit provides the private resource corresponding to the two feedback information to the resource search user; then, the sub-providing unit determines, according to the information from the resource search user, that the resource search user has not obtained a required private resource; then, the sub-providing unit transmits a resource acquisition request to the remaining resource-owning users of the 1 private resource that has not performed the predetermined operation, and the sub-providing unit determines at least one determined by the determining unit 1 All private resources in the private resource perform scheduled operations, thus stopping the loop operation .
- the sub-providing unit may select, from among the at least one private resource, a part of the private resource that has not yet provided information related thereto to the resource search user, and will be related to the partial private resource and allow the resource search user to obtain The information provided to the resource search user.
- the sub-providing unit randomly selects, from the at least one private resource, a partial private resource that has not yet provided information related thereto to the resource search user, and provides the private resource that the resource search user obtains in the partial private resource to the resource. Search for users.
- the sub-providing unit selects, according to the matching degree of the at least one private resource and the keyword, the partial private resource that has not yet provided information related thereto to the resource search user from the at least one private resource, and selects the selected one.
- a private resource in a part of the private resource that is allowed to be searched by the resource search user is provided to the resource search user.
- the resource search user may be based on various factors, such as the satisfaction degree of the private resource, the private resource and the keyword. The degree of matching, etc., the evaluation or rating of the private resource.
- the search apparatus of this embodiment further includes a fifth providing unit (not shown), and the fifth providing unit is configured to: when there is a private resource that allows previewing in the at least one private resource Provides the user with preview information of the private resources that are allowed to preview.
- the fifth providing unit may determine whether a private resource allows previewing in a plurality of manners. For example, when the private resource has a predetermined display format or a storage format, the fifth providing unit may determine that the private resource allows the preview; and, for example, the fifth providing unit determines the setting according to the resource-owned user's setting of the private resource. Private resources allow previews.
- the preview information is used to indicate content that is allowed to be previewed in the private resource.
- the display format of the private resource is a document
- the preview information of the private resource is the content of the first two pages of the document; for example, the display format of the private resource is a video
- the preview information of the private resource is the video content of the first 5 minutes.
- the preview information of the private resource may be determined based on the setting of the resource-owning user, or may be directly determined by the fifth providing unit according to the format type of the private resource.
- the fifth providing unit determines preview information of the private resource that is allowed to be previewed, and provides the preview information to the resource search user.
- the determining unit 1 determines three matching private resources: resource1, resource2, and resource3; the fifth providing unit determines, according to the display format of the three private resources, that resource1 is a private resource that allows preview, and the fifth providing unit is based on resource1.
- the display format "document" provides the content of the first two pages of resource1 as preview information to the resource search user.
- the fifth providing unit 2 performs the operation, if the resource search user selects at least one private resource in the private resource that allows the preview, the information
- the providing unit 2 first provides information related to the private resource and allowing the resource search user to obtain information to the resource search user.
- any of the at least one private resource has a private resource that allows preview, to the resource.
- the manner in which the search user provides preview information of the private resources that are allowed to be previewed is intended to be included within the scope of the present invention.
- the user in order to protect the privacy of the resource-owned users, the user can only search in the open resources that have been opened to the public in the network to obtain the required resources. This makes the search range of resources smaller and the chances of finding satisfactory resources are lower.
- the search can be performed in the private resources on the network, thereby increasing the scope of the search, increasing the success rate of the search, and after searching for the private resources, the resources based on the private resources have the will of the user. Determining whether to provide the private resource to the user, thereby providing the resource search user with the private resource on the premise that the protection resource has the user's personal privacy; the solution of the invention also supports the scheme of providing the private resource after the payment, and obtaining the private The resource back-end resource has a scheme for providing a user with a fee reward, thereby further securing the benefit of the resource-owned user; and the solution of the present invention also supports previewing the private resource, thereby increasing the success rate of the resource search user to obtain a satisfactory resource; The resource characteristic information of the resource can be determined in advance, thereby quickly determining at least one private resource matching the keyword in the private resource, further providing search efficiency.
- the present invention can be implemented in software and/or a combination of software and hardware.
- the apparatus or unit of the present invention can be implemented using an application specific integrated circuit (ASIC) or any other similar hardware device.
- the software program of the present invention may be executed by a processor to implement the steps or functions described above.
- the software program (including related data structures) of the present invention can be stored in a computer readable recording medium such as a RAM memory, a magnetic or optical drive or a floppy disk and the like.
- some of the steps or functions of the present invention may be implemented in hardware, for example, as a circuit that cooperates with a processor to perform various steps or functions.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明提供了一种用于在计算机设备中搜索私有资源的方法,其中,该方法包括:根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源;将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。根据本发明的方法能够在保护资源拥有用户的个人隐私的前提下,增加搜索的成功率和效率。
Description
本申请以一中国专利申请作为优先权申请,该中国专利申请的申请日为2015年4月24日,申请号为201510202625.0,发明名称为“一种用于在计算机设备中搜索私有资源的方法和装置”。
本发明涉及计算机技术领域,尤其涉及一种用于在计算机设备中搜索私有资源的方法和装置。
现有技术中,出于对资源拥有用户的个人隐私的保护,用户仅能在网络中已向网络公众开放的公开资源中进行搜索,来获得其所需的资源。这使得资源的搜索范围较小,搜索到满意资源的几率较低。
发明内容
本发明的目的是提供一种用于在计算机设备中搜索私有资源的方法和装置。
根据本发明的一个方面,提供一种用于在计算机设备中搜索私有资源的方法,其中,该方法包括:
根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源;
将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
根据本发明的另一个方面,还提供了一种用于在计算机设备中搜索私有资源的装置,其中,该装置包括:
确定单元,用于根据来自资源搜索用户的关键词,在多个资源拥有
用户的私有资源中进行搜索,确定相匹配的至少一个私有资源;
信息提供单元,用于将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
与现有技术相比,本发明具有以下优点:1)能够在网络上的私有资源中进行搜索,从而增加搜索的范围,增大搜索的成功率;2)在搜索到私有资源之后,基于私有资源的资源拥有用户的意愿来确定是否向用户提供该私有资源,从而在保护资源拥有用户的个人隐私的前提下,向资源搜索用户提供私有资源;3)支持先付费后提供私有资源的方案,以及,在获得私有资源后向资源拥有用户提供费用奖励的方案,从而进一步保障资源拥有用户的利益;4)支持私有资源的预览,从而增加了资源搜索用户获得满意的资源的成功率;5)能够预先确定资源的资源特征信息,从而快速地在私有资源中确定与关键词相匹配的至少一个私有资源,进一步提供了搜索的效率。
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:
图1为本发明一个实施例的用于在计算机设备中搜索私有资源的方法的流程示意图;
图2为本发明一个实施例的用于在计算机设备中搜索私有资源的装置的结构示意图;
图3为本发明一个示例的多个关键词及其对应的资源内容类型信息的示意图。
附图中相同或相似的附图标记代表相同或相似的部件。
下面结合附图对本发明作进一步详细描述。
图1为本发明一个实施例的用于在计算机设备中搜索私有资源的方法的流程示意图。
其中,本实施例的方法主要通过计算机设备来实现;所述计算机设备包括但不限于单个网络服务器、多个网络服务器组成的服务器组或基于云计算(Cloud Computing)的由大量计算机或网络服务器构成的云,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机;所述计算机设备所处的网络包括但不限于互联网、广域网、城域网、局域网、VPN网络等。
需要说明的是,所述计算机设备仅为举例,其他现有的或今后可能出现的计算机设备如可适用于本发明,也应包含在本发明保护范围以内,并以引用方式包含于此。
根据本实施例的方法包括步骤S1和步骤S2。
在步骤S1中,计算机设备根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
其中,所述私有资源表示由用户存储在计算机设备所在网络中,但并未向网络公众开放的资源。其中,用户可将其资源存储在网络服务商提供的网络存储设备中。并且,可通过多种认证方式,如用户注册等,来确定一个用户所拥有的资源。例如,用户注册“金山快盘”后,其在相应的注册账户中存储的所有资源,均为该用户拥有的资源。其中,网络服务商提供的网络存储设备,包括该网络服务商自身拥有的或其租借的网络存储设备。需要说明的是,一个资源拥有用户可被归类,以便进行针对分类的资源搜索。例如,一个资源拥有用户可具有多种标签,每个标签表示该资源拥有用户具有的一个分类等。
其中,该存储私有资源的用户为该私有资源的资源拥有用户。例如,资源A由用户甲存储至百度云盘中,且该资源A并未向网络公众开放,则资源A为资源拥有用户甲的私有资源。
需要说明的是,被进行资源搜索的所述多个资源拥有用户可为在一个或多个服务商提供的网络存储设备中存储资源的所有用户,也可为在一个或多个服务商提供的网络存储设备中存储资源的部分用户。其中,可通过多种方式来确定被进行资源搜索的部分用户;例如,通
过资源拥有用户具有的标签与关键词的匹配度;又例如,随机选择部分资源拥有用户;再例如,根据资源搜索用户的指定来确定部分用户等。
其中,所述资源搜索用户表示在网络中搜索资源的用户;所述资源拥有用户表示在网络中存储资源的用户。需要说明的是,在不同场景下,一个用户可能作为资源搜索用户,也可能作为资源拥有用户。
其中,计算机设备可采用多种方式获取来自资源搜索用户的关键词;例如,计算机设备直接接收来自用户设备的、资源搜索用户在该用户设备中输入的关键词,其中,所述用户设备包括但不限于PC机、智能手机、平板电脑等;又例如,计算机设备接收来自其他计算机设备的、包含资源搜索用户输入的关键词的信息,并从该信息中获得来自资源搜索用户的关键词。
具体地,计算机设备根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式包括但不限于:
1)在步骤S1之前,计算机设备根据来自资源搜索用户的关键词,对多个资源拥有用户的公开资源进行搜索,获得搜索结果;在步骤S1中,当该搜索结果指示不存在与所述关键词相匹配的公开资源时,计算机设备根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。其中,所述公开资源表示由用户存储在计算机设备所在网络中,并向全部或部分网络公众开放的资源。
例如,计算机设备根据来自资源搜索用户的关键词“全景视觉”,对百度云盘的多个资源拥有用户的公开资源进行搜索,来获得搜索结果;在步骤S1中,计算机设备确定该搜索结果指示百度云盘中不存在与“全景视觉”相匹配的公开资源,则计算机设备在该多个资源拥有用户的私有资源中进行搜索,确定与“全景视觉”相匹配的多个私有资源。
2)计算机设备根据来自资源搜索用户的关键词对多个资源拥有
用户的全部资源进行搜索,获得相匹配的至少一个资源;并且,计算机设备根据该至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源。其中,一个资源的属性信息用于指示该资源为私有资源或公开资源。
例如,计算机设备根据来自资源搜索用户的关键词“全景视觉”,对百度云盘的注册用户中具有与“全景视觉”相应的“工程科技”标签的多个资源拥有用户的全部资源进行搜索,获得相匹配的以下5个资源:resource1、resource2、resource3、resource4、resource5;计算机设备根据该5个资源中每个资源的属性信息,确定resource2、resource3、resource4为私有资源。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式,均应包含在本发明的范围内。
作为步骤S1的一种优选方案,所述步骤S1进一步包括步骤S11和步骤S12。
在步骤S11中,计算机设备根据来自资源搜索用户的关键词和/或该资源搜索用户执行的操作,确定与该关键词对应的资源特征信息。
其中,所述资源特征信息包括任何用于表示资源的特征的信息。优选地,所述资源特征信息包括但不限于:
a)资源内容类型信息。
其中,所述资源内容类型信息包括任何能够用于指示资源的内容类型的信息;优选地,所述资源内容类型信息包括但不限于资源的内容所属的领域信息、资源的内容特征等。例如,关键词“TCP”对应的资源内容类型信息指示资源内容所属的领域为“互联网”,且资源的内容特征为“协议”。图3示出了多个关键词及其对应的资源内容类型信息。
b)资源格式类型信息。
其中,所述资源格式类型信息包括任何能够用于指示资源的格式类型的信息。优选地,所述资源格式类型信息包括用于指示资源的显示格式的显示类型信息,其中,所述显示格式包括但不限于纯文本、文档、图片、视频、音频等。更优选地,所述资源格式类型信息还包括用于指示资源的存储格式的存储类型信息,所述存储格式包括但不限于各种显示格式所对应的存储格式;例如,纯文本所对应的存储格式包括但不限于TXT、ASCll、MIME等,文档所对应的存储格式包括但不限于:doc、pdf、ppt等,视频所对应的存储格式包括但不限于rm、rmvb、mov、wmv、avi等。
具体地,计算机设备可采用多种方式来根据来自资源搜索用户的关键词和/或该资源搜索用户执行的操作,确定与该关键词对应的资源特征信息。
例如,计算机设备通过对关键词“基站”进行语义分析,确定该关键词的资源内容类型信息包括:“工程科技”、“信息与通信”。
又例如,计算机设备根据资源搜索用户执行的操作,确定需要在分类“电子科技”中搜索存储格式为“doc”的资源搜索,则计算机设备确定与关键词对应的资源内容类型信息包括“电子科技”,且资源的存储格式为“doc”。
再例如,计算机设备根据资源搜索用户执行的操作,确定需要在分类“互联网”中进行搜索,并且,计算机设备通过对关键词“TCP”进行分析,确定资源的内容特征为“协议”,则计算机设备确定与关键词对应的资源内容类型信息包括:“互联网”、“协议”。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据所述关键词和/或所述资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息的实现方式,均应包含在本发明的范围内。
在步骤S12中,计算机设备根据关键词以及资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有
资源。
例如,计算机设备根据关键词“基站”以及资源内容类型信息“信息与通信”,在资源搜索用户指定的多个资源拥有用户的私有资源中进行搜索,来确定在“信息与通信”分类下与关键词“基站”相匹配的多个私有资源。
优选地,对于被存储在网络中的每个资源,该资源对应有预先确定的资源特征信息,来用于确定该资源是否与关键词和/或该关键词所对应的资源特征信息相匹配。
其中,计算机设备可采用多种方式预先确定资源所对应的资源特征信息。例如,当资源被上传至网络时,计算机设备通过云端语义或多媒体分析技术对该资源进行分析,来获得该资源的资源特征信息;又例如,计算机设备根据资源拥有用户对其私有资源的归类,来确定该私有资源所对应的资源特征信息,如资源拥有用户将其私有资源resource1归类到“计算机技术”分类下的“互联网”分类中,则计算机设备确定该私有资源的资源特征信息包括资源内容分类信息:“计算机技术”、“互联网”。
需要说明的是,上述步骤S1的优选方案可以与步骤S1的实现方式1)和2)相结合。例如,计算机设备根据来自资源搜索用户的关键词和/或资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;接着,计算机设备根据所述关键词和资源特征信息,对多个资源拥有用户的公开资源进行搜索,获得搜索结果;并且,当所述搜索结果指示不存在与所述关键词相匹配的公开资源时,计算机设备根据所述关键词和资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。又例如,计算机设备根据来自资源搜索用户的关键词和/或资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;接着,计算机设备根据所述关键词和资源特征信息,对多个资源拥有用户的全部资源进行搜索,获得相匹配的至少一个资源;之后,计算机设备根据所述至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式,均应包含在本发明的范围内。
在步骤S2中,计算机设备将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
其中,与至少一个私有资源有关且允许所述资源搜索用户获得的信息,包括但不限于:至少一个私有资源中允许资源搜索用户获得的私有资源、至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息等。
具体地,计算机设备将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式包括但不限于:
1)计算机设备将所述至少一个私有资源中允许所述资源搜索用户获得的私有资源提供给该资源搜索用户。
该实现方式可在多种情形下被执行,以下以两种情形来举例说明。
情形一:
当私有资源的资源拥有用户对该私有资源的设置指示允许资源搜索用户获得该私有资源时,计算机设备直接将该私有资源提供给资源搜索用户。
例如,资源拥有用户设置允许资源搜索用户获得该资源拥有用户的所有私有资源,则对于至少一个私有资源中的、该资源拥有用户的私有资源,计算机设备直接将该私有资源提供给资源搜索用户。
情形二:
当通过与私有资源的资源拥有用户之间的交互确定允许资源搜索用户获得该私有资源时,计算机设备将该私有资源提供给资源搜索用户。
该情形二中,优选地,该实现方式可进一步包括以下步骤:
a)计算机设备向该私有资源的资源拥有用户发送资源获取请求。
其中,所述资源获取请求用于向资源拥有用户请求获取私有资源;优选地,所述资源获取请求包括但不限于该私有资源的标识信息等。
b)当接收到来自所述资源拥有用户的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
其中,所述反馈信息用于指示资源拥有用户对其接收到的资源获取请求的反馈。优选地,所述反馈信息包括但不限于:用于指示拒绝提供私有资源的信息;用于指示提供私有资源的信息。其中,该用于指示提供私有资源的信息可进一步包括但不限于:用于指示仅向资源搜索用户提供私有资源的信息、用于指示向网络中的全部或部分用户公开私有资源的信息等。
例如,在步骤S1中,计算机设备确定相匹配的3个私有资源:resource1、resource2、resource3;在步骤S2中,计算机设备分别向该3个私有资源的资源拥有用户发送资源获取请求,当接收到resource2的资源拥有用户的反馈信息,且该反馈信息指示向网络中的全部用户公开resource2时,计算机设备将resource2提供给资源搜索用户。
2)将所述至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息提供给该资源搜索用户。
其中,所述用户信息包括任何与资源拥有用户相关的信息;优选地,所述用户信息包括但不限于资源拥有用户的账号信息、联系方式信息等。其中,计算机设备可根据资源拥有用户的设置确定资源拥有用户的用户信息中允许资源搜索用户获得的用户信息。
例如,私有资源的资源拥有用户的用户信息中,允许资源搜索用户获得的用户信息包括该资源拥有用户的联系方式信息,则计算机设备将该联系方式信息提供给资源搜索用户。
需要说明的是,资源搜索用户在浏览用户信息后,可基于用户信
息来联系资源拥有用户(如用户信息为电话,则可拨打该电话;如用户信息为邮箱,则可发送邮件等),从而从资源拥有用户处获得所需资源。或者,资源搜索用户在浏览用户信息后,可指示计算机设备基于用户信息来向资源拥有用户发送资源获取请求;随后,若计算机设备接收到来自所述资源拥有用户针对该资源获取请求的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
需要说明的是,资源搜索用户可向提供私有资源的资源拥有用户提供费用。以下以举例方式,非限制性地说明两种付费方案。
方案一:在上述情形二的优选方案中,步骤a)进一步包括以下步骤:当私有资源的获得需要付费时,计算机设备向该私有资源的资源拥有用户发送包含付费信息的资源获取请求。其中,所述付费信息用于指示资源搜索用户针对该私有资源所完成的付费操作;优选地,所述付费信息包括但不限于所支付的费用、用于指示付费已完成的指示信息等。其中,所述费用包括任何可以用于支付的交易物;优选地,所述费用包括但不限于现实生活中的实际货币(如人民币、美元等)、网络中的虚拟货币(如百度的百度币、腾讯的Q币、盛大的点卷等)等。
作为一个示例,在步骤S1中,计算机设备确定相匹配的一个私有资源resource1;之后,资源搜索用户基于resource1的资源拥有用户所设定的费用进行支付;支付完成后,在步骤S2中,计算机设备向该资源拥有用户发送包含付费信息的资源获取请求,该付费信息用于指示资源搜索用户已完成支付。
优选地,计算机设备向私有资源的资源拥有用户发送包含付费信息的资源获取请求之后,可直接向资源搜索用户提供该私有资源。
需要说明的是,资源搜索用户可通过多种途径来完成付费操作。例如,计算机设备确定私有资源的获得需要付费时,通过用户设备向资源搜索用户提供付费功能,资源搜索用户基于该付费功能完成付费操作,该途径下计算机设备可直接确定资源搜索用户已完成支付;又
例如,资源搜索用户基于其他计算机设备提供的付费功能完成付费操作,该途径下计算机设备可根据来自该其他计算机设备的付费信息确定资源搜索用户已完成付费操作。
方案二:在上述情形二的优选方案中,步骤a)进一步包括以下步骤:计算机设备向私有资源的资源拥有用户发送包含费用奖励信息的资源获取请求;之后,计算机设备将费用奖励信息所指示的费用提供给提供该私有资源的资源拥有用户。
其中,所述费用奖励信息用于指示为提供私有资源的资源拥有用户而提供的费用奖励。优选地,所述费用奖励信息包括但不限于奖励条件(例如,最佳私有资源的资源拥有用户能够获得费用奖励,或者,最先提供私有资源的预定数量个资源拥有用户能够获得费用奖励)、奖励的费用(如10个百度币、1元人民币等)。
例如,在步骤S1中,计算机设备确定相匹配的3个私有资源:resource1、resource2、resource3;在步骤S2中,计算机设备分别向该3个私有资源的资源拥有用户发送包括费用奖励信息的资源获取请求,该费用奖励信息用于指示向每个提供私有资源的资源拥有用户提供1个百度币的费用奖励;则计算机设备根据resource1的资源拥有用户的反馈信息,将resource1提供给资源搜索用户之后,向resource1的资源拥有用户提供1个百度币;计算机设备根据resource2的资源拥有用户的反馈信息,将resource2提供给资源搜索用户之后向resource2的资源拥有用户提供1个百度币。
需要说明的是,在该优选方案中,若所提供的私有资源与所述关键词明显不符,资源搜索用户可拒绝向资源拥有用户支付费用奖励信息所指示的费用。
其中,所述至少一个私有资源为多个,计算机设备将与该多个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式包括但不限于:
1)对于该多个私有资源中的每个私有资源,计算机设备将与该私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜
索用户。
例如,对于该多个私有资源中的每个私有资源,计算机设备向该私有资源的资源拥有用户发送资源获取请求,并当接收到该资源拥有用户的反馈信息,且该反馈信息指示允许资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
2)所述步骤S2进一步包括步骤S21。
在步骤S21中,计算机设备重复执行以下操作,直至满足预定终止条件:从所述至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源;将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
其中,所述预定终止条件包括任何预定的、用于终止执行预定操作的条件。优选地,所述预定终止条件包括但不限于:
a)资源搜索用户已获得所需的私有资源。
例如,计算机设备在步骤S1中确定了9个私有资源。在步骤S21中,计算机设备首先选择其中4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,在经过一预定时间间隔后,计算机设备未收到任何来自资源拥有用户的反馈信息;接着,计算机设备在剩下的未执行过预定操作的5个私有资源中选择4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,计算机设备接收到其中2个资源拥有用户的反馈信息,且2个反馈信息均指示允许资源搜索用户获得私有资源;接着,计算机设备将与2个反馈信息相应的私有资源提供给资源搜索用户;接着,计算机设备根据来自资源搜索用户的信息,确定资源搜索用户已获得所需的私有资源。
需要说明的是,计算机设备可采用多种方式确定资源搜索用户已获得所需的私有资源。
例如,计算机设备接收来自资源搜索用户的搜索响应信息,该搜索响应信息指示该资源搜索用户已获得其所需的私有资源。作为一个例子,搜索响应信息可表现为一种指定操作,如将某个私有资
源设置为最佳私有资源等。如,资源搜索用户将计算机设备所提供的私有资源resource2设置为最佳私有资源,则计算机设备根据该设置操作确定资源搜索用户已获得其所需的私有资源。
b)计算机设备已对步骤S1中所确定的至少一个私有资源中的所有私有资源执行预定操作。
例如,计算机设备在步骤S1中确定了9个私有资源。在步骤S21中,计算机设备首先选择其中4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,在经过一预定时间间隔后,计算机设备未收到任何来自资源拥有用户的反馈信息;接着,计算机设备在剩下的未执行过预定操作的5个私有资源中选择4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,计算机设备接收到其中2个资源拥有用户的反馈信息,且2个反馈信息均指示允许资源搜索用户获得私有资源;接着,计算机设备将与2个反馈信息相应的私有资源提供给资源搜索用户;接着,计算机设备根据来自资源搜索用户的信息,确定资源搜索用户仍未获得所需的私有资源;接着,计算机设备向剩下的未执行过预定操作的1个私有资源的资源拥有用户发送资源获取请求,并且,计算机设备确定已对步骤S1中所确定的至少一个私有资源中的所有私有资源执行预定操作,从而停止循环操作。
需要说明的是,上述预定终止条件仅为更好地说明本发明的技术方案,而非对本发明的限制。
在步骤S21中,计算机设备可采用多种方式从至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
例如,计算机设备从至少一个私有资源中随机选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将该部分私有资源中允许资源搜索用户获得的私有资源提供给该资源搜索用户。
又例如,计算机设备根据至少一个私有资源与关键词的匹配程度,
从该至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将该被选择的部分私有资源中的允许资源搜索用户获得的私有资源提供给该资源搜索用户。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式,均应包含在本发明的范围内。
需要说明的是,优选地,在步骤S2之后,对于计算机设备所提供的私有资源,资源搜索用户可基于多种因素,如对该私有资源的满意程度、该私有资源与关键词的匹配程度等,对该私有资源进行评价或打分等。
作为本实施例的一种优选方案,本实施例的方案还包括步骤S3。
在步骤S3中,当所述至少一个私有资源中存在允许预览的私有资源时,计算机设备向用户提供允许预览的私有资源的预览信息。
其中,计算机设备可采用多种方式确定一个私有资源是否允许预览。例如,当私有资源具有预定的显示格式或存储格式时,计算机设备可确定该私有资源允许预览;又例如,计算机设备根据私有资源的资源拥有用户对该私有资源的设置,确定该私有资源允许预览。
其中,所述预览信息用于表示私有资源中允许预览的内容。例如,私有资源的显示格式为文档,该私有资源的预览信息为前两页的文档内容;又例如,私有资源的显示格式为视频,该私有资源的预览信息为前5分钟的视频内容。优选地,私有资源的预览信息可基于资源拥有用户的设置来确定,也可由计算机设备根据私有资源的格式类型来直接确定。
具体地,当至少一个私有资源中存在允许预览的私有资源时,计算机设备确定允许预览的私有资源的预览信息,并向资源搜索用户提供所述预览信息。
例如,在步骤S1中,计算机设备确定相匹配的3个私有资源:resource1、resource2、resource3;在步骤S3中,计算机设备基于该3
个私有资源的显示格式,确定resource1为允许预览的私有资源,则计算机设备根据resource1的显示格式“文档”,将resource1的前两页的文档内容作为预览信息提供给资源搜索用户。
需要说明的是,优选地,在步骤S3之后,若资源搜索用户在允许预览的私有资源中选择了至少一个私有资源,则在步骤S2中,计算机设备首先将与该私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何当至少一个私有资源中存在允许预览的私有资源时,向资源搜索用户提供允许预览的私有资源的预览信息的实现方式,均应包含在本发明的范围内。
现有技术中,出于对资源拥有用户的个人隐私的保护,用户仅能在网络中已向网络公众开放的公开资源中进行搜索,来获得其所需的资源。这使得资源的搜索范围较小,搜索到满意资源的几率较低。
根据本实施例的方案,能够在网络上的私有资源中进行搜索,从而增加搜索的范围,增大搜索的成功率,并且,在搜索到私有资源之后,基于私有资源的资源拥有用户的意愿来确定是否向用户提供该私有资源,从而在保护资源拥有用户的个人隐私的前提下,向资源搜索用户提供私有资源;本发明的方案还支持先付费后提供私有资源的方案,以及,在获得私有资源后向资源拥有用户提供费用奖励的方案,从而进一步保障资源拥有用户的利益;并且,本发明的方案还支持私有资源的预览,从而增加了资源搜索用户获得满意的资源的成功率;此外,能够预先确定资源的资源特征信息,从而快速地在私有资源中确定与关键词相匹配的至少一个私有资源,进一步提供了搜索的效率。
图2为本发明一个实施例的用于在计算机设备中搜索私有资源的装置的结构示意图。该用于在计算机设备中搜索私有资源的装置(以下简称为“搜索装置”)包括确定单元1和信息提供单元2。
确定单元1根据来自资源搜索用户的关键词,在多个资源拥有用
户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
其中,所述私有资源表示由用户存储在计算机设备所在网络中,但并未向网络公众开放的资源。其中,用户可将其资源存储在网络服务商提供的网络存储设备中。并且,可通过多种认证方式,如用户注册等,来确定一个用户所拥有的资源。例如,用户注册“金山快盘”后,其在相应的注册账户中存储的所有资源,均为该用户拥有的资源。其中,网络服务商提供的网络存储设备,包括该网络服务商自身拥有的或其租借的网络存储设备。需要说明的是,一个资源拥有用户可被归类,以便进行针对分类的资源搜索。例如,一个资源拥有用户可具有多种标签,每个标签表示该资源拥有用户具有的一个分类等。
其中,该存储私有资源的用户为该私有资源的资源拥有用户。例如,资源A由用户甲存储至百度云盘中,且该资源A并未向网络公众开放,则资源A为资源拥有用户甲的私有资源。
需要说明的是,被进行资源搜索的所述多个资源拥有用户可为在一个或多个服务商提供的网络存储设备中存储资源的所有用户,也可为在一个或多个服务商提供的网络存储设备中存储资源的部分用户。其中,可通过多种方式来确定被进行资源搜索的部分用户;例如,通过资源拥有用户具有的标签与关键词的匹配度;又例如,随机选择部分资源拥有用户;再例如,根据资源搜索用户的指定来确定部分用户等。
其中,所述资源搜索用户表示在网络中搜索资源的用户;所述资源拥有用户表示在网络中存储资源的用户。需要说明的是,在不同场景下,一个用户可能作为资源搜索用户,也可能作为资源拥有用户。
其中,确定单元1可采用多种方式获取来自资源搜索用户的关键词;例如,确定单元1直接接收来自用户设备的、资源搜索用户在该用户设备中输入的关键词,其中,所述用户设备包括但不限于PC机、智能手机、平板电脑等;又例如,确定单元1接收来自其他计算机设备的、包含资源搜索用户输入的关键词的信息,并从该信息中获得来自资源搜索用户的关键词。
具体地,确定单元1根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式包括但不限于:
1)搜索装置还包括第一获得单元(图未示),所述确定单元1包括第三子确定单元(图未示)。第一获得单元用于根据来自资源搜索用户的关键词,对多个资源拥有用户的公开资源进行搜索,获得搜索结果。第三子确定单元用于当该搜索结果指示不存在与所述关键词相匹配的公开资源时,计算机设备根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。其中,所述公开资源表示由用户存储在计算机设备所在网络中,并向全部或部分网络公众开放的资源。
例如,第一获得单元根据来自资源搜索用户的关键词“全景视觉”,对百度云盘的多个资源拥有用户的公开资源进行搜索,来获得搜索结果;第三子确定单元确定该搜索结果指示百度云盘中不存在与“全景视觉”相匹配的公开资源,则第三子确定单元在该多个资源拥有用户的私有资源中进行搜索,确定与“全景视觉”相匹配的多个私有资源。
2)确定单元1进一步包括第二获得单元(图未示)和第四子确定单元(图未示)。第二获得单元用于根据来自资源搜索用户的关键词对多个资源拥有用户的全部资源进行搜索,获得相匹配的至少一个资源。第四子确定单元用于根据该至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源。其中,一个资源的属性信息用于指示该资源为私有资源或公开资源。
例如,第二获得单元根据来自资源搜索用户的关键词“全景视觉”,对百度云盘的注册用户中具有与“全景视觉”相应的“工程科技”标签的多个资源拥有用户的全部资源进行搜索,获得相匹配的以下5个资源:resource1、resource2、resource3、resource4、resource5;第四子确定单元根据该5个资源中每个资源的属性信息,确定resource2、resource3、resource4为私有资源。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式,均应包含在本发明的范围内。
作为确定单元1的一种优选方案,所述确定单元1进一步包括第一子确定单元(图未示)和第二子确定单元(图未示)。
第一子确定单元根据来自资源搜索用户的关键词和/或该资源搜索用户执行的操作,确定与该关键词对应的资源特征信息。
其中,所述资源特征信息包括任何用于表示资源的特征的信息。优选地,所述资源特征信息包括但不限于:
a)资源内容类型信息。
其中,所述资源内容类型信息包括任何能够用于指示资源的内容类型的信息;优选地,所述资源内容类型信息包括但不限于资源的内容所属的领域信息、资源的内容特征等。例如,关键词“TCP”对应的资源内容类型信息指示资源内容所属的领域为“互联网”,且资源的内容特征为“协议”。图3示出了多个关键词及其对应的资源内容类型信息。
b)资源格式类型信息。
其中,所述资源格式类型信息包括任何能够用于指示资源的格式类型的信息。优选地,所述资源格式类型信息包括用于指示资源的显示格式的显示类型信息,其中,所述显示格式包括但不限于纯文本、文档、图片、视频、音频等。更优选地,所述资源格式类型信息还包括用于指示资源的存储格式的存储类型信息,所述存储格式包括但不限于各种显示格式所对应的存储格式;例如,纯文本所对应的存储格式包括但不限于TXT、ASCll、MIME等,文档所对应的存储格式包括但不限于:doc、pdf、ppt等,视频所对应的存储格式包括但不限于rm、rmvb、mov、wmv、avi等。
具体地,第一子确定单元可采用多种方式来根据来自资源搜索用
户的关键词和/或该资源搜索用户执行的操作,确定与该关键词对应的资源特征信息。
例如,第一子确定单元通过对关键词“基站”进行语义分析,确定该关键词的资源内容类型信息包括:“工程科技”、“信息与通信”。
又例如,第一子确定单元根据资源搜索用户执行的操作,确定需要在分类“电子科技”中搜索存储格式为“doc”的资源搜索,则第一子确定单元确定与关键词对应的资源内容类型信息包括“电子科技”,且资源的存储格式为“doc”。
再例如,第一子确定单元根据资源搜索用户执行的操作,确定需要在分类“互联网”中进行搜索,并且,第一子确定单元过对关键词“TCP”进行分析,确定资源的内容特征为“协议”,则第一子确定单元确定与关键词对应的资源内容类型信息包括:“互联网”、“协议”。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据所述关键词和/或所述资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息的实现方式,均应包含在本发明的范围内。
第二子确定单元根据关键词以及资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
例如,第二子确定单元根据关键词“基站”以及资源内容类型信息“信息与通信”,在资源搜索用户指定的多个资源拥有用户的私有资源中进行搜索,来确定在“信息与通信”分类下与关键词“基站”相匹配的多个私有资源。
优选地,对于被存储在网络中的每个资源,该资源对应有预先确定的资源特征信息,来用于确定该资源是否与关键词和/或该关键词所对应的资源特征信息相匹配。
其中,第二子确定单元可采用多种方式预先确定资源所对应的资源特征信息。例如,当资源被上传至网络时,第二子确定单元通过云端语义或多媒体分析技术对该资源进行分析,来获得该资源的资源特征信息;又例如,第二子确定单元根据资源拥有用户对其私有资源的
归类,来确定该私有资源所对应的资源特征信息,如资源拥有用户将其私有资源resource1归类到“计算机技术”分类下的“互联网”分类中,则第二子确定单元确定该私有资源的资源特征信息包括资源内容分类信息:“计算机技术”、“互联网”。
需要说明的是,上述确定单元1的优选方案可以与确定单元1的实现方式1)和2)相结合。例如,确定单元1根据来自资源搜索用户的关键词和/或资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;接着,确定单元1根据所述关键词和资源特征信息,对多个资源拥有用户的公开资源进行搜索,获得搜索结果;并且,当所述搜索结果指示不存在与所述关键词相匹配的公开资源时,确定单元1根据所述关键词和资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。又例如,确定单元1根据来自资源搜索用户的关键词和/或资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;接着,确定单元1根据所述关键词和资源特征信息,对多个资源拥有用户的全部资源进行搜索,获得相匹配的至少一个资源;之后,确定单元1根据所述至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源的实现方式,均应包含在本发明的范围内。
信息提供单元2将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
其中,与至少一个私有资源有关且允许所述资源搜索用户获得的信息,包括但不限于:至少一个私有资源中允许资源搜索用户获得的私有资源、至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息等。
具体地,信息提供单元2将与所述至少一个私有资源有关且允许
所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式包括但不限于:
1)信息提供单元2包括第一提供单元(图未示),该第一提供单元用于将所述至少一个私有资源中允许所述资源搜索用户获得的私有资源提供给该资源搜索用户。
该第一提供单元可在多种情形下执行操作,以下以两种情形来举例说明。
情形一:
当私有资源的资源拥有用户对该私有资源的设置指示允许资源搜索用户获得该私有资源时,第一提供单元直接将该私有资源提供给资源搜索用户。
例如,资源拥有用户设置允许资源搜索用户获得该资源拥有用户的所有私有资源,则对于至少一个私有资源中的、该资源拥有用户的私有资源,第一提供单元直接将该私有资源提供给资源搜索用户。
情形二:
当通过与私有资源的资源拥有用户之间的交互确定允许资源搜索用户获得该私有资源时,第一提供单元将该私有资源提供给资源搜索用户。
优选地,该情形二中,第一提供单元进一步包括发送单元(图未示)和第三提供单元(图未示)。
发送单元向该私有资源的资源拥有用户发送资源获取请求。
其中,所述资源获取请求用于向资源拥有用户请求获取私有资源;优选地,所述资源获取请求包括但不限于该私有资源的标识信息等。
当接收到来自所述资源拥有用户的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,第三提供单元将该私有资源提供给所述资源搜索用户。
其中,所述反馈信息用于指示资源拥有用户对其接收到的资源获取请求的反馈。优选地,所述反馈信息包括但不限于:用于指示拒绝
提供私有资源的信息;用于指示提供私有资源的信息。其中,该用于指示提供私有资源的信息可进一步包括但不限于:用于指示仅向资源搜索用户提供私有资源的信息、用于指示向网络中的全部或部分用户公开私有资源的信息等。
例如,确定单元1确定相匹配的3个私有资源:resource1、resource2、resource3;发送单元分别向该3个私有资源的资源拥有用户发送资源获取请求,当接收到resource2的资源拥有用户的反馈信息,且该反馈信息指示向网络中的全部用户公开resource2时,第三提供单元将resource2提供给资源搜索用户。
2)信息提供单元2包括第二提供单元(图未示),该第二提供单元用于将所述至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息提供给该资源搜索用户。
其中,所述用户信息包括任何与资源拥有用户相关的信息;优选地,所述用户信息包括但不限于资源拥有用户的账号信息、联系方式信息等。其中,第二提供单元可根据资源拥有用户的设置确定资源拥有用户的用户信息中允许资源搜索用户获得的用户信息。
例如,私有资源的资源拥有用户的用户信息中,允许资源搜索用户获得的用户信息包括该资源拥有用户的联系方式信息,则第第二提供单元将该联系方式信息提供给资源搜索用户。
需要说明的是,资源搜索用户在浏览用户信息后,可基于用户信息来联系资源拥有用户(如用户信息为电话,则可拨打该电话;如用户信息为邮箱,则可发送邮件等),从而从资源拥有用户处获得所需资源。或者,资源搜索用户在浏览用户信息后,可指示发送单元基于用户信息来向资源拥有用户发送资源获取请求;随后,若接收到来自所述资源拥有用户针对该资源获取请求的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,搜索装置将该私有资源提供给所述资源搜索用户。
需要说明的是,资源搜索用户可向提供私有资源的资源拥有用户提供费用。以下以举例方式,非限制性地说明两种付费方案。
方案一:所述发送单元进一步包括第一子发送单元(图未示),该第一子发送单元用于当该私有资源的获得需要付费时,向该私有资源的资源拥有用户发送包含付费信息的资源获取请求。其中,所述付费信息用于指示资源搜索用户针对该私有资源所完成的付费操作;优选地,所述付费信息包括但不限于所支付的费用、用于指示付费已完成的指示信息等。其中,所述费用包括任何可以用于支付的交易物;优选地,所述费用包括但不限于现实生活中的实际货币(如人民币、美元等)、网络中的虚拟货币(如百度的百度币、腾讯的Q币、盛大的点卷等)等。
作为一个示例,确定单元1确定相匹配的一个私有资源resource1;之后,资源搜索用户基于resource1的资源拥有用户所设定的费用进行支付;支付完成后,第一子发送单元向该资源拥有用户发送包含付费请求的资源获取请求,该付费信息用于指示资源搜索用户已完成支付。
优选地,第一子发送单元向私有资源的资源拥有用户发送资源获取请求之后,第一提供单元可直接向资源搜索用户提供该私有资源。
需要说明的是,资源搜索用户可通过多种途径来完成付费操作。例如,计算机设备确定私有资源的获得需要付费时,通过用户设备向资源搜索用户提供付费功能,资源搜索用户基于该付费功能完成付费操作,该途径下计算机设备可直接确定资源搜索用户已完成支付;又例如,资源搜索用户基于其他计算机设备提供的付费功能完成付费操作,该途径下计算机设备可根据来自该其他计算机设备的付费信息确定资源搜索用户已完成付费操作。
方案二:所述发送单元进一步包括第二子发送单元(图未示),该第二子发送单元用于向私有资源的资源拥有用户发送包含费用奖励信息的资源获取请求、所述第一提供单元还包括第四提供单元(图未示),该第四提供单元用于用于在第三提供单元将该私有资源提供给所述资源搜索用户之后,将所述费用奖励信息所指示的费用提供给提供该私有资源的该资源拥有用户。
其中,所述费用奖励信息用于指示为提供私有资源的资源拥有用户而提供的费用奖励。优选地,所述费用奖励信息包括但不限于奖励条件(例如,最佳私有资源的资源拥有用户能够获得费用奖励,或者,最先提供私有资源的预定数量个资源拥有用户能够获得费用奖励)、奖励的费用(如10个百度币、1元人民币等)。
例如,确定单元1确定相匹配的3个私有资源:resource1、resource2、resource3;第二子发送单元分别向该3个私有资源的资源拥有用户发送包括费用奖励信息的资源获取请求,该费用奖励信息用于指示向每个提供私有资源的资源拥有用户提供1个百度币的费用奖励;则第三提供单元根据resource1的资源拥有用户的反馈信息,将resource1提供给资源搜索用户之后,第四提供单元向resource1的资源拥有用户提供1个百度币;第三提供单元根据resource2的资源拥有用户的反馈信息,将resource2提供给资源搜索用户之后,第四提供单元向resource2的资源拥有用户提供1个百度币。
需要说明的是,在该优选方案中,若所提供的私有资源与所述关键词明显不符,资源搜索用户可拒绝向资源拥有用户支付费用奖励信息所指示的费用。
其中,所述至少一个私有资源为多个,所述信息提供单元2将与该多个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式包括但不限于:
1)对于该多个私有资源中的每个私有资源,信息提供单元2将与该私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
例如,对于该多个私有资源中的每个私有资源,信息提供单元2向该私有资源的资源拥有用户发送资源获取请求,并当接收到该资源拥有用户的反馈信息,且该反馈信息指示允许资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
2)所述信息提供单元2进一步包括子提供单元(图未示),该子提供单元用于重复执行以下操作,直至满足预定终止条件:从所
述至少一个私有资源中选择尚未将有关的信息提供给所述资源搜索用户的部分私有资源;将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
其中,所述预定终止条件包括任何预定的、用于终止执行预定操作的条件。优选地,所述预定终止条件包括但不限于:
a)资源搜索用户已获得所需的私有资源。
例如,确定单元1确定了9个私有资源。子提供单元首先选择其中4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,在经过一预定时间间隔后,子提供单元未收到任何来自资源拥有用户的反馈信息;接着,子提供单元在剩下的未执行过预定操作的5个私有资源中选择4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,子提供单元接收到其中2个资源拥有用户的反馈信息,且2个反馈信息均指示允许资源搜索用户获得私有资源;接着,子提供单元将与2个反馈信息相应的私有资源提供给资源搜索用户;接着,子提供单元根据来自资源搜索用户的信息,确定资源搜索用户已获得所需的私有资源。
需要说明的是,子提供单元可采用多种方式确定资源搜索用户已获得所需的私有资源。
例如,子提供单元接收来自资源搜索用户的搜索响应信息,该搜索响应信息指示该资源搜索用户已获得其所需的私有资源。作为一个例子,搜索响应信息可表现为一种指定操作,如将某个私有资源设置为最佳私有资源等。如,资源搜索用户将子提供单元所提供的私有资源resource2设置为最佳私有资源,则子提供单元根据该设置操作确定资源搜索用户已获得其所需的私有资源。
b)子提供单元已对确定单元1所确定的至少一个私有资源中的所有私有资源执行预定操作。
例如,确定单元1确定了9个私有资源。子提供单元首先选择其中4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用
户发送资源获取请求;接着,在经过一预定时间间隔后,子提供单元未收到任何来自资源拥有用户的反馈信息;接着,子提供单元剩下的未执行过预定操作的5个私有资源中选择4个私有资源,并向该4个私有资源中每个私有资源的资源拥有用户发送资源获取请求;接着,子提供单元接收到其中2个资源拥有用户的反馈信息,且2个反馈信息均指示允许资源搜索用户获得私有资源;接着,子提供单元将与2个反馈信息相应的私有资源提供给资源搜索用户;接着,子提供单元根据来自资源搜索用户的信息,确定资源搜索用户仍未获得所需的私有资源;接着,子提供单元向剩下的未执行过预定操作的1个私有资源的资源拥有用户发送资源获取请求,并且,子提供单元确定已对确定单元1所确定的至少一个私有资源中的所有私有资源执行预定操作,从而停止循环操作。
需要说明的是,上述预定终止条件仅为更好地说明本发明的技术方案,而非对本发明的限制。
子提供单元可采用多种方式从至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
例如,子提供单元从至少一个私有资源中随机选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将该部分私有资源中允许资源搜索用户获得的私有资源提供给该资源搜索用户。
又例如,子提供单元根据至少一个私有资源与关键词的匹配程度,从该至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源,并将该被选择的部分私有资源中的允许资源搜索用户获得的私有资源提供给该资源搜索用户。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户的实现方式,均应包含在本发明的范围内。
需要说明的是,优选地,在信息提供单元2执行操作之后,对于计算机设备所提供的私有资源,资源搜索用户可基于多种因素,如对该私有资源的满意程度、该私有资源与关键词的匹配程度等,对该私有资源进行评价或打分等。
作为本实施例的一种优选方案,本实施例的搜索装置还包括第五提供单元(图未示),该第五提供单元用于当所述至少一个私有资源中存在允许预览的私有资源时,向用户提供允许预览的私有资源的预览信息。
其中,第五提供单元可采用多种方式确定一个私有资源是否允许预览。例如,当私有资源具有预定的显示格式或存储格式时,第五提供单元可确定该私有资源允许预览;又例如,第五提供单元根据私有资源的资源拥有用户对该私有资源的设置,确定该私有资源允许预览。
其中,所述预览信息用于表示私有资源中允许预览的内容。例如,私有资源的显示格式为文档,该私有资源的预览信息为前两页的文档内容;又例如,私有资源的显示格式为视频,该私有资源的预览信息为前5分钟的视频内容。优选地,私有资源的预览信息可基于资源拥有用户的设置来确定,也可由第五提供单元根据私有资源的格式类型来直接确定。
具体地,当至少一个私有资源中存在允许预览的私有资源时,第五提供单元确定允许预览的私有资源的预览信息,并向资源搜索用户提供所述预览信息。
例如,确定单元1确定相匹配的3个私有资源:resource1、resource2、resource3;第五提供单元基于该3个私有资源的显示格式,确定resource1为允许预览的私有资源,则第五提供单元根据resource1的显示格式“文档”,将resource1的前两页的文档内容作为预览信息提供给资源搜索用户。
需要说明的是,优选地,在第五提供单元执行操作之后,若资源搜索用户在允许预览的私有资源中选择了至少一个私有资源,则信息
提供单元2首先将与该私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
需要说明的是,上述举例仅为更好地说明本发明的技术方案,而非对本发明的限制,本领域技术人员应该理解,任何当至少一个私有资源中存在允许预览的私有资源时,向资源搜索用户提供允许预览的私有资源的预览信息的实现方式,均应包含在本发明的范围内。
现有技术中,出于对资源拥有用户的个人隐私的保护,用户仅能在网络中已向网络公众开放的公开资源中进行搜索,来获得其所需的资源。这使得资源的搜索范围较小,搜索到满意资源的几率较低。
根据本实施例的方案,能够在网络上的私有资源中进行搜索,从而增加搜索的范围,增大搜索的成功率,并且,在搜索到私有资源之后,基于私有资源的资源拥有用户的意愿来确定是否向用户提供该私有资源,从而在保护资源拥有用户的个人隐私的前提下,向资源搜索用户提供私有资源;本发明的方案还支持先付费后提供私有资源的方案,以及,在获得私有资源后向资源拥有用户提供费用奖励的方案,从而进一步保障资源拥有用户的利益;并且,本发明的方案还支持私有资源的预览,从而增加了资源搜索用户获得满意的资源的成功率;此外,能够预先确定资源的资源特征信息,从而快速地在私有资源中确定与关键词相匹配的至少一个私有资源,进一步提供了搜索的效率。
需要注意的是,本发明可在软件和/或软件与硬件的组合体中被实施,例如,本发明的装置或单元可采用专用集成电路(ASIC)或任何其他类似硬件设备来实现。在一个实施例中,本发明的软件程序可以通过处理器执行以实现上文所述步骤或功能。同样地,本发明的软件程序(包括相关的数据结构)可以被存储到计算机可读记录介质中,例如,RAM存储器,磁或光驱动器或软磁盘及类似设备。另外,本发明的一些步骤或功能可采用硬件来实现,例如,作为与处理器配合从而执行各个步骤或功能的电路。
对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。
Claims (23)
- 一种用于在计算机设备中搜索私有资源的方法,其中,该方法包括:根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源;将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
- 根据权利要求1所述的方法,其中,将所述信息提供给资源搜索用户的步骤包括:将所述至少一个私有资源中允许所述资源搜索用户获得的私有资源提供给该资源搜索用户。
- 根据权利要求2所述的方法,其中,将所述至少一个私有资源中允许所述资源搜索用户获得的私有资源提供给该资源搜索用户的步骤包括:向私有资源的资源拥有用户发送资源获取请求;当接收到来自所述资源拥有用户的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
- 根据权利要求3所述的方法,其中,向该私有资源的资源拥有用户发送资源获取请求的步骤包括:当该私有资源的获得需要付费时,向该私有资源的资源拥有用户发送包含付费信息的资源获取请求。
- 根据权利要求3所述的方法,其中,向该私有资源的资源拥有用户发送资源获取请求的步骤包括:向该私有资源的资源拥有用户发送包含费用奖励信息的资源获取请求;所述将该私有资源提供给所述资源搜索用户的操作之后执行以下操作:将所述费用奖励信息所指示的费用提供给提供该私有资源的该资源拥有用户。
- 根据权利要求1所述的方法,其中,将所述信息提供给资源搜索用户的步骤包括:将所述至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息提供给该资源搜索用户。
- 根据权利要求1所述的方法,其中,所述至少一个私有资源为多个,将所述信息提供给资源搜索用户的步骤包括:重复执行以下操作,直至满足预定终止条件:从所述至少一个私有资源中选择尚未将与其有关的信息提供给所述资源搜索用户的部分私有资源;将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
- 根据权利要求1至7中任一项所述的方法,其中,确定所述相匹配的至少一个私有资源的步骤包括:根据所述关键词和/或所述资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;根据所述关键词以及所述资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
- 根据权利要求1至7中任一项所述的方法,其中,该方法还包括:根据所述关键词,对多个资源拥有用户的公开资源进行搜索,获得搜索结果;其中,确定所述相匹配的至少一个私有资源的步骤包括:当所述搜索结果指示不存在与所述关键词相匹配的公开资源时,根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
- 根据权利要求1至7中任一项所述的方法,其中,确定所述相匹配的至少一个私有资源的步骤包括:根据所述关键词对多个资源拥有用户的全部资源进行搜索,获得相匹配的至少一个资源;根据所述至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源,其中,一个资源的属性信息用于指示该资源为私有资源或公开资源。
- 一种用于在计算机设备中搜索私有资源的装置,其中,该装置包括:确定单元,用于根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源;信息提供单元,用于将与所述至少一个私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
- 根据权利要求11所述的装置,其中,所述信息提供单元包括:第一提供单元,用于将所述至少一个私有资源中允许所述资源搜索用户获得的私有资源提供给该资源搜索用户。
- 根据权利要求12所述的装置,其中,所述第一提供单元包括:发送单元,用于向私有资源的资源拥有用户发送资源获取请求;第三提供单元,用于当接收到来自所述资源拥有用户的反馈信息,且该反馈信息指示允许所述资源搜索用户获得该私有资源时,将该私有资源提供给所述资源搜索用户。
- 根据权利要求13所述的装置,其中,所述发送单元包括:第一子发送单元,用于当该私有资源的获得需要付费时,向该私有资源的资源拥有用户发送包含付费信息的资源获取请求。
- 根据权利要求13所述的装置,其中,所述发送单元包括:第二子发送单元,用于向该私有资源的资源拥有用户发送包含费用奖励信息的资源获取请求;其中,所述第一提供单元还包括以下单元:第四提供单元,用于在第三提供单元将该私有资源提供给所述资源搜索用户之后,将所述费用奖励信息所指示的费用提供给提供该私有资源的该资源拥有用户。
- 根据权利要求11所述的装置,其中,所述信息提供单元包括:第二提供单元,用于将所述至少一个私有资源的资源拥有用户的用户信息中允许所述资源搜索用户获得的用户信息提供给该资源搜索用户。
- 根据权利要求11所述的装置,其中,所述至少一个私有资源为多个,所述信息提供单元包括:子提供单元,用于重复执行以下操作,直至满足预定终止条件:从所述至少一个私有资源中选择尚未将有关的信息提供给所述资源搜索用户的部分私有资源;将与所述部分私有资源有关且允许所述资源搜索用户获得的信息提供给该资源搜索用户。
- 根据权利要求11至17中任一项所述的装置,其中,所述确定单元包括:第一子确定单元,用于根据所述关键词和/或所述资源搜索用户执行的操作,确定与所述关键词对应的资源特征信息;第二子确定单元,用于根据所述关键词以及所述资源特征信息,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
- 根据权利要求11至17中任一项所述的装置,其中,该装置还包括:第一获得单元,用于根据所述关键词,对多个资源拥有用户的公开资源进行搜索,获得搜索结果;其中,所述确定单元包括:第三子确定单元,用于当所述搜索结果指示不存在与所述关键词相匹配的公开资源时,根据来自资源搜索用户的关键词,在多个资源拥有用户的私有资源中进行搜索,确定相匹配的至少一个私有资源。
- 根据权利要求11至17中任一项所述的装置,其中,所述确定单元包括:第二获得单元,用于根据所述关键词对多个资源拥有用户的全部资 源进行搜索,获得相匹配的至少一个资源;第四子确定单元,用于根据所述至少一个资源的属性信息,确定所述至少一个资源中的至少一个私有资源,其中,一个资源的属性信息用于指示该资源为私有资源或公开资源。
- 一种计算机可读介质,所述计算机可读介质包括计算机代码,当所述计算机代码被执行时,如权利要求1至10中任一项所述的方法被执行。
- 一种计算机程序产品,当所述计算机程序产品被计算机设备执行时,如权利要求1至10中任一项所述的方法被执行。
- 一种计算机设备,所述计算机设备包括存储器和处理器,所述存储器中存储有计算机代码,所述处理器被配置来通过执行所述计算机代码以执行如权利要求1至10中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510202625.0A CN104834696B (zh) | 2015-04-24 | 2015-04-24 | 一种用于在计算机设备中搜索私有资源的方法和装置 |
CN201510202625.0 | 2015-04-24 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016169241A1 true WO2016169241A1 (zh) | 2016-10-27 |
Family
ID=53812583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/092957 WO2016169241A1 (zh) | 2015-04-24 | 2015-10-27 | 一种用于在计算机设备中搜索私有资源的方法和装置 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104834696B (zh) |
WO (1) | WO2016169241A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104834696B (zh) * | 2015-04-24 | 2019-03-26 | 百度在线网络技术(北京)有限公司 | 一种用于在计算机设备中搜索私有资源的方法和装置 |
CN110297971B (zh) * | 2019-05-30 | 2022-09-20 | 百度在线网络技术(北京)有限公司 | 个性化资源检索方法、装置、设备及计算机可读存储介质 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999597A (zh) * | 2012-11-16 | 2013-03-27 | 北京百度网讯科技有限公司 | 搜索结果的分享系统、方法和客户端 |
CN103345526A (zh) * | 2013-07-22 | 2013-10-09 | 武汉大学 | 一种云环境下高效的隐私保护密文查询方法 |
CN103389985A (zh) * | 2012-05-08 | 2013-11-13 | 百度在线网络技术(北京)有限公司 | 一种用于提供搜索结果的方法和设备 |
EP2709306A1 (en) * | 2012-09-14 | 2014-03-19 | Alcatel Lucent | Method and system to perform secure boolean search over encrypted documents |
CN103944711A (zh) * | 2014-02-17 | 2014-07-23 | 国家超级计算深圳中心 | 一种云存储密文检索方法及其系统 |
CN104834696A (zh) * | 2015-04-24 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | 一种用于在计算机设备中搜索私有资源的方法和装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2012020273A1 (en) * | 2010-06-28 | 2012-02-16 | Thomson Licensing | System and method for content exclusion from a multi-domain search |
CN102855594A (zh) * | 2012-07-23 | 2013-01-02 | 深圳市财富万方信息技术有限公司 | 用于网络咨询服务的网络交易方法及系统 |
CN102867043A (zh) * | 2012-09-05 | 2013-01-09 | 中山爱科数字家庭产业孵化基地有限公司 | 一种数字家庭资源检索和资源获取方法 |
CN103902705B (zh) * | 2014-03-31 | 2017-05-10 | 华中科技大学 | 一种基于元数据的跨机构云端数字内容集成系统和方法 |
-
2015
- 2015-04-24 CN CN201510202625.0A patent/CN104834696B/zh active Active
- 2015-10-27 WO PCT/CN2015/092957 patent/WO2016169241A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103389985A (zh) * | 2012-05-08 | 2013-11-13 | 百度在线网络技术(北京)有限公司 | 一种用于提供搜索结果的方法和设备 |
EP2709306A1 (en) * | 2012-09-14 | 2014-03-19 | Alcatel Lucent | Method and system to perform secure boolean search over encrypted documents |
CN102999597A (zh) * | 2012-11-16 | 2013-03-27 | 北京百度网讯科技有限公司 | 搜索结果的分享系统、方法和客户端 |
CN103345526A (zh) * | 2013-07-22 | 2013-10-09 | 武汉大学 | 一种云环境下高效的隐私保护密文查询方法 |
CN103944711A (zh) * | 2014-02-17 | 2014-07-23 | 国家超级计算深圳中心 | 一种云存储密文检索方法及其系统 |
CN104834696A (zh) * | 2015-04-24 | 2015-08-12 | 百度在线网络技术(北京)有限公司 | 一种用于在计算机设备中搜索私有资源的方法和装置 |
Also Published As
Publication number | Publication date |
---|---|
CN104834696A (zh) | 2015-08-12 |
CN104834696B (zh) | 2019-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11050690B2 (en) | Method for providing recording and verification service for data received and transmitted by messenger service, and server using method | |
US8909664B2 (en) | System and method for creating a list of shared information on a peer-to-peer network | |
US10129197B2 (en) | Computerized system and method for modifying a message to apply security features to the message's content | |
JP2019527444A (ja) | 一致するコンテンツを特定するためのシステムおよび方法 | |
US20110029555A1 (en) | Method, system and apparatus for content identification | |
JP2019527442A (ja) | 一致するコンテンツを特定するためのシステムおよび方法 | |
US20140359691A1 (en) | Policy enforcement using natural language processing | |
WO2002056580A1 (fr) | Systeme de service de repertoire de contenus | |
JP5181691B2 (ja) | 情報処理装置、情報処理方法、コンピュータプログラム及び記録媒体 | |
JP2014029716A (ja) | 広告資金提供データー・アクセス・サービス | |
JP2010237751A (ja) | コンテンツ共有システム及びコンテンツ共有の方法 | |
WO2016169438A1 (zh) | 获取用户账号的方法和装置 | |
WO2016169241A1 (zh) | 一种用于在计算机设备中搜索私有资源的方法和装置 | |
CN107948312B (zh) | 一种以位置点作为信息出入口的信息归类发布方法及系统 | |
US11985122B2 (en) | Method and apparatus for sharing content data between networked devices | |
CN109614547A (zh) | 用于电子终端的推荐水印的方法及设备 | |
CN112559863A (zh) | 基于区块链的信息推送方法、装置、设备和存储介质 | |
US10652356B1 (en) | System and method to deliver an electronic document over a data network | |
EP2309699A1 (en) | Method and system for providing advertisement | |
KR20070051227A (ko) | 정보제공 방법 및 시스템과 이를 위한 정보제공 장치와,기록매체 | |
JP5863883B2 (ja) | 求職情報提供システム、求職情報提供システムのウェブサーバ、求職情報提供システムの制御方法、及びプログラム | |
KR20220042930A (ko) | 컨텐츠 목록 제공 방법, 장치 및 컴퓨터 프로그램 | |
WO2021058936A2 (en) | Imagery acquisition method and apparatus | |
CN110298006A (zh) | 用于检测盗用链接的站点的方法和装置 | |
US20130227142A1 (en) | Provision recognition library proxy and branding service |
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: 15889724 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: 15889724 Country of ref document: EP Kind code of ref document: A1 |