CN104572945B - A kind of file search method and device based on cloud storage space - Google Patents

A kind of file search method and device based on cloud storage space Download PDF

Info

Publication number
CN104572945B
CN104572945B CN201410844353.XA CN201410844353A CN104572945B CN 104572945 B CN104572945 B CN 104572945B CN 201410844353 A CN201410844353 A CN 201410844353A CN 104572945 B CN104572945 B CN 104572945B
Authority
CN
China
Prior art keywords
file
cloud storage
storage space
search
user
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.)
Active
Application number
CN201410844353.XA
Other languages
Chinese (zh)
Other versions
CN104572945A (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

Landscapes

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

Abstract

An embodiment of the present invention provides a kind of file search method and device based on cloud storage space, the described method includes:Receive the file search request of the first client transmission;Using the keyword in the first cloud storage space search file;When search file fails in the first cloud storage space, one or more second user mark is determined;One or more of second user marks have associated one or more second cloud storage spaces;And use keyword search file in one or more of second cloud storage spaces.The embodiment of the present invention improves the probability for searching resource needed for user, user is avoided to carry out cumbersome artificial filter to the resource of magnanimity on network, reduce the consuming of user time and energy, system resources consumption, the occupancy of network bandwidth of user equipment and website are decreased, substantially increases the efficiency, quality and capacity of resource acquisition.

Description

A kind of file search method and device based on cloud storage space
Technical field
The present invention relates to Internet technical field, more particularly 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 is also known as cloud disk, is that a kind of internet stores instrument, and the product of internet cloud technology, it passes through Internet provides the service such as storage, reading, download of file for enterprises and individuals.
Cloud disk is more convenient, user need not be the entity magnetic of storage capsule information for traditional entity disk Disk is taken with oneself.But equally the information oneself stored can easily be read, therefore, cloud disk is extensive from high in the clouds by internet Popularization.
However, sometimes user can not find oneself all desired resource in cloud storage space, such as, certain file is forgotten Note catches cloud disk, always there is no before some files.
At this time, user is frequently necessary to scan on network, however, information excessive on network causes user searching for When to carry out cumbersome artificial filter, take considerable time and energy, the search efficiency of the network information be very low.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least in part State a kind of file search method based on cloud storage space of problem and a kind of corresponding file search based on cloud storage space Device.
According to one aspect of the present invention, there is provided a kind of file search method based on cloud storage space, including:
Receive the file search request of the first client transmission;Described search request includes the first user identifier and key Word;First user identifier has associated first cloud storage space;
Using the keyword in the first cloud storage space search file;
When search file fails in the first cloud storage space, one or more second user mark is determined;It is one Or multiple second user marks have associated one or more second cloud storage spaces;And
Using the keyword in one or more of second cloud storage spaces search file.
Alternatively, the method further includes:
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned Return first client.
Alternatively, in the first cloud storage space, each file has a fileinfo, the fileinfo include title, At least one of type, characteristic information, storage address information.
Alternatively, it is described to be included using the keyword in the step of the first cloud storage space search file:
In the first cloud storage space, using in the title of the keyword and each fileinfo, type at least A kind of information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
Alternatively, the step of definite one or more second user marks include:
The associated one or more second user marks of first user identifier are returned into the first client;And
Receive what is returned from first client, determined in associated one or more second user marks One or more second user marks.
Alternatively, in the second cloud storage space, each file has a fileinfo, the fileinfo include title, At least one of type, characteristic information, storage address information.
Alternatively, the step using keyword search file in one or more of second cloud storage spaces Suddenly include:
One or more of second cloud storage spaces, using title, the type of the keyword and each fileinfo At least one of information matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
Alternatively, the fileinfo by the one or more files searched returns to the step of first client Including:
Generate the prompt message of file-sharing;
The prompt message is sent to corresponding one or more second visitors of one or more fileinfos searched Family end;And
When receiving the confirmation instruction that one or more of second clients return, the one or more that will search The fileinfo of file is sent to first client.
Alternatively, the method further includes:
When receiving the collection request of the first client transmission, the collection is asked to the fileinfo of corresponding file It is stored in the first cloud storage space.
Alternatively, the method further includes:
When receiving the download request that first client is sent, depositing for the corresponding file of the download request is searched Store up address;And
By the corresponding data sending of the storage address to first client.
According to another aspect of the present invention, there is provided a kind of file search device based on cloud storage space, including:
Receiving module, suitable for receiving the file search request that the first client is sent;Described search request includes first User identifier and keyword;First user identifier has associated first cloud storage space;
First search module, suitable for using the keyword in the first cloud storage space search file;
Determining module, suitable for when search file fails in the first cloud storage space, determining one or more second user Mark;One or more of second user marks have associated one or more second cloud storage spaces;And
Second search module, suitable for searching for text in one or more of second cloud storage spaces using the keyword Part.
Alternatively, described device further includes:
Module is returned to, suitable for the one or more text that during search file success, will be searched in the second cloud storage space The fileinfo of part returns to first client.
Alternatively, in the first cloud storage space, each file has a fileinfo, the fileinfo include title, At least one of type, characteristic information, storage address information.
Alternatively, first search module is further adapted for:
In the first cloud storage space, using in the title of the keyword and each fileinfo, type at least A kind of information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
Alternatively, the determining module is further adapted for:
The associated one or more second user marks of first user identifier are returned into the first client;And
Receive what is returned from first client, determined in associated one or more second user marks One or more second user marks.
Alternatively, in the second cloud storage space, each file has a fileinfo, the fileinfo include title, At least one of type, characteristic information, storage address information.
Alternatively, second search module is further adapted for:
One or more of second cloud storage spaces, using title, the type of the keyword and each fileinfo At least one of information matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
Alternatively, the return module is further adapted for:
Generate the prompt message of file-sharing;
The prompt message is sent to corresponding one or more second visitors of one or more fileinfos searched Family end;And
When receiving the confirmation instruction that one or more of second clients return, the one or more that will search The fileinfo of file is sent to first client.
Alternatively, described device further includes:
Memory module, suitable for when receiving the collection request of the first client transmission, the collection being asked corresponding The file information storage of file is in the first cloud storage space.
Alternatively, described device further includes:
Searching module, suitable for when receiving the download request that first client is sent, searching the download request The storage address of corresponding file;And
Sending module, suitable for by the corresponding data sending of the storage address to first client.
The embodiment of the present invention is asked for file search, using keyword in the first cloud storage space search file, the When one cloud storage space search file fails, using keyword in one or more second cloud storage spaces search file, by It is mainly used for storing the file of user in cloud storage space, in resource set, and the resource of the first manual sorting of user often compares The resource that the machinery such as search engine returns is more efficient, improves the probability for searching resource needed for user, avoids user in net Cumbersome artificial filter is carried out to the resource of magnanimity on network, reduces the consuming of user time and energy, decreases user and set Standby and the system resources consumption of website, the occupancy of network bandwidth, substantially increase the efficiency, quality and capacity of resource acquisition.
The embodiment of the present invention is asked for collection, by the file information storage of corresponding file in the first cloud storage space, The process of file transmission is eliminated, reduces bandwidth occupancy, improves collection efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this area Technical staff will be clear understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole attached drawing, identical component is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows a kind of file search method embodiment based on cloud storage space according to an embodiment of the invention Step flow diagram;And
Fig. 2 shows that a kind of device of file search based on cloud storage space according to an embodiment of the invention is implemented The structure diagram of example.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
With reference to Fig. 1, a kind of file search method based on cloud storage space according to an embodiment of the invention is shown The step flow diagram of embodiment, specifically may include steps of:
Step 101, the file search request that the first client is sent is received;
It should be noted that the embodiment of the present invention can be applied in Cloud Server, Cloud Server is also known as cloud computing service Device or cloud host, are a main computer boxes in cloud computing service system, in embodiments of the present invention, which can be User provides cloud storage space.
In the concrete realization, user can access cloud storage space, such as mobile phone, PDA from any type electronic equipment (Personal Digital Assistant, personal digital assistant), laptop computer, computer etc., the embodiment of the present invention This is not any limitation as.
These movement equipment can be supported to include Android (Android), IOS, WindowsPhone or windows etc. Operating system, can usually run the client by cloud storage space.The client can be independent application program, also may be used Think the application program of dependent, such as browser.
The instruction for search some file that searching request can refer to that user sends, can include the in described search request One user identifier and keyword;First user identifier can have associated first cloud storage space.Wherein, user identifier Can be the information that can represent a user uniquely determined, such as User ID (IDentity, identity number).
For example, user can open the control page in cloud storage space in a browser, would generally in the control page Including search box, user can input keyword to send file search request in the search box.
In another example user can open independent application program in mobile phone or computer, cloud can be provided in the application program The control interface of memory space, wherein would generally include search box, user can input keyword to send in the search box File search is asked.
Client can assemble them into file search request, to search when receiving object search input by user Engine sends searching request, to ask search engine search and the relevant information of the object search.
Step 102, using the keyword in the first cloud storage space search file;
In the first cloud storage space, each file can have a fileinfo, the fileinfo can include title, At least one of type, characteristic information, storage address information.
Wherein, title can refer to the title of file, can be shown in client, characterize the place of file;
Type can refer to the type of file, such as voice data, video data, view data, executable file;
Characteristic information can refer to the information of characterization file characteristic, such as Hash (Hash) value, MD5 (Message-Digest Algorithm 5, message digest algorithm 5) etc., identical characteristic information can correspond to same storage address, you can to allow phase Same file only stores portion in Cloud Server, to reduce the occupancy of memory space;
Storage address can refer to the file address that data store in Cloud Server, which is directed toward the number of this document According to itself.
Certainly, above-mentioned fileinfo is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions Alternative document information is put, for example, file size, directory information, historical operation information, remarks etc., the embodiment of the present invention is to this It is not any limitation as.
In a kind of alternative embodiment of the present invention, step 102 can include following sub-step:
Sub-step S11, in the first cloud storage space, using title, the class of the keyword and each fileinfo At least one of type information is matched;
Sub-step S12, when successful match, judges the search file success in the first cloud storage space;
Sub-step S13, when it fails to match, judges that search file fails in the first cloud storage space.
In embodiments of the present invention, keyword can be referred to as with the name of specific file, such as " material for training ", believed in file Matched in title in breath;Can also be by the use of the type of tag file as keyword, such as " picture ", in fileinfo Matched in type.
In embodiments of the present invention, can be according to title, the type of default matched rule keyword and each file No matching.
The default matched rule can be natural language processing analysis rule, or or regular expression rule Then, alternatively, and the combination of the two.
Wherein, natural language processing analysis rule is roughly divided into two aspects, and one is superficial layer analyzing, such as segments, part of speech Mark, usually need to only analyze and process the subrange of sentence;Another aspect is that the processing of deep layer is carried out to language, is needed Global analysis is carried out to sentence, usually these three levels are analyzed to syntax, semanteme and pragmatic in analysis.
Regular expression rule represents matched rule generally by some characters with specific meanings, for example, One input of character " ^ " matching or the beginning of a line, such as " ^a " matching " an A ", and mismatch " An a ";Character " $ " matching one A input or the ending of a line, such as " a " matching " An a ", and mismatch " an A ";Character " * " matching above metacharacter 0 time or Repeatedly, such as " ba* " will match " b ", " ba ", " baa " and " baaa " etc..
Under normal conditions, natural language processing analysis rule is mainly used to solve synonymous word problem, regular expression rule Then it is mainly used to handle long-tail word.Furthermore it is also possible to some self-defined matched rules are matched, the embodiment of the present invention to this not It is any limitation as.
, can be with the text for Keywords matching with the file belonging to the title or type of Keywords matching in successful match The fileinfo (such as title, type, file size, directory information) of this document can be returned to the first visitor by part, Cloud Server Family end.
Step 103, when search file fails in the first cloud storage space, one or more second user mark is determined; One or more of second user marks have associated one or more second cloud storage spaces;
In embodiments of the present invention, can be if search file fails in the first cloud storage space of active user Scanned in second cloud storage space of other users.
In a kind of alternative embodiment of the present invention, step 103 can include following sub-step:
The associated one or more second user marks of first user identifier are returned to the first client by sub-step S21 End;
Sub-step S22, receives what is returned from first client, in associated one or more second user marks The one or more second users mark determined in knowledge.
In embodiments of the present invention, second user mark can have incidence relation with the first user identifier, that is, it is " good to be commonly called as Friend ", which can be level-one incidence relation, i.e. active user and targeted customer's (i.e. use of second user mark characterization Family) it is direct " good friend " relation;The incidence relation can be respiratory sensation relation, as two level incidence relation can refer to, currently There is " good friend " relation in user, and the intermediate user has " good friend " relation with targeted customer with some intermediate user, current to use " good friend " relation is not present with targeted customer in family.
In practical applications, Cloud Server can be pushed preferentially active user more gets close to (such as level-one incidence relation) The second user of other users is identified to the first client, active user and can selected in the first client by ad hoc fashion Select, such as click independent button of clicking on, or click option etc. in pop-up window, identified second user mark can be The whole second users mark (i.e. whole good friends) or part second user mark of push (are specified specific by active user's selection Good friend).
Certainly, when implementing the embodiment of the present invention, other second users can be set to identify according to actual conditions definite Mode, for example, second user of the push without incidence relation identifies to the first client and allows active user to make choice, or Person, determines to identify in the second user of the user of areal with active user, alternatively, searching by logging in the modes such as IP address With current when second user mark of user of the user with same or similar interest/behavioural information, etc., the embodiment of the present invention This is not any limitation as.
Step 104, using the keyword in one or more of second cloud storage spaces search file;
In the second cloud storage space, each file can have a fileinfo, the fileinfo can include title, At least one of type, characteristic information, storage address information.
Certainly, above-mentioned fileinfo is intended only as example, when implementing the embodiment of the present invention, can be set according to actual conditions Alternative document information is put, for example, file size, directory information, historical operation information, remarks etc., the embodiment of the present invention is to this It is not any limitation as.
In a kind of alternative embodiment of the present invention, step 104 can include following sub-step:
Sub-step S31, one or more of second cloud storage spaces, using the keyword and each fileinfo At least one of title, type information is matched;
Sub-step S32, when successful match, judges the search file success in the second cloud storage space;
Sub-step S33, when it fails to match, judges that search file fails in the second cloud storage space.
In embodiments of the present invention, can be believed with file of the keyword that active user inputs in the second memory space Title, the type of breath are matched.
In embodiments of the present invention, can be according to title, the type of default matched rule keyword and each file No matching.
The default matched rule can be natural language processing analysis rule, or or regular expression rule Then, alternatively, and the combination of the two.
Wherein, natural language processing analysis rule is roughly divided into two aspects, and one is superficial layer analyzing, such as segments, part of speech Mark, usually need to only analyze and process the subrange of sentence;Another aspect is that the processing of deep layer is carried out to language, is needed Global analysis is carried out to sentence, usually these three levels are analyzed to syntax, semanteme and pragmatic in analysis.
Regular expression rule represents matched rule generally by some characters with specific meanings, for example, One input of character " ^ " matching or the beginning of a line, such as " ^a " matching " an A ", and mismatch " An a ";Character " $ " matching one A input or the ending of a line, such as " a " matching " An a ", and mismatch " an A ";Character " * " matching above metacharacter 0 time or Repeatedly, such as " ba* " will match " b ", " ba ", " baa " and " baaa " etc..
Under normal conditions, natural language processing analysis rule is mainly used to solve synonymous word problem, regular expression rule Then it is mainly used to handle long-tail word.Furthermore it is also possible to some self-defined matched rules are matched, the embodiment of the present invention to this not It is any limitation as.
In addition, in order to ensure the right of privacy of user and right to know, the user of second user mark characterization can be first checked Whether specified plan is added, such as resource sharing plan.If the user of second user mark characterization adds specified plan, Then confirm that the user of second user mark characterization authorizes search behavior of the Cloud Server in the second cloud storage space, Cloud Server can perform the search operation in the second cloud storage space, if the user of second user mark characterization does not add Plan is specified, then confirms the user of second user mark characterization not to search behavior of the Cloud Server in the second cloud storage space Authorized, Cloud Server forbids performing the search operation in the second cloud storage space.
The embodiment of the present invention is asked for file search, using keyword in the first cloud storage space search file, the When one cloud storage space search file fails, using keyword in one or more second cloud storage spaces search file, by It is mainly used for storing the file of user in cloud storage space, in resource set, and the resource of the first manual sorting of user often compares The resource that the machinery such as search engine returns is more efficient, improves the probability for searching resource needed for user, avoids user in net Cumbersome artificial filter is carried out to the resource of magnanimity on network, reduces the consuming of user time and energy, decreases user and set Standby and the system resources consumption of website, the occupancy of network bandwidth, substantially increase the efficiency, quality and capacity of resource acquisition.
In a kind of alternative embodiment of the present invention, the method can also include the following steps:
Step 105, in the second cloud storage space during search file success, by the text of the one or more files searched Part information returns to first client.
, can be with the text for Keywords matching with the file belonging to the title or type of Keywords matching in successful match Part, Cloud Server can return the fileinfo (such as title, type, file size, directory information, owning user) of this document Return the first client.
In a kind of alternative embodiment of the present invention, step 105 can include following sub-step:
Sub-step S41, generates the prompt message of file-sharing;
Sub-step S42, by the prompt message send to the one or more fileinfos searched it is corresponding one or Multiple second clients;
Sub-step S43, when receiving the confirmation instruction that one or more of second clients return, by what is searched The fileinfo of one or more files is sent to first client.
In the embodiment of the present invention, after in the second cloud storage space search to relevant file, file-sharing can be generated Prompt message, such as " whether resource XXX is shared with user XXX ".
If second user identifies corresponding user and logged in the second client, the prompting that this document is shared can be believed Breath is sent to second client, to allow user to make choice.
If second user identifies corresponding user and is not logged in any client, the prompting that can share this document Information carries out sending (i.e. user logs in the second client and is transmitted again) offline, alternatively, not sending, the embodiment of the present invention is to this It is not any limitation as.
When one or more files that user is confirmed for the prompt message, then Cloud Server will can search Fileinfo (such as title, type, file size, directory information, owning user) send to the first client.
In addition, if user is refused for the prompt message, Cloud Server can refuse will search one Or the fileinfo (such as title, type, file size, directory information, owning user) of multiple files is sent to the first client End.
Certainly, specified plan whether is added in the user of second user mark characterization, such as situations such as resource sharing plan Under, then confirmed without waiting for user for the prompt message, the one or more text that Cloud Server will can also search The fileinfo (such as title, type, file size, directory information, owning user) of part is sent to the first client, the present invention Embodiment is not any limitation as this.
In a kind of alternative embodiment of the present invention, the method can also include the following steps:
Step 106, when receiving the collection request of the first client transmission, corresponding file is asked into the collection File information storage is in the first cloud storage space.
Collection request can refer to the instruction for collecting some file that user sends, and Cloud Server is asked for the collection, The collection of file can be completed by the file information storage of the selected file of user in the first cloud storage space.
In embodiments of the present invention, other users have formerly collected same file, i.e., have existed on Cloud Server Identical file, then, when active user collects identical file, the operation of transmission this document can be saved, can be quick Complete collection.
For example, user A has collected 100M video datas " person of bearing cat .rmvb ", then cloud service in the second cloud storage space File is had existed on device " person of bearing cat .rmvb ", user B in the first cloud storage space search " person of bearing cat " failure, and the Two cloud storage space search are successful, then user can indicate all file " person of bearing cat .rmvb ", due to saving of collection user A " transmitting procedure of the person of bearing cat .rmvb ", can be rapidly completed collection to file.
The embodiment of the present invention is asked for collection, by the file information storage of corresponding file in the first cloud storage space, The process of file transmission is eliminated, reduces bandwidth occupancy, improves collection efficiency.
In a kind of alternative embodiment of the present invention, the method can also include the following steps:
Step 107, when receiving the download request that first client is sent, it is corresponding to search the download request The storage address of file;
Step 108, by the corresponding data sending of the storage address to first client.
Collection request can refer to the instruction for downloading some file that user sends, and Cloud Server is directed to the download request, It can be completed by the data sending of the corresponding storage address direction of the selected file of user to the first client under file Carry.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area Technical staff should know, the embodiment of the present invention and from the limitation of described sequence of movement, because implementing according to the present invention Example, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know, specification Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
With reference to Fig. 2, a kind of file search device based on cloud storage space according to an embodiment of the invention is shown The structure diagram of embodiment, can specifically include following module:
Receiving module 201, suitable for receiving the file search request that the first client is sent;Described search request includes the One user identifier and keyword;First user identifier has associated first cloud storage space;
First search module 202, suitable for using the keyword in the first cloud storage space search file;
Determining module 203, suitable for when search file fails in the first cloud storage space, determining that one or more second is used Family identifies;One or more of second user marks have associated one or more second cloud storage spaces;
Second search module 204, suitable for being searched using the keyword in one or more of second cloud storage spaces Rope file.
In a kind of alternative embodiment of the present invention, described device can also include following module:
Module is returned to, suitable for the one or more text that during search file success, will be searched in the second cloud storage space The fileinfo of part returns to first client.
In practical applications, in the first cloud storage space, each file can have fileinfo, the fileinfo It can include at least one of title, type, characteristic information, storage address information.
In a kind of alternative embodiment of the present invention, first search module 202 can be adapted to:
In the first cloud storage space, using in the title of the keyword and each fileinfo, type at least A kind of information is matched;
When successful match, the search file success in the first cloud storage space is judged;
When it fails to match, judge that search file fails in the first cloud storage space.
In a kind of alternative embodiment of the present invention, the determining module 203 can be adapted to:
The associated one or more second user marks of first user identifier are returned into the first client;
Receive what is returned from first client, determined in associated one or more second user marks One or more second user marks.
In practical applications, in the second cloud storage space, each file can have fileinfo, the fileinfo It can include at least one of title, type, characteristic information, storage address information.
In a kind of alternative embodiment of the present invention, second search module 204 can be adapted to:
One or more of second cloud storage spaces, using title, the type of the keyword and each fileinfo At least one of information matched;
When successful match, the search file success in the second cloud storage space is judged;
When it fails to match, judge that search file fails in the second cloud storage space.
In a kind of alternative embodiment of the present invention, the return module can be adapted to:
Generate the prompt message of file-sharing;
The prompt message is sent to corresponding one or more second visitors of one or more fileinfos searched Family end;
When receiving the confirmation instruction that one or more of second clients return, the one or more that will search The fileinfo of file is sent to first client.
In a kind of alternative embodiment of the present invention, described device can also include following module:
Memory module, suitable for when receiving the collection request of the first client transmission, the collection being asked corresponding The file information storage of file is in the first cloud storage space.
In a kind of alternative embodiment of the present invention, described device can also include following module:
Searching module, suitable for when receiving the download request that first client is sent, searching the download request The storage address of corresponding file;
Sending module, suitable for by the corresponding data sending of the storage address to first client.
For device embodiment, since it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following embodiment are expressly incorporated in the embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit requires, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization, or to be run on one or more processor Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize that the file according to embodiments of the present invention based on cloud storage space is searched The some or all functions of some or all components in rope equipment.The present invention is also implemented as being used to perform institute here The some or all equipment or program of device of the method for description are (for example, computer program and computer program production Product).Such program for realizing the present invention can store on a computer-readable medium, or can have one or more The form of signal.Such signal can be downloaded from internet website and obtained, and either be provided or on carrier signal to appoint What other forms provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The embodiment of the invention discloses A1, a kind of file search method based on cloud storage space, including:
Receive the file search request of the first client transmission;Described search request includes the first user identifier and key Word;First user identifier has associated first cloud storage space;
Using the keyword in the first cloud storage space search file;
When search file fails in the first cloud storage space, one or more second user mark is determined;It is one Or multiple second user marks have associated one or more second cloud storage spaces;And
Using the keyword in one or more of second cloud storage spaces search file.
A2, the method as described in A1, further include:
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned Return first client.
A3, the method as described in A1, in the first cloud storage space, each file has fileinfo, the file letter Breath includes at least one of title, type, characteristic information, storage address information.
A4, the method as described in A3, it is described using the keyword the first cloud storage space search file step Suddenly include:
In the first cloud storage space, using in the title of the keyword and each fileinfo, type at least A kind of information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
The step of A5, method as described in A1 or A2 or A3 or A4, definite one or more second user marks, wraps Include:
The associated one or more second user marks of first user identifier are returned into the first client;And
Receive what is returned from first client, determined in associated one or more second user marks One or more second user marks.
A6, the method as described in A1 or A2 or A3 or A4, in the second cloud storage space, each file is believed with file Breath, the fileinfo include at least one of title, type, characteristic information, storage address information.
A7, the method as described in A6, it is described to use the keyword in one or more of second cloud storage spaces The step of search file, includes:
One or more of second cloud storage spaces, using title, the type of the keyword and each fileinfo At least one of information matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
A8, the method as described in A2, the fileinfo by the one or more files searched return to described first The step of client, includes:
Generate the prompt message of file-sharing;
The prompt message is sent to corresponding one or more second visitors of one or more fileinfos searched Family end;And
When receiving the confirmation instruction that one or more of second clients return, the one or more that will search The fileinfo of file is sent to first client.
A9, the method as described in A1 or A2 or A3 or A7 or A8, further include:
When receiving the collection request of the first client transmission, the collection is asked to the fileinfo of corresponding file It is stored in the first cloud storage space.
A10, the method as described in A1 or A2 or A3 or A7 or A8, further include:
When receiving the download request that first client is sent, depositing for the corresponding file of the download request is searched Store up address;And
By the corresponding data sending of the storage address to first client.
The embodiment of the invention also discloses B11, a kind of file search device based on cloud storage space, including:
Receiving module, suitable for receiving the file search request that the first client is sent;Described search request includes first User identifier and keyword;First user identifier has associated first cloud storage space;
First search module, suitable for using the keyword in the first cloud storage space search file;
Determining module, suitable for when search file fails in the first cloud storage space, determining one or more second user Mark;One or more of second user marks have associated one or more second cloud storage spaces;And
Second search module, suitable for searching for text in one or more of second cloud storage spaces using the keyword Part.
B12, the device as described in B11, further include:
Module is returned to, suitable for the one or more text that during search file success, will be searched in the second cloud storage space The fileinfo of part returns to first client.
B13, the device as described in B11, in the first cloud storage space, each file has fileinfo, the file Information includes at least one of title, type, characteristic information, storage address information.
B14, the device as described in B13, first search module are further adapted for:
In the first cloud storage space, using in the title of the keyword and each fileinfo, type at least A kind of information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
B15, the device as described in B11 or B12 or B13 or B14, the determining module are further adapted for:
The associated one or more second user marks of first user identifier are returned into the first client;And
Receive what is returned from first client, determined in associated one or more second user marks One or more second user marks.
B16, the device as described in B11 or B12 or B13 or B14, in the second cloud storage space, each file has text Part information, the fileinfo include at least one of title, type, characteristic information, storage address information.
B17, the device as described in B16, second search module are further adapted for:
One or more of second cloud storage spaces, using title, the type of the keyword and each fileinfo At least one of information matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
B18, the device as described in B12, the return module are further adapted for:
Generate the prompt message of file-sharing;
The prompt message is sent to corresponding one or more second visitors of one or more fileinfos searched Family end;And
When receiving the confirmation instruction that one or more of second clients return, the one or more that will search The fileinfo of file is sent to first client.
B19, the device as described in B11 or B12 or B13 or B17 or B18, further include:
Memory module, suitable for when receiving the collection request of the first client transmission, the collection being asked corresponding The file information storage of file is in the first cloud storage space.
B20, the device as described in B11 or B12 or B13 or B17 or B18, further include:
Searching module, suitable for when receiving the download request that first client is sent, searching the download request The storage address of corresponding file;And
Sending module, suitable for by the corresponding data sending of the storage address to first client.

Claims (14)

1. a kind of file search method based on cloud storage space, including:
Receive the file search request of the first client transmission;Described search request includes the first user identifier and keyword; First user identifier has associated first cloud storage space;
Using the keyword in the first cloud storage space search file;
When search file fails in the first cloud storage space, one or more second user mark is determined;It is one or more A second user mark has associated one or more second cloud storage spaces;Wherein, described definite one or more second The step of user identifier, includes:The associated one or more second user marks of first user identifier are returned into the first client End;And receive what is returned from first client, determined in associated one or more second user marks One or more second user marks;
And
Using the keyword in one or more of second cloud storage spaces search file;
In the second cloud storage space during search file success, the fileinfo of the one or more files searched is returned into institute State the first client;Wherein, the fileinfo by the one or more files searched returns to first client Step includes:Generate the prompt message of file-sharing;The prompt message is sent to the one or more files searched and is believed Cease corresponding one or more second clients;And when the confirmation for receiving one or more of second clients returns refers to When showing, the fileinfo of the one or more files searched is sent to first client.
2. the method as described in claim 1, it is characterised in that in the first cloud storage space, each file is believed with file Breath, the fileinfo include at least one of title, type, characteristic information, storage address information.
3. method as claimed in claim 2, it is characterised in that described to use the keyword in the first cloud storage space The step of search file, includes:
In the first cloud storage space, using at least one of the title of the keyword and each fileinfo, type Information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
4. the method as described in claim 1 or 2 or 3, it is characterised in that in the second cloud storage space, each file has Fileinfo, the fileinfo include at least one of title, type, characteristic information, storage address information.
5. method as claimed in claim 4, it is characterised in that described to use the keyword one or more of second Include in cloud storage space the step of search file:
One or more of second cloud storage spaces, using in the title of the keyword and each fileinfo, type At least one information is matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
6. the method as described in claim 1 or 2 or 5, it is characterised in that further include:
When receiving the collection request of the first client transmission, the collection is asked to the file information storage of corresponding file In the first cloud storage space.
7. the method as described in claim 1 or 2 or 5, it is characterised in that further include:
When receiving the download request that first client is sent, the storage of the corresponding file of the download request is searched Location;And
By the corresponding data sending of the storage address to first client.
8. a kind of file search device based on cloud storage space, including:
Receiving module, suitable for receiving the file search request that the first client is sent;Described search request includes the first user Mark and keyword;First user identifier has associated first cloud storage space;
First search module, suitable for using the keyword in the first cloud storage space search file;
Determining module, suitable for when search file fails in the first cloud storage space, determining one or more second user mark; One or more of second user marks have associated one or more second cloud storage spaces;Wherein, the definite mould Block is further adapted for:The associated one or more second user marks of first user identifier are returned into the first client;And connect Receive what is returned from first client, the one or more determined in associated one or more second user marks Second user identifies;
And
Second search module, suitable for using keyword search file in one or more of second cloud storage spaces;
Return module, suitable in the second cloud storage space search file success when, by the one or more files searched Fileinfo returns to first client;Wherein, the return module is further adapted for:Generate the prompt message of file-sharing;Will The prompt message is sent to corresponding one or more second clients of one or more fileinfos searched;And work as When receiving the confirmation instruction that one or more of second clients return, by the file of the one or more files searched Information is sent to first client.
9. device as claimed in claim 8, it is characterised in that in the first cloud storage space, each file is believed with file Breath, the fileinfo include at least one of title, type, characteristic information, storage address information.
10. device as claimed in claim 9, it is characterised in that first search module is further adapted for:
In the first cloud storage space, using at least one of the title of the keyword and each fileinfo, type Information is matched;
When successful match, the search file success in the first cloud storage space is judged;And
When it fails to match, judge that search file fails in the first cloud storage space.
11. the device as described in claim 8 or 9 or 10, it is characterised in that in the second cloud storage space, each file tool There is fileinfo, the fileinfo includes at least one of title, type, characteristic information, storage address information.
12. device as claimed in claim 11, it is characterised in that second search module is further adapted for:
One or more of second cloud storage spaces, using in the title of the keyword and each fileinfo, type At least one information is matched;
When successful match, the search file success in the second cloud storage space is judged;And
When it fails to match, judge that search file fails in the second cloud storage space.
13. the device as described in claim 8 or 9 or 12, it is characterised in that further include:
Memory module, suitable for when receiving the collection request of the first client transmission, the collection is asked corresponding file File information storage in the first cloud storage space.
14. the device as described in claim 8 or 9 or 12, it is characterised in that further include:
Searching module, suitable for when receiving the download request that first client is sent, searching the download request and corresponding to File storage address;And
Sending module, suitable for by the corresponding data sending of the storage address to first client.
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 CN104572945A (en) 2015-04-29
CN104572945B true 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)

Families Citing this family (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
CN110480651B (en) * 2019-08-20 2022-03-25 深圳市一恒科电子科技有限公司 Cloud establishing method and system based on interactive accompanying 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
一种私有云存储系统的设计与实现;郅斌;《中国优秀硕士学位论文全文数据库 信息科技辑》;20120415;第I137-31页 *
基于Hadoop的云存储平台的研究与实现;张兴;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140115;第I137-61页 *

Also Published As

Publication number Publication date
CN104572945A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US11435865B2 (en) System and methods for configuring event-based automation in cloud-based collaboration platforms
US10671263B2 (en) Annotating collaborative content to facilitate mining key content as a runbook
US10885007B2 (en) Custom metadata extraction across a heterogeneous storage system environment
US20190295187A1 (en) Calculating expertise confidence based on content and social proximity
US9871758B2 (en) User recommendations in a social media network
US10452702B2 (en) Data clustering
US10878033B2 (en) Suggesting follow up questions from user behavior
US9298928B2 (en) Mobile device application interaction reputation risk assessment
US8838679B2 (en) Providing state service for online application users
US10037316B2 (en) Selective capture of incoming email messages for diagnostic analysis
US20140237610A1 (en) Method and system for distributed control of user privacy preferences
US20160321254A1 (en) Unsolicited bulk email detection using url tree hashes
CN104572945B (en) A kind of file search method and device based on cloud storage space
US10831849B2 (en) Detecting and grouping users in electronic communications
US11494392B2 (en) Tracking entity activity using computer generation of values for blockchain network entries
US11240187B2 (en) Cognitive attachment distribution
US11526567B2 (en) Contextualizing searches in a collaborative session
US11475086B2 (en) User contribution engagement
US20220012365A1 (en) System and method for differentiated privacy management of user content
Ordoñez et al. Natural language processing based Services Composition for Environmental management
US20220124166A1 (en) System and method for management of online intelligence personas
KR102039527B1 (en) Apparatus and method for managing information
US20220138688A1 (en) Systems and methods for distributed ledger-based management of metadata and chain of custody of documents
US20220067539A1 (en) Knowledge induction using corpus expansion
US20190163825A1 (en) Knowledge management by connecting users

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
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.