CN103281234A - File processing method and system in instant messaging - Google Patents

File processing method and system in instant messaging Download PDF

Info

Publication number
CN103281234A
CN103281234A CN201210524648XA CN201210524648A CN103281234A CN 103281234 A CN103281234 A CN 103281234A CN 201210524648X A CN201210524648X A CN 201210524648XA CN 201210524648 A CN201210524648 A CN 201210524648A CN 103281234 A CN103281234 A CN 103281234A
Authority
CN
China
Prior art keywords
file
attribute information
complementary
user
specified
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.)
Pending
Application number
CN201210524648XA
Other languages
Chinese (zh)
Inventor
朱翼鹏
刘航
陈宁一
周云峰
胡宇光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201210524648XA priority Critical patent/CN103281234A/en
Publication of CN103281234A publication Critical patent/CN103281234A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file processing method and a file processing system in instant messaging, wherein the method comprises the following steps that a sharing file list of specified users is displayed, wherein the sharing file list is used for displaying a file roll call shared to a current user by the specified users; when the request for collecting a specified file in the sharing file list is received, the identification information of the specified file is added into the collected file list of the current user, and in addition, the file attribute information of the specified file is recorded; if the specified file in the collected file list needs to be downloaded in a P2P (peer-to-peer) downloading mode, or the specified file is continuously shared to other users, a matched file is found in the whole network range according to the file attribute information; and the request for continuous sharing or the P2P downloading of the current user is responded on the basis of the matched file. Through the file processing method and the file processing system, the speed and the success rate of the P2P downloading can be accelerated and improved.

Description

Document handling method in the instant messaging and system
Technical field
The present invention relates to the instant messaging field, be specifically related to document handling method and system in the instant messaging.
Background technology
Instant messaging (Instant Messenger, be called for short IM) is a kind of service of the instant interchange message based on the Internet.Because instant messaging fast, feature richness, social networks wide coverage, so more and more be subjected to liking of users.At present, the user not only carries out information interchange by immediate communication tool, and it is also increasing to carry out the demand of file-sharing by immediate communication tool.For example, user A can specify certain file and share to user B, perhaps share to its whole good friends, perhaps share to the good friend in certain customer group, etc., user B or its good friend etc. just can see corresponding file in the shared file tabulation of user A like this, and can select to download, collect etc.
Yet in the prior art, though when the file that download is shared, can utilize the technology of point-to-point P2P transmission,, the speed of download still remains to be improved; On the other hand, in case the sharer of file (for example aforementioned user A) is with its file deletion of sharing, then can't download this document again, other users that collected this document from share tabulation also can't download this document before, thereby make existing JICQ can't satisfy user's demand in some cases.
Summary of the invention
In view of the above problems, propose the present invention in order to document handling method and system in a kind of instant messaging that overcomes the problems referred to above or address the above problem at least in part are provided, can improve speed and success rate that P2P downloads file.
According to one aspect of the present invention, the document handling method in a kind of instant messaging is provided, comprising:
The listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
When receiving the request that the described specified file of sharing in the listed files is collected, the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
The mode of downloading with point-to-point P2P is downloaded the specified file in the described collection listed files or described specified file is continued to be shared with other users if desired, then according to described file attribute information, searches the file that is complementary in network-wide basis;
Based on the described file response active user's who is complementary P2P download or the request that continues to share.
Alternatively, described P2P download request based on the described file response active user who is complementary comprises:
The described file that is complementary is transferred to the active user in the mode of P2P.
Alternatively, described according to described file attribute information, in network-wide basis, search the file that is complementary and comprise:
According to described file attribute information, in the file of server backup, search the file that is complementary.
Alternatively, described according to described file attribute information, in network-wide basis, search the file that is complementary and comprise:
According to described file attribute information, determine to preserve the target P 2P network node that has the file of same file attribute information with described specified file;
Described P2P download request based on the described file response active user who is complementary comprises:
Described target P 2P network node is returned to the P2P client, so that described P2P client is selected neighbor node from described target P 2P network node, and download by the P2P that described neighbor node is finished described specified file.
Alternatively, the file attribute information of the described specified file of described record comprises:
Generate corresponding task ID and preservation, include the file attribute information of described specified file in the described task ID.
Alternatively, the customer attribute information that also includes the participator in the described task ID.
Alternatively, described file attribute information is the content check information of file, and described content check information comprises cyclic redundancy check (CRC) code and/or message digest algorithm value.
According to a further aspect in the invention, provide the document handling system in a kind of instant messaging, having comprised:
Display unit is for the listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
The collection unit is used for when receiving the request that the described specified file of sharing listed files is collected, and the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
Search the unit, the mode that is used for downloading with point-to-point P2P is if desired downloaded the specified file of described collection listed files or described specified file is continued to be shared with other users, then according to described file attribute information, in network-wide basis, search the file that is complementary;
Response unit is used for based on the described file response active user's who is complementary P2P download or the request that continues to share.
Alternatively, described response unit specifically is used for:
The described file that is complementary is transferred to the active user in the mode of P2P.
Alternatively, the described unit of searching comprises:
First searches subelement, is used for according to described file attribute information, searches the file that is complementary in the file of server backup.
Alternatively, the described unit of searching comprises:
Second searches subelement, is used for according to described file attribute information, determines to preserve the target P 2P network node that has the file of same file attribute information with described specified file;
Described response unit comprises:
Point-to-point download subelement is used for described target P 2P network node is returned to the P2P client, so that described P2P client is selected neighbor node from described target P 2P network node, and downloads by the P2P that described neighbor node is finished described specified file.
Alternatively, described collection unit comprises:
Generate subelement, be used for generating corresponding task ID and also preserve, include the file attribute information of described specified file in the described task ID.
Alternatively, the customer attribute information that also includes the participator in the described task ID.
Alternatively, described file attribute information is the content check information of file, and described content check information comprises cyclic redundancy check (CRC) code and/or message digest algorithm value.
According to the document handling method in the instant messaging provided by the invention and system, when other files of sharing with the user are collected, can note the attribute information of file, like this, when the user need carry out the download of P2P mode or continue to be shared with other users the file of collection, just can in network-wide basis, find the file that is complementary according to the attribute information of file, and download or continue sharing service for the active user provides, therefore, in embodiments of the present invention, just can accelerate mutually so long as have the node of the file of same file attribute information, can improve speed and success rate that P2P downloads.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the flow chart of method according to an embodiment of the invention; And
Fig. 2 shows the schematic diagram of system according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Though shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Referring to Fig. 1, the document handling method in the instant messaging that the embodiment of the invention provides can may further comprise the steps:
S101: the listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
When an instant communication users is shared file to its good friend, will generate this user's the listed files of sharing, for the list that shows the All Files that this user shares out.Certainly, in actual applications, a user is when sharing file, may be shared with one of appointment or a class user etc., like this, for different users, the concrete quantity of documents of sharing in the listed files of this user's first that can see may be different.For example, user's first is shared with its good friend's second with certain file A, then has only good friend's second to see and contains this document A sharing of user's first in the listed files; Suppose that user's first is shared with each user in its customer group with file B, then each user in this customer group can both see and has file B sharing of user's first in the listed files, etc.In a word, when user's second check another user's first share listed files the time, can share object according to what user's first arranged when sharing file, the document presentation that is shared with this user's second is shared in the listed files at it.
S102: when receiving the request that the described specified file of sharing in the listed files is collected, the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
User's second can be collected the file in the shared file tabulation of user's first seeing the sharing after the listed files of user's first, in order to follow-up other users are downloaded or be shared with to this document.In embodiments of the present invention, when receiving the request of certain file of collection, can record the file attribute information of described specified file.During specific implementation, can be according to the file of collection event and collection, the task ID that generation is corresponding is also preserved, and can include in this task ID by the file attribute information of collection file, for follow-up use.Certainly, in actual applications, also customer attribute information can be comprised in this task ID, also, when sharing a file at every turn or collecting a file, participator or collector's customer attribute information can be included in the corresponding task ID.
Wherein, the file attribute information of being collected file is mainly used in the file comparison in the subsequent process, and also namely relatively whether two files are identical, and follow-up this being had at length introduced.Therefore, file attribute information can be the descriptor such as filename, size, type of file.But in actual applications, if the filename difference of two files, but the content of file but may be identical, for example, two files all are certain films, but the filename of these two files but may be different, but the user is when downloading or sharing certain file, general main concern be the content of file, for example, when the user selects to download certain film, so long as this film gets final product, and do not need what the relational file name is.Therefore, under a kind of preferred mode, file attribute information can refer to the content check information of file, also namely is used for embodying some information of file particular content, whether whether it is identical to utilize this content check information to compare two files, perhaps be the identical download of user or the file shared.Concrete, the content check information can comprise cyclic redundancy check (CRC) code (CRC) and/or message digest algorithm value (for example MD5 etc.), etc.
Cyclic Redundancy Check is a kind ofly to produce brief fixedly a kind of hash function of figure place check code according to data such as network data package or computer archives, be mainly used to detect or checking data transmission or preservation after the mistake that may occur.The data back is calculated and appended to the numeral that generates in transmission or before storing, and whether recipient's specified data of testing changes then.Also namely, if the content of two files is identical, then the CRC of two files must be identical, therefore, can whether identical by the CRC that compares two files, determine whether the particular content of two files is identical.
MD5 has been widely used in to file transfer the certain reliability aspect is provided.For example, server provide in advance a MD5 verification and, the user has downloaded after the file, with the MD5 algorithm calculate the MD5 verification of downloading file and, then by these two verifications of inspection with whether consistent, just can judge whether downloaded files makes mistakes.Even in original text, do its MD5 verification of a little variation (such as replacing d with c) and also huge variation can take place.Therefore, in embodiments of the present invention, equally also can judge whether two files are identical with the MD5 value of file.
Need to prove, generally speaking, the reliability of message digest algorithm is greater than cyclic redundancy check (CRC), also be, if the CRC difference of two files can prove that the content of two files is different certainly, yet, if the CRC sign indicating number of two files is identical, then the content of two files is but not necessarily identical.But the CRC sign indicating number has only two to account for byte, and MD5 will account for 16 bytes, and therefore, when carrying out verification with the CRC sign indicating number, efficient can be than higher.To sum up, specifically when whether the content of two files relatively is identical, can at first compare based on the CRC sign indicating number, if different, then directly determine the content difference of two files; If the CRC sign indicating number is identical, then further relatively whether the MD5 value of two files is identical, if identical, then the content of definite two files is identical, otherwise, determine the content difference of two files.Like this, be equivalent at first by the CRC sign indicating number content be affirmed that different file filters falls, only verify further at the identical file of CRC sign indicating number then, therefore, be equivalent to fully utilize the advantage of two kinds of identifying codes, both can have improved verification efficiency, can guarantee the reliability of verifying again.
S103: the mode of downloading with point-to-point P2P is downloaded the specified file in the described collection listed files or described specified file is continued to be shared with other users if desired, then according to described file attribute information, searches the file that is complementary in network-wide basis;
After a user has collected certain file, the identification information of this document (for example title etc.) can appear in this user's the collection listed files, which all collected the file except representing the user in this tabulation, can also provide the operation entry that the file of collection is downloaded or continued to share for the user, like this, the user can download the file of collection, perhaps also the file of collection can be continued to be shared with other users.But in actual applications, such situation often occurs: user's second is when certain file A that the download user first is shared, and speed of download may be very slow; Perhaps, user's second is after having collected certain file A that user's first shares, user's first has been deleted this document A, like this, in the prior art, download this document A or this document A is shared with other users if user's second rethinks, then can not finish the operation of downloading or continuing to share because of finding data source.
The inventor finds in realizing process of the present invention, why above-mentioned situation can appear, its reason is, in instantaneous communication system, generally adopts the mode of point-to-point P2P for download service is provided, and in the existing P 2P transmission technology, be to judge according to the seed file of file whether each file is identical, also, if file A is identical with the content of file B, but seed file difference, the node that then has this file A then can't provide download service for the user that needs are downloaded file B.Therefore, if the file A that user's second wants the download user first to share, the seed file that generates in the time of then can sharing file A according to user's first, in the P2P network node, search the node that includes or downloading this document A, if and user's first has been deleted this document A, and do not have other nodes to download this document A that this user's first is shared yet, then will can't download success because of can not find data source, perhaps continue to share.
Wherein, so-called seed file is the file of a .torrent by name, and it is the finger print information of the source file made according to source file by first issue shared file person." seed " file is very little, generally at tens KB between the hundreds of KB, the check code of the BT at include file place end address information and file destination wherein.After BT user obtains " seed " file, direct operation " seed " file in the BT client software, the information that the BT client software will comprise according to " seed " file finds all available loading source of this document automatically, and downloads." seed " is the metaphor of an image, and " seed " file is exactly address, the publisher's of deposit position, the title of writing the published article part, size, Download Server a index file of data such as address.This " seed " file is not finally to want downloaded files (as film, software etc.), but will download the file that needs, and just must download " seed " file earlier.
That is to say, for seed file of the prior art, if the content of two files is identical, if but differences such as filename, deposit position, then all can cause the seed file difference that generates, then these two files will be identified as different files in the P2P network, have between the node of these two files to download the other side's file mutually.But, in the P2P download network, because each user can be as a node in the network, and each node can serve as the role server in the downloading process, for other nodes provide the data download service, therefore, can provide the node of data source more many, speed of download just can be more fast, and the success rate of download is also just more high.And in the prior art, owing to need judge whether file is identical according to seed file, therefore, make and have between the user of same file content, different seed files, can not accelerate mutually, this has just caused after the deletion of file that original participator shares it, has collected the situation that this user who shares file just can't finish download probably.
In a word, for the file with same file content, in a plurality of nodes of being everlasting, exist simultaneously, perhaps downloaded by a plurality of nodes simultaneously, descriptors such as the title of each file, address may be not quite similar, but in fact content is on all four, if can take full advantage of the identical data source of this content, then can improve the efficient of transfer of data largely.
Based on above-mentioned analysis, in embodiments of the present invention, at first can the download mechanism of P2P network be improved, concrete, can carry out verification to file is whether identical according to the content check information of file, rather than based on seed file, like this, after first participator's first is being shared certain file A, just this document A can be uploaded onto the server, at server end this document is backed up, and note the content check information of this document A; Follow-up when having participator's second to share certain file B again, server is at first according to the content check information of file B, judge whether that other users shared the file with identical content, for example, the content check information of file B is identical with the content check information of file A just, then can directly return the message of sharing success to user's second, also be, do not need again the file B of user's second is uploaded onto the server, user's second will be seen the effect of " second biography ", also namely after clicking " sharing " certain file, just can receive the response of uploading success in a short period of time, but in fact really its file is not uploaded onto the server, the very short period of this section is only used for judging in the file that server backed up whether have the file that is complementary with the content verification information of the current file that will share.
That is to say, in embodiments of the present invention, for the file of identical content, different descriptors, only can back up a file that participator first uploads at server end, other will no longer back up.And, when a file is shared at every turn or is collected, all can generate corresponding task ID (taskID), can include the content check information of being shared or being collected file among this task ID, like this, the file with identical content check information will be used as identical file and treats.When receiving the request of downloading certain file, just can be according to the content check information of requested file, find the node of the file that includes the identical content check information, and the node of downloading the file that contains the identical content check information, return to the requesting party then, like this, the requesting party just can select the neighbor node of oneself from these nodes, carry out the download of file from its neighbor node then.In addition, if there is not the file with identical content check information in all nodes, and do not have node downloading such file yet, can also directly provide download by the file that backs up in the server for the user.
Based on above this implementation, for the file A that user's first was shared, if there are other users also to continue to share this document A, perhaps other subscriber's locals are preserved the file that has the identical content check information with file A, can provide download for the user that needs are downloaded file A, therefore, even user's first has been deleted file A, also can provide download for the user who collected file A by these users, in addition, because server end also backs up the file that has an identical content check information with file A, therefore, server end also can provide the download of file for the user.
That is to say that if the active user need download certain specified file from the collection listed files, the content verification information that comprises in the task ID that generates in the time of then can be according to collection is searched the file that is complementary in the P2P network-wide basis.Finally for providing file, this current user downloads, it may be the original user of sharing this specified file, also may be the user who continues to share this specified file, also may be to share the user who has the file of identical content authorization information with this specified file, etc., active user's P2P client just can be selected best neighbor node from these nodes then, downloads this specified file from these neighbor nodes.So just be equivalent to realize that the whole network that P2P downloads accelerates.
That is to say, when certain user's first is wanted to download or is continued to share the file of its collection, not only can at first search this document to user's second place that user's first is shared this document, can also be active user's contact person, the good friend, search in the scopes such as circle, as long as find the identical file of file attribute information, the participator of file no matter then, whether share information such as time identical, can be as the data source of current download request, carry out transfer of data to active user P2P ground, like this, even initial user's second from this document to user's first that share is with this document deletion, user's first can be finished the download of file or the operation that continues to share equally.
S104: based on the described file response active user's who is complementary P2P download or the request that continues to share.
After finding the file that is complementary, get final product for the active user provides file download or file to share according to this file that is complementary.For example, directly the file that will be complementary from the server sends to the active user, perhaps adopts the mode of P2P, from the active user's that includes the file that is complementary online neighbor node, finishes the download of file.
Corresponding with the document handling method in the instant messaging that the embodiment of the invention provides, the embodiment of the invention also provides the document handling system in a kind of instant messaging, and referring to Fig. 2, this system can comprise:
Display unit 201 is for the listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
Collection unit 202, be used for when receiving the request that the described specified file of sharing listed files is collected, the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
Search unit 203, the mode that is used for downloading with point-to-point P2P is if desired downloaded the specified file of described collection listed files or described specified file is continued to be shared with other users, then according to described file attribute information, in network-wide basis, search the file that is complementary;
Response unit 204 is used for based on the described file response active user's who is complementary P2P download or the request that continues to share.
Wherein, described response unit 204 specifically can be used for:
The described file that is complementary is transferred to the active user in the mode of P2P.
The described unit 203 of searching can comprise:
First searches subelement, is used for according to described file attribute information, searches the file that is complementary in the file of server backup.
Perhaps, under another kind of implementation, the described unit 203 of searching also can comprise:
Second searches subelement, is used for according to described file attribute information, determines to preserve the target P 2P network node that has the file of same file attribute information with described specified file;
Accordingly, described response unit 204 comprises:
Point-to-point download subelement is used for described target P 2P network node is returned to the P2P client, so that described P2P client is selected neighbor node from described target P 2P network node, and downloads by the P2P that described neighbor node is finished described specified file.
During specific implementation, described collection unit 202 can comprise:
Generate subelement, be used for generating corresponding task ID and also preserve, include the file attribute information of described specified file in the described task ID.
The customer attribute information that wherein, can also include the participator in the described task ID.
Wherein, described file attribute information is the content check information of file, and described content check information comprises cyclic redundancy check (CRC) code and/or message digest algorithm value.
Document handling system in the instant messaging provided by the invention, when other files of sharing with the user are collected, can note the attribute information of file, like this, when the user need carry out the download of P2P mode or continue to be shared with other users the file of collection, just can in network-wide basis, find the file that is complementary according to the attribute information of file, and download or continue sharing service for the active user provides, therefore, in embodiments of the present invention, just can accelerate mutually so long as have the node of the file of same file attribute information, can improve speed and success rate that P2P downloads.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also at any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice under the situation of these details not having.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 one or more in each inventive aspect, in the description 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 in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate this embodiment thus clearly into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different with this embodiment the module in the equipment among the embodiment.Can become a module or unit or assembly to the module among the embodiment or unit or combination of components, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless clearly statement in addition, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of features of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
Each parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the document handling apparatus in the instant messaging of the embodiment of the invention in practice.The present invention can also be embodied as for part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment under the situation of the scope that does not break away from 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 is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.Any order is not represented in the use of word first, second and C grade.Can be title with these word explanations.
The application can be applied to computer system/server, and it can be with numerous other universal or special computingasystem environment or configuration operation.The example that is suitable for well-known computing system, environment and/or the configuration used with computer system/server includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, system, set-top box, programmable consumer electronics, NetPC Network PC, minicomputer system, large computer system based on microprocessor and comprise the distributed cloud computing technological accumulation and inheritance of above-mentioned any system, etc.Computer system/server can be described under the general linguistic context of the computer system executable instruction of being carried out by computer system (such as program module).Usually, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they are carried out specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in the distributed cloud computing environment, task is by carrying out by the teleprocessing equipment of communication network link.In distributed cloud computing environment, program module can be positioned on the Local or Remote computing system storage medium that comprises memory device.

Claims (14)

1. the document handling method in the instant messaging comprises:
The listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
When receiving the request that the described specified file of sharing in the listed files is collected, the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
The mode of downloading with point-to-point P2P is downloaded the specified file in the described collection listed files or described specified file is continued to be shared with other users if desired, then according to described file attribute information, searches the file that is complementary in network-wide basis;
Based on the described file response active user's who is complementary P2P download or the request that continues to share.
2. the method for claim 1, described P2P download request based on the described file response active user who is complementary comprises:
The described file that is complementary is transferred to the active user in the mode of P2P.
3. the method for claim 1 is described according to described file attribute information, searches the file that is complementary and comprise in network-wide basis:
According to described file attribute information, in the file of server backup, search the file that is complementary.
4. the method for claim 1 is described according to described file attribute information, searches the file that is complementary and comprise in network-wide basis:
According to described file attribute information, determine to preserve the target P 2P network node that has the file of same file attribute information with described specified file;
Described P2P download request based on the described file response active user who is complementary comprises:
Described target P 2P network node is returned to the P2P client, so that described P2P client is selected neighbor node from described target P 2P network node, and download by the P2P that described neighbor node is finished described specified file.
5. the method for claim 1, the file attribute information of the described specified file of described record comprises:
Generate corresponding task ID and preservation, include the file attribute information of described specified file in the described task ID.
6. method as claimed in claim 5 also includes participator's customer attribute information in the described task ID.
7. as each described method of claim 1 to 6, described file attribute information is the content check information of file, and described content check information comprises cyclic redundancy check (CRC) code and/or message digest algorithm value.
8. the document handling system in the instant messaging comprises:
Display unit is for the listed files of sharing that shows designated user; Wherein, the described listed files of sharing is used for showing that described designated user is shared with active user's file list;
The collection unit is used for when receiving the request that the described specified file of sharing listed files is collected, and the identification information of described specified file is joined in active user's the collection listed files, and record the file attribute information of described specified file;
Search the unit, the mode that is used for downloading with point-to-point P2P is if desired downloaded the specified file of described collection listed files or described specified file is continued to be shared with other users, then according to described file attribute information, in network-wide basis, search the file that is complementary;
Response unit is used for based on the described file response active user's who is complementary P2P download or the request that continues to share.
9. system as claimed in claim 8, described response unit specifically is used for:
The described file that is complementary is transferred to the active user in the mode of P2P.
10. system as claimed in claim 8, the described unit of searching comprises:
First searches subelement, is used for according to described file attribute information, searches the file that is complementary in the file of server backup.
11. system as claimed in claim 8, the described unit of searching comprises:
Second searches subelement, is used for according to described file attribute information, determines to preserve the target P 2P network node that has the file of same file attribute information with described specified file;
Described response unit comprises:
Point-to-point download subelement is used for described target P 2P network node is returned to the P2P client, so that described P2P client is selected neighbor node from described target P 2P network node, and downloads by the P2P that described neighbor node is finished described specified file.
12. system as claimed in claim 7, described collection unit comprises:
Generate subelement, be used for generating corresponding task ID and also preserve, include the file attribute information of described specified file in the described task ID.
13. system as claimed in claim 12 also includes participator's customer attribute information in the described task ID.
14. as each described system of claim 8 to 13, described file attribute information is the content check information of file, described content check information comprises cyclic redundancy check (CRC) code and/or message digest algorithm value.
CN201210524648XA 2012-12-07 2012-12-07 File processing method and system in instant messaging Pending CN103281234A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210524648XA CN103281234A (en) 2012-12-07 2012-12-07 File processing method and system in instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210524648XA CN103281234A (en) 2012-12-07 2012-12-07 File processing method and system in instant messaging

Publications (1)

Publication Number Publication Date
CN103281234A true CN103281234A (en) 2013-09-04

Family

ID=49063689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210524648XA Pending CN103281234A (en) 2012-12-07 2012-12-07 File processing method and system in instant messaging

Country Status (1)

Country Link
CN (1) CN103281234A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653648A (en) * 2015-12-28 2016-06-08 北京金山安全软件有限公司 File acquisition method and device and electronic equipment
CN109634927A (en) * 2018-12-13 2019-04-16 维沃移动通信有限公司 A kind of document handling method and terminal device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409919A (en) * 1999-12-10 2003-04-09 联合视频制品公司 Features for use with advanced set-top applications on interactive television systems
CN101064715A (en) * 2006-04-24 2007-10-31 北京正信惠诚科技发展有限公司 Realization of embedded system based P2P technique
CN101072166A (en) * 2007-04-28 2007-11-14 腾讯科技(深圳)有限公司 System and method for realizing network reserved storage
CN101207612A (en) * 2006-12-18 2008-06-25 华为技术有限公司 Implementation method of peer-to-peer network and transport operation business peer-to-peer network server and peer-to-peer network system
CN101217640A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and device realizing program collection in P2P VOD
CN101232415A (en) * 2007-01-22 2008-07-30 华为技术有限公司 Equity network node visit apparatus, method and system
CN101465824A (en) * 2008-12-29 2009-06-24 腾讯科技(深圳)有限公司 Multi-source transmission system and method for instant communication file
CN101764834A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method, user terminal and system for sharing files in group

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1409919A (en) * 1999-12-10 2003-04-09 联合视频制品公司 Features for use with advanced set-top applications on interactive television systems
CN101064715A (en) * 2006-04-24 2007-10-31 北京正信惠诚科技发展有限公司 Realization of embedded system based P2P technique
CN101207612A (en) * 2006-12-18 2008-06-25 华为技术有限公司 Implementation method of peer-to-peer network and transport operation business peer-to-peer network server and peer-to-peer network system
CN101232415A (en) * 2007-01-22 2008-07-30 华为技术有限公司 Equity network node visit apparatus, method and system
CN101072166A (en) * 2007-04-28 2007-11-14 腾讯科技(深圳)有限公司 System and method for realizing network reserved storage
CN101217640A (en) * 2007-12-29 2008-07-09 腾讯科技(深圳)有限公司 A method and device realizing program collection in P2P VOD
CN101764834A (en) * 2008-12-24 2010-06-30 中国移动通信集团公司 Method, user terminal and system for sharing files in group
CN101465824A (en) * 2008-12-29 2009-06-24 腾讯科技(深圳)有限公司 Multi-source transmission system and method for instant communication file

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105653648A (en) * 2015-12-28 2016-06-08 北京金山安全软件有限公司 File acquisition method and device and electronic equipment
CN109634927A (en) * 2018-12-13 2019-04-16 维沃移动通信有限公司 A kind of document handling method and terminal device

Similar Documents

Publication Publication Date Title
CN103269302A (en) Shared file management method and system for instant messaging
US10848556B2 (en) Systems and methods for adding digital content to content management service accounts
US9594759B2 (en) Backup and archival of selected items as a composite object
CN102713965B (en) The scalable theme of data source is assembled
US9880983B2 (en) Methods and systems for uniquely identifying digital content for eDiscovery
Pennock Web-archiving
US8615477B2 (en) Monitoring relationships between digital items on a computing apparatus
US11356498B2 (en) Method and a device for sharing a hosted application
US10333877B2 (en) Methods of generating signatures from groups of electronic messages and related methods and systems for identifying spam messages
US20110167114A1 (en) Automatically synchronizing new contacts across multiple social networking sites
US20130124562A1 (en) Export of content items from multiple, disparate content sources
US20140236905A1 (en) Method and system for scanning files of a device by using cloud computing
US20140372472A1 (en) Data augmentation
US9929996B2 (en) Common email database for a plurality of users
CN103678487A (en) Method and device for generating web page snapshot
US20140006539A1 (en) Cache control for web application resources
CN103634392A (en) Method, system, terminal equipment and servers for offline file transmission
CN104050292A (en) Traffic-saving mode search service method, server, client and system
CN103269351A (en) File download method and device
US10320731B2 (en) System and method for threading electronic messages
CN105765570A (en) Music identification
CN103678535A (en) Browser and downloading method thereof
CN103281234A (en) File processing method and system in instant messaging
CN103269352A (en) Point-to-point (P2P) file downloading method and device
US10313284B1 (en) Upload and share files to a sharing service using a messaging client

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130904

RJ01 Rejection of invention patent application after publication