CN101090376B - Method for creating virtual label file, sharing and download file - Google Patents

Method for creating virtual label file, sharing and download file Download PDF

Info

Publication number
CN101090376B
CN101090376B CN 200710123481 CN200710123481A CN101090376B CN 101090376 B CN101090376 B CN 101090376B CN 200710123481 CN200710123481 CN 200710123481 CN 200710123481 A CN200710123481 A CN 200710123481A CN 101090376 B CN101090376 B CN 101090376B
Authority
CN
China
Prior art keywords
virtual
shared
list
file
folder
Prior art date
Application number
CN 200710123481
Other languages
Chinese (zh)
Other versions
CN101090376A (en
Inventor
李斌
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to CN 200710123481 priority Critical patent/CN101090376B/en
Publication of CN101090376A publication Critical patent/CN101090376A/en
Application granted granted Critical
Publication of CN101090376B publication Critical patent/CN101090376B/en

Links

Abstract

This invention provides a method for setting up visual label files including: when receiving an order of setting up a virtual label file, a prompt communication customer end generates a virtual label file with the virtual label name and stores it, and generates an additive actual path for storing local files and actual file name in the virtual file and stores them when receiving an order of adding local stored file in the label file, a method for sharing files, a server and a customer end, so long as a sharing user shares a necessary shared label to other user, it can share all corresponding shared files to the user at one run.

Description

一种共享及下载文件的方法 A method of sharing and downloading files

技术领域 FIELD

[0001] 本发明涉及互联网领域,尤其涉及一种共享及下载文件的方法及一种客户端和服务器。 [0001] The present invention relates to the field of the Internet, sharing, and more particularly to a method and a file download client and server.

[0002] 背景技术 [0002] BACKGROUND OF THE INVENTION

[0003] 网络即时通讯工具已经被大多数的网络用户所接收。 [0003] instant messaging network has been received by the majority of network users. 目前网络即时通讯工具成为了大多数网络用户必不可少的即时通讯工具,在用户的工作和生活中得到广泛的使用。 The current network instant messaging tools has become essential for most network users instant communication tools, widely used in the user's work and life. 因此用户对即时通讯工具的易用性等方面提出了更高的要求。 Therefore, the user usability aspects and other instant messaging tools put forward higher requirements.

[0004] 目前的网络即时通讯工具,除了可以为广大用户提供聊天功能,还可以提供文件共享等功能。 [0004] The current instant messaging network, in addition to providing chat functionality for the majority of users, but also can provide file sharing. 目前文件共享功能的实现是通过下述方法实现的:首先被共享联系人A将共享文件/共享文件夹及共享联系人名单B发送到服务器存储;服务器控制文件的共享处理, 将被共享联系人A上传的共享文件/共享文件夹进行存储管理同时服务器建立对应的文件索引与序号;当共享联系人B打开查看该用户的共享文件/共享文件夹的时候,则通过服务器更新本地对应的文件索引列表显示出共享文件列表;如果共享联系人B希望下载,则通过与服务器的连接进行文件数据流的下载处理。 Currently file sharing function is realized by the following method: first shared contact A shared file / folder and share the shared contact list to the server memory B; control file sharing processing server, will be shared contacts a shared file upload / shared folder while the storage management server in association with the file index number; shared contacts B when viewing the user opens a file shared / shared folder, the server updates the corresponding local file index list shows a list of shared files; If you want to download shared contact B, the file data download process stream by connecting to the server.

[0005] 从上述的共享文件功能实现方法看,目前用户的共享方式只是采用操作系统的文件组织方式,如果在不同的文件夹下的文件需要共享多个文件夹,或者进行拷贝建立新文件夹的方式,不方便用户共享以及组织文件;并且共享时是采用将文件上传到服务器存储, 下载也是通过服务器下载;这样就容易造成占用过多的用户客户端与服务器之间带宽,并且浪费过多的服务器存储资源。 [0005] From the above-described functions implemented method of file sharing, the current user's shared manner except that the operating system files are organized, if need to share files in different folders in the plurality of folders, or copy create a new folder the way users share and organize files is not convenient; and when using file sharing is uploaded to the server storage, download also download server; so it is easy to cause excessive occupied bandwidth between client and server user, and waste too much the server storage resources.

[0006] 发明内容 [0006] SUMMARY OF THE INVENTION

[0007] 为了解决上述的不方便用户共享以及组织文件、占用过多的用户客户端与服务器之间带宽,并且浪费过多的服务器存储资源的问题,本发明实施例是通过下述方案解决的: [0007] To solve the above inconvenience, and user organizations share files, a user bandwidth between client and server excessive, and excessive wastage server storage resources, embodiments of the present invention is solved by the following scheme :

[0008] 即时通讯客户端接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签。 When the [0008] instant messaging client receives the command to create a virtual folder labels, generate virtual tags file with the virtual folder name tag and save; when receiving the locally stored files to add to the virtual tag folder command to generate added the local storage file and the actual path of the local storage of the actual file name to save the virtual folder tab; file in the virtual file folder labels to different types and names of the files associated with different types of files with different names attribute to the virtual tag. 其中,接收到修改虚拟标签文件夹的命令、修改本地存储文件路径、删除本地存储文件路径时,按照接收到的命令改变虚拟标签文件夹的存储信息;当客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器;服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储。 Wherein the received command modifies the virtual label folders, modify the local storage file path, when you delete locally stored file paths, changing the information stored virtual tag folders according to the command received; when the client receives the list of folders selected virtual tag command, the actual path list comprising locally stored shared file directory and each shared file; selected virtual folder list, the username is shared and shared selected list to the server; via shared server receives after the user name confirmation request to share files legally, the virtual tag folder list, select the user name corresponding to the list of shared shared user name is stored.

[0009] 本发明实施例提供了一种共享文件的方法,该方法包括:即时通讯客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件;服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签。 [0009] The embodiment provides a method of sharing files of the present invention, the method comprises: when instant messaging client receives the selected virtual tag folder list command, the list includes shared files and directories for each share files stored locally the actual path; selected virtual tag folder list is shared username is a list of shared and selection to the server, requesting a shared file; after by being shared user name server receives confirmation request file sharing method, a virtual tag file folder list, select the list of user names corresponding to the shared memory is shared by a user name; file in the virtual file folder labels to different types and names of the different types of files with different names associated with the file attribute of the virtual tags.

[0010] 本发明实施例还提供了一种共享文件的方法,该方法包括:即时通讯客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;发送被共享用户名至服务器查询虚拟标签文件夹列表的序列号;接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签; [0010] Embodiments of the present invention also provides a method of sharing files, the method comprising: instant messaging client receives the selected virtual tag folder list command, the list includes local storage shared file directory and each shared file the actual path; transmitting to a name server is shared user query sequence tag number of the virtual folder list; after receiving the feedback server sequence number, it is determined whether or not the locally stored locally or whether to store the same serial number; the virtual tag file folders with different names for the file types, the different types of files with different names associated with the file attribute of the virtual tag;

[0011] 若本地不存在时,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件;服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成一个虚拟标签文件夹列表的序列号反馈给被共享用户客户端存储;若与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录,并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确,若本地未存储则不做任何处理, 若本地存储但实际路径不同则生成新的实际存储路径;并将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名发送至服务器更新;服务器更新后生成一个新虚拟标签文件夹列表序列号并存储。 [0011] If the local does not exist, the selected virtual tag folder list is shared username is a list of shared and selection to the server, requesting a shared file; by being shared user name server receives confirmation request to share files legitimate after the virtual tag folder list, list of user names to share selected corresponding to the shared user name is stored; and generating a virtual label folder list of serial numbers back to the shared user client storage; SEQ ID NO if locally stored inconsistent, acquired from the server virtual directory folder labels, and determines whether to share files and directories stored in a local storage path is correct according to the acquired virtual directory folder labels, if not stored locally does nothing, if the local store However, actual path different from the path to generate a new actual storage; and generates a new virtual path tag actual storage folder list, the user name is sent to the server shared update; update the server generates a new virtual folder list tag sequence number and stored.

[0012] 其中,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表压缩成数据包并加密后再发送至服务器;将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名压缩成数据包并加密后再发送至服务器;服务器接收所述数据包后首先进行解密、再进行解压缩确认共享文件请求是否合法。 [0012] wherein the selected virtual tag folder list, the username is the list of shared and shared selected compressed into data packets and sent to the server after encryption; and generates a new virtual path actual storage label file folder list, the user name is shared compressed into data packets and sent to the server after encryption; decrypting the first server receives the data packets, then decompressed file sharing confirmation request is legitimate.

[0013] 其中,服务器将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及服务器接收到包含有新的实际存储路径的虚拟标签文件夹列表时,进一步通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 After [0013] wherein the server virtual tags folder list, shared list of user names corresponding to the shared user name is stored, and the server receives with the new actual storage path virtual tag folder list further by sharing a username send a list of shared files prompt the user to share the list.

[0014] 本发明实施例提供了一种下载文件的方法,该方法包括: [0014] The embodiment of the present invention provides a method for downloading a file, the method comprising:

[0015] 查看共享文件信息或接收到共享文件提示信息时获取被共享用户名,选择虚拟标签文件夹,并将选择的虚拟标签文件夹及被共享用户名发送至服务器查询被共享用户是否在线;若被共享用户在线,则通过点对点的方式向被共享用户发送包含选择的虚拟标签文件夹及共享用户名称的请求信息;被共享用户通过共享用户名判断该请求是否合法,若是则通过点对点通道向共享用户传输数据;传输完毕时关闭点对点通道;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签; [0015] view shared files or information received shared file is shared when prompted to get the user name, select the virtual tag folder and select the virtual label folders and shared user name query is sent to a server share users are online; if they are sharing users online, send virtual tags contain the selected folder and share name of the user request information to be shared by the user point the way; shared users by sharing the user name determine whether the request is legitimate, if the passage through the point shared user data transmission; Close point Tunneling when transmission is completed; the virtual tag file folder file names different types, the different types of files having different file names of the attributes associated with virtual tags;

[0016] 若被共享用户离线,则向共享用户反馈失败信息。 [0016] the user is offline if they are shared, the shared feedback failure information to the user.

[0017] 对应于上述方法,本发明还提供了一种客户端,该客户端包括: [0017] correspond to the above method, the present invention further provides a client, the client comprising:

[0018] 创建单元,接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存;[0019] 发布单元,用于接收到选择选择虚拟标签文件夹列表命令,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件。 When [0018] creating unit receives the command to create a virtual folder labels, generates a virtual file having a virtual tag label name and save folder; Upon receiving the local storage file is added to the virtual folder label command to generate added local storage file and the actual path of the local storage file name to the actual virtual folder to save the label; [0019] publishing unit, configured to receive a selection list selected virtual folder tab command, the list includes shared file directory and each shared file the actual path to the local store; the selected virtual tag list of folders, shared user names list of user names and share selected to the server, the request to share files.

[0020] 其中,该客户端还包括: [0020] wherein, the client further comprises:

[0021] 判断单元,用于当接收到选择选择虚拟标签文件夹列表命令时,发送被共享用户名至服务器查询虚拟标签文件夹列表的序列号;接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号; [0021] determination means for, when receiving a selection list selected virtual folder tab command, is transmitted to the server sharing user name query sequence tag number of the virtual folder list; after receiving the feedback server sequence number, it is determined whether consistent whether stored locally or stored locally on the sequence number;

[0022] 发布单元,用于当判断单元的结果是本地不存在时向服务器请求共享文件;还用于当判断单元的结果是与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录,并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确,若本地未存储则不做任何处理,若本地存储但实际路径不同则生成新的实际存储路径;并将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名发送至服务器更新; [0022] issuing unit, when the judging unit for the result of a shared file is a request to the local server does not exist; when the determination means for further result is inconsistent with the local sequence number stored virtual tag acquired from the server folder directory and according to the acquired virtual label folders shared file directory is stored in the directory determine the storage path is correct and locally, if not stored locally does nothing, if different from the actual local storage but the actual path of the new storage path is generated ; and generates a new path actually stored virtual tag list of folders, shared user names sent to the server to update;

[0023] 接收单元,用于接收服务器反馈的虚拟标签文件夹列表的序列号并存储。 [0023] a receiving unit for receiving a feedback server virtual folders tag list and store a serial number.

[0024] 对应于上述方法,本发明提供了一种服务器,该服务器包括: [0024] correspond to the above method, the present invention provides a server, the server comprising:

[0025] 接收单元,用于接收即时通讯工具用户的共享请求,该请求包括:选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表;并验证该请求是否合法; [0025] receiving unit for receiving a request to share instant messaging users, the request includes: selection of virtual tags list of folders, shared user names list of user names and share selected; and verify that the request is legitimate;

[0026] 存储单元,用于当共享请求为合法时,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成相应的虚拟标签文件夹列表的序列号并存储,并反馈给被共享用户客户端; [0026] The storage unit, when a request is legitimate sharing, virtual folders tag list, the user name list corresponding to the selected shared user name shared memory; tag and generates the corresponding virtual folders list of serial numbers and stores and feedback to the user to be shared client;

[0027] 更新单元,用于当接收到包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名的更新命令时,将被共享用户名对应的虚拟标签文件夹列表内容进行更新,并生成新的虚拟标签文件夹列表的序列号并存储。 [0027] updating unit, when receiving the new real storage containing a virtual path tag folder list, when a user name is shared update commands will be sharing user name corresponding to the virtual tag update the contents of the folder list, and generates a new virtual folder label and store the serial number list.

[0028] 对应于上述方法,本发明还提供了一种服务器,该服务器还包括: [0028] correspond to the above method, the present invention further provides a server, which further comprises:

[0029] 通知单元,存储单元将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及更新单元接收到包含有新的实际存储路径的虚拟标签文件夹列表时,通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 After [0029] The notifying unit, the storage unit the virtual tag list of folders, shared list of user names corresponding to the shared user name is stored, and the update unit receives with new actual storage path virtual tag folder list, by sharing list of user names to send message to the shared files shared user list.

[0030] 依据本发明实施例,通过建立虚拟标签文件夹,通过虚拟标签即可建立起所有不同类型不同名称,但是具有同一特征的文件的关联属性。 [0030] The embodiments of the present invention based on document, by creating a virtual folder tab, to establish a virtual tag all the different types different names, but with the same characteristics of the associated attributes. 本地存储的共享文件,共享用户只要将需要的共享标签共享给其他用户,那么就将其对应的所有文件一次共享给其他用户, 方便了用户共享以及组织文件。 Share files stored locally, users just need to share the shared label shared with other users, then it will be all the files the corresponding time shared with other users, facilitate the user to share and organize your files. 并且被共享用户共享文件时,并不将共享文件上传到服务器,而只是将共享文件必要信息发送至服务器,由服务器进行控制;当共享用户下载共享文件时,不是通过服务器下载,而是通过点对点方式之间从被共享用户处直接下载,不仅不会浪费过多的服务器存储资源,而且加快了共享用户下载文件的进度,避免占用过多的网络资源。 When users to share files and is shared, the shared files are not uploaded to the server, but only the necessary information to the shared file server, the server is controlled; when the user downloads the shared file sharing, not through the server to download, but by point between direct downloads from being shared user, not only will not waste too much server storage resources, and accelerate the progress of the download file sharing, avoid excessive network resources. 并且用户通过虚拟标签文件列表序列号分辨虚拟标签文件列表是否为最新的,保证了客户端与服务器存储内容的一致性。 And the user distinguish the virtual tag file list of serial numbers via virtual tag file is a list of the latest, to ensure the consistency of the client and the server storing content.

[0031] 本发明实施例还采用了有共享文件信息时即时向共享用户发送提示信息的步骤, 使得共享用户能够即时了解到共享信息,进一步提高了用户满意度。 [0031] Embodiments of the invention also uses the step of sending an instant message to a user when there is a shared file sharing information, so the user can instantly understand shared information sharing, further improving the user satisfaction. 附图说明 BRIEF DESCRIPTION

[0032] 图1为本发明实施例1流程图; [0032] The flowchart in FIG. 1 1 embodiment of the invention;

[0033] 图2为本发明实施例2流程图; [0033] Example 2 FIG. 2 is a flowchart of the present invention;

[0034] 图3为本发明实施例4装置图; [0034] FIG. 34 embodiment apparatus of the present invention, FIG;

[0035] 图4为本发明实施例5装置图; [0035] The apparatus of FIG. 5 FIG. 4 embodiment of the invention;

[0036] 图5为本发明实施例6装置图。 [0036] FIG. 56 embodiment of the present invention apparatus of FIG.

具体实施方式 Detailed ways

[0037] 为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步的详细描述。 [0037] To make the objectives, technical solutions, and advantages of the present invention will become more apparent below with reference to the drawings the present invention will be further described in detail.

[0038] 实施例一,参见图1为通过虚拟标签文件夹共享文件的方法: [0038] a, see FIG. 1 is a method of virtual shared file folder tab Example:

[0039] 步骤101 :即时通讯工具用户通过用户名及密码成功登录即时通讯工具后,其所在客户端接收创建虚拟标签文件夹的命令。 [0039] Step 101: the IM user via a user name and password to successfully log instant messaging tool, it receives a command to create a virtual tag folder on the client.

[0040] 也就是用户在即时通讯工具的主面板上创建具有虚拟标签的虚拟文件夹,例如该虚拟标签为“NBA”,那么就会在即时通讯工具的主面板上生成并显示“NBA”的虚拟文件夹;本文所述的虚拟标签文件夹只是表现给用户一个表象,并不是属于计算机操作系统的文件系统。 [0040] That is to create a virtual user with a virtual file folder labels on the main panel of the instant messaging tool, such as the virtual label is "NBA", then it will generate in the main panel and display instant messaging tool "NBA" of virtual folders; herein tag virtual folders just show a representation to the user, not belonging to the computer operating system's file system.

[0041] 步骤102 :接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存。 [0041] Step 102: add the received file to local storage when the virtual folder command tag, add local storage file generated actual path and the actual file name stored locally to the virtual folder to save the label.

[0042] 这个过程用户可以把曾经保存的各种有关NBA篮球的文件都添加到这个虚拟标签的文件夹中。 [0042] This process can be used to save the user a variety of documents related to NBA basketball are added to the label of the virtual folder. 这些文件可以是视频文件,网页文件,WORD文件等等类型。 These files can be video files, page files, WORD file type and so on. 在将本地文件添加到这个虚拟标签文件夹时,会同时生成实际文件在本地存储的实际路径并保存。 When you add local files to the virtual folder labels, it will also generate the actual file and save it in the actual path to the local store. 例如, 生成的一个具有“NBA”虚拟标签的文件夹包括这些内容: For example, it has produced a document "NBA" label virtual folders include these elements:

[0043] 〈Tag Name = "NBA 乔丹” > [0043] <Tag Name = "NBA Jordan">

[0044] 〈File path = "c://nab 集锦.avi,,/> [0044] <File path = "c: // nab highlights .avi ,, />

[0045] 〈File path = "c://nab 乔丹介绍· html,,/> [0045] <File path = "c: // nab Jordan introduced · html ,, />

[0046] </Tag> [0046] </ Tag>

[0047] 这样通过虚拟标签即可建立起所有不同类型不同名称,但是具有同一特征-虚拟标签“NBA”-的文件的关联属性。 [0047] In this way you can build a virtual tag all the different types with different names but with the same features - virtual tags "NBA" - associated properties file.

[0048] 当然用户可以根据不同的需要,将建立好的虚拟标签文件夹进行修改,例如当接收到修改虚拟标签文件夹的命令、修改本地存储文件路径、删除本地存储文件路径时,按照接收到的命令改变虚拟标签文件夹的存储信息。 [0048] Of course, according to different user needs, to establish good virtual folder label to modify, for example, when receiving a command to modify the virtual label folder, file path stored locally modify, delete the locally stored file path according to the received the command change tag information stored virtual folders.

[0049] 步骤103 :当用户希望共享文件时,选择虚拟标签文件夹列表;也就是说当客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器。 [0049] Step 103: When users want to share files, select the virtual label the folder list; that is when the client receives the selected virtual tag folder list command, the list includes local shared file directory and each shared file actual path stored; selected list of virtual folders, shared user names list of user names and share selected to the server.

[0050] 步骤104 :服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储。 [0050] Step 104: After receiving server is shared by the user requesting a shared file name confirmation method, the virtual tag folder list, the list of user names corresponding to the selected shared shared user name is stored.

[0051] 实施例二,参见图2为通过虚拟标签文件夹共享文件的方法:[0052] 步骤201 :即时通讯工具用户通过用户名及密码成功登录即时通讯工具后,其所在客户端接收并执行创建虚拟标签文件夹的命令。 Second, the 2 methods by virtual tags folder to share files See Figure [0051] Example: [0052] Step 201: the IM user via a user name and password to successfully log instant messaging tool, which they receive and execute client create a virtual command label folders.

[0053] 也就是用户在即时通讯工具的主面板上创建具有虚拟标签的虚拟标签文件夹,例如该虚拟标签为“NBA”,那么就会在即时通讯工具的主面板上生成并显示“NBA”的虚拟标签文件夹;本文所述的虚拟标签文件夹只是表现给用户一个表象,并不是属于计算机操作系统的文件系统。 [0053] is the user-created virtual label with a virtual file folder labels on the main panel of the instant messaging tool, such as the virtual label is "NBA", then it will generate and display the "NBA" on the main panel of the instant messaging tool virtual label folders; herein tag virtual folders just show a representation to the user, not belonging to the computer operating system's file system.

[0054] 步骤202 :接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存。 [0054] Step 202: add the received file to the local storage folder virtual tag command, local storage file generation addition actual path and the actual file name stored locally to the virtual folder to save the label.

[0055] 这个过程用户可以把曾经保存的各种有关NBA篮球的文件都添加到这个虚拟标签的文件夹中。 [0055] This process can be used to save the user a variety of documents related to NBA basketball are added to the label of the virtual folder. 这些文件可以是视频文件,网页文件,WORD文件等等类型。 These files can be video files, page files, WORD file type and so on. 在将本地文件添加到这个虚拟标签文件夹时,会同时生成实际文件在本地存储的实际路径并保存。 When you add local files to the virtual folder labels, it will also generate the actual file and save it in the actual path to the local store. 例如, 生成的一个具有“NBA”虚拟标签的文件夹包括这些内容: For example, it has produced a document "NBA" label virtual folders include these elements:

[0056] 〈Tag Name = "NBA 乔丹” > [0056] <Tag Name = "NBA Jordan">

[0057] 〈File path = "c://nab 集锦.avi,,/> [0057] <File path = "c: // nab highlights .avi ,, />

[0058] 〈File path = "c://nab 乔丹介绍.html,,/> [0058] <File path = "c: // nab Jordan introduced .html ,, />

[0059] </Tag> [0059] </ Tag>

[0060] 这样通过虚拟标签即可建立起所有不同类型不同名称,但是具有同意特征-虚拟标签“NBA”-的关联属性。 [0060] In this way you can build a virtual tag all the different types of different names, but has agreed to feature - a virtual tag "NBA" - association properties.

[0061] 当然用户可以根据不同的需要,将建立好的虚拟标签文件夹进行修改,例如当接收到修改虚拟标签文件夹的命令、修改本地存储文件路径、删除本地存储文件路径时,按照接收到的命令改变虚拟标签文件夹的存储信息。 [0061] Of course, according to different user needs, to establish good virtual folder label to modify, for example, when receiving a command to modify the virtual label folder, file path stored locally modify, delete the locally stored file path according to the received the command change tag information stored virtual folders.

[0062] 步骤203 :当用户触发、也就是客户端接收选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;发送被共享用户名至服务器查询虚拟共享文件夹列表的序列号; [0062] Step 203: When a user triggers, that is, the client receives a selection of virtual tags folder list command, the list includes the actual path of the local storage of shared files and directories for each share files; send the user name to the server to be shared inquiry virtual shared folders serial number list;

[0063] 步骤204 :接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号;若本地不存在时执行步骤205 ;若与本地存储的序列号不一致时执行步骤207 ;若与本地存储一致时则执行步骤208 ; [0063] Step 204: After receiving the sequence number of the feedback server, it determines whether the serial number is stored locally or stored locally uniform; Step 205 if not present locally; SEQ ID NO inconsistent if locally stored performing step 207; step 208 is performed if consistent with the local storage;

[0064] 步骤205 :若本地不存在时,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件; [0064] Step 205: If the local does not exist, the selected virtual tag folder list, the list of shared username is selected and transmitted to the shared server, requesting a shared file;

[0065] 步骤206 :服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成一个虚拟标签文件夹列表的序列号反馈给被共享用户客户端存储,结束本流程; [0065] Step 206: The server, after receiving by the sharing user name confirmation request the shared file method, the virtual tag folder list, list of user names to share selected corresponding to the shared user name is stored; and generating a virtual tag list of folders the sequence number is fed back to the user client shared storage, the process ends;

[0066] 步骤207 :若与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录, 并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确;若本地未存储则执行步骤208 ;若本地存储但实际路径不同则执行步骤209 ; [0066] Step 207: if inconsistent with the serial number of locally stored, retrieved from the server the virtual tag folder contents, and determines whether the shared file directory is stored and a storage path is correct locally according to the acquired virtual tag folder directory; If not stored locally step 208 is executed; if the actual path different from local storage but step 209 is performed;

[0067] 步骤208 :不做任何处理; [0067] Step 208: no treatment;

[0068] 步骤209 :若本地存储但实际路径不同则生成新的实际存储路径;并将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名发送至服务器更新; [0068] Step 209: If the local storage is generated but the actual path different from the new actual storage path; and generates a new virtual path tag actual storage folder list, the user name is shared updates to the server;

[0069] 步骤210 :服务器更新后生成一个新虚拟标签文件夹列表序列号并存储。 [0069] Step 210: After the server generates a new virtual updated list of folders tag serial number and stored. [0070] 为了加强在共享请求中的安全性,可以在步骤205中将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表压缩成数据包并加密后再发送至服务器; [0070] To enhance security in the sharing request may be selected in a step 205 a virtual tag folder list, the username is the list of shared and shared selected compressed into data packets and sent to the server after encryption;

[0071] 并且可以在步骤209将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名压缩成数据包并加密后再发送至服务器; [0071] and may actually generates a new path is stored at step 209 the virtual tag folder list, the user name is shared compressed into data packets and sent to the server after encryption;

[0072] 步骤206、210服务器接收所述数据包后首先进行解密、再进行解压缩确认共享文件请求是否合法后在进行后续步骤。 [0072] After step 206, 210 the server receives the data packet is first decrypted and then decompressed after confirmation shared file request is legitimate performing subsequent steps.

[0073] 由于增加压缩及加密解密的步骤时,其他步骤与上述实施例基本相同,在此不再累述。 [0073] due to increased compression and encryption and decryption steps, other steps are substantially the same as the above-described embodiment, this is no longer tired.

[0074] 进一步的,为了使得共享用户能够即时了解到共享信息,提高用户满意度,可以在服务器将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及服务器接收到包含有新的实际存储路径的虚拟标签文件夹列表时,进一步通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 After the [0074] Further, in order to make users instantly share learned to share information, improve customer satisfaction, the virtual tag list of folders, shared user names in the server list corresponds to the shared storage user name, and the server receives contains there are new realities of virtual storage path label file folder list, send a further message to share files by sharing list of user names to the shared user list. 如果共享用户处于在线状态,则能够即时接收到该提示信息;如果共享用户处于离线状态,则该提示信息会存储到对应该共享用户的离线消息队列中。 If the sharing user in an online state, it is possible to instantly receive the message; if the sharing user is offline, the message will be stored in the shared user offline message queue. 由于该方法其他步骤与上述实施例相同,在此不再累述。 Since this method other steps the same as the above embodiment, this is no longer tired.

[0075] 实施例3,对应于上述实施例1、2的共享文件的方法,本发明实施例还提供了一种下载文件的方法,该方法具体为: [0075] Example 3 corresponds to Example 1 of the shared file, embodiments of the present invention further provides a method for downloading files, the method specifically comprises:

[0076] 当共享用户查看共享文件信息,或接收到共享文件提示信息时;获取被共享用户名,选择虚拟标签文件夹,并将选择的虚拟标签文件夹及被共享用户名发送至服务器查询被共享用户是否在线;若被共享用户在线,则通过点对点的方式向被共享用户发送包含选择的虚拟标签文件夹及共享用户名称的请求信息;被共享用户通过共享用户名判断该请求是否合法,若是则通过点对点通道向共享用户传输数据;传输完毕时关闭点对点通道; [0076] When users view shared files shared information, shared file or received message; acquiring shared user name, select the virtual tag folder and select the virtual label folders and shared user name query is sent to the server share users are online; if they are sharing user is online, send virtual tags contain the selected folder and share name of the user request information to be shared by the user point the way; user shared determine whether the request is legitimate by sharing the user name, if point through the shared channel transmitting user data; Close point Tunneling when transmission is completed;

[0077] 若被共享用户离线,则向共享用户反馈失败信息。 [0077] the user is offline if they are shared, the shared feedback failure information to the user.

[0078] 为了增加下载文件的安全性,也可以将共享用户向被共享用户发送包含选择的虚拟标签文件夹及共享用户名称的请求信息加密后再发送,被共享用户会根据预置的规则解密后再判断该请求是否合法。 [0078] In order to increase the security of downloaded files can also be shared users to send virtual tags containing the selected folder and share name of the user request information to be shared encryption before sending the user, the user will be shared decryption according to preset rules and then determine whether the request is legitimate.

[0079] 实施例4,参见图3对应于实施例1,本发明实施例还提供了一种客户端,该客户端包括: [0079] Example 4, see FIG. 3 corresponds to Example 1, embodiments of the present invention further provides a client, the client comprising:

[0080] 创建单元301,接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存; When [0080] creating unit 301 receives a command to create a virtual folder labels, generates a virtual file having a virtual tag label name and save folder; Upon receiving the local storage file is added to the virtual folder label command to generate added actual local storage file path and file name of the actual local storage to the virtual folder to save the label;

[0081] 发布单元302,用于接收到选择选择虚拟标签文件夹列表命令,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件。 [0081] issuing unit 302, configured to receive a selection list selected virtual folder tab command, the list includes a local memory and the shared file directory for each file share actual path; tag selected virtual folder list, the user is shared and select the name of the shared user name in the list sent to the server, the request to share files.

[0082] 实施例5,对应于实施例2,参见图4,本发明实施例提供了一种客户端,该客户端是在实施例4的基础上进行的改进,该客户端还包括了判断单元,并创建单元与发布单元的功能也有所增加: [0082] Example 5 corresponds to Example 2, see FIG. 4, there is provided an embodiment of the present invention, a client, the client is improved on the basis of the embodiment 4, further comprising a client determination unit and creates unit and publishing unit functions also increased:

[0083] 创建单元401,接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存;[0084] 判断单元402,用于当接收到选择选择虚拟标签文件夹列表命令时,发送被共享用户名至服务器查询虚拟标签文件夹列表的序列号;接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号; When [0083] creating unit 401 receives a command to create a virtual folder labels, generates a virtual file having a virtual tag label name and save folder; Upon receiving the local storage file is added to the virtual folder label command to generate added the local storage file and the actual path of the local storage file name to the actual virtual folder to save the label; [0084] determination unit 402, when receiving the selected virtual tag is selected folder list command is sent to the server share username query virtual folders tag serial number list; after receiving the feedback server sequence number, it is determined whether or not the same whether stored locally or stored locally on the sequence number;

[0085] 发布单元403,用于当判断单元的结果是本地不存在时,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件;还用于当判断单元的结果是与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录,并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确,若本地未存储则不做任何处理,若本地存储但实际路径不同则生成新的实际存储路径; 并将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名发送至服务器更新;当判断单元的结果是与本地存储的序列号一致时不做任何处理。 [0085] issuing unit 403, determination means for, when a result of the absence of local, the selected virtual tag folder list, the list of shared username is selected and transmitted to the shared server, requesting a shared document; with further to when the result of the determination unit is inconsistent with the serial number of the local storage, acquires the virtual tag folder contents from the server, and determines whether the shared file directory stored and a storage path is correct locally according to the acquired virtual tag directory of folders If not stored locally does nothing, but if local storage is different from the actual path to generate a new actual storage path; and generates a new path actually stored virtual tag list of folders, shared user names sent to the server update ; when the result of judgment is no processing unit coincides with a serial number stored locally.

[0086] 接收单元404,用于接收服务器反馈的虚拟标签文件夹列表的序列号并存储。 [0086] The receiving unit 404 for receiving the feedback server virtual folders tag list and store a serial number.

[0087] 实施例6,参见图5本发明实施例还提供了一种服务器,该服务器包括: [0087] Example 6, see FIG. 5 embodiment of the present invention further provides a server, the server comprising:

[0088] 接收单元501,用于接收即时通讯工具用户的共享请求,该请求包括:选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表;并验证该请求是否合法; [0088] The receiving unit 501 is configured to receive a request to share instant messaging users, the request includes: selection of virtual tags list of folders, shared user names list of user names and share selected; and verify that the request is legitimate;

[0089] 存储单元502,用于当共享请求为合法时,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成相应的虚拟标签文件夹列表的序列号并存储, 并反馈给被共享用户客户端; [0089] The storage unit 502 is configured to share request is legal when the virtual tag folder list, the list of user names corresponding to the selected shared user name shared memory; tag and generates the corresponding virtual folders list of serial numbers and storage, and feedback to the user to be shared client;

[0090] 更新单元503,用于当接收到包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名的更新命令时,将被共享用户名对应的虚拟标签文件夹列表内容进行更新,并生成新的虚拟标签文件夹列表的序列号并存储。 When [0090] updating unit 503, when receiving the new real storage containing a virtual path tag folder list, the update command share the user name, the user name will be shared tag corresponding to the virtual folder to update the contents list and generates a new virtual folder label and store the serial number list.

[0091] 通知单元504,存储单元将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及更新单元接收到包含有新的实际存储路径的虚拟标签文件夹列表时,通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 When [0091] The notification unit 504, a storage unit the virtual tag list of folders, shared list of user names correspond to the shared user name is stored, and the update unit receives with new actual storage path virtual tag folder list, by sharing list of user names to send message to the shared files shared user list.

[0092] 综上所述,依据本发明实施例,通过建立共享标签虚拟标签文件夹,通过虚拟标签即可建立起所有不同类型不同名称,但是具有同一特征的文件的关联属性。 [0092] In summary, embodiments according to the present invention, by establishing a shared folder virtual tag label, the label can be established through a virtual all the different types with different names, but with the same attribute file associated features. 本地存储的共享文件,共享用户只要将需要的共享标签共享给其他用户,那么就将其对应的所有文件一次共享给其他用户,方便了用户共享以及组织文件。 Share files stored locally, users just need to share the shared label shared with other users, then it will be all the files the corresponding time shared with other users, facilitate the user to share and organize your files. 并且被共享用户共享文件时,并不将共享文件上传到服务器,而只是将共享文件必要信息发送至服务器,由服务器进行控制;当共享用户下载共享文件时,不是通过服务器下载,而是通过点对点方式之间从被共享用户处直接下载,不仅不会浪费过多的服务器存储资源,而且加快了共享用户下载文件的进度,避免占用过多的网络资源。 When users to share files and is shared, the shared files are not uploaded to the server, but only the necessary information to the shared file server, the server is controlled; when the user downloads the shared file sharing, not through the server to download, but by point between direct downloads from being shared user, not only will not waste too much server storage resources, and accelerate the progress of the download file sharing, avoid excessive network resources. 并且用户通过虚拟标签文件列表序列号分辨虚拟标签文件列表是否为最新的,保证了客户端与服务器存储内容的一致性。 And the user distinguish the virtual tag file list of serial numbers via virtual tag file is a list of the latest, to ensure the consistency of the client and the server storing content.

[0093] 本发明实施例还采用了有共享文件信息时即时向共享用户发送提示信息的步骤, 使得共享用户能够即时了解到共享信息,进一步提高了用户满意度。 [0093] Embodiments of the invention also uses the step of sending an instant message to a user when there is a shared file sharing information, so the user can instantly understand shared information sharing, further improving the user satisfaction.

[0094] 以上实施例的说明只是用于帮助理解本发明的方法及其思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。 Description of the embodiments [0094] These are only used to help understand the method and idea of ​​the present invention; while those of ordinary skill in the art, according to the ideas of the present invention, in the embodiments and application scopes of change place. 综上所述,本说明书内容不应理解为对本发明的限制。 Therefore, the specification shall not be construed as limiting the present invention.

Claims (10)

1. 一种共享文件的方法,其特征在于,该方法包括:即时通讯客户端接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签;当客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器;服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存 1. A method of sharing files, wherein the method comprises: instant messaging client receives the command to create a virtual folder label, the label generates a virtual file folder with a virtual label name and save; when receiving Add Local tag storage file to the virtual file folder command, local storage file generation addition actual path and the actual file name stored locally to the virtual folder to save the label; the virtual file folder labels to different types and names of file names of the different types of files having different file attributes associated with said virtual tag; when the client receives the selected virtual tag folder list command, the list includes a local memory and the shared file directory for each file share the actual path; selected virtual folder list is shared username is a list of shared and selection to the server; by being shared user name server receives confirmation request to share files valid, the virtual tag folder list, the selected shared list of user names corresponding to the shared memory username .
2.根据权利要求1所述的建立虚拟标签文件夹的方法,其特征在于,接收到修改虚拟标签文件夹的命令、修改本地存储文件路径、删除本地存储文件路径时,按照接收到的命令改变虚拟标签文件夹的存储信息。 The method for establishing a virtual folder tag according to claim 1, wherein the received command modifies the virtual folder labels, file path stored locally modify, delete locally stored file path changes according to the received command information stored virtual tag folders.
3. 一种共享文件的方法,其特征在于,该方法包括:即时通讯客户端接收到选择虚拟标签文件夹列表命令时,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;发送被共享用户名至服务器查询虚拟标签文件夹列表的序列号;接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签;若本地不存在时,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件;服务器接收后通过被共享用户名确认请求共享文件合法后,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成一个虚拟标签文件夹列表的序列号反 3. A method of sharing files, wherein the method comprises: instant messaging client receives the selected virtual tag folder list command, the list includes the actual path of the local storage of shared files and directories for each share files; transmitting to the server the user name is shared query sequence tag number of the virtual folder list; sequence number after receiving the feedback server determines whether the serial number is stored locally or stored locally uniform; tag the virtual folders the file names of files of different types, the different types of files with different names associated with the file attribute of the virtual tag; if not present locally, the selected virtual tag folder list, the user name is shared and list of user names sharers transmitted to the server, requesting a shared file; by being shared user name server receives confirmation request to share files valid, the virtual tag folder list, list of user names to share selected corresponding to the shared user name is stored; and generates a virtual file folder labels list the serial number of anti 给被共享用户客户端存储;若与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录,并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确,若本地未存储则不做任何处理,若本地存储但实际路径不同则生成新的实际存储路径;并将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名发送至服务器更新;服务器更新后生成一个新虚拟标签文件夹列表序列号并存储。 To be shared by the user client is stored; if inconsistent with the serial number of the local storage, acquires the virtual tag folder contents from the server, and determines whether the shared file directory is in the local is stored and a storage path based on the acquired virtual tags folder directory correct, if not stored locally does nothing, but if local storage is different from the actual path to generate a new actual storage path; and generates a new path actually stored virtual tag list of folders to be shared name is sent to the user server update; create a new virtual folder label list of serial numbers and store the server update.
4.根据权利要求3所述的共享文件的方法,其特征在于,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表压缩成数据包并加密后再发送至服务器;将生成包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名压缩成数据包并加密后再发送至服务器;服务器接收所述数据包后首先进行解密、再进行解压缩确认共享文件请求是否合法。 4. The method of file sharing according to claim 3, wherein the selected virtual tag folder list, the username is the list of shared and shared selected compressed into data packets and sent to the server after encryption; the actual generates a new virtual storage path label folder list, the user name is shared compressed into data packets and sent to the server after encryption; decrypting the first server receives the data packet, and then confirm the shared file is decompressed whether the request is legitimate.
5.根据权利要求3所述的共享文件的方法,其特征在于,服务器将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及服务器接收到包含有新的实际存储路径的虚拟标签文件夹列表时,进一步通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 5. The method of file sharing according to claim 3, characterized in that the virtual label server folder list, the list of user names corresponding to share the shared user name is stored, and the server receives the actual storage with the new path the virtual label file folder list, send a further message to share files by sharing list of user names to the shared user list.
6. 一种下载文件的方法,其特征在于,该方法包括:查看共享文件信息或接收到共享文件提示信息时获取被共享用户名,选择虚拟标签文件夹,并将选择的虚拟标签文件夹及被共享用户名发送至服务器查询被共享用户是否在线;所述服务器上储存着虚拟标签文件夹列表、共享用户名列表和被共享用户名的对应关系;若被共享用户在线,则通过点对点的方式向被共享用户发送包含选择的虚拟标签文件夹及共享用户名称的请求信息;被共享用户通过共享用户名判断该请求是否合法,若是则通过点对点通道向共享用户传输数据;传输完毕时关闭点对点通道;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签;若被共享用户离线,则向共享用户反馈失败信息。 A method for downloading files, characterized in that, the method comprising: receiving view information or the shared file shared file sharing acquires user name presentation information, select the virtual folder labels, and labels the selected virtual folders and shared user name query is sent to a server share users are online; stored on the server with virtual tags list of folders, shared list of user names and shared correspondence between the user name; if they are sharing users online, point the way through request information containing selected to be shared by the user virtual tag folder and share name of the user; shared users by sharing the user name is determined whether the request is valid, if the to share user data transmission via a point channel; Close point Tunneling when transmission is completed ; file in the virtual file folder labels to different types and names of the different types and file names of the files associated with the virtual tag attributes; the user off if they are shared, the shared feedback failure information to the user .
7. 一种客户端,其特征在于,该客户端包括:创建单元,接收到创建虚拟标签文件夹的命令时,生成具有虚拟标签名称的虚拟标签文件夹并保存;当接收到添加本地存储文件到所述虚拟标签文件夹命令时,生成添加的本地存储文件实际路径及本地存储实际文件名到所述虚拟标签文件夹保存;发布单元,用于接收到选择虚拟标签文件夹列表命令,该列表包括共享文件目录及每个共享文件的本地存储的实际路径;将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器,请求共享文件。 A client, wherein the client comprises: creating unit receives the command to create a virtual folder labels, the label generates a virtual file having a virtual tag name and save folder; Upon receiving the local storage file is added tag to the virtual folder command, the local storage file generation and the actual path of the added local store the actual file name to the virtual folder to save the label; release unit for receiving a selection command to the virtual tag folder list, the list including the actual path to the local storage of shared files and directories for each share files; the selected virtual tag list of folders, shared user names list of user names and share selected to the server, the request to share files.
8.根据权利要求7所述的客户端,其特征在于,该客户端还包括:判断单元,用于当接收到选择虚拟标签文件夹列表命令时,发送被共享用户名至服务器查询虚拟标签文件夹列表的序列号;接收到服务器反馈的所述序列号后,判断是否与本地存储的一致或本地是否存储所述序列号;发布单元,用于当判断单元的结果是本地不存在时,将选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表发送至服务器请求共享文件;还用于当判断单元的结果是与本地存储的序列号不一致时,从服务器获取虚拟标签文件夹目录,并根据获取的虚拟标签文件夹目录判断目录中的共享文件在本地是否存储及存储路径是否正确,若本地未存储则不做任何处理,若本地存储但实际路径不同则生成新的实际存储路径;并将生成包含有新的实际存储路径的虚拟标签文 The client according to claim 7, wherein the client further comprises: determining means for, when receiving the selection command to the virtual tag folder list, sending the query to a server shared virtual user name label file SEQ ID clip list; after receiving the feedback server sequence number, it is determined whether or not the locally stored locally or whether to store the same serial number; publishing unit for, when the result is a local determination unit does not exist, tag selected virtual folder list, the username is shared and the list of shared server request is sent to the selected shared folder; further means for determining when the result is inconsistent with the locally stored sequence number, a virtual tag acquired from the server file directory folder and determine whether to share files and directories stored in a local storage path is correct according to the acquired virtual directory folder labels, if not stored locally does nothing, but if local storage is different from the actual path to generate new reality storage path; and generates a new virtual path actually stored text label 夹列表、被共享用户名发送至服务器更新;接收单元,用于接收服务器反馈的虚拟标签文件夹列表的序列号并存储。 Folder list, the user name is sent to the shared server updates; receiving means for receiving the sequence number of the virtual server feeds and tag storage folder list.
9. 一种服务器,其特征在于,该服务器包括:接收单元,用于接收即时通讯工具用户的共享请求,该请求包括:选择的虚拟标签文件夹列表、被共享用户名及选择的共享用户名列表;并验证该请求是否合法;存储单元,用于当共享请求为合法时,将虚拟标签文件夹列表、选择的共享用户名列表对应于被共享用户名存储;并生成相应的虚拟标签文件夹列表的序列号并存储,并反馈给被共享用户客户端;更新单元,用于当接收到包含有新的实际存储路径的虚拟标签文件夹列表、被共享用户名的更新命令时,将被共享用户名对应的虚拟标签文件夹列表内容进行更新,并生成新的虚拟标签文件夹列表的序列号并存储;所述虚拟标签文件夹中的文件为不同类型不同名称的文件,所述不同类型不同名称的文件具有的文件关联属性为所述虚拟标签。 A server, wherein the server comprising: a receiving unit, for receiving a sharing request for instant messaging user, the request comprising: a label selected virtual folder list, select the shared user name and user name share list; and verify that the request is legitimate; a storage unit for sharing request is legal when the virtual tag folder list, the list of user names corresponding to the selected shared user name shared memory; tag and generates the corresponding virtual folders and storing the serial number list, and feedback to the user to be shared client; updating unit, when receiving the new real storage containing a virtual path tag folder list, the user name is shared update command will be shared user name corresponding to the virtual folder list tag to update the contents, and generates a new virtual folder tag serial number and storing the list; the virtual tag file folder file names different types, the different types a file name with the file attribute associated with the virtual tag.
10.如权利要求9所述的服务器,其特征在于,该服务器还包括: 通知单元,存储单元将虚拟标签文件夹列表、共享用户名列表对应于被共享用户名存储后,及更新单元接收到包含有新的实际存储路径的虚拟标签文件夹列表时,通过共享用户名列表向列表中的共享用户发送共享文件提示信息。 10. The server according to claim 9, wherein the server further comprising: a notifying unit, the storage unit the virtual tag folder list, the list of user names corresponding to share the shared user name is stored, and the update unit receives the the new store contains the actual path of the virtual label file folder list, send a message to share files by sharing list of user names to the shared user list.
CN 200710123481 2007-06-25 2007-06-25 Method for creating virtual label file, sharing and download file CN101090376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710123481 CN101090376B (en) 2007-06-25 2007-06-25 Method for creating virtual label file, sharing and download file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710123481 CN101090376B (en) 2007-06-25 2007-06-25 Method for creating virtual label file, sharing and download file

Publications (2)

Publication Number Publication Date
CN101090376A CN101090376A (en) 2007-12-19
CN101090376B true CN101090376B (en) 2011-10-12

Family

ID=38943547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710123481 CN101090376B (en) 2007-06-25 2007-06-25 Method for creating virtual label file, sharing and download file

Country Status (1)

Country Link
CN (1) CN101090376B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI509425B (en) * 2014-04-16 2015-11-21 Walton Advanced Eng Inc A way of sharing files

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567414A (en) * 2010-12-31 2012-07-11 上海量明科技发展有限公司 Method and system for storing interactive communication document
US20120246228A1 (en) * 2011-03-21 2012-09-27 Microsoft Corporation Sharing channels
CN102325169A (en) * 2011-08-22 2012-01-18 盛乐信息技术(上海)有限公司 Network file system supporting sharing and cooperation and method thereof
CN102427432B (en) * 2011-12-18 2016-05-25 上海量明科技发展有限公司 The method of virtual reception file, terminal and system in JICQ
JP5910205B2 (en) * 2012-03-16 2016-04-27 富士ゼロックス株式会社 Information processing apparatus and program
CN102752397A (en) * 2012-07-18 2012-10-24 北京亿企通信息技术有限公司 Method and system for sharing files in enterprise instant messaging system
CN103716340B (en) * 2012-09-28 2017-08-25 联想(北京)有限公司 Terminal device and information processing method
US20160098574A1 (en) * 2014-10-07 2016-04-07 Cynny Spa Systems and methods to manage file access

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1341888A (en) 2001-10-09 2002-03-27 中国人民解放军国防科学技术大学 Control file based data display and control method
CN1374603A (en) 2001-03-09 2002-10-16 刘莎 Internet information sharing system and method
CN1755672A (en) 2004-09-30 2006-04-05 腾讯科技(深圳)有限公司 Virtual copying method and system for files in network storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1374603A (en) 2001-03-09 2002-10-16 刘莎 Internet information sharing system and method
CN1341888A (en) 2001-10-09 2002-03-27 中国人民解放军国防科学技术大学 Control file based data display and control method
CN1755672A (en) 2004-09-30 2006-04-05 腾讯科技(深圳)有限公司 Virtual copying method and system for files in network storage system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-252742A 2004.09.09

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI509425B (en) * 2014-04-16 2015-11-21 Walton Advanced Eng Inc A way of sharing files

Also Published As

Publication number Publication date
CN101090376A (en) 2007-12-19

Similar Documents

Publication Publication Date Title
Murty Programming amazon web services: S3, EC2, SQS, FPS, and SimpleDB
EP1785927B1 (en) System and Method for synchronizing electronic mail across a network
JP4890566B2 (en) Automatic file distribution
CA2561709C (en) Method, system and graphical user interface for dynamically updating transmission characteristics in a web mail reply
US10313135B2 (en) Secure instant messaging system
US5548721A (en) Method of conducting secure operations on an uncontrolled network
US6708221B1 (en) System and method for globally and securely accessing unified information in a computer network
CN1209718C (en) System and method for operating computer documents and/or programme
US8239446B2 (en) Content distribution architecture
US7865573B2 (en) Method, system and devices for communicating between an internet browser and an electronic device
JP4339240B2 (en) Method for providing document services
US9608968B2 (en) Connection architecture for a mobile network
US8260273B2 (en) Method and system for establishing a service relationship between a mobile communication device and a mobile data server for connecting to a wireless network
KR100634861B1 (en) Certificate information storage method
ES2353255T3 (en) System and method for global and secure access to unified information in a computer network.
US7756836B2 (en) Peer-to-peer file sharing
EP2856735B1 (en) Method and system for automatic generation of context-aware cover message
CA2479527C (en) System and method for supporting multiple certificate status providers on a mobile communication device
US6601169B2 (en) Key-based secure network user states
JP3657396B2 (en) Key management system, key management apparatus, information encryption apparatus, information decryption apparatus, and storage medium storing program
US20120023595A1 (en) Method for updating data in accordance with rights management policy
US7549047B2 (en) Method and system for securely sharing files
JP2008511881A (en) Communication system and method for implementing online file storage based on instant messaging platform
US20030095660A1 (en) System and method for protecting digital works on a communication network
EP1494411A1 (en) Instant messaging object store

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted