CN104572945A - File search method and device based on cloud storage space - Google Patents

File search method and device based on cloud storage space Download PDF

Info

Publication number
CN104572945A
CN104572945A CN201410844353.XA CN201410844353A CN104572945A CN 104572945 A CN104572945 A CN 104572945A CN 201410844353 A CN201410844353 A CN 201410844353A CN 104572945 A CN104572945 A CN 104572945A
Authority
CN
China
Prior art keywords
storage space
cloud storage
file
user
search
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410844353.XA
Other languages
Chinese (zh)
Other versions
CN104572945B (en
Inventor
罗吉喜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410844353.XA priority Critical patent/CN104572945B/en
Publication of CN104572945A publication Critical patent/CN104572945A/en
Application granted granted Critical
Publication of CN104572945B publication Critical patent/CN104572945B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/214Database migration support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

An embodiment of the invention provides a file search method and device based on cloud storage space. The method includes: receiving a file search request transmitted by a first client; using a keyword to search files in first cloud storage space; determining one or more second user identification which is provided with one or more associated second cloud storage space when file search in the first cloud storage space fails; using the keyword to search the files in the second cloud storage space. By the method, the probability of finding the resources needed by a user is increased, the user does not need to perform complex manual filtering on massive resources on Internet, time and energy consumption of the user is reduced, system resource consumption of user equipment and a website is reduced, network bandwidth occupation is reduced, and resource acquiring efficiency, quality and capacity are increased greatly.

Description

A kind of file search method based on cloud storage space and device
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of file search method based on cloud storage space and a kind of file search device based on cloud storage space.
Background technology
Cloud storage space, also known as cloud dish, is a kind of internet storage tool, is also the product of internet cloud, it by internet for enterprises and individuals provides the service such as storage, reading, download of file.
Cloud dish is relative to traditional entity disk, more convenient, and user does not need the entity disk storing capsule information to take with oneself.But equally can pass through internet, easily read the information oneself stored from high in the clouds, therefore, cloud dish is extensively popularized.
But sometimes user cannot find all resources oneself wanted in cloud storage space, such as, certain file is forgotten and is caught cloud dish, and some file never obtained in the past.
Now, user often needs at the enterprising line search of network, but information excessive on network makes user will carry out loaded down with trivial details artificial filter, at substantial time and efforts when searching for, and the search efficiency of the network information is very low.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of file search method based on cloud storage space solved the problem at least in part and a kind of file search device based on cloud storage space accordingly.
According to one aspect of the present invention, provide a kind of file search method based on cloud storage space, comprising:
Receive the file search request that the first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
Adopt described keyword at described first cloud storage space search file;
In the first cloud storage space during search file failure, determine one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Adopt described keyword search file in described one or more second cloud storage space.
Alternatively, described method also comprises:
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned described first client.
Alternatively, in the first cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
Alternatively, the described keyword of described employing comprises in the step of described first cloud storage space search file:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space; And
When it fails to match, judge search file failure in the first cloud storage space.
Alternatively, describedly determine that the step of one or more second user ID comprises:
One or more second user ID of described first user mark association are returned the first client; And
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
Alternatively, in the second cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
Alternatively, the step of the described keyword of described employing search file in described one or more second cloud storage space comprises:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space; And
When it fails to match, judge search file failure in the second cloud storage space.
Alternatively, the step that the described fileinfo by the one or more files searched returns described first client comprises:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding; And
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
Alternatively, described method also comprises:
When receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
Alternatively, described method also comprises:
When receiving the download request that described first client sends, search the memory address of file corresponding to described download request; And
Data corresponding for described memory address are sent to described first client.
According to a further aspect in the invention, provide a kind of file search device based on cloud storage space, comprising:
Receiver module, is suitable for the file search request that reception first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
First search module, is suitable for adopting described keyword at described first cloud storage space search file;
Determination module, when being suitable for search file failure in the first cloud storage space, determines one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Second search module, is suitable for adopting described keyword search file in described one or more second cloud storage space.
Alternatively, described device also comprises:
Return module, when being suitable for search file success in the second cloud storage space, the fileinfo of the one or more files searched is returned described first client.
Alternatively, in the first cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
Alternatively, described first search module is also suitable for:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space; And
When it fails to match, judge search file failure in the first cloud storage space.
Alternatively, described determination module is also suitable for:
One or more second user ID of described first user mark association are returned the first client; And
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
Alternatively, in the second cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
Alternatively, described second search module is also suitable for:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space; And
When it fails to match, judge search file failure in the second cloud storage space.
Alternatively, return module described in be also suitable for:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding; And
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
Alternatively, described device also comprises:
Memory module, is suitable for when receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
Alternatively, described device also comprises:
Searching module, being suitable for, when receiving the download request that described first client sends, searching the memory address of file corresponding to described download request; And
Sending module, is suitable for data corresponding for described memory address to be sent to described first client.
The embodiment of the present invention is for file search request, adopt keyword at the first cloud storage space search file, when the first cloud storage space search file failure, adopt keyword search file in one or more second cloud storage space, because cloud storage space is mainly used in the file storing user, in resource set, and the resource that user often returns than machineries such as search engines in the resource of first manual sorting is more effective, improve the probability searching user's resource requirement, user is avoided to carry out loaded down with trivial details artificial filter to the resource of magnanimity on network, decrease expending of user time and energy, decrease the system resources consumption of subscriber equipment and website, taking of the network bandwidth, substantially increase the efficiency of resource acquisition, quality and capacity.
The embodiment of the present invention, for collection request, by the file information storage of the file of correspondence at the first cloud storage space, eliminates the process of file transfer, decreases bandwidth occupancy, improve collection efficiency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the file search method embodiment based on cloud storage space; And
Fig. 2 shows a kind of according to an embodiment of the invention structural representation of device embodiment of the file search based on cloud storage space.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention steps flow chart schematic diagram of the file search method embodiment based on cloud storage space, specifically can comprise the steps:
Step 101, receives the file search request that the first client sends;
It should be noted that, the embodiment of the present invention can be applied in Cloud Server, and Cloud Server, also known as cloud computing server or cloud main frame, is a main computer boxes in cloud computing service system, in embodiments of the present invention, this Cloud Server can provide cloud storage space for user.
In specific implementation, user can from any one electronic equipment access cloud storage space, such as mobile phone, PDA (Personal Digital Assistant, personal digital assistant), laptop computer, computer etc., the embodiment of the present invention is not limited this.
These mobile devices can support the operating system comprising Android (Android), IOS, WindowsPhone or windows etc., usually can run through the client of cloud storage space.This client can be independently application program, can be also dependent application program, as browser.
Searching request can refer to the instruction of certain file of search that user sends, and can comprise first user mark and keyword in described searching request; Described first user mark can the related first cloud storage space of tool.Wherein, user ID can be the information that can represent a well-determined user, as user ID (IDentity, identify label number).
Such as, user can open the control page of cloud storage space in a browser, in this control page, usually can comprise search box, and user can input keyword to send file search request in this search box.
Again such as, user can open independently application program at mobile phone or computer, can provide the control inerface of cloud storage space in this application program, wherein usually can comprise search box, and user can input keyword to send file search request in this search box.
Client, when receiving the object search of user's input, can be assembled into file search request, sends searching request to search engine, searches for the information relevant to this object search to ask search engine.
Step 102, adopts described keyword at described first cloud storage space search file;
In the first cloud storage space, each file can have fileinfo, and described fileinfo can comprise at least one information in title, type, characteristic information, memory address.
Wherein, title can refer to the title of file, can show in client, characterizes the place of file;
Type can refer to the type of file, as voice data, video data, view data, executable file etc.;
Characteristic information can refer to the information characterizing file characteristic, as Hash (Hash) value, MD5 (Message-Digest Algorithm 5, message digest algorithm 5) etc., identical characteristic information can corresponding same memory address, namely identical file can be allowed only to store portion at Cloud Server, to reduce taking of storage space;
Memory address can refer to the file address that data store in Cloud Server, and this memory address points to the data of this file itself.
Certainly, above-mentioned fileinfo is exemplarily, when implementing the embodiment of the present invention, alternative document information can be set according to actual conditions, such as, file size, directory information, historical operation information, remarks etc., the embodiment of the present invention is not limited this.
In a kind of embodiment of the present invention, step 102 can comprise following sub-step:
Sub-step S11, at described first cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
Sub-step S12, when the match is successful, judges search file success in the first cloud storage space;
Sub-step S13, when it fails to match, judges search file failure in the first cloud storage space.
In embodiments of the present invention, keyword can be referred to as with the name of specific file, as " material for training ", mate in the title in fileinfo; Also by the type of tag file as keyword, as " picture ", can mate in the type in fileinfo.
In embodiments of the present invention, whether can mate in the title according to matched rule keyword and each file preset, type.
This matched rule preset can be natural language processing analysis rule, or, also can be regular expression rule, or, be also the combination of the two.
Wherein, natural language processing analysis rule is roughly divided into two aspects, and one is superficial layer analyzing, and as participle, part-of-speech tagging, only need carry out analyzing and processing to the subrange of sentence usually; Another aspect language is carried out to the process of deep layer, needs to carry out global analysis to sentence, usually analyzes these three levels of syntax, semanteme and pragmatic when analyzing.
Regular expression rule is generally that the character having specific meanings by some represents matched rule, and such as, character " ^ " mates the beginning an of input or a line, as " ^a " coupling " an A ", and does not mate " An a "; Character " $ " mates the ending an of input or a line, as " a $ " coupling " An a ", and does not mate " an A "; Character " * " mates metacharacter 0 time or repeatedly above, as " ba* " will mate " b ", and " ba ", " baa " and " baaa " etc.
Under normal circumstances, natural language processing analysis rule is mainly used to solve synon problem, and regular expression rule is mainly used to process long-tail word.In addition, can also mate by more self-defined matched rules, the embodiment of the present invention is not limited this.
When the match is successful, can with the file for Keywords matching with the file belonging to the title of Keywords matching or type, the fileinfo of this file (as title, type, file size, directory information etc.) can be returned the first client by Cloud Server.
Step 103, in the first cloud storage space during search file failure, determines one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool;
In embodiments of the present invention, if search file failure in the first cloud storage space of active user, then can search in the second cloud storage space of other users.
In a kind of embodiment of the present invention, step 103 can comprise following sub-step:
One or more second user ID of described first user mark association are returned the first client by sub-step S21;
Sub-step S22, receives and returns from described first client, one or more second user ID of determining in one or more second user ID of described association.
In embodiments of the present invention, second user ID can identify with first user has incidence relation, namely be commonly called as " good friend ", this incidence relation can be one-level incidence relation, and namely active user and targeted customer (i.e. the second user ID characterize user) are direct " good friend " relations; This incidence relation can be respiratory sensation relation, as secondary incidence relation can refer to, there is " good friend " relation in active user and certain intermediate user, and this intermediate user and targeted customer exist " good friend " relation, and active user and targeted customer do not exist " good friend " relation.
In actual applications, Cloud Server preferentially can push second user ID to the first client of comparatively getting close to other users of (as one-level incidence relation) active user, active user can be selected by ad hoc fashion in the first client, independently can button click as clicked, or to click in pop-up window option etc., determined second user ID can be whole second user ID (i.e. whole good friend) or part second user ID (being selected the particular buddies of specifying by active user) that push.
Certainly, when implementing the embodiment of the present invention, the determination mode of other the second user ID can be set according to actual conditions, such as, pushing second user ID to the first client without incidence relation allows active user select, or, the second user ID with the user of active user in areal is determined by logging in the modes such as IP address, or, search and work as with current the second user ID that user has the user of same or similar interest/behavioural information, etc., the embodiment of the present invention is not limited this.
Step 104, adopts described keyword search file in described one or more second cloud storage space;
In the second cloud storage space, each file can have fileinfo, and described fileinfo can comprise at least one information in title, type, characteristic information, memory address.
Certainly, above-mentioned fileinfo is exemplarily, when implementing the embodiment of the present invention, alternative document information can be set according to actual conditions, such as, file size, directory information, historical operation information, remarks etc., the embodiment of the present invention is not limited this.
In a kind of embodiment of the present invention, step 104 can comprise following sub-step:
Sub-step S31, described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
Sub-step S32, when the match is successful, judges search file success in the second cloud storage space;
Sub-step S33, when it fails to match, judges search file failure in the second cloud storage space.
In embodiments of the present invention, can with the keyword of active user's input in the second storage space the title of fileinfo, type mate.
In embodiments of the present invention, whether can mate in the title according to matched rule keyword and each file preset, type.
This matched rule preset can be natural language processing analysis rule, or, also can be regular expression rule, or, be also the combination of the two.
Wherein, natural language processing analysis rule is roughly divided into two aspects, and one is superficial layer analyzing, and as participle, part-of-speech tagging, only need carry out analyzing and processing to the subrange of sentence usually; Another aspect language is carried out to the process of deep layer, needs to carry out global analysis to sentence, usually analyzes these three levels of syntax, semanteme and pragmatic when analyzing.
Regular expression rule is generally that the character having specific meanings by some represents matched rule, and such as, character " ^ " mates the beginning an of input or a line, as " ^a " coupling " an A ", and does not mate " An a "; Character " $ " mates the ending an of input or a line, as " a $ " coupling " An a ", and does not mate " an A "; Character " * " mates metacharacter 0 time or repeatedly above, as " ba* " will mate " b ", and " ba ", " baa " and " baaa " etc.
Under normal circumstances, natural language processing analysis rule is mainly used to solve synon problem, and regular expression rule is mainly used to process long-tail word.In addition, can also mate by more self-defined matched rules, the embodiment of the present invention is not limited this.
In addition, in order to ensure the right of privacy and the right to know of user, first can check whether the user that this second user ID characterizes adds appointment plan, as resource sharing plan.If the user that this second user ID characterizes adds appointment plan, then confirm that the user that this second user ID characterizes authorizes the search behavior of Cloud Server at the second cloud storage space, Cloud Server can perform the search operation of the second cloud storage space, if the user that this second user ID characterizes does not add appointment plan, then confirm that the user that this second user ID characterizes does not authorize the search behavior of Cloud Server at the second cloud storage space, Cloud Server forbids the search operation of execution second cloud storage space.
The embodiment of the present invention is for file search request, adopt keyword at the first cloud storage space search file, when the first cloud storage space search file failure, adopt keyword search file in one or more second cloud storage space, because cloud storage space is mainly used in the file storing user, in resource set, and the resource that user often returns than machineries such as search engines in the resource of first manual sorting is more effective, improve the probability searching user's resource requirement, user is avoided to carry out loaded down with trivial details artificial filter to the resource of magnanimity on network, decrease expending of user time and energy, decrease the system resources consumption of subscriber equipment and website, taking of the network bandwidth, substantially increase the efficiency of resource acquisition, quality and capacity.
In a kind of embodiment of the present invention, described method can also comprise the steps:
Step 105, in the second cloud storage space during search file success, returns the fileinfo of the one or more files searched to described first client.
When the match is successful, can with the file for Keywords matching with the file belonging to the title of Keywords matching or type, the fileinfo of this file (as title, type, file size, directory information, owning user etc.) can be returned the first client by Cloud Server.
In a kind of embodiment of the present invention, step 105 can comprise following sub-step:
Sub-step S41, the information that spanned file is shared;
Sub-step S42, is sent to one or more second clients that one or more fileinfos of searching are corresponding by described information;
Sub-step S43, when receiving the confirmation instruction that described one or more second client returns, is sent to described first client by the fileinfo of the one or more files searched.
In the embodiment of the present invention, after searching relevant file at the second cloud storage space, can spanned file share information, as " whether resource XXX being shared with user XXX ".
If the information of this file-sharing at the second client logs, then can be sent to this second client, select to allow user by user corresponding to the second user ID.
If user corresponding to the second user ID be not at any client logs, then the information of this file-sharing can be carried out off-line transmission (i.e. user log in the second client send again), or do not send, the embodiment of the present invention is not limited this.
When user confirms for this information, then the fileinfo of the one or more files searched (as title, type, file size, directory information, owning user etc.) can be sent to the first client by Cloud Server.
In addition, if user refuses for this information, then Cloud Server can refuse the fileinfo of the one or more files searched (as title, type, file size, directory information, owning user etc.) to be sent to the first client.
Certainly, whether the user characterized in the second user ID adds appointment plan, as in the situations such as resource sharing plan, then without the need to waiting for that user confirms for this information, the fileinfo of the one or more files searched (as title, type, file size, directory information, owning user etc.) also can be sent to the first client by Cloud Server, and the embodiment of the present invention is not limited this.
In a kind of embodiment of the present invention, described method can also comprise the steps:
Step 106, when receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
Collection request can refer to the instruction of certain file of collection that user sends, and Cloud Server is asked for this collection, by the file information storage of user-selected file in the first cloud storage space, can complete the collection of file.
In embodiments of the present invention, other users have formerly collected same file, namely Cloud Server have existed identical file, so, when active user collects identical file, can save the operation of this file of transmission, can complete collection fast.
Such as, user A has collected 100M video data " person of bearing cat .rmvb " in the second cloud storage space, then Cloud Server is present in file " person of bearing cat .rmvb ", user B searches for " person of bearing cat " failure at the first cloud storage space, and search for successfully at the second cloud storage space, then user can indicate and collect all files " person of bearing cat .rmvb " of user A, owing to eliminating the transmitting procedure of file " person of bearing cat .rmvb ", can complete collection fast.
The embodiment of the present invention, for collection request, by the file information storage of the file of correspondence at the first cloud storage space, eliminates the process of file transfer, decreases bandwidth occupancy, improve collection efficiency.
In a kind of embodiment of the present invention, described method can also comprise the steps:
Step 107, when receiving the download request that described first client sends, searches the memory address of file corresponding to described download request;
Data corresponding for described memory address are sent to described first client by step 108.
Collection request can refer to the instruction of certain file of download that user sends, and Cloud Server is for this download request, and the data of memory address sensing that can be corresponding by user-selected file are sent to the first client, complete the download of file.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 2, show a kind of according to an embodiment of the invention structural representation of the file search device embodiment based on cloud storage space, specifically can comprise as lower module:
Receiver module 201, is suitable for the file search request that reception first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
First search module 202, is suitable for adopting described keyword at described first cloud storage space search file;
Determination module 203, when being suitable for search file failure in the first cloud storage space, determines one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool;
Second search module 204, is suitable for adopting described keyword search file in described one or more second cloud storage space.
In a kind of embodiment of the present invention, described device can also comprise as lower module:
Return module, when being suitable for search file success in the second cloud storage space, the fileinfo of the one or more files searched is returned described first client.
In actual applications, in the first cloud storage space, each file can have fileinfo, and described fileinfo can comprise at least one information in title, type, characteristic information, memory address.
In a kind of embodiment of the present invention, described first search module 202 can also be suitable for:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space;
When it fails to match, judge search file failure in the first cloud storage space.
In a kind of embodiment of the present invention, described determination module 203 can also be suitable for:
One or more second user ID of described first user mark association are returned the first client;
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
In actual applications, in the second cloud storage space, each file can have fileinfo, and described fileinfo can comprise at least one information in title, type, characteristic information, memory address.
In a kind of embodiment of the present invention, described second search module 204 can also be suitable for:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space;
When it fails to match, judge search file failure in the second cloud storage space.
In a kind of embodiment of the present invention, described in return module and can also be suitable for:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding;
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
In a kind of embodiment of the present invention, described device can also comprise as lower module:
Memory module, is suitable for when receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
In a kind of embodiment of the present invention, described device can also comprise as lower module:
Searching module, being suitable for, when receiving the download request that described first client sends, searching the memory address of file corresponding to described download request;
Sending module, is suitable for data corresponding for described memory address to be sent to described first client.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions based on the some or all parts in the file search equipment of cloud storage space that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The embodiment of the invention discloses A1, a kind of file search method based on cloud storage space, comprising:
Receive the file search request that the first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
Adopt described keyword at described first cloud storage space search file;
In the first cloud storage space during search file failure, determine one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Adopt described keyword search file in described one or more second cloud storage space.
A2, method as described in A1, also comprise:
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned described first client.
A3, method as described in A1, in the first cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
A4, method as described in A3, the described keyword of described employing comprises in the step of described first cloud storage space search file:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space; And
When it fails to match, judge search file failure in the first cloud storage space.
A5, method as described in A1 or A2 or A3 or A4, describedly determine that the step of one or more second user ID comprises:
One or more second user ID of described first user mark association are returned the first client; And
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
A6, method as described in A1 or A2 or A3 or A4, in the second cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
A7, method as described in A6, the step of the described keyword of described employing search file in described one or more second cloud storage space comprises:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space; And
When it fails to match, judge search file failure in the second cloud storage space.
A8, method as described in A2, the step that the described fileinfo by the one or more files searched returns described first client comprises:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding; And
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
A9, method as described in A1 or A2 or A3 or A7 or A8, also comprise:
When receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
A10, method as described in A1 or A2 or A3 or A7 or A8, also comprise:
When receiving the download request that described first client sends, search the memory address of file corresponding to described download request; And
Data corresponding for described memory address are sent to described first client.
The embodiment of the invention also discloses B11, a kind of file search device based on cloud storage space, comprising:
Receiver module, is suitable for the file search request that reception first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
First search module, is suitable for adopting described keyword at described first cloud storage space search file;
Determination module, when being suitable for search file failure in the first cloud storage space, determines one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Second search module, is suitable for adopting described keyword search file in described one or more second cloud storage space.
B12, device as described in B11, also comprise:
Return module, when being suitable for search file success in the second cloud storage space, the fileinfo of the one or more files searched is returned described first client.
B13, device as described in B11, in the first cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
B14, device as described in B13, described first search module is also suitable for:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space; And
When it fails to match, judge search file failure in the first cloud storage space.
B15, device as described in B11 or B12 or B13 or B14, described determination module is also suitable for:
One or more second user ID of described first user mark association are returned the first client; And
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
B16, device as described in B11 or B12 or B13 or B14, in the second cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
B17, device as described in B16, described second search module is also suitable for:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space; And
When it fails to match, judge search file failure in the second cloud storage space.
B18, device as described in B12, described in return module and be also suitable for:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding; And
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
B19, device as described in B11 or B12 or B13 or B17 or B18, also comprise:
Memory module, is suitable for when receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
B20, device as described in B11 or B12 or B13 or B17 or B18, also comprise:
Searching module, being suitable for, when receiving the download request that described first client sends, searching the memory address of file corresponding to described download request; And
Sending module, is suitable for data corresponding for described memory address to be sent to described first client.

Claims (10)

1., based on a file search method for cloud storage space, comprising:
Receive the file search request that the first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
Adopt described keyword at described first cloud storage space search file;
In the first cloud storage space during search file failure, determine one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Adopt described keyword search file in described one or more second cloud storage space.
2. the method for claim 1, is characterized in that, also comprises:
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned described first client.
3. the method for claim 1, is characterized in that, in the first cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
4. method as claimed in claim 3, it is characterized in that, the described keyword of described employing comprises in the step of described first cloud storage space search file:
At described first cloud storage space, at least one information in the title of described keyword and each fileinfo, type is adopted to mate;
When the match is successful, judge search file success in the first cloud storage space; And
When it fails to match, judge search file failure in the first cloud storage space.
5. method as claimed in claim 1 or 2 or 3 or 4, is characterized in that, describedly determines that the step of one or more second user ID comprises:
One or more second user ID of described first user mark association are returned the first client; And
Reception returns from described first client, one or more second user ID determined in one or more second user ID of described association.
6. method as claimed in claim 1 or 2 or 3 or 4, it is characterized in that, in the second cloud storage space, each file has fileinfo, and described fileinfo comprises at least one information in title, type, characteristic information, memory address.
7. method as claimed in claim 6, it is characterized in that, the step of the described keyword of described employing search file in described one or more second cloud storage space comprises:
Described one or more second cloud storage space, adopts at least one information in the title of described keyword and each fileinfo, type to mate;
When the match is successful, judge search file success in the second cloud storage space; And
When it fails to match, judge search file failure in the second cloud storage space.
8. method as claimed in claim 2, it is characterized in that, the step that the described fileinfo by the one or more files searched returns described first client comprises:
The information that spanned file is shared;
Described information is sent to one or more second clients that one or more fileinfos of searching are corresponding; And
When receiving the confirmation instruction that described one or more second client returns, the fileinfo of the one or more files searched is sent to described first client.
9. the method as described in claim 1 or 2 or 3 or 7 or 8, is characterized in that, also comprise:
When receiving the collection request that the first client sends, by the file information storage of file corresponding for described collection request in described first cloud storage space.
10., based on a file search device for cloud storage space, comprising:
Receiver module, is suitable for the file search request that reception first client sends; Described searching request comprises first user mark and keyword; The related first cloud storage space of described first user mark tool;
First search module, is suitable for adopting described keyword at described first cloud storage space search file;
Determination module, when being suitable for search file failure in the first cloud storage space, determines one or more second user ID; The related one or more second cloud storage space of described one or more second user ID tool; And
Second search module, is suitable for adopting described keyword search file in described one or more second cloud storage space.
CN201410844353.XA 2014-12-30 2014-12-30 A kind of file search method and device based on cloud storage space Active CN104572945B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410844353.XA CN104572945B (en) 2014-12-30 2014-12-30 A kind of file search method and device based on cloud storage space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410844353.XA CN104572945B (en) 2014-12-30 2014-12-30 A kind of file search method and device based on cloud storage space

Publications (2)

Publication Number Publication Date
CN104572945A true CN104572945A (en) 2015-04-29
CN104572945B CN104572945B (en) 2018-05-04

Family

ID=53089007

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410844353.XA Active CN104572945B (en) 2014-12-30 2014-12-30 A kind of file search method and device based on cloud storage space

Country Status (1)

Country Link
CN (1) CN104572945B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193981A (en) * 2017-05-26 2017-09-22 腾讯科技(深圳)有限公司 Collection file is shown, processing method and processing device, computer-readable storage medium and equipment
CN107577777A (en) * 2017-09-12 2018-01-12 北京奇艺世纪科技有限公司 A kind of file reference method, apparatus and electronic equipment
CN110480651A (en) * 2019-08-20 2019-11-22 深圳市一恒科电子科技有限公司 It is a kind of that cloud method and system are built based on interactive company robot search system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158468A (en) * 2011-01-26 2011-08-17 清华大学 Method for sharing and acquiring data in social network service (SNS)
CN102624932A (en) * 2012-04-23 2012-08-01 网经科技(苏州)有限公司 Index-based remote cloud data synchronizing method
CN102955777A (en) * 2011-08-17 2013-03-06 大连视博科技有限公司 Media resource management system and media resource management method
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof
CN103812915A (en) * 2012-11-15 2014-05-21 中兴通讯股份有限公司 Resource sharing method, device and system, terminal and resource management center

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158468A (en) * 2011-01-26 2011-08-17 清华大学 Method for sharing and acquiring data in social network service (SNS)
CN102955777A (en) * 2011-08-17 2013-03-06 大连视博科技有限公司 Media resource management system and media resource management method
CN102624932A (en) * 2012-04-23 2012-08-01 网经科技(苏州)有限公司 Index-based remote cloud data synchronizing method
CN103812915A (en) * 2012-11-15 2014-05-21 中兴通讯股份有限公司 Resource sharing method, device and system, terminal and resource management center
CN103607469A (en) * 2013-11-28 2014-02-26 东莞中国科学院云计算产业技术创新与育成中心 Cloud platform for achieving distributed isomerous data sharing and data sharing method thereof

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张兴: "基于Hadoop的云存储平台的研究与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
郅斌: "一种私有云存储系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193981A (en) * 2017-05-26 2017-09-22 腾讯科技(深圳)有限公司 Collection file is shown, processing method and processing device, computer-readable storage medium and equipment
CN107577777A (en) * 2017-09-12 2018-01-12 北京奇艺世纪科技有限公司 A kind of file reference method, apparatus and electronic equipment
CN110480651A (en) * 2019-08-20 2019-11-22 深圳市一恒科电子科技有限公司 It is a kind of that cloud method and system are built based on interactive company robot search system
CN110480651B (en) * 2019-08-20 2022-03-25 深圳市一恒科电子科技有限公司 Cloud establishing method and system based on interactive accompanying robot search system

Also Published As

Publication number Publication date
CN104572945B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US9251157B2 (en) Enterprise node rank engine
US9060029B2 (en) System and method for target profiling using social network analysis
US9020960B2 (en) System and method for modeling relationships between entities
CN101111836B (en) Methods and systems for information capture and retrieval
US9659265B2 (en) Methods and systems for collecting and analyzing enterprise activities
CN105187237B (en) The method and apparatus for searching associated user identifier
US10394939B2 (en) Resolving outdated items within curated content
EP2985707A1 (en) Method and apparatus for finding file in storage device and router and medium
KR20100037040A (en) Collecting and presenting temporal-based action information
CN105515900A (en) Method and device for acquiring on-line state of terminal
US8214475B1 (en) System and method for managing content interest data using peer-to-peer logical mesh networks
CN110061908A (en) Application program recommendation, device, electronic equipment and medium
CN110909120B (en) Resume searching/delivering method, device and system and electronic equipment
US10936602B2 (en) Prioritizing items based on user activity
US10296509B2 (en) Method, system and apparatus for managing contact data
CN104050292A (en) Traffic-saving mode search service method, server, client and system
CN111314063A (en) Big data information management method, system and device based on Internet of things
JP4894253B2 (en) Metadata generating apparatus and metadata generating method
CN104572945A (en) File search method and device based on cloud storage space
CN104618445A (en) Method and device for arranging files based on cloud storage space
JP2022096632A (en) Computer-implemented method, computer system, and computer program (ranking datasets based on data attributes)
US20170193051A1 (en) Systems and methods for automatic archiving, sorting, and/or indexing of secondary message content
US9251273B2 (en) Delivering a filtered search result
Celestini et al. Design, implementation and test of a flexible tor-oriented web mining toolkit
CN112416626B (en) Data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right