CN102143126B - The access method of CPM meeting history record and message storage server - Google Patents
The access method of CPM meeting history record and message storage server Download PDFInfo
- Publication number
- CN102143126B CN102143126B CN201010120041.6A CN201010120041A CN102143126B CN 102143126 B CN102143126 B CN 102143126B CN 201010120041 A CN201010120041 A CN 201010120041A CN 102143126 B CN102143126 B CN 102143126B
- Authority
- CN
- China
- Prior art keywords
- storage server
- message storage
- user
- record
- metadata
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 230000004044 response Effects 0.000 claims description 31
- 230000004927 fusion Effects 0.000 claims 1
- 102100024412 GTPase IMAP family member 4 Human genes 0.000 description 29
- 101000833375 Homo sapiens GTPase IMAP family member 4 Proteins 0.000 description 29
- 238000010586 diagram Methods 0.000 description 26
- 238000012546 transfer Methods 0.000 description 20
- 238000012545 processing Methods 0.000 description 18
- 230000005540 biological transmission Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 16
- 230000008569 process Effects 0.000 description 12
- 230000007246 mechanism Effects 0.000 description 9
- 230000006854 communication Effects 0.000 description 7
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000008520 organization Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 239000000284 extract Substances 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000006978 adaptation Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000012217 deletion Methods 0.000 description 3
- 230000037430 deletion Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000003999 initiator Substances 0.000 description 2
- 230000011664 signaling Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 238000001297 coherence probe microscopy Methods 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 239000010813 municipal solid waste Substances 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种CPM会谈历史记录的访问方法及消息存储服务器。在上述方法中,消息存储服务器接收来自客户端的访问指令,其中,访问指令携带标签分类标识;消息存储服务器根据标签分类标识执行与访问指令对应的访问操作。根据本发明提供的技术方案,进而可以在为用户提供多种会谈逻辑视图时,降低开销并提高用户体验。
The invention discloses a method for accessing CPM conversation history records and a message storage server. In the above method, the message storage server receives the access instruction from the client, wherein the access instruction carries a tag classification identifier; the message storage server executes the access operation corresponding to the access instruction according to the tag classification identifier. According to the technical solution provided by the present invention, it is further possible to reduce overhead and improve user experience when providing users with multiple conversation logic views.
Description
技术领域 technical field
本发明涉及通信领域,具体而言,涉及一种融合的IP消息(ConvergedIPMessaging,简称为CPM)会谈历史记录的访问方法及消息存储服务器。The present invention relates to the communication field, in particular, to a method for accessing a Converged IP Messaging (CPM for short) conversation history record and a message storage server.
背景技术 Background technique
融合的IP消息(ConvergedIPMessaging,简称为CPM)使能者是由OMA组织提出的一种可以跨越不同接入网,架构在统一的IP核心网之上,以支持终端用户的一对一、一对多以及与多个应用之间的各种媒体类型(例如,文本、图片、音频/视频片段、二进制文件、音频/视频流)的通信。The Converged IP Messaging (CPM for short) enabler proposed by the OMA organization can span different access networks and is built on a unified IP core network to support end-user one-to-one, one-to-one Communication of various media types (eg, text, pictures, audio/video clips, binary files, audio/video streams) between multiple and multiple applications.
在融合的消息通信环境中,CPM使能者以CPM会谈为单位向用户提供CPM业务,使之进行信息交互,用户在通信的过程中希望能够将自己所参与的CPM会谈的历史交互信息由网络侧进行记录和存储,从而实现在需要的时候能够通过向网络侧服务器发送请求访问到自己曾参与过的CPM会谈的历史交互记录信息,真实地重现用户曾参与的会谈的全过程,并对网络侧服务器上存储的属于该用户自己的会谈历史记录信息进行管理。In a converged message communication environment, the CPM enabler provides CPM services to users in units of CPM talks to enable them to exchange information. Record and store on the side, so that when needed, you can send a request to the server on the network side to access the historical interaction record information of the CPM talks you have participated in, and truly reproduce the entire process of the talks that the user has participated in. The user's own conversation history information stored on the server on the network side is managed.
CPM消息存储服务器为CPM用户提供上述存储CPM会谈历史记录的功能,而CPM消息存储客户端通过访问消息存储服务器对属于该CPM用户的CPM会谈历史记录及相关的内容进行访问和管理,并通过从网络侧获取的会谈历史记录信息进行解析,向CPM用户展示会谈的视图和内容。The CPM message storage server provides CPM users with the above-mentioned function of storing CPM meeting history records, and the CPM message storage client accesses and manages the CPM meeting history records and related contents belonging to the CPM user by accessing the message storage server, and through The meeting history information acquired by the network side is analyzed, and the view and content of the meeting are displayed to the CPM user.
CPM会谈描述了通信各方之间利用CPM使能者功能实体进行信息交互的操作,CPM会谈由任意数目的会话外交互的CPM消息、CPM文件和CPM会话组成。其中,CPM消息是可以包含多个离散(不连续)媒体(例如,文本、图片、音频片段、视频片段等)的信息体。CPM文件是参与者之间交换的一个或多个携带有多媒体内容的文件,接收方用户同意接收文件之后,文件传输过程才能够开始。CPM会话是指两个或多个参与者之间持续一段时间的逻辑连接,可用于参与方实时地交换连续性媒体,也可用于交换离散媒体和文件。CPM消息交互、CPM文件传输可以在CPM会话内进行,也可以在CPM会话之外进行。一般认为,每个CPM会谈在特定时间内只包含一个CPM会话,但用户可以并行参与多个CPM会谈。A CPM session describes the operation of information interaction between communicating parties using the CPM enabler functional entity. A CPM session consists of any number of CPM messages, CPM files, and CPM sessions that are exchanged outside the session. Wherein, a CPM message is an information body that may contain multiple discrete (discontinuous) media (for example, text, pictures, audio clips, video clips, etc.). A CPM file is one or more files carrying multimedia content exchanged between participants. The file transfer process can only begin after the recipient user agrees to receive the file. A CPM session refers to a logical connection between two or more participants for a period of time, which can be used for participants to exchange continuous media in real time, and can also be used to exchange discrete media and files. CPM message exchange and CPM file transfer can be performed within the CPM session or outside the CPM session. It is generally believed that each CPM session contains only one CPM session in a specific time, but users can participate in multiple CPM sessions in parallel.
CPM会谈历史记录是CPM会谈的存储表示。被授权责任人可以获取并存储他们在CPM会谈过程中交换的信息,并将上述信息作为CPM会谈历史记录存储到CPM业务提供商提供的消息存储服务器中。此时,CPM会话外交互的一条CPM消息被存储为一条CPM消息记录,CPM会话外进行的CPM文件传输被存储为一份CPM文件传输历史记录。而一个CPM会话则存储为一份CPM会话历史记录(包括会话内CPM消息、会话内CPM文件传输以及会话内交互的连续媒体片段等数据)。因此,从存储表示意义上讲,CPM会谈历史记录可以描述为CPM消息记录、CPM文件传输历史记录和CPM会话历史记录的集合。具体可以参见图1。A CPM meeting history is a stored representation of a CPM meeting. Authorized responsible persons can obtain and store the information they exchanged during the CPM conversation, and store the above information as a CPM conversation history record in the message storage server provided by the CPM service provider. At this time, a CPM message exchanged outside the CPM session is stored as a CPM message record, and a CPM file transfer performed outside the CPM session is stored as a CPM file transfer history record. A CPM session is stored as a CPM session history record (including data such as intra-session CPM messages, intra-session CPM file transfers, and intra-session interactive continuous media segments). Therefore, in terms of storage representation, the CPM conversation history can be described as a collection of CPM message records, CPM file transfer history and CPM session history. Please refer to Figure 1 for details.
图1为CPM会谈与CPM会谈历史记录的关系及其所包含内容的示意图。CPM会谈历史记录功能,实际上就是对CPM会谈过程中交互的CPM消息、CPM文件传输以及进行的CPM会话进行记录。为了实现会谈历史记录功能,需要在网络侧有一个CPM功能实体能够在通信过程中同时位于信令平面和媒体平面上,作为B2BUA接收通信过程中所有的信令消息和媒体消息,通过解析从中提取出需要记录的信息,按照一定的格式进行记录:将CPM会话外交互的一条CPM消息记录为一份CPM消息记录文件,将CPM会话外传输的一个CPM文件记录为一份CPM文件传输历史记录文件,将一次CPM会话记录为一份CPM会话历史记录文件。CPM参与功能服务器完成上述的会谈历史记录功能,并将上述记录文件提交给CPM消息存储服务器,进行永久存储。Figure 1 is a schematic diagram of the relationship between the CPM talks and the historical records of the CPM talks and the contents contained therein. The CPM meeting history recording function is actually to record the CPM messages exchanged during the CPM meeting, the CPM file transfer and the CPM session conducted. In order to realize the meeting history recording function, there needs to be a CPM functional entity on the network side that can be located on the signaling plane and the media plane at the same time during the communication process, as a B2BUA to receive all signaling messages and media messages during the communication process, and extract them through analysis Record the information that needs to be recorded according to a certain format: record a CPM message interacted outside the CPM session as a CPM message record file, record a CPM file transmitted outside the CPM session as a CPM file transmission history file , to record a CPM session as a CPM session history file. The CPM participation function server completes the above-mentioned meeting history record function, and submits the above-mentioned record file to the CPM message storage server for permanent storage.
在消息存储服务器上作为物理文件实际存储的是CPM会谈历史记录中所包含的CPM消息记录、CPM文件传输历史记录和CPM会话历史记录。消息存储服务器应当对存储的会谈历史记录相关的资源进行管理,并支持如下功能:What are actually stored as physical files on the message storage server are CPM message records, CPM file transfer history records and CPM conversation history records included in the CPM conversation history records. The message storage server shall manage the resources related to the stored meeting history records, and support the following functions:
(1)存储CPM消息记录、CPM文件传输历史记录、CPM会话历史记录、CPM会谈历史记录,包括作为CPM消息记录和CPM会话历史记录一部分的任意媒体对象;(1) store CPM message records, CPM file transfer history records, CPM session history records, CPM conversation history records, including any media objects that are part of CPM message records and CPM session history records;
(2)根据CPM用户偏好或者业务提供商策略,将本地已存资源与消息存储客户端本地存储的资源进行同步,包括在多设备场景下的同步管理;(2) According to the CPM user preference or the service provider's strategy, synchronize the locally stored resources with the locally stored resources of the message storage client, including synchronous management in a multi-device scenario;
(3)对已存资源的管理(例如,拷贝、删除等)和访问;查询已存资源;基于业务提供商策略和用户偏好,记录责任人对网络存储器执行的操作(例如,上传/下载/修改/删除CPM消息、CPM文件传输历史记录、CPM会话历史、CPM会谈历史,和作为CPM消息和CPM会话历史一部分的媒体对象等特定条目)等等。(3) Management (for example, copy, delete, etc.) and access to stored resources; query stored resources; based on service provider policies and user preferences, record the operations performed by the responsible person on network storage (for example, upload/download/ modify/delete CPM messages, CPM file transfer history, CPM session history, CPM conversation history, and specific entries such as media objects that are part of the CPM message and CPM session history), etc.
相关技术中,为了存储消息,基于传统电子邮箱结构的存储模型方案可以参见图2。每一个用户拥有一块由业务提供商预先分配的存储区域,在该目录下,由一系列由系统预先定义好的独立文件夹(例如,收件箱、废件箱、发件箱等)和用户自创建的独立文件夹(如Folder1、Folder2等)组成。使用该存储模型,消息记录和会话历史记录可以存储在任何目录下,用户可以手动操作将存储的内容在文件夹之间移动。In the related art, in order to store messages, a storage model scheme based on a traditional electronic mailbox structure can be referred to in FIG. 2 . Each user has a storage area pre-allocated by the service provider. Under this directory, there are a series of independent folders (such as inbox, trash box, outbox, etc.) and user folders predefined by the system. Self-created independent folders (such as Folder1, Folder2, etc.). Using this storage model, message records and session history records can be stored in any directory, and users can manually move the stored content between folders.
但是,上述方案存在以下缺点:However, the above scheme has the following disadvantages:
(1)CPM消息记录和CPM会话历史记录可以分布在任意的文件夹中,为了能够向用户提供CPM会谈视图,必须要通过使用额外的元数据来将分散在各个目录下的CPM消息记录、CPM会话历史记录和它们所属的CPM会谈关联起来。(1) CPM message records and CPM session history records can be distributed in any folder. In order to provide users with a view of the CPM conversation, it is necessary to use additional metadata to separate the CPM message records and CPM records scattered in each directory. Session history records are associated with the CPM session they belong to.
(2)由于CPM消息记录和CPM会话历史记录可以分布在任意的文件夹中,服务器端无法支持消息存储客户端通过IMAP/THREAD命令([RFC5256])请求服务器为会谈历史记录构建线性视图,然而对于计算和存储资源有限的移动设备来说,完成构建线性视图的操作会带来较大的开销和负担,可能会造成响应速度慢等不利于用户使用体验的影响。(2) Since CPM message records and CPM session history records can be distributed in arbitrary folders, the server cannot support message storage. The client requests the server to build a linear view for the conversation history records through the IMAP/THREAD command ([RFC5256]), however For mobile devices with limited computing and storage resources, completing the operation of building a linear view will bring a large overhead and burden, which may cause slow response speed and other adverse effects on user experience.
(3)由于属于一个CPM会谈的CPM消息记录、CPM会话历史记录可能分布在不同的文件夹中,则消息存储客户端在获取一个CPM会谈历史记录相关的内容时,需要不断通过IMAP/SELECT命令选中一个文件夹,然后才能通过IMAP/FETCH命令获取该文件夹下存储的记录文件,然后再重新SELECT另一个文件夹,获得该文件夹存储的记录文件,不断重复直到获取到该CPM会谈的所有内容,不断使用SELECT命令打开文件夹的操作增加了消息存储客户端和服务器之间的命令交互次数,存在额外开销,尤其对于移动设备而言,频繁冗余的命令交互会增加无线接口上的数据流量,增加用户使用业务的费用,降低用户使用业务的体验。(3) Since the CPM message records and CPM session history records belonging to a CPM meeting may be distributed in different folders, the message storage client needs to continuously pass the IMAP/SELECT command when obtaining the content related to a CPM meeting history record Select a folder, and then use the IMAP/FETCH command to obtain the record files stored in this folder, and then re-SELECT another folder to obtain the record files stored in this folder, and repeat until all the CPM talks are obtained. Content, the operation of constantly using the SELECT command to open the folder increases the number of command interactions between the message storage client and the server, and there is additional overhead, especially for mobile devices, frequent redundant command interactions will increase the data on the wireless interface traffic, increase the cost of using the service for users, and reduce the experience of using the service for users.
(4)用户的一些管理操作可能会破坏CPM会谈线性视图。在上述存储模型下,用户可以对消息存储服务器上的存储的资源进行任意的管理操作,例如,删除某个消息记录文件,然而造成的结果是破坏了消息之间的回复关系,从而破坏CPM会谈的线性视图。(4) Some management operations of the user may destroy the linear view of the CPM meeting. Under the above storage model, users can perform arbitrary management operations on the resources stored on the message storage server, for example, delete a certain message record file, but the result is to destroy the reply relationship between messages, thereby destroying the CPM session linear view.
相关技术中,还存在基于CPM会谈结构的存储模型方案,具体可以参见图3。如图3所示,该方案基于CPM会谈的结构特点来设计CPM的消息存储模型:即根据CPM会谈历史记录、CPM消息记录和CPM会话历史记录之间的包含关系,将每个CPM会谈历史记录所包含的记录资源文件存储在独立的会谈子文件夹中。In the related art, there is also a storage model solution based on the CPM session structure, as shown in FIG. 3 for details. As shown in Figure 3, this scheme designs the message storage model of CPM based on the structural characteristics of CPM talks: that is, according to the containment relationship among CPM talk history records, CPM message records and CPM session history records, each CPM talk history record The included recording resource files are stored in separate talks subfolders.
在该存储模型方案中,消息存储服务器为每一个CPM用户分配一块专属的存储区域,在该存储区域下为每一个CPM会谈建立一个对应的会谈子文件夹,将该CPM会谈所包含的每一个会话外CPM消息作为独立的消息记录文件、每一个CPM会话作为独立的CPM会话历史记录存储在该会谈子文件夹中。会谈文件夹的创建由系统完成,用户的管理权限受限,只能够查看消息存储服务器上的资源,以防止用户的操作破坏CPM会谈视图。In this storage model solution, the message storage server allocates a dedicated storage area for each CPM user, and establishes a corresponding subfolder for each CPM session under the storage area, and each session included in the CPM session The CPM message outside the session is stored as an independent message record file, and each CPM session is stored in the session subfolder as an independent CPM session history record. The creation of the meeting folder is completed by the system, and the user's management authority is limited, and he can only view the resources on the message storage server to prevent the user's operation from destroying the CPM meeting view.
基于CPM会谈结构的消息存储模型,将同属于一个CPM会谈的记录资源存储在同一个会谈文件夹中,节省了记录CPM会谈历史记录和其所包含的记录资源之间关联关系的元数据以及维护该关联关系的管理操作开销。且会谈文件夹的创建由CPM使能者执行,用户的操作权限受限,因此保证了CPM会谈的视图不会被用户的操作所破坏。Based on the message storage model of the CPM conversation structure, the record resources belonging to the same CPM conversation are stored in the same conversation folder, which saves metadata and maintenance for recording the relationship between the history of the CPM conversation and the record resources it contains The management operation overhead for this relationship. Moreover, the creation of the meeting folder is performed by the CPM enabler, and the user's operation authority is limited, thus ensuring that the view of the CPM meeting will not be destroyed by the user's operation.
然而,上述方案存在以下缺点,由于会谈文件夹由消息存储服务器进行管理,用户没有操作权限,导致用户无法对消息存储服务器上存储的资源进行管理操作,无法创建自定义文件夹、无法移动/复制消息记录、会话历史记录文件,只能以会谈视图来查看,用户体验差。However, the above scheme has the following disadvantages. Since the meeting folder is managed by the message storage server, the user has no operation authority, so the user cannot manage the resources stored on the message storage server, cannot create custom folders, and cannot move/copy Message records and session history files can only be viewed in the chat view, which has a poor user experience.
发明内容 Contents of the invention
针对相关技术中完成构建线性视图的操作会带来较大的开销和负担、以及用户无法对消息存储服务器上存储的资源进行管理操作等问题而提出本发明,为此,本发明的主要目的在于提供一种CPM会谈历史记录的访问方法及消息存储服务器,以解决上述问题至少之一。The present invention is proposed in view of the problems in the related art that the operation of constructing a linear view will bring relatively large overhead and burden, and that the user cannot manage the resources stored on the message storage server. Therefore, the main purpose of the present invention is to A method for accessing CPM conversation history records and a message storage server are provided to solve at least one of the above problems.
根据本发明的一个方面,提供了一种CPM会谈历史记录的访问方法。According to one aspect of the present invention, a method for accessing CPM session history records is provided.
根据本发明的CPM会谈历史记录的访问方法包括:消息存储服务器接收来自客户端的访问指令,其中,访问指令携带标签分类标识;消息存储服务器根据标签分类标识执行与访问指令对应的访问操作。The method for accessing CPM conversation history records according to the present invention includes: the message storage server receives an access instruction from a client, wherein the access instruction carries a tag classification identifier; the message storage server executes an access operation corresponding to the access instruction according to the tag classification identifier.
根据本发明的另一方面,提供了一种消息存储服务器。According to another aspect of the present invention, a message storage server is provided.
根据本发明的消息存储服务器包括:接收单元,用于接收来自客户端的访问指令,其中,访问指令携带标签分类标识;执行单元,用于根据标签分类标识执行与访问指令对应的访问操作。The message storage server according to the present invention includes: a receiving unit, configured to receive an access instruction from a client, wherein the access instruction carries a tag classification identifier; an execution unit, configured to execute an access operation corresponding to the access instruction according to the tag classification identifier.
通过本发明,在消息存储服务器中对标签进行分类管理,根据标签分类标识执行与访问指令对应的访问操作,解决了相关技术中完成构建线性视图的操作会带来较大的开销和负担,进而可以在为用户提供多种会谈逻辑视图时,降低开销并提高用户体验。Through the present invention, the tags are classified and managed in the message storage server, and the access operations corresponding to the access instructions are executed according to the tag classification identification, which solves the problem that the operation of constructing a linear view in the related art will bring relatively large overhead and burden, and further It can reduce overhead and improve user experience while providing users with multiple logical views of the conversation.
附图说明 Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached picture:
图1为CPM会谈与CPM会谈历史记录的关系及其所包含内容的示意图;Figure 1 is a schematic diagram of the relationship between the CPM talks and the historical records of the CPM talks and their contents;
图2为基于传统电子邮箱结构的消息存储模型的示意图;FIG. 2 is a schematic diagram of a message storage model based on a traditional electronic mailbox structure;
图3为基于会谈结构的消息存储模型的示意图;Fig. 3 is a schematic diagram of a message storage model based on a conversation structure;
图4为根据本发明实施例的CPM会谈历史记录的访问方法的流程图;FIG. 4 is a flow chart of a method for accessing CPM conversation history records according to an embodiment of the present invention;
图5为根据本发明实施例的消息存储模型方案的结构示意图;5 is a schematic structural diagram of a message storage model solution according to an embodiment of the present invention;
图6为根据本发明实施例的消息存储框架的架构图;FIG. 6 is an architecture diagram of a message storage framework according to an embodiment of the present invention;
图7为根据本发明实施例的会谈元数据XML文档组织的结构示意图;Fig. 7 is a schematic structural diagram of meeting metadata XML document organization according to an embodiment of the present invention;
图8为根据本发明实施例的标签元数据XML文档组织的结构示意图;FIG. 8 is a schematic structural diagram of tag metadata XML document organization according to an embodiment of the present invention;
图9为根据本发明实施例的用户获得访问控制列表操作的指令传输示意图;FIG. 9 is a schematic diagram of instruction transmission for the user to obtain an access control list operation according to an embodiment of the present invention;
图10为根据本发明实施例的用户设置访问控制列表操作的指令传输示意图;FIG. 10 is a schematic diagram of instruction transmission for user setting access control list operations according to an embodiment of the present invention;
图11为根据本发明实施例的用户删除访问控制列表操作的指令传输示意图;FIG. 11 is a schematic diagram of instruction transmission for user deletion of an access control list operation according to an embodiment of the present invention;
图12为根据本发明实施例的用户获得访问权限操作的指令传输示意图;Fig. 12 is a schematic diagram of instruction transmission for the operation of obtaining access rights by a user according to an embodiment of the present invention;
图13为根据本发明实施例的用户选择某个文件夹进行查看的指令传输示意图;Fig. 13 is a schematic diagram of instruction transmission for a user to select a folder to view according to an embodiment of the present invention;
图14为根据本发明实施例的用户选择会谈历史记录文件夹,查看CPM会谈记录列表的指令传输示意图;FIG. 14 is a schematic diagram of command transmission for a user to select a conversation history record folder and view a CPM conversation record list according to an embodiment of the present invention;
图15为根据本发明实施例的用户选择一个会谈历史记录,查看该CPM会谈历史记录的详细内容的指令传输示意图;Fig. 15 is a schematic diagram of instruction transmission according to an embodiment of the present invention in which the user selects a conversation history record and checks the detailed content of the CPM conversation history record;
图16为根据本发明实施例的用户查看标签分类视图的指令传输示意图;FIG. 16 is a schematic diagram of instruction transmission for a user to view a tag classification view according to an embodiment of the present invention;
图17为根据本发明实施例的用户创建自定义的标签的指令传输示意图;FIG. 17 is a schematic diagram of instruction transmission for creating a user-defined label according to an embodiment of the present invention;
图18为根据本发明实施例的MSC为标签标记内容的指令传输示意图;FIG. 18 is a schematic diagram of instruction transmission for MSC to tag content according to an embodiment of the present invention;
图19为根据本发明实施例的MSC为存储在会谈历史记录文件夹下的记录文件解除标签的指令传输示意图;Fig. 19 is a schematic diagram of instruction transmission for MSC to unlabel the record file stored in the meeting history record folder according to an embodiment of the present invention;
图20为根据本发明实施例的MSC请求解除某一标签分类下所有被标记的对象和该标签关联关系的指令传输示意图;FIG. 20 is a schematic diagram of command transmission for MSC requesting to release all marked objects under a certain label classification and the label according to an embodiment of the present invention;
图21为根据本发明实施例的MSC请求解除某一标签分类下所有被标记的对象和该标签关联关系的指令传输示意图;Fig. 21 is a schematic diagram of command transmission for MSC requesting to release all marked objects under a certain label classification and the label according to an embodiment of the present invention;
图22为根据本发明实施例的用户请求删除会谈历史记录的指令传输示意图;Fig. 22 is a schematic diagram of instruction transmission of a user's request to delete a conversation history record according to an embodiment of the present invention;
图23为根据本发明实施例的用户请求创建文件夹的指令传输示意图;Fig. 23 is a schematic diagram of instruction transmission of a user's request to create a folder according to an embodiment of the present invention;
图24为根据本发明实施例的用户移动/重命名文件夹操作的指令传输流程图;FIG. 24 is a flow chart of instruction transmission for the operation of moving/renaming a folder by a user according to an embodiment of the present invention;
图25为根据本发明实施例的消息存储服务器的结构框图;Fig. 25 is a structural block diagram of a message storage server according to an embodiment of the present invention;
图26为根据本发明优选实施例的消息存储服务器的结构框图。Fig. 26 is a structural block diagram of a message storage server according to a preferred embodiment of the present invention.
具体实施方式 detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
根据本发明实施例,提供了一种融合的IP消息CPM会谈历史记录的访问方法。According to an embodiment of the present invention, a method for accessing a history record of a fused IP message CPM conversation is provided.
图4为根据本发明实施例的CPM会谈历史记录的访问方法的流程图。如图4所示,根据本发明实施例的CPM会谈历史记录的访问方法包括以下处理(步骤S402-步骤S404):FIG. 4 is a flowchart of a method for accessing CPM session history records according to an embodiment of the present invention. As shown in Figure 4, the access method of the CPM interview history record according to the embodiment of the present invention includes the following processing (step S402-step S404):
步骤S402:消息存储服务器接收来自客户端的访问指令,其中,访问指令携带标签分类标识;Step S402: the message storage server receives an access instruction from the client, wherein the access instruction carries a tag classification identifier;
步骤S404:消息存储服务器根据标签分类标识执行与访问指令对应的访问操作。Step S404: The message storage server executes the access operation corresponding to the access instruction according to the tag classification identifier.
采用上述方法,在消息存储服务器中对标签进行分类管理,根据标签分类标识执行与访问指令对应的访问操作,解决了相关技术中完成构建线性视图的操作会带来较大的开销和负担,进而可以在为用户提供多种会谈逻辑视图时,降低开销并提高用户体验。Using the above method, the tags are classified and managed in the message storage server, and the access operations corresponding to the access instructions are executed according to the tag classification identification, which solves the problem that the operation of constructing a linear view in the related technology will bring relatively large overhead and burden, and then This can reduce overhead and improve user experience while providing users with multiple logical views of the conversation.
优选地,在执行上述步骤S401之前,还可以包括以下处理:Preferably, before performing the above step S401, the following processing may also be included:
(1)所述消息存储服务器接收来自于所述客户端的标签元数据的请求消息;(1) The message storage server receives a tag metadata request message from the client;
(2)所述消息存储服务器将部分或全部标签分类标识发送至所述客户端。(2) The message storage server sends part or all of the label classification identifiers to the client.
用户根据从消息存储服务器中获取部分或全部标签分类,根据自己的需求对消息存储服务器进行访问操作,提高了用户体验。The user accesses the message storage server according to his own needs according to obtaining part or all of the tag classifications from the message storage server, which improves the user experience.
优选地,在执行步骤S401之前,还可以包括以下处理:Preferably, before performing step S401, the following processing may also be included:
(1)在消息存储服务器中创建系统管理区域,其中,系统管理区域包括存储会谈历史记录和会谈元数据的第一存储单元,其中,会谈元数据用于表示会谈历史记录与其所属的文件目录的关联关系及会谈历史记录的描述信息;(1) Create a system management area in the message storage server, wherein the system management area includes a first storage unit for storing conversation history records and conversation metadata, wherein the conversation metadata is used to indicate the relationship between the conversation history records and the file directory to which they belong Descriptive information of association relationship and interview history;
(2)在消息存储服务器中创建用户管理区域,其中,用户管理区域包括存储用户自己创建的自定义信息的第二存储单元、存储标签元数据的第三存储单元,其中,标签元数据用于表示会谈历史记录与标签分类标识之间的关联关系以及自定义信息与标签分类标识之间的关联关系。(2) Create a user management area in the message storage server, wherein the user management area includes a second storage unit for storing user-defined information created by the user, and a third storage unit for storing label metadata, wherein the label metadata is used for Indicates the association relationship between the meeting history record and the tag classification identifier, and the association relationship between the custom information and the tag classification identifier.
其中,上述步骤(1)中在消息存储服务器中创建用户管理区域可以包括以下处理:Wherein, creating the user management area in the message storage server in the above step (1) may include the following processing:
(1)消息存储服务器接收来自于客户端的拷贝指令,其中,拷贝指令携带有需要存储至用户管理区域的会谈历史记录的信息;(1) The message storage server receives the copy instruction from the client, wherein the copy instruction carries the information of the conversation history record that needs to be stored in the user management area;
(2)消息存储服务器将需要存储至用户管理区域的会谈历史记录的信息从系统管理区域中拷贝至用户管理区域中的自定义信息中。(2) The message storage server copies the conversation history information that needs to be stored in the user management area from the system management area to the user-defined information in the user management area.
其中,上述步骤(2)中在消息存储服务器中创建用户管理区域还可以包括以下处理:Wherein, creating the user management area in the message storage server in the above step (2) may also include the following processing:
(1)消息存储服务器接收来自于客户端上传的本地记录文件的信息;(1) The message storage server receives the information from the local record file uploaded by the client;
(2)消息存储服务器将本地记录文件的信息存储在用户管理区域的自定义信息中。(2) The message storage server stores the information of the local record file in the user-defined information in the user management area.
通过上述处理可知,自定义信息主要来源于两个方面,一方面来源于系统管理区域中存储的会谈历史记录,另一方面来源于用户上传的本地记录文件。上述创建的总体存储模型架构(包括用户管理区域和系统管理区域)具体可以参见图5。Through the above processing, it can be seen that the custom information mainly comes from two aspects, one is from the conversation history stored in the system management area, and the other is from the local record file uploaded by the user. The overall storage model architecture (including the user management area and the system management area) created above can be specifically referred to in FIG. 5 .
通过创建上述存储模型架构,将用户在消息存储服务器上的消息存储区域划分为系统管理区域和用户管理区域,可以满足用户对消息存储服务器上存储的记录资源的自定义管理操作。By creating the above storage model architecture, the user's message storage area on the message storage server is divided into a system management area and a user management area, which can satisfy users' custom management operations on record resources stored on the message storage server.
首先结合图6对消息存储结构进行描述,如图6所示,将消息存储功能的存储框架从逻辑上分成三个子系统:客户端子系统、存储子系统、以及应用子系统。First, the message storage structure is described in conjunction with FIG. 6 . As shown in FIG. 6 , the storage framework of the message storage function is logically divided into three subsystems: client subsystem, storage subsystem, and application subsystem.
(1)客户端子系统(ClientSubsystem)包括:消息存储客户端,能够访问和管理消息存储服务器中的数据,并向用户提供会谈历史记录呈现功能。(1) The client subsystem (ClientSubsystem) includes: the message storage client, which can access and manage the data in the message storage server, and provide the user with the meeting history display function.
(2)应用子系统(ApplicationSubsystem)包括:CPM网络中与消息存储功能相关的CPM功能组件,例如,CPM参与功能会谈服务器。(2) Application Subsystem (ApplicationSubsystem) includes: CPM functional components related to the message storage function in the CPM network, for example, the CPM participation function meeting server.
(3)存储子系统(StorageSubsystem):实现网络侧消息存储功能,该子系统又分为两层实现:适配层和物理层。其中,物理层用于存储实际的数据,即将消息、会话历史记录、文件传输历史记录等对象按照一定的组织结构存储在磁盘上,物理存储视图的组织结构由业务提供商设计并始终保持固定;适配层负责将物理层存储的实际数据按照客户端的不同需求组织成不同的逻辑视图,客户端可以自行定义并改变逻辑视图(注意,物理存储视图不会改变),从而实现网络存储数据能够按照用户自定义的方式进行分类管理,满足用户个性化需求。(3) Storage Subsystem (StorageSubsystem): Realize the message storage function on the network side. This subsystem is divided into two layers: the adaptation layer and the physical layer. Among them, the physical layer is used to store actual data, that is, objects such as messages, session history, and file transfer history are stored on the disk according to a certain organizational structure. The organizational structure of the physical storage view is designed by the service provider and remains fixed; The adaptation layer is responsible for organizing the actual data stored in the physical layer into different logical views according to the different needs of the client. The client can define and change the logical view by itself (note that the physical storage view will not change), so that the network storage data can be stored according to Classification management is carried out in a user-defined way to meet the individual needs of users.
如图6所示,应用子系统中的CPM功能组件(例如,CPM参与功能)负责在消息会话通信过程中,将与CPM会谈相关的消息类对象存储入网络存储器,并按照物理存储视图组织,存放在指定的目录中;存储子系统对物理层存储的数据进行管理和维护,并对外通过适配层提供逻辑视图。客户端子系统中的CPM功能组件(例如,消息存储客户端)通过自定义标签行为来构造自定义的逻辑视图,对物理存储的消息对象进行分类管理,从而实现多种不同的用户自定义动态视图。As shown in Figure 6, the CPM functional component (for example, the CPM participation function) in the application subsystem is responsible for storing the message class objects related to the CPM conversation into the network storage during the communication process of the message session, and organizing them according to the physical storage view, Stored in the specified directory; the storage subsystem manages and maintains the data stored in the physical layer, and provides a logical view to the outside through the adaptation layer. The CPM functional components in the client subsystem (for example, the message storage client) construct a custom logical view through the custom label behavior, and classify and manage the physically stored message objects, thereby realizing a variety of different user-defined dynamic views .
其中,在物理层上各种资源内容的物理存储位置是固定的,不需要改变的,由CPM业务提供商创建好的文件夹、各种内容的存储位置。在消息存储客户端应用标签的功能,用户可以自定义个性化的标签,为服务器上存储的各种内容添加这些“标签”(相当于对其进行分类),然后根据不同的标签将服务器上存储的内容组织成逻辑视图呈现给用户。上述“添加”标签的操作并不改变服务器上这些内容的实际存储位置,这实际上实现了在物理存储视图之上叠加了一层逻辑视图,用户通过管理“标签”操作逻辑视图,使物理存储的数据能够按照最适合自己的方式来提供,极具灵活性和可扩展性。Among them, the physical storage locations of various resource contents on the physical layer are fixed and do not need to be changed. The folders created by the CPM service provider and the storage locations of various contents are fixed. With the function of applying labels on the message storage client, users can customize personalized labels, add these "labels" to various content stored on the server (equivalent to classifying them), and then store them on the server according to different labels. The content is organized into a logical view and presented to the user. The above operation of "adding" tags does not change the actual storage location of these contents on the server, which actually implements a layer of logical view superimposed on the physical storage view, and the user operates the logical view by managing "tags", making the physical storage The data can be provided in the way that suits you best, with great flexibility and scalability.
以下结合图5描述物理层的消息存储模型的架构,如图5所示,在消息存储服务器上为每一个合法的用户分配一个专属的存储空间(例如,创建“Root-User”文件夹),用于存储用户所拥有的会谈历史记录相关的资源记录,并向用户提供管理功能。Below in conjunction with Fig. 5, describe the architecture of the message storage model of the physical layer, as shown in Fig. 5, assign a dedicated storage space (for example, create "Root-User" folder) for each legal user on the message storage server, It is used to store the resource records related to the conversation history owned by the user and provide management functions to the user.
将用户专属存储空间(与“Root-User”目录相对应)划分为两部分:系统管理区域和用户管理区域。Divide the user-specific storage space (corresponding to the "Root-User" directory) into two parts: the system management area and the user management area.
其中,在系统管理区域中创建MSS预定义的文件夹,如图5所示,“Conversation-History”(会谈历史记录文件夹)是由MSS预定义的文件夹,专用于存储会谈历史记录相关的记录资源,并在MSS上维持唯一的备份,为用户提供会谈视图。Among them, create a folder predefined by MSS in the system management area, as shown in Figure 5, "Conversation-History" (conversation history folder) is a folder predefined by MSS, which is dedicated to storing information related to the history of conversations. Record resources and maintain a unique backup on MSS to provide users with a view of the conversation.
其中,在用户管理区域中,创建用户自定义的文件夹,如图5所示的“Folder1”、“Folder2”等都是由用户自行创建的文件夹。用户可以以记录文件为单位,将其觉得重要的CPM消息记录、CPM文件传输历史记录、CPM会话历史记录“拷贝到”自定义的文件夹中,进行单独保存。另外,用户还可以上传本地的记录文件到消息存储服务器上的用户自定义文件夹中,并将上传的这些记录文件在不同的用户文件夹之间移动。Wherein, in the user management area, user-defined folders are created, such as "Folder1" and "Folder2" shown in FIG. 5 are folders created by users themselves. Users can "copy" the important CPM message records, CPM file transfer history records, and CPM session history records to a custom folder for separate storage in units of record files. In addition, the user can also upload local record files to a user-defined folder on the message storage server, and move the uploaded record files between different user folders.
在“Conversation-History”文件夹中可以通过操纵标签元数据来提供逻辑视图。标签元数据存放在顶层文件夹下(例如,“Root-User”)。In the "Conversation-History" folder it is possible to provide a logical view by manipulating tag metadata. Tag metadata is stored under the top-level folder (for example, "Root-User").
在具体实施过程中,为消息存储模型定义配套的元数据模型(会谈元数据和标签元数据)。其中,会谈元数据记录提供对CPM会谈历史记录的摘要描述信息。而标签元数据则用来记录“标签”和被标记的记录对象之间的关联关系,系统可以提供预定义的标签来实现系统预定义标签分类视图,用户还可以定义自定义的标签来实现用户自定义标签分类视图。In the specific implementation process, a supporting metadata model (talk metadata and tag metadata) is defined for the message storage model. Wherein, the meeting metadata record provides summary description information of the CPM meeting history record. The label metadata is used to record the relationship between the "label" and the marked record object. The system can provide predefined labels to realize the system's predefined label classification view, and users can also define custom labels to realize user-defined labels. Customize the tabbed taxonomy view.
以下对图5中存储的两种类型的元数据进行描述。The two types of metadata stored in FIG. 5 are described below.
(1)会谈元数据(1) Session metadata
会谈元数据,用于记录CPM会谈历史记录的描述信息,并维持CPM消息记录、CPM文件传输历史记录以及CPM会话历史记录和所属CPM会谈之间的关联关系,以提供会谈视图;会谈元数据与“Conversation-History”文件夹相关联;Meeting metadata, used to record the description information of CPM meeting history records, and maintain the relationship between CPM message records, CPM file transfer history records, and CPM session history records and the CPM talks to which they belong, so as to provide a meeting view; meeting metadata and The "Conversation-History" folder is associated;
由于CPM参与功能在会谈过程中记录的所有的CPM消息记录、CPM文件传输历史记录以及CPM会话历史记录都直接存储在MSS上的“Conversation-History”文件夹中,因此,实际上CPM会谈历史记录并没有实际的物理存储结构与之对应,所以各个CPM会谈的描述信息必须要通过元数据来提供。优选地,将会谈元数据存储于Conversation-History”文件夹下。Since all CPM message records, CPM file transfer history records, and CPM conversation history records recorded by the CPM participation function during the conversation are directly stored in the "Conversation-History" folder on the MSS, in fact, the CPM conversation history records There is no actual physical storage structure corresponding to it, so the descriptive information of each CPM session must be provided through metadata. Preferably, the conversation metadata is stored under the "Conversation-History" folder.
会谈元数据可以从与该会谈相关的各个记录对象文件中提取,并作为元数据存储,当向MSC呈现会谈视图的时候(如该用户拥有哪些会谈信息等),MSC需要首先向MSS请求会谈元数据,然后通过这些元数据获得MSS上存储的CPM会谈的描述信息,从而向用户提供会谈视图。Meeting metadata can be extracted from each record object file related to the meeting and stored as metadata. When presenting the meeting view to MSC (such as what meeting information the user owns, etc.), MSC needs to first request the meeting metadata from MSS Data, and then use these metadata to obtain the description information of the CPM talks stored on the MSS, so as to provide the user with a view of the talks.
会谈元数据与“Conversation-History”文件夹相关联,用于提供对该文件夹中存储的记录文件与所属的CPM会谈之间的关联关系,以及为CPM会谈历史记录提供描述信息。优选地,可以使用XML文档的形式来存储会谈元数据(Conversation.xml),用以记录CPM会谈的描述信息,会谈元数据XML文档的组织结构如下图7所示。The conversation metadata is associated with the "Conversation-History" folder, and is used to provide the association between the record files stored in the folder and the CPM conversations it belongs to, and to provide description information for the CPM conversation history records. Preferably, the conversation metadata (Conversation.xml) can be stored in the form of an XML document to record the description information of the CPM conversation. The organizational structure of the conversation metadata XML document is shown in FIG. 7 below.
如图7所示,会谈元数据XML文档以<Conversation>元素为根元素,该元素下有多个以会谈标识符命名的<ConvID>子元素,每一个这样的子元素就代表了一个会谈历史记录的描述信息。As shown in Figure 7, the XML document of the conversation metadata takes the <Conversation> element as the root element, under which there are multiple <ConvID> sub-elements named after the conversation identifier, and each such sub-element represents a conversation history Description of the record.
其中,<ConvID>子元素下又可分为多个子元素,分别用来对该CPM会谈历史记录进行描述:<Start-Time>子元素:记录该CPM会谈的开始时间;<End-Time>子元素:记录该CPM会谈的结束时间;<Subject>子元素:记录该CPM会谈的主题信息;<Initiator>子元素:记录该CPM会谈的发起者地址信息;<Participants>子元素:记录该CPM会谈的参与者地址信息,该元素下通过多个<entry>元素来分别记录每一个参与者的地址;<Content-UID>子元素:记录该CPM会谈所包含的各个记录文件的UID(UID由MSS分配,文件夹作用域);<Thread-Result>子元素:记录MSS对该会谈历史记录进行线性排序的结果字符串。由于采用将所有的会谈历史记录内容存储在“Conversation-History”下的方案,则客户端无法使用THREAD命令向服务器请求线性排序结果,为了解决这个问题,在会谈元数据信息表中增加这个记录项,将服务器对该会谈进行线性排序的结果作为元数据存储,则消息存储客户端可以通过GETMETADATA命令就可以获取到对指定会谈的线性排序结果。Among them, the <ConvID> sub-element can be divided into multiple sub-elements, which are used to describe the history of the CPM conversation: <Start-Time> sub-element: record the start time of the CPM conversation; <End-Time> sub-element Element: record the end time of the CPM meeting; <Subject> sub-element: record the subject information of the CPM meeting; <Initiator> sub-element: record the initiator address information of the CPM meeting; <Participants> sub-element: record the CPM meeting The address information of the participants, under this element, the address of each participant is recorded separately through multiple <entry> elements; <Content-UID> sub-element: record the UID of each record file contained in the CPM meeting (UID is determined by MSS allocation, folder scope); <Thread-Result> sub-element: records the result string of the linear sorting of the session history by MSS. Due to the scheme of storing all conversation history records under "Conversation-History", the client cannot use the THREAD command to request linear sorting results from the server. In order to solve this problem, add this record item in the conversation metadata information table , store the result of the linear sorting of the conversation by the server as metadata, and the message storage client can obtain the linear sorting result of the specified conversation through the GETMETADATA command.
优选地,MSS接收到CPM参与功能提交的CPM消息记录、CPM文件传输历史记录、CPM会话历史记录时,应该首先对其进行解析,取得这些记录对象的会谈标识符,查询“会谈元数据XML”中是否已经存在相应的<ConvID>子元素,如果没有找到相应的<ConvID>子元素,则说明这是一个新的CPM会谈,需要在会谈元数据XML文档中为该CPM会谈新增一个<ConvID>子元素,并从接收到的记录对象中提取相关的信息来填写<ConvID>元素下的各个子元素。Preferably, when the MSS receives the CPM message records, CPM file transfer history records, and CPM session history records submitted by the CPM participation function, it should first analyze them, obtain the meeting identifiers of these record objects, and query the "metadata XML of the meeting" Does the corresponding <ConvID> sub-element already exist in , if no corresponding <ConvID> sub-element is found, it means that this is a new CPM meeting, and a new <ConvID> needs to be added for the CPM meeting in the meeting metadata XML document > sub-element, and extract relevant information from the received record object to fill in each sub-element under the <ConvID> element.
以下结合实例描述会谈元数据XML文档,该会谈元数据XML文档中,记录了会谈标识符分别为ConvID1和ConvID2的两个会谈历史记录的描述信息。The conversation metadata XML document is described below in conjunction with an example. In the conversation metadata XML document, description information of two conversation history records whose conversation identifiers are ConvID1 and ConvID2 are recorded.
以下对会谈元数据的访问操作(例如,获取与“Conversation-History”文件夹关联的会谈元数据)进行描述。The following describes the access operation of the conversation metadata (for example, acquiring the conversation metadata associated with the "Conversation-History" folder).
优选地,获取与“Conversation-History”文件夹关联的会谈元数据包括但不限于以下处理:MSC可通过IMAP4/GETMETADATA命令([RFC5464])向MSS请求获取“Conversation-History”文件夹的会谈元数据。其中,该命令格式如下:Preferably, obtaining the conversation metadata associated with the "Conversation-History" folder includes but is not limited to the following processing: MSC can request the MSS to obtain the conversation metadata of the "Conversation-History" folder through the IMAP4/GETMETADATA command ([RFC5464]) data. Among them, the command format is as follows:
GETMETADATA<“指定文件夹的名称”><(选项)><(指定的元数据表或表中的字段名)>GETMETADATA <"name of the specified folder"><(option)><(specified metadata table or field name in the table)>
其中,<指定文件夹的名称>参数,给出MSC希望获取元数据的目标文件夹的名称,此处应设置为“Conversation-History”文件夹;Among them, <the name of the specified folder> parameter, gives the name of the target folder that MSC wants to obtain metadata, here should be set to the "Conversation-History" folder;
<(选项)>参数:使用DEPTH选项,扩展返回元数据的范围,当将DEPTH选项设置为“Infinity”时,表示返回指定元数据表中的所有字段的值。<(option)> parameter: Use the DEPTH option to expand the range of returned metadata. When the DEPTH option is set to "Infinity", it means to return the values of all fields in the specified metadata table.
<(指定的元数据表或表中的字段名)>参数:格式为“/shared/XML文档名/XML元素名”,用于指定MSC希望获取元数据的目标元数据XML文档的名称以及该XML文档中的哪个XML元素。<(specified metadata table or field name in the table)> parameter: the format is "/shared/XML document name/XML element name", which is used to specify the name of the target metadata XML document that MSC wants to obtain metadata and the Which XML element in the XML document.
例如,当MSC向MSS请求CPM会谈历史记录的所有元数据时,使用如下命令:GETMETADATA“Conversation-History”(DEPTHInfinity)(/shared/conversation/)。For example, when the MSC requests all metadata of the CPM conversation history from the MSS, the following command is used: GETMETADATA "Conversation-History" (DEPTHInfinity) (/shared/conversation/).
例如,如果MSC只希望获取特定记录项的某一个字段的元数据信息,如希望获得会谈标识符为“ConvID3”的会谈历史记录的会谈主题信息,则MSC可使用如下命令:GETMETADATA“Conversation-History”(/shared/conversation/convID3/Subject)。For example, if the MSC only wants to obtain the metadata information of a certain field of a specific record item, such as the conversation subject information of the conversation history record with the conversation identifier "ConvID3", the MSC can use the following command: GETMETADATA "Conversation-History "(/shared/conversation/convID3/Subject).
其中,与“Conversation-History”文件夹相关联的会谈元数据由MSS管理,MSC不能进行修改,而只能够以只读状态进行访问。Among them, the conversation metadata associated with the "Conversation-History" folder is managed by MSS, and MSC cannot modify it, but can only be accessed in a read-only state.
(2)标签元数据(2) Tag metadata
优选地,标签分类标识包括以下至少之一:系统预定义的标签分类标识、用户自定义的标签分类标识。Preferably, the label classification identification includes at least one of the following: a system predefined label classification identification and a user-defined label classification identification.
在具体实施过程中,标签元数据与根文件夹“Root-User”相关联,提供“用户自定义标签”或“系统预定义标签”与被标记的内容之间的关联关系,从而可以将消息存储器上存储的记录对象按照用户的需求进行分类,为用户提供动态逻辑视图。In the specific implementation process, the tag metadata is associated with the root folder "Root-User", providing the association between "user-defined tags" or "system predefined tags" and the tagged content, so that the message can be The record objects stored on the memory are classified according to the user's needs, and a dynamic logical view is provided for the user.
本发明实施例中以XML文档形式为例来存储标签元数据(Tag.xml),优选地,标签元数据还可以采用其他形式(例如,数据库)进行组织以记录“标签”和被标记的记录对象之间的关联关系。例如,标签元数据XML文档的组织结构图可以参见图8。In the embodiment of the present invention, the tag metadata (Tag.xml) is stored as an example in the form of an XML document. Preferably, the tag metadata can also be organized in other forms (for example, a database) to record "tags" and marked records Relationships between objects. For example, see FIG. 8 for an organization chart of a tag metadata XML document.
如图8所示,标签元数据XML文档以<TagList>元素为根元素,该元素下有多个以“标签名”命名的<TagName>子元素,每一个这样的子元素就代表了一个标签分类,该元素下又可分为多个以被标记的记录对象所在文件夹的名称命名的<FileFolderName>子元素,每一个这样的子元素代表了一个文件夹(可以是“Conversation-History”系统文件夹,也可以是用户自定义文件夹),该元素下每一个被标记的记录对象作为一个<Seq>子元素。As shown in Figure 8, the tag metadata XML document takes the <TagList> element as the root element, under which there are multiple <TagName> sub-elements named after "tag name", and each such sub-element represents a tag Classification, this element can be divided into multiple <FileFolderName> sub-elements named after the folder where the marked record object is located, and each such sub-element represents a folder (it can be a "Conversation-History" system folder, or a user-defined folder), each marked record object under this element is a <Seq> sub-element.
以下结合实例进行描述,标签元数据XML文档的一个实例如下所示:The following description is combined with an example. An example of a tag metadata XML document is as follows:
如上例所示的标签元数据XML文档中,记录了四类标签:“SendBox”、“ReceivedBox”、“Important”、“CPM”,其中“SendBox”、“ReceivedBox”为系统预定义的标签,这两种标签元素下的内容都是由MSS自动写入的,MSS以会谈为单位,将该用户发起的CPM会谈的历史记录归入“SendBox”标签,而将该用户接受邀请参与的CPM会谈的历史记录归入“ReceivedBox”标签。也就是说,即使用户没有创建任何标签分类,系统也能够默认地为用户提供预定义的“收件箱”、“发件箱”标签分类视图。In the label metadata XML document shown in the above example, four types of labels are recorded: "SendBox", "ReceivedBox", "Important", and "CPM", among which "SendBox" and "ReceivedBox" are predefined labels of the system. The content under the two label elements is automatically written by MSS. MSS takes the meeting as a unit, and puts the history records of the CPM talks initiated by the user into the "SendBox" label, and the CPM talks that the user accepts the invitation to participate in The history is grouped in the "ReceivedBox" tab. That is to say, even if the user does not create any label classification, the system can also provide the user with the predefined "inbox" and "outbox" label classification views by default.
“Important”、“CPM”标签是用户创建的自定义标签,用户在浏览用户文件夹或“Conversation-History”文件夹下的内容时,可以为目标文件夹下存储的一条CPM消息记录、CPM文件传输历史记录、CPM会话历史记录打上自定义标签,将它们归入用户自定义的标签分类,当MSS接收到用户的标记请求时,就会去修改标签元数据XML文档,添加相关的XML元素来记录标签和被标记的记录对象之间的关联关系。The "Important" and "CPM" tags are custom tags created by users. When users browse the contents of the user folder or the "Conversation-History" folder, they can record a CPM message or a CPM file stored in the target folder. Transfer history records and CPM session history records are marked with custom tags, and they are classified into user-defined tag categories. When MSS receives the user's tag request, it will modify the tag metadata XML document and add related XML elements to Record the association between the label and the marked record object.
如上例所示:“Important”标签标记了“Conversation-History”文件夹中UID为11和3的两个记录文件,以及会谈标识符为ConvID1的一条会谈历史记录,除此之外,还标记了用户文件夹“Working”中UID分别为11和5的两个记录文件。而“CPM”标签只标记了用户文件夹“Study”中UID为11的一个记录文件。As shown in the above example: the "Important" tag marks two record files with UIDs 11 and 3 in the "Conversation-History" folder, and a conversation history record with the conversation identifier ConvID1. In addition, it also marks Two record files with UIDs 11 and 5 in the user folder "Working". And the "CPM" label only marks a record file with UID 11 in the user folder "Study".
以下对标签元数据的访问操作进行描述:The following describes the access operations of tag metadata:
优选地,获取与“Root-User”文件夹关联的标签元数据包括以下处理:MSC可通过IMAP4/GETMETADATA命令([RFC5464])向MSS请求获取与“Root-User”文件夹关联的标签元数据。其中,该命令格式如下:GETMETADATA<“指定文件夹的名称”><(选项)><(指定的元数据表或表中的字段名)>Preferably, obtaining the label metadata associated with the "Root-User" folder includes the following processing: MSC can request the MSS to obtain the label metadata associated with the "Root-User" folder through the IMAP4/GETMETADATA command ([RFC5464]) . Among them, the format of the command is as follows: GETMETADATA <"name of the specified folder"><(option)><(specified metadata table or field name in the table)>
<指定文件夹的名称>参数,给出MSC希望获取元数据的目标文件夹的名称,这里应设置为“/”,表示CPM用户登陆根目录“Root-User”文件夹;The <name of the specified folder> parameter gives the name of the target folder that MSC wants to obtain metadata, here it should be set to "/", indicating that the CPM user logs in to the root directory "Root-User" folder;
<(选项)>参数:使用DEPTH选项,扩展返回元数据的范围,当将DEPTH选项设置为“Infinity”时,表示返回指定元数据表中的所有字段的值。<(option)> parameter: Use the DEPTH option to expand the range of returned metadata. When the DEPTH option is set to "Infinity", it means to return the values of all fields in the specified metadata table.
<(指定的元数据表或表中的字段名)>参数:格式为“/shared/XML文档名/XML元素名”,用于指定MSC希望获取元数据的目标元数据XML文档的名称以及该XML文档中的哪个XML元素。例如,设置CPM标签元数据XML文档为TagList.xml。<(specified metadata table or field name in the table)> parameter: the format is "/shared/XML document name/XML element name", which is used to specify the name of the target metadata XML document that MSC wants to obtain metadata and the Which XML element in the XML document. For example, set the CPM tag metadata XML document as TagList.xml.
例如,MSC向MSS请求所有标签元数据时,使用如下命令:GETMETADATA“/”(DEPTHInfinity)(/shared/TagList/);For example, when MSC requests all tag metadata from MSS, use the following command: GETMETADATA“/”(DEPTHInfinity)(/shared/TagList/);
例如,如果MSC只希望获取某一个标签(如“Important”标签)关联的所有记录对象时,则MSC可使用如下命令:GETMETADATA“/”(DEPTHInfinity)(/shared/TagList/Important/)。For example, if MSC only wants to get all the record objects associated with a certain tag (such as "Important" tag), MSC can use the following command: GETMETADATA "/" (DEPTHInfinity) (/shared/TagList/Important/).
优选地,由于MSC能够对与“Root-User”文件夹相关联的标签元数据进行修改,可以设置与“Root-User”文件夹关联的标签元数据,例如,用户“创建标签”、“删除标签”、“为记录对象添加标签”、“为记录对象解除标签”等操作。需要MSC使用IMAP4/SETMETADATA命令([RFC5464])向MSS请求修改标签元数据。该命令的格式如下:SETMETADATA<“指定文件夹的名称”><(指定的元数据表或表中的字段名设置的值)>Preferably, since MSC is able to modify the tag metadata associated with the "Root-User" folder, the tag metadata associated with the "Root-User" folder can be set, for example, user "Create Tag", "Delete Label", "Add label to record object", "Unlabel record object" and other operations. The MSC is required to request modification of tag metadata from the MSS using the IMAP4/SETMETADATA command ([RFC5464]). The format of the command is as follows: SETMETADATA <"name of the specified folder"><(specified metadata table or the value set by the field name in the table)>
<指定文件夹的名称>参数,给出MSC希望设置元数据的用户文件夹的名称,这里应该设置为“/”,表示CPM登陆根目录“Root-User”文件夹;<name of the specified folder> parameter, give the name of the user folder that MSC wants to set metadata, here should be set to "/", which means that the CPM login root directory "Root-User" folder;
<(指定的元数据表或表中的字段名设置的值)>参数:是一个形如(entryvalue)的值对,其中“entry”指定了MSC希望修改的元数据所在的表及对应的字段名称,而“value”表示希望设置的值。“entry”部分的具体格式为“/shared/XML文档名/XML元素”。<(the specified metadata table or the value set by the field name in the table)> parameter: it is a value pair in the form of (entryvalue), where "entry" specifies the table where the metadata that MSC wants to modify is located and the corresponding field name, and "value" indicates the value you wish to set. The specific format of the "entry" part is "/shared/XML document name/XML element".
例如,当MSC请求创建新的标签分类“Important”,则使用如下命令:SETMETADATA“/”(/shared/TagList/Important/“”)For example, when MSC requests to create a new tag category "Important", use the following command: SETMETADATA "/" (/shared/TagList/Important/"")
例如,MSC请求为存储在“Conversation-History”文件夹下UID为11的记录文件打上“Important”标签,则使用如下的命令:SETMETADATA“/”(/shared/TagList/Important/Conversation-History/s1“11”);For example, if MSC requests to mark the record file with UID 11 stored in the folder "Conversation-History" with the "Important" tag, use the following command: SETMETADATA "/"(/shared/TagList/Important/Conversation-History/s1 "11");
例如,当MSC请求为存储在“Conversation-History”文件夹下UID为11的记录文件解除“Important”标签,则使用如下的命令:SETMETADATA“/”(/shared/TagList/Important/Conversation-History/s1NIL);For example, when MSC requests to remove the "Important" tag for the record file with UID 11 stored in the "Conversation-History" folder, use the following command: SETMETADATA "/"(/shared/TagList/Important/Conversation-History/ s1NIL);
例如,MSC请求解除“Important”标签分类下所有被标记的对象和该标签的关联关系,则使用如下的命令:SETMETADATA“/”(/shared/TagList/Important/*NIL);For example, if MSC requests to disassociate all marked objects under the "Important" label classification with this label, use the following command: SETMETADATA "/"(/shared/TagList/Important/*NIL);
例如,MSC请求删除标签分类“Important”,则使用如下命令:SETMETADATA“/”(/shared/TagList/ImportantNIL)。For example, if MSC requests to delete the tag category "Important", use the following command: SETMETADATA "/" (/shared/TagList/ImportantNIL).
优选地,在消息存储服务器接收来自于客户端的访问指令之前,方法还可以包括以下处理:Preferably, before the message storage server receives the access instruction from the client, the method may further include the following processing:
(1)消息存储服务器接收来自于客户端的标签元数据的请求消息;(1) The message storage server receives the request message of the tag metadata from the client;
(2)消息存储服务器将部分或全部标签分类标识发送至客户端。(2) The message storage server sends part or all of the label classification identifiers to the client.
其中,客户端的访问控制权限规定了用户能够对消息存储服务器上的文件夹以及该文件夹下所存储资源的访问及操控能力。每当用户请求对消息存储服务器上所存储的资源进行操控时(即执行不同的操作命令时),都需要对该请求方对相应资源的访问控制权限进行检查,只有满足一定的权限,消息存储服务器才可以执行相关的操作,否则消息存储服务器将拒绝请求方的请求命令,并返回错误应答消息。Wherein, the access control authority of the client defines the ability of the user to access and manipulate the folder on the message storage server and the resources stored in the folder. Whenever a user requests to manipulate the resources stored on the message storage server (that is, when executing different operation commands), it is necessary to check the access control authority of the requester to the corresponding resource. Only when certain permissions are met, the message storage Only the server can perform related operations, otherwise the message storage server will reject the requesting party's request command and return an error response message.
根据[RFC4314ACL扩展]中的定义,上述访问控制权限可以参见访问控制列表(ACL),其中,ACL是一组<AccessIdentifiers,rights>值对,“AccessIdentifiers”标识责任人,而“rights”标识相应的责任人有哪些访问控制权限。一个ACL应用于一个“邮箱”(即文件夹)。According to the definition in [RFC4314ACL Extension], the above access control rights can refer to the access control list (ACL), where ACL is a set of <AccessIdentifiers, rights> value pairs, "AccessIdentifiers" identifies the responsible person, and "rights" identifies the corresponding What access control permissions does the responsible person have. An ACL applies to a "mailbox" (ie folder).
[RFC4314]为IMAP4服务器上的文件夹及文件夹下的资源定义了以下的访问控制权限,并通过不同的权限标识符进行标识,例如:[RFC4314] defines the following access control permissions for folders on the IMAP4 server and resources under the folders, and is identified by different permission identifiers, for example:
l:lookup,表示文件夹可列表,即可以被LIST、LSUB、SUBSCRIBE命令访问;l: lookup, indicating that the folder can be listed, that is, it can be accessed by LIST, LSUB, and SUBSCRIBE commands;
r:read,表示文件夹可读,即可被SELECT、STATUS命令访问;r: read, indicating that the folder is readable and can be accessed by SELECT and STATUS commands;
s:在会话中保持seen/unseen标记信息,即可通过STORE命令设置或清除\SEEN标记;s: Keep the seen/unseen flag information in the session, you can set or clear the \SEEN flag through the STORE command;
w:write,表示文件夹可写,即可通过STORE设置或清除除了\SEEN和\DELETED之外的其他标记,或通过APPEND、COPY命令对除了\SEEN和\DELETED之外的其他标记进行设置;w: write, indicating that the folder is writable, you can set or clear other marks except \SEEN and \DELETED through STORE, or set other marks except \SEEN and \DELETED through APPEND and COPY commands;
i:insert,表示文件夹可被APPEND、COPY命令操作;i: insert, indicating that the folder can be operated by APPEND and COPY commands;
k:createmailboxes,表示可使用CREATE命令在该文件夹下创建任意层次的字文件夹,或通过RENAME命令对该文件夹进行移动/重命名操作;k: createmailboxes, which means that you can use the CREATE command to create sub-folders of any level under this folder, or use the RENAME command to move/rename the folder;
x:deletemailboxes,表示该文件夹可通过DELETE命令删除,或可被RENAME命令删除源文件夹;x: deletemailboxes, indicating that the folder can be deleted by the DELETE command, or the source folder can be deleted by the RENAME command;
t:deleteMessages,可通过STORE操作对该文件夹下的文件设置或清除\DELETED标记,通过APPEND/COPY命令设置\DELETED标记;t: deleteMessages, the \DELETED mark can be set or cleared for the files under the folder through the STORE operation, and the \DELETED mark can be set through the APPEND/COPY command;
e:可通过EXPUNGE命令执行删除操作;e: The delete operation can be performed through the EXPUNGE command;
a:administer,可执行SETACL、DELETEACL、GETACL、LISTRIGHTS等对访问控制列表进行管理的命令;a: administer, which can execute SETACL, DELETEACL, GETACL, LISTRIGHTS and other commands to manage the access control list;
在具体实施过程中,消息存储服务器上的文件夹可以分成两种不同的类型:(1)由系统创建的文件夹,如“Root-User”根目录文件夹,以及“Conversation-History”会谈历史记录文件夹;(2)由用户自定义创建的文件夹,如“Folder1”、“Folder2”等;In the specific implementation process, the folders on the message storage server can be divided into two different types: (1) folders created by the system, such as "Root-User" root directory folder, and "Conversation-History" conversation history Record folder; (2) Folders created by users, such as "Folder1", "Folder2" and so on;
当MSS创建一个文件夹时就会首先为这个文件夹分配一定的权限,之后用户对该文件夹的操作应该依据权限来执行。当然,根据系统请求创建的文件夹和用户请求创建的文件夹的不同,MSS为其分配的权限也不相同。When MSS creates a folder, it will first assign certain permissions to the folder, and then the user's operations on the folder should be performed according to the permissions. Of course, depending on the folder created by the system request and the folder created by the user request, the MSS assigns different permissions to it.
例如,为系统级文件夹分配用户访问控制权限,CPM用户主要对系统文件夹进行查看行为,应限制其他的如修改、删除、移动等操作权限,防止用户的误操作对CPM会谈历史记录完整性的破坏。所以对于系统级文件夹,可以分配以下访问权限:l、r等。系统文件夹不能分配以下访问权限:x、k等。For example, assign user access control permissions to system-level folders. CPM users mainly view system folders, and other operations such as modification, deletion, and movement should be restricted to prevent user misoperations from affecting the integrity of CPM session history records. destruction. So for system-level folders, you can assign the following access rights: l, r, etc. System folders cannot be assigned the following access rights: x, k, etc.
在为用户自定义文件夹分配访问控制权限时,因为用户对自己创建的文件夹拥有完全的访问控制权限,可以分配所有的权限标识符,并且用户还可以按照[RFC4314]的规定和流程,通过SETACL、DELETEACL、GETACL、LISTRIGHTS等命令来管理自定义文件夹的各种访问控制权限,即为别的CPM用户赋予访问用户自定义文件夹的相关权限的能力。When assigning access control permissions to user-defined folders, because users have full access control permissions to the folders they create, all permission identifiers can be assigned, and users can also follow the regulations and procedures of [RFC4314] through SETACL, DELETEACL, GETACL, LISTRIGHTS and other commands are used to manage various access control permissions of user-defined folders, that is, to give other CPM users the ability to access related permissions of user-defined folders.
以下结合四个实施例分别对用户“获得访问控制列表操作”、“设置访问控制列表操作”、“删除访问控制列表操作”以及“获得访问权限操作”进行描述,其中,上述操作都是针对用户文件夹进行的,系统文件夹由于出于安全性考虑,没有对用户分配“a”(administer)权限,故用户无法管理系统文件夹的访问控制列表。The following describes the user's "operation of obtaining access control list", "operation of setting access control list", "operation of deleting access control list" and "operation of obtaining access authority" in combination with four embodiments, wherein the above operations are all for users For security reasons, the system folder does not assign "a" (administer) permission to the user, so the user cannot manage the access control list of the system folder.
实施例一:用户获得访问控制列表操作Embodiment 1: User obtains access control list operation
用户如果想获得某个用户文件夹的访问控制列表,则按照[RFC4314]中的规定,由MSC构造IMAP4/GETACL命令,指定目标文件夹的名称,向MSS请求目标文件夹的访问控制列表,具体可以参见图9。If the user wants to obtain the access control list of a certain user folder, according to the regulations in [RFC4314], the MSC constructs the IMAP4/GETACL command, specifies the name of the target folder, and requests the MSS for the access control list of the target folder, specifically See Figure 9.
用户向MSS请求“Working”用户文件夹的访问控制列表,MSS接收到该命令后检查请求方用户是否对目标文件夹具有“a”权限,即是否能够获取访问控制列表的权限。如果具有该权限,则MSS在对GETACL命令的应答消息中返回访问控制列表,如上图所示,访问控制列表中显示,用户“Fred”对目标文件夹拥有“rwipslxetad”权限,而用户“Chris”对目标文件夹拥有“lrswi”权限。The user requests the MSS for the access control list of the "Working" user folder. After receiving the command, the MSS checks whether the requesting user has the "a" permission for the target folder, that is, whether the permission of the access control list can be obtained. If it has this permission, MSS returns the access control list in the response message to the GETACL command, as shown in the above figure, the access control list shows that the user "Fred" has the "rwipslxetad" permission on the target folder, and the user "Chris" Have "lrswi" permissions on the target folder.
如果请求方用户对目标文件夹不具有“a”权限,则MSS应该使用失败应答消息拒绝请求方的GETACL命令。If the requester user does not have "a" permission on the target folder, the MSS should reject the requester's GETACL command with a failure response message.
实施例二:用户设置访问控制列表操作Embodiment 2: User setting access control list operation
如果用户希望对某个用户文件夹的访问控制列表进行设置,例如为另外的用户赋予某些权限,则应该按照[RFC4314]中规定的流程,由MSC构造IMAP4/SETACL命令,请求MSS为指定目标文件夹添加对某用户的访问控制权限,具体可以参见图10。If the user wants to set the access control list of a user folder, such as granting certain permissions to another user, the MSC should construct the IMAP4/SETACL command according to the procedure specified in [RFC4314], and request the MSS to be the specified target Folders add access control permissions to a user, see Figure 10 for details.
用户向MSS请求为另外的用户“Chris”增加对目标文件夹“Working”的访问控制权限“cda”。MSS接收到该命令后,首先应该检查请求方用户对目标文件夹是否具有“a”权限,如果请求方用户对目标文件夹具有“a”权限,那么MSS将按照SETACL命令中的请求,为目标文件夹“Working”的访问控制列表中,增加“Chris”用户的“cda”权限;如果请求方用户对目标文件夹不具有“a”权限,则MSS应该使用失败应答消息拒绝请求方的SETACL命令。The user requests MSS to add the access control authority "cda" to the target folder "Working" for another user "Chris". After MSS receives this command, it should first check whether the requesting user has the "a" permission on the target folder. If the requesting user has "a" permission on the target folder, then MSS will follow the request in the SETACL command as the target folder. In the access control list of the folder "Working", add the "cda" permission of the "Chris" user; if the requester user does not have the "a" permission for the target folder, MSS should reject the requester's SETACL command with a failure response message .
实施例三:用户删除访问控制列表操作Embodiment 3: User deletes the access control list operation
如果用户希望删除另一个用户对某用户文件夹的访问控制列表,则应该按照[RFC4314]中规定的流程,由MSC构造“IMAP4/DELETEACL”命令,请求MSS将指定用户对目标文件夹的访问控制权限列表删除,具体可以参见图11。If a user wants to delete another user's access control list for a certain user folder, the MSC should follow the procedure specified in [RFC4314] to construct an "IMAP4/DELETEACL" command, requesting the MSS to specify the user's access control for the target folder Delete the permission list, see Figure 11 for details.
用户向MSS请求删除另外的用户“Fred”对目标文件夹“Working”的访问控制权限列表。MSS接收到该命令后,首先应该检查请求方用户对目标文件夹是否具有“a”权限;如果请求方用户对目标文件夹具有“a”权限,那么MSS将按照DELETEACL命令中的请求,为目标文件夹“Working”的访问控制列表中,删除“Fred”用户的所有访问控制权限;如果请求方用户对目标文件夹不具有“a”权限,则MSS应该使用失败应答消息拒绝请求方的DELETEACL命令。The user requests the MSS to delete the access control permission list of another user "Fred" to the target folder "Working". After MSS receives this command, it should first check whether the requesting user has "a" permission on the target folder; if the requesting user has "a" permission on the target folder, then MSS will follow the request in the DELETEACL command as the target In the access control list of the folder "Working", delete all access control permissions of the "Fred" user; if the requester user does not have the "a" permission on the target folder, MSS should reject the requester's DELETEACL command with a failure response message .
实施例四:用户获得访问权限操作Embodiment 4: User obtains access permission operation
如果用户想获得某个特定的用户对自己所创建的用户文件夹拥有哪些访问控制权限,则可按照[RFC4314]中的规定,由MSC构造“IMAP4/LISTRIGHTS”命令,请求MSS返回指定用户对目标文件夹的访问控制权限列表,具体可以参见图12。If the user wants to know which access control rights a specific user has for the user folder he created, he can follow the regulations in [RFC4314], and the MSC constructs the "IMAP4/LISTRIGHTS" command to request the MSS to return the specified user's access to the target Folder access control permission list, see Figure 12 for details.
用户向MSS请求获得某用户“Smith”对目标文件夹“Working”的访问控制权限列表。MSS接收到该命令后,首先应该检查请求方用户对目标文件夹是否具有“a”权限;如果请求方用户对目标文件夹具有“a”权限,那么MSS将按照LISTRIGHTS命令中的请求,在目标文件夹“Working”的访问控制列表中,查找“Smith”用户的所有访问控制权限,并在对LISTRIGHTS命令的应答消息中返回;如果请求方用户对目标文件夹不具有“a”权限,则MSS应该使用失败应答消息拒绝请求方的LISTRIGHTS命令。The user requests the MSS to obtain the access control permission list of the user "Smith" to the target folder "Working". After MSS receives this command, it should first check whether the requesting user has the "a" permission on the target folder; if the requesting user has the "a" permission on the target folder, then MSS will follow the request in the LISTRIGHTS In the access control list of the folder "Working", find all access control permissions of the "Smith" user and return it in the reply message to the LISTRIGHTS command; if the requesting user does not have the "a" permission on the target folder, MSS The requestor's LISTRIGHTS command SHOULD be rejected with a failure response message.
用户进行消息存储访问操作主要包括以下处理(操作一至操作十一):The user's message storage access operation mainly includes the following processing (operation 1 to operation 11):
在具体实施过程中,当CPM用户希望查看MSS上存储的内容时,首先将使用MSC(即上述客户端)登陆MSS(即消息存储服务器)。In the specific implementation process, when a CPM user wishes to view the content stored on the MSS, he will first log in to the MSS (ie, the message storage server) using the MSC (ie, the above-mentioned client).
步骤1、用户使用MSC登陆MSS;Step 1. The user uses MSC to log in to MSS;
其中,MSC将按照[RFC3501]的规定和流程通过使用IMAP4/AUTHENTICATE命令或IMAP4/LOGIN命令和MSS之间进行认证,只有认证成功,MSC才可以访问MSS上的资源,如果认证失败,MSC将无法访问MSS上的资源。Among them, MSC will use the IMAP4/AUTHENTICATE command or IMAP4/LOGIN command to authenticate with MSS according to the regulations and procedures of [RFC3501]. Only when the authentication is successful, MSC can access the resources on MSS. Access resources on MSS.
优选地,AUTHENTICATE命令允许MSC不发送文本格式的用户名和口令,而是使用其他的认证机制登陆MSS。当使用该命令时,MSC必须按照[RFC3501]中的规定和流程,构造一条有效的AUTHENTICATE命令,并在<authenticationmechanismname>参数中使用特定的认证机制。Preferably, the AUTHENTICATE command allows the MSC to use other authentication mechanisms to log in to the MSS instead of sending the user name and password in text format. When using this command, MSC must construct a valid AUTHENTICATE command according to the regulations and procedures in [RFC3501], and use a specific authentication mechanism in the <authenticationmechanismname> parameter.
步骤2:MSS接收到该命令后会返回一个提示字符串,提示MSC选择适当的认证方法,如果MSS不支持MSC建议的认证方法,将返回NO应答消息。这时MSC必须尝试使用其他认证方法,直至使用LOGIN命令。Step 2: MSS will return a prompt string after receiving the command, prompting MSC to select an appropriate authentication method, if MSS does not support the authentication method suggested by MSC, it will return a NO response message. At this time the MSC must try to use other authentication methods until the LOGIN command is used.
其中,LOGIN命令允许MSC使用文本方式的用户名和口令登陆MSS,尽管这并不是一个好的方法,但有时却是MSC和MSS之间均可使用的唯一方法。当使用该命令时,MSC必须按照[RFC3501]中的规定和流程,构造一条有效的LOGIN命令,在<username>参数中使用MSC的用户名,在<password>参数中使用口令。Among them, the LOGIN command allows MSC to use textual user name and password to log in to MSS. Although this is not a good method, it is sometimes the only method that can be used between MSC and MSS. When using this command, MSC must construct an effective LOGIN command according to the regulations and procedures in [RFC3501], use the MSC user name in the <username> parameter, and use the password in the <password> parameter.
步骤3:MSS接收到LOGIN命令后,使用用户名和口令进行认证,若认证成功,则返回OK应答消息,认证失败则返回NO应答消息,若参数错误则返回BAD应答消息。Step 3: After MSS receives the LOGIN command, it uses the user name and password for authentication. If the authentication is successful, it returns an OK response message. If the authentication fails, it returns a NO response message. If the parameters are wrong, it returns a BAD response message.
在用户登录消息存储器之后,如果用户选择某个文件夹(可以是系统文件夹,也可以是用户文件夹)进行查看,那么MSC首先通过构造IMAP4/SELECT命令([RFC3501])携带该文件夹的名字,请求MSS选中该文件夹。MSS接收到该命令后将目标文件夹设置为活跃文件夹。After the user logs into the message storage, if the user selects a certain folder (it can be a system folder or a user folder) to view, then MSC first constructs an IMAP4/SELECT command ([RFC3501]) to carry the information of the folder Name, request MSS to select the folder. MSS sets the target folder as the active folder after receiving the command.
如图13所示,如果用户选择“Conversation-History”文件夹,则MSC构造如下的SELECT命令向MSS请求将该文件夹设置为活跃文件夹。As shown in Figure 13, if the user selects the "Conversation-History" folder, the MSC constructs the following SELECT command to request the MSS to set the folder as an active folder.
同样,用户还可以选中用户文件夹以将其设置为活跃文件夹。Likewise, users can also check a user folder to make it the active folder.
操作一、用户选择会谈历史记录文件夹(系统文件夹),查看CPM会谈记录列表Operation 1. The user selects the interview history folder (system folder) to view the list of CPM interview records
优选地,当用户需要查看会谈历史记录信息时,方法还可以包括以下处理:Preferably, when the user needs to view the conversation history record information, the method may also include the following processing:
(1)消息存储服务器接收来自于客户端的会谈元数据信息请求指令,其中,会谈元数据信息请求指令携带有会谈元数据信息所属的目录标识信息;(1) The message storage server receives the session metadata information request instruction from the client, wherein the session metadata information request instruction carries the directory identification information to which the session metadata information belongs;
(2)消息存储服务器将会谈元数据信息发送至客户端以进行解析和呈现。(2) The message storage server sends the metadata information of the conversation to the client for parsing and presentation.
上述图2所示的架构中,将所有的记录对象分散在任意的文件夹中,没有定义相应的机制来展现“会谈历史记录”。而图5所示的存储架构中,会谈视图可以通过会谈元数据提供。In the architecture shown in Figure 2 above, all record objects are scattered in arbitrary folders, and no corresponding mechanism is defined to display "conversation history records". In the storage architecture shown in Figure 5, the session view can be provided through session metadata.
用户使用MSC登录MSS之后,就会首先获得服务器上的可用文件夹列表,用户就会在界面上看到“Conversation-History”文件夹以及用户文件夹,当用户希望查看“Conversation-History”文件夹下有哪些会谈历史记录时,MSC应向MSS请求会谈历史记录的相关描述信息。After the user logs in to MSS with MSC, the user will first obtain the list of available folders on the server, and the user will see the "Conversation-History" folder and the user folder on the interface. When the user wants to view the "Conversation-History" folder When there are interview history records, MSC shall request relevant description information of interview history records from MSS.
由于在MSS上会谈历史记录并没有作为独立的物理文件存储,而是通过“会谈元数据XML文档”来记录CPM会谈的描述信息,故MSC应使用IMAP4/GETMETADATA命令([RFC5464]),指定目标文件夹的名称为“Conversation-History”,向MSS的会谈历史记录文件夹请求获取“会谈元数据XML文档”中记录的所有会谈历史记录的元数据信息。Since the meeting history record on MSS is not stored as an independent physical file, but the description information of the CPM meeting is recorded through the "metadata XML document of the meeting", the MSC should use the IMAP4/GETMETADATA command ([RFC5464]) to specify the target The name of the folder is "Conversation-History", and the metadata information of all the conversation history records recorded in the "conversation metadata XML document" is requested from the conversation history folder of MSS.
MSC在获取到会谈相关的描述信息之后,进行解析并在客户端展现CPM会谈历史记录列表,从而提供会谈视图。After the MSC obtains the description information related to the meeting, it analyzes and displays the CPM meeting history list on the client, thereby providing a meeting view.
因为CPM会谈是一个逻辑概念,并没有实际的物理存储实体与之相对应,也就是说CPM会谈的相关描述信息(如发起时间、结束时间、会谈主题、参与者等)信息都需要来自于该会谈所包含的CPM消息记录、CPM文件传输历史记录或CPM会话历史记录。当MSC向MSS请求会谈摘要信息时,MSS不可能每次都去解析这些相关的记录对象从而获得CPM会谈的相关信息,通过元数据记录这些信息是一种比较好的解决方案。Because the CPM talk is a logical concept, there is no actual physical storage entity corresponding to it, that is to say, the relevant descriptive information of the CPM talk (such as initiation time, end time, talk topic, participants, etc.) needs to come from the CPM message records, CPM file transfer history records, or CPM session history records included in the conversation. When MSC requests meeting summary information from MSS, it is impossible for MSS to parse these related record objects every time to obtain relevant information of CPM meeting. It is a better solution to record this information through metadata.
因此该方案中,MSC通过使用[RFC5264]扩展的GETMETADATA命令来向MSS请求获取“会谈元数据”,从而得到MSS上存储的会谈历史记录的描述信息,如图14所示。Therefore, in this solution, the MSC uses the extended GETMETADATA command of [RFC5264] to request the MSS to obtain the "metadata of the meeting", so as to obtain the description information of the meeting history records stored on the MSS, as shown in Figure 14.
在MSS接收到该GETMETADATA请求命令之后,执行以下步骤:After MSS receives the GETMETADATA request command, perform the following steps:
步骤1:解析该命令,提取出<目标文件夹名称>参数为“Conversation-History”,<选项>参数为“DEPTHinfinity”,<entry>参数为“/shared/Conversation/”;Step 1: Parse the command and extract the <target folder name> parameter as "Conversation-History", the <option> parameter as "DEPTHinfinity", and the <entry> parameter as "/shared/Conversation/";
步骤2:根据元数据文件名为“Conversation”,MSS查询“会谈元数据XML文档”,取得该XML文档中所有的<ConvID>元素及该元素下所有子元素的内容,通过GETMETADATA的应答命令向MSC返回。Step 2: According to the name of the metadata file "Conversation", MSS queries the "conversation metadata XML document", obtains all the <ConvID> elements in the XML document and the content of all sub-elements under this element, and submits to MSC returns.
优选地,MSC通过MSS返回的GETMETADATA命令的应答消息获得MSS上存储的有效CPM会谈信息元数据表的所有信息。如图9所示GETMETADATA命令返回的是一系列的值对<entry,value>,其中,entry指示元数据表中的字段,而value是该字段对应的值。例如“/shared/conversation/convID1/StartTime“2009/05/2218:00””表示会谈信息表中会谈标识符为“ConvID1”的CPM会谈历史记录的会谈开始时间(“StartTime”)为“2009/05/2218:00”。这样MSC就能够获取到MSS上存储了哪些会谈,以及这些会谈的摘要信息,MSC就能够通过界面向用户展现。例如,当用户选择了会谈文件夹之后,就会在右侧的显示区域以一行记录为单位显示该会谈文件夹下存储的所有CPM会谈的摘要信息。Preferably, the MSC obtains all the information of the effective CPM meeting information metadata table stored on the MSS through the response message of the GETMETADATA command returned by the MSS. As shown in Figure 9, the GETMETADATA command returns a series of value pairs <entry, value>, where entry indicates a field in the metadata table, and value is the value corresponding to the field. For example, "/shared/conversation/convID1/StartTime"2009/05/2218:00"" indicates that the conversation start time ("StartTime") of the CPM conversation history record with the conversation identifier "ConvID1" in the conversation information table is "2009/ 05/22 18:00". In this way, the MSC can obtain which talks are stored on the MSS and the summary information of these talks, and the MSC can display them to the user through the interface. For example, after the user selects a meeting folder, the summary information of all CPM talks stored under the meeting folder will be displayed in units of one line of records in the display area on the right.
操作二、用户选择一个会谈历史记录,查看该CPM会谈历史记录的详细内容Operation 2. The user selects a meeting history record to view the details of the CPM meeting history record
优选地,在查看会谈历史记录信息之后,方法还可以包括以下处理:Preferably, after viewing the interview history record information, the method may further include the following processing:
(1)消息存储服务器接收来自于客户端的记录对象标识信息;(1) The message storage server receives the record object identification information from the client;
(2)消息存储服务器将记录对象标识信息对应的记录对象的部分或全部信息发送至客户端以进行呈现。(2) The message storage server sends part or all information of the record object corresponding to the record object identification information to the client for presentation.
用户在获得会谈信息列表时,就已经通过IMAP4/GETMETADATA命令获取到该会谈的相关元数据信息,其中就包括了<Content-UID>字段的值,其中记录的正是该CPM会谈包含的所有CPM消息记录、CPM文件传输历史记录、CPM会话历史记录文件的UID(MSS上的唯一存储标识符),使用这些UID,MSC就能够通过IMAP4/FETCH命令([RFC3501])向MSS获取该CPM会谈相关的所有记录文件的头部信息或内容信息,在本地呈现。When the user obtains the meeting information list, he has obtained the relevant metadata information of the meeting through the IMAP4/GETMETADATA command, which includes the value of the <Content-UID> field, which records all the CPMs included in the CPM meeting Message records, CPM file transfer history records, UIDs of CPM session history files (unique storage identifiers on the MSS), using these UIDs, the MSC can obtain the CPM session related information from the MSS through the IMAP4/FETCH command ([RFC3501]) The header information or content information of all recorded files are presented locally.
在具体实施过程中,CPM用户查看到会谈信息列表时,可能选择其中一条CPM会谈历史记录,查看其详细的记录内容。由于MSC已经通过LIST命令获取到CPM会谈历史记录在MSS上对应的会谈历史记录子文件夹的名称,则MSC可以通过IMAP4/SELECT命令选中对应的会谈历史记录子文件夹,再通过IMAP4/FETCH命令取得该文件夹下与该CPM会谈相关的所有记录文件,具体可以参见图15。During the specific implementation process, when a CPM user views the meeting information list, he may select one of the CPM meeting history records to view its detailed record content. Since MSC has acquired the name of the subfolder of CPM conversation history on MSS through the LIST command, MSC can select the corresponding conversation history subfolder through the IMAP4/SELECT command, and then through the IMAP4/FETCH command Obtain all the record files related to the CPM meeting under the folder, see Figure 15 for details.
如图15所示,当MSC通过IMAP4/SELECT命令([RFC3501])选中对应的会谈历史记录子文件夹之后,就可以通过IMAP4/FETCH命令([RFC3501])向MSS请求获取该会谈包含的CPM消息记录文件、CPM文件传输历史记录文件和CPM会话历史记录文件的头部或正文部分信息,MSS接收到该命令之后,获取到相关的信息通过FETCH应答命令向MSC返回。As shown in Figure 15, after the MSC selects the corresponding meeting history subfolder through the IMAP4/SELECT command ([RFC3501]), it can request the MSS to obtain the CPM contained in the meeting through the IMAP4/FETCH command ([RFC3501]) Message record file, CPM file transfer history file and CPM session history file header or body part information, after MSS receives this command, obtains relevant information and returns it to MSC through FETCH response command.
MSC在本地存储上述信息,并进行解析,向用户展现该CPM会谈历史记录的内容。The MSC stores the above information locally, analyzes it, and presents the content of the CPM meeting history to the user.
用户浏览CPM会谈历史记录内容,如果希望查看某条CPM消息或CPM会话历史记录携带的媒体附件的内容,则MSC通过FETCH命令携带希望获取的媒体附件所在的消息记录文件或CPM会话历史记录文件的UID以及媒体附件的part编号,向MSS请求数据。MSS接收到该命令后进行解析,根据UID和Part号取得相应的数据向MSC返回,MSC在本地存储并进行解析呈现。When a user browses the content of the CPM conversation history record, if he wants to view the content of a certain CPM message or the content of the media attachment carried by the CPM session history record, the MSC uses the FETCH command to carry the information of the message record file or the CPM session history file where the desired media attachment is located. The UID and the part number of the media attachment request data from the MSS. After receiving the command, the MSS analyzes it, obtains the corresponding data according to the UID and Part number and returns it to the MSC, and the MSC stores it locally and performs analysis and presentation.
操作三、用户查看标签分类视图Operation 3. The user views the label classification view
优选地,当访问指令指示查看标签分类视图时,上述步骤S404可以包括以下处理:Preferably, when the access instruction indicates to view the tag classification view, the above step S404 may include the following processing:
(1)消息存储服务器接收来自于客户端的会谈历史记录的内容的请求消息,其中,请求消息携带有与标签分类标识相关联的部分或全部记录对象所属的文件目录标识及部分或全部记录对象的标识;(1) The message storage server receives a request message from the client for the content of the conversation history record, wherein the request message carries the file directory identifier and part or all of the record object associated with the label classification identifier. logo;
(2)消息存储服务器将部分或全部记录对象的内容发送至客户端以进行呈现。(2) The message storage server sends part or all of the content of the record object to the client for presentation.
在具体实施过程中,MSC通过构造IMAP4/GETMETADATA命令向MSS请求“标签元数据”,从而获知服务器上目前有哪些标签分类,解析之后向用户呈现各种标签分类,具体可以参见图16所示。In the specific implementation process, MSC requests "tag metadata" from MSS by constructing IMAP4/GETMETADATA commands, so as to know which tag categories are currently available on the server, and present various tag categories to users after parsing, as shown in Figure 16 for details.
如图16所示,通过MSS返回的应答消息,MSC将获知到服务器上当前有三种标签分类:“SendBox”、“ReceivedBox”和“Important”。As shown in Figure 16, through the response message returned by the MSS, the MSC will learn that there are currently three label categories on the server: "SendBox", "ReceivedBox" and "Important".
当用户指定了其中一个标签分类,希望查看该标签分类视图,例如选择了“Important”标签,则MSC在从消息存储服务器上获得的标签元数据中进行查找,找到“Important”标签关联的所有记录对象所在的文件夹以及该记录对象的标识符信息,如图16所示,该标签关联的对象有:位于“Conversation-History”文件夹下UID为11和3的记录文件,以及会谈标识符为ConvID1的会谈历史记录,以及位于“Working”文件夹下UID为11和5的记录文件。When the user specifies one of the label classifications and wants to view the label classification view, for example, if the "Important" label is selected, MSC will search in the label metadata obtained from the message storage server and find all the records associated with the "Important" label The folder where the object is located and the identifier information of the record object are shown in Figure 16. The objects associated with this label are: the record files with UID 11 and 3 located in the "Conversation-History" folder, and the conversation identifier is The conversation history of ConvID1, and the record files with UID 11 and 5 located in the "Working" folder.
然后MSC使用这些信息,通过SELECT命令和FETCH命令的组合,向消息存储服务器请求相关的记录对象的内容,取回本地进行解析后,组织显示在该标签分类的视图下。Then MSC uses this information to request the content of the relevant record object from the message storage server through the combination of the SELECT command and the FETCH command, and after fetching it locally for analysis, the organization is displayed under the view of the label classification.
优选地,如果用户没有设置任何的自定义标签,系统会默认地提供“收件箱”、“发件箱”这两种预定义视图。Preferably, if the user does not set any custom label, the system will provide two predefined views of "inbox" and "outbox" by default.
操作四、用户编辑标签分类视图Operation 4. User edit label classification view
优选地,当访问指令指示编辑标签分类视图时,上述步骤S404可以包括以下处理:Preferably, when the access instruction indicates to edit the tag classification view, the above step S404 may include the following processing:
(1)消息存储服务器接收来自于客户端的标签元数据的编辑指令:(1) The message storage server receives the editing instruction of the tag metadata from the client:
(2)消息存储服务器对标签元数据执行与编辑指令对应的编辑操作。(2) The message storage server executes the editing operation corresponding to the editing instruction on the tag metadata.
在具体实施过程中,用户可以创建自定义的标签,并为记录对象添加标签,为记录对象解除标签,或删除自定义的标签,上述操作都是由MSC通过构造IMAP4/SETMETADATA命令向MSS请求修改“标签元数据”来实现,从而能够动态构造各种逻辑视图。In the specific implementation process, the user can create a custom label, add a label to the record object, remove the label from the record object, or delete the custom label. The above operations are all requested by the MSC to the MSS by constructing the IMAP4/SETMETADATA command "Tag metadata" to achieve, so that various logical views can be dynamically constructed.
其中,当MSC在发起标签管理操作之前,首先要通过IMAP4/GETMETADATA命令获得服务器上最新的“标签元数据”,才能够正确地对MSS上的“标签元数据”进行修改操作。Among them, before MSC initiates tag management operations, it must first obtain the latest "tag metadata" on the server through the IMAP4/GETMETADATA command, so that it can correctly modify the "tag metadata" on the MSS.
优选地,编辑指令用于指示以下至少之一:创建自定义标签、对标签元数据中的记录对象添加标签、对标签元数据中的记录对象解除标签、删除自定义标签。以下结合实例分别进行描述。Preferably, the editing instruction is used to indicate at least one of the following: create a custom label, add a label to a record object in the label metadata, unlabel the record object in the label metadata, and delete a custom label. Describe below in conjunction with example respectively.
1、用户创建自定义的标签1. User-created custom labels
如用户创建自定义的“Important”标签,具体可以参见图17。MSS接收到该请求后,修改和“Root-User”相关联的标签元数据XML文档(TagList.xml),添加<Important>元素,如下表中灰色字体部分所示。<SendBox>和<ReceivedBox>标签是系统预定义的标签。If the user creates a custom "Important" label, see Figure 17 for details. After receiving the request, MSS modifies the tag metadata XML document (TagList.xml) associated with "Root-User" and adds the <Important> element, as shown in the gray font part in the table below. <SendBox> and <ReceivedBox> tags are system predefined tags.
2、MSC请求为存储在“Conversation-History”文件夹下UID为11的记录文件打上“Important”标签。2. MSC requests to label the record file with UID 11 stored in the "Conversation-History" folder with the "Important" label.
优选地,在此操作之前,MSC已经通过IMAP4/GETMETADATA命令获取到MSS上最新的“标签元数据”信息,MSC已经知道“Important”标签下还没有任何标记对象,故MSC将为该标签标记第一个内容(使用s1表示第一个标记对象),如图18所示。Preferably, before this operation, MSC has obtained the latest "tag metadata" information on MSS through the IMAP4/GETMETADATA command, and MSC already knows that there is no tag object under the "Important" tag, so MSC will mark the tag A content (use s1 to denote the first marked object), as shown in Figure 18.
MSS接收到该请求后,修改和“Root-User”相关联的标签元数据XML文档(TagList.xml),在<Important>元素下添加相关的子元素,如下灰色部分所示。After receiving the request, MSS modifies the tag metadata XML document (TagList.xml) associated with "Root-User", and adds related sub-elements under the <Important> element, as shown in the gray part below.
3、MSC请求为存储在“Conversation-History”文件夹下UID为11的记录文件解除“Important”标签。3. The MSC requests to remove the "Important" label for the record file with UID 11 stored in the "Conversation-History" folder.
优选地,可以使用如图19中描述的命令:Preferably, the command as described in Figure 19 can be used:
MSS接收到该请求后,修改和“Root-User”相关联的标签元数据XML文档(TagList.xml),在<Important>元素下删除相关的子元素,如下灰色部分所示。After receiving the request, MSS modifies the tag metadata XML document (TagList.xml) associated with "Root-User", and deletes the relevant sub-elements under the <Important> element, as shown in the gray part below.
4、MSC请求解除“Important”标签分类下所有被标记的对象和该标签的关联关系。4. MSC requests to disassociate all marked objects under the "Important" label classification with this label.
优选地,可以使用如图20中描述的命令。Preferably, a command as described in FIG. 20 may be used.
MSS接收到该请求后,修改和“Root-User”相关联的标签元数据XML文档(TagList.xml),在<Important>元素下删除相关的子元素,如下灰色部分所示。After receiving the request, MSS modifies the tag metadata XML document (TagList.xml) associated with "Root-User", and deletes the relevant sub-elements under the <Important> element, as shown in the gray part below.
5、MSC请求删除标签分类“Important”。5. MSC requests to delete the label category "Important".
优选地,可以使用图21中描述的命令。Preferably, the commands described in FIG. 21 can be used.
MSS接收到该请求后,修改和“Root-User”相关联的标签元数据XML文档(TagList.xml),将<Important>元素及该元素下所有内容删除,如下灰色部分所示。After receiving the request, MSS modifies the tag metadata XML document (TagList.xml) associated with "Root-User", and deletes the <Important> element and all the content under this element, as shown in the gray part below.
用户通过操作标签来动态地修改逻辑视图,消息存储服务器上存储的记录对象能够按照标签分类提供多种逻辑视图。用户在“Conversation-History”文件夹下执行删除会谈历史记录,或在用户文件夹下执行删除记录对象的操作时,修改了物理视图,则标签逻辑视图也会随之进行更新。Users can dynamically modify the logical view by manipulating tags, and the record objects stored on the message storage server can provide multiple logical views according to the tag classification. When the user deletes the conversation history record under the "Conversation-History" folder, or deletes the record object under the user folder, and modifies the physical view, the label logic view will also be updated accordingly.
操作五、用户删除会谈历史记录Operation 5. User deletes meeting history
优选地,当消息存储服务器响应于用户指令在系统管理区域中删除一条会谈历史记录时,方法还可以包括以下处理:Preferably, when the message storage server deletes a conversation history record in the system management area in response to a user instruction, the method may further include the following processing:
(1)消息存储服务器接收来自于客户端的一条会谈历史记录及其下属的全部记录对象的标识;(1) The message storage server receives a conversation history record from the client and the identifiers of all its subordinate record objects;
(2)消息存储服务器在会谈元数据中根据一条会谈历史记录及其下属的全部记录对象的标识,将对应于一条会谈历史记录及其下属的全部记录对象的描述信息进行删除;(2) The message storage server deletes the description information corresponding to a conversation history record and all its subordinate record objects in the conversation metadata according to the identification of a conversation history record and all its subordinate record objects;
(3)消息存储服务器在标签元数据中根据一条会谈历史记录及其下属的全部记录对象的标识,将一条会谈历史记录及其下属的全部记录对象与标签分类标识的关联关系进行删除。(3) In the tag metadata, the message storage server deletes the association relationship between a conversation history record and all its subordinate record objects and tag classification identifiers according to the identifiers of a conversation history record and all its subordinate record objects.
在具体实施过程中,当用户在会谈历史记录文件夹下浏览会谈历史记录列表时,如果希望删除一整条会谈历史记录,则MSC将使用“IMAP4/STORE[UID-List]+FLAG(\Deleted)”命令(UID-List指示那些希望删除的记录文件的UID列表,用逗号分离)请求MSS删除该会谈历史记录,以及该会谈历史记录包含的所有记录文件。In the specific implementation process, when the user browses the meeting history list under the meeting history folder, if he wants to delete a whole meeting history record, MSC will use "IMAP4/STORE[UID-List]+FLAG(\Deleted )" command (UID-List indicates the list of UIDs of those record files to be deleted, separated by commas) to request MSS to delete the meeting history record and all the record files contained in the meeting history record.
由于MSC在查看CPM会谈记录列表时,已经通过GETMETADATA命令获取到CPM会谈所包含的所有记录文件的UID(通过“Content-UID”字段获得),则可使用这些UID作为IMAP4/SOTRE命令([RFC3501])的UID列表参数。具体可以参见图22。Since the MSC has obtained the UIDs of all record files contained in the CPM meeting through the GETMETADATA command (obtained through the "Content-UID" field) when viewing the list of CPM meeting records, these UIDs can be used as IMAP4/SOTRE commands ([RFC3501 ]) UID list parameter. Please refer to Figure 22 for details.
MSS接收到该命令后应执行以下的处理:MSS shall perform the following processing after receiving this command:
(1)MSS使用从STORE命令中获得的UID列表查询“Conversation-History”文件夹的“会谈元数据XML文档”的<Content-UID>子元素,找到相应的会谈历史记录项,取得该会谈历史记录的会谈标识符;(1) MSS uses the UID list obtained from the STORE command to query the <Content-UID> sub-element of the "Conversation Metadata XML Document" in the "Conversation-History" folder, find the corresponding conversation history record item, and obtain the conversation history Recorded session identifier;
(2)将“会谈元数据XML文档”中描述该会谈历史记录信息的对应的<ConvID>元素及该元素包含的所有子元素一并删除;(2) Delete the corresponding <ConvID> element and all sub-elements contained in the "conversation metadata XML document" that describe the information of the conversation history;
(3)将STORE命令中携带的UID列表对应的记录对象的FLAGS设置为“\Deleted”状态,表示删除。(3) Set the FLAGS of the record object corresponding to the UID list carried in the STORE command to the "\Deleted" state, indicating deletion.
(4)更新“标签元数据XML文档”,使用被删除的会谈历史记录的会谈标识符在“标签元数据XML文档”中的各个<Converstion-History>子元素中进行查找,将XML元素值为该会谈标识符的XML元素删除,因为物理视图的修改需要同步更新逻辑视图。(4) Update the "Tag Metadata XML Document", use the conversation identifier of the deleted conversation history to search in each <Converstion-History> sub-element in the "Tag Metadata XML Document", set the value of the XML element to The session identifier XML element is removed, because modifications to the physical view require synchronous updates to the logical view.
执行完上述步骤,如果操作成功,MSS向MSC返回操作成功应答消息,MSC更新本地会谈视图,“Conversation-History”文件夹不再显示该CPM会谈历史记录的内容。After performing the above steps, if the operation is successful, MSS returns an operation success response message to MSC, MSC updates the local conversation view, and the "Conversation-History" folder no longer displays the content of the CPM conversation history record.
操作六、用户在用户管理区域中删除自定义信息中的自定义文件目录下属的记录对象Operation 6. The user deletes the record objects under the custom file directory in the custom information in the user management area
优选地,当消息存储服务器响应于用户指令在用户管理区域中删除自定义信息中的自定义文件目录下属的记录对象时,方法还可以包括以下处理:Preferably, when the message storage server deletes the record object under the custom file directory in the custom information in the user management area in response to the user instruction, the method may also include the following processing:
(1)消息存储服务器接收来自于客户端的自定义文件目录下属的记录对象的标识;(1) The message storage server receives the identification of the record object under the user-defined file directory from the client;
(2)消息存储服务器在标签元数据信息中根据自定义文件目录下属的记录对象的标识,将自定义文件目录下属的记录对象与各个标签分类标识的关联关系进行删除。(2) In the tag metadata information, the message storage server deletes the association relationship between the record objects under the self-defined file directory and each tag classification identifier according to the identifiers of the record objects under the self-defined file directory.
在具体实施过程中,用户如果希望删除自定义的文件夹中的记录对象,则MSC应该使用IMAP4/[STORE+flags\DELETED]命令([RFC3501])将指定的记录文件删除。MSS接收到该命令后,将对应记录文件的FLAG设置为\Deleted状态后,还需要对“标签元数据XML文档”进行同步更新,保证被删除的记录对象将不会再在标签分类视图中出现。In the specific implementation process, if the user wants to delete the record object in the user-defined folder, MSC should use the IMAP4/[STORE+flags\DELETED] command ([RFC3501]) to delete the specified record file. After receiving this command, MSS sets the FLAG of the corresponding record file to the \Deleted state, and then needs to update the "label metadata XML document" synchronously to ensure that the deleted record object will no longer appear in the label classification view .
操作七、用户在用户管理区域中删除自定义信息中的自定义文件目录Operation 7. The user deletes the custom file directory in the custom information in the user management area
优选地,当消息存储服务器响应于用户指令在用户管理区域中删除自定义信息中的自定义文件目录时,方法还包括以下处理:Preferably, when the message storage server deletes the custom file directory in the custom information in the user management area in response to the user instruction, the method further includes the following processing:
(1)消息存储服务器接收来自于客户端的自定义文件目录的标识;(1) The message storage server receives the identification of the user-defined file directory from the client;
(2)消息存储服务器在标签元数据信息中根据自定义文件目录的标识,将自定义文件目录与各个标签分类标识的关联关系进行删除。(2) The message storage server deletes the association relationship between the custom file directory and each tag classification identifier according to the identifier of the custom file directory in the tag metadata information.
在具体实施过程中,用户如果希望删除整个自定义的文件夹,则MSC应该使用IMAP4/DELETE命令([RFC3501])将指定的用户文件夹删除。MSS接收到该命令后,将对应用户文件夹中的所有记录对象的FLAG设置为\Deleted状态后,还需要对“标签元数据XML文档”进行同步更新,保证被删除的记录对象将不会再在标签分类视图中出现。In the specific implementation process, if the user wants to delete the entire user-defined folder, MSC should use the IMAP4/DELETE command ([RFC3501]) to delete the specified user folder. After receiving this command, MSS sets the FLAG of all record objects in the corresponding user folder to the \Deleted state, and needs to update the "tag metadata XML document" synchronously to ensure that the deleted record objects will not be deleted again. Appears in tabbed category view.
操作八、用户请求创建文件夹操作Operation 8. The user requests to create a folder operation
用户可以在MSS上创建自定义的文件夹,但由于操作权限的限制,用户无权在系统管理区域中创建文件夹,只能够在用户管理区域中创建自定义文件夹。Users can create custom folders on MSS, but due to the limitation of operation rights, users have no right to create folders in the system management area, and can only create custom folders in the user management area.
MSC通过构造IMAP4/CREATE命令([RFC3501])请求MSS创建用户自定义文件夹,并在CREATE命令中的<mailboxname>参数中携带该用户要创建的文件夹的名称,该文件夹的命名符合标准路径命名规则,使用斜线(/)作为层次分隔符。MSC requests MSS to create a user-defined folder by constructing an IMAP4/CREATE command ([RFC3501]), and carries the name of the folder to be created by the user in the parameter <mailboxname> in the CREATE command. The name of the folder conforms to the standard Path naming rules, use slash (/) as the layer separator.
如图23所示,MSC使用CREATE命令创建名为“working/ims/cpm”的文件夹,且该路径并不存在时,MSS将在用户的登录目录下首先创建working文件夹和ims文件夹,再在working/ims路径下创建cpm文件夹。As shown in Figure 23, MSC uses the CREATE command to create a folder named "working/ims/cpm", and if the path does not exist, MSS will first create the working folder and ims folder in the user's login directory. Then create a cpm folder under the working/ims path.
当MSC接收到来自MSS的OK应答命令时,表示创建文件夹操作成功完成,MSC在本地呈现新创建的文件夹。如果MSC接收到来自MSS的NO应答命令或BAD应答命令时,表示创建文件夹操作失败,不能创建指定的文件夹,则MSC向用户返回错误提示信息。When the MSC receives the OK response command from the MSS, it means that the operation of creating the folder is successfully completed, and the MSC presents the newly created folder locally. If the MSC receives a NO response command or a BAD response command from the MSS, it means that the folder creation operation fails and the specified folder cannot be created, and the MSC returns an error message to the user.
操作九、用户执行移动/重命名文件夹操作Operation 9. The user performs the operation of moving/renaming the folder
由于受到操作权限的设置,CPM用户只能够对用户文件夹进行移动/重命名操作,而不能够移动或重命名系统文件夹。Due to the setting of operation rights, CPM users can only move/rename user folders, but not system folders.
优选地,MSC可以通过IMAP4/RENAME命令请求MSS将某个用户文件夹进行重命名(rename)操作,或者将该用户文件夹从文件目录层次结构中移动(move)到另一个新的地方。Preferably, the MSC can request the MSS to rename a certain user folder through the IMAP4/RENAME command, or move the user folder from the file directory hierarchy to another new place.
MSC应当根据[RFC3501]的过程和规则产生IMAP4RENAME请求命令,具体如下所示:The MSC shall generate the IMAP4RENAME request command according to the procedures and rules of [RFC3501], specifically as follows:
(1)根据[RFC3501]的规则和流程,在RENAME请求命令中的<existingmailboxname>参数中设置源文件夹的名称;(1) According to the rules and procedures of [RFC3501], set the name of the source folder in the <existingmailboxname> parameter in the RENAME request command;
(2)在RENAME请求命令中的<newmailboxname>参数中设置希望移动去的目标文件夹的名称;(2) Set the name of the target folder you want to move to in the <newmailboxname> parameter in the RENAME request command;
优选地,上述两个参数的命名都符合标准路径命名规则,即除了以斜线(/)开头的路径外,所有路径均起始于用户的登录目录(即该CPM用户在MSS上的存储空间的根目录),路径层次之间使用斜线(/)分隔;Preferably, the naming of the above two parameters conforms to the standard path naming rules, that is, except for paths beginning with a slash (/), all paths start from the user's login directory (that is, the storage space of the CPM user on the MSS root directory), the path levels are separated by slashes (/);
(3)构造好RENAME命令后,MSC应当按照[RFC3501]中的规则和流程向MSS发送该命令。(3) After constructing the RENAME command, MSC shall send the command to MSS according to the rules and procedures in [RFC3501].
具体示例可以参见图24。如图24所示,MSC请求将名为“Working”的用户文件夹重命名为“Study”。See Figure 24 for a specific example. As shown in Figure 24, MSC requests to rename the user folder named "Working" to "Study".
当MSC接收到来自MSS的OK应答命令时,表示移动/重命名文件夹操作成功完成,向用户提示操作结果。当MSC接收到来自MSS的NO应答命令或BAD应答命令时,表示移动/重命名文件夹操作失败,则MSC向用户返回错误提示信息。When the MSC receives the OK response command from the MSS, it means that the operation of moving/renaming the folder is successfully completed, and prompts the user for the operation result. When the MSC receives a NO response command or a BAD response command from the MSS, it means that the operation of moving/renaming the folder fails, and the MSC returns an error message to the user.
操作十、用户请求搜索记录对象Operation 10. User request to search record object
MSC可以通过搜索对象操作,根据一定的搜索条件,从MSS上的活跃文件夹中搜索符合条件的CPM消息记录或CPM会话历史记录。MSC can search for qualified CPM message records or CPM session history records from active folders on MSS through search object operations according to certain search conditions.
MSC应当根据[RFC3501]的过程和规则产生IMAP4SEARCH请求命令,其中,过程和规则描述如下:The MSC shall generate the IMAP4SEARCH request command according to the procedures and rules of [RFC3501], where the procedures and rules are described as follows:
(1)根据[RFC3501]的规则和流程,在SEARCH请求命令中的<optionalCHARSETSpecification>字符集标识参数中指定在<searchcriteria>搜索条件参数中出现的字符串的字符集类型,该参数由单词“CHARSET”开头的注册字符集标识符组成,缺省的标识符是US-ASCII,所以该参数常常省略;(1) According to the rules and procedures of [RFC3501], specify the character set type of the string appearing in the <searchcriteria> search condition parameter in the <optionalCHARSETSpecification> character set identification parameter in the SEARCH request command, which is represented by the word "CHARSET ” at the beginning of the registered character set identifier, the default identifier is US-ASCII, so this parameter is often omitted;
(2)设置SEARCH命令的<searchcriteria>搜索条件参数为指定的希望进行查询的关键字和值,可以有一个或者多个查询条件,具体的可使用的查询关键字可参考[RFC3501];(2) Set the <searchcriteria> search criteria parameter of the SEARCH command to the specified keyword and value that you want to query. There can be one or more query criteria. For specific query keywords that can be used, please refer to [RFC3501];
(3)可使用[RFC5466]中定义的搜索扩展机制,增强搜索能力:定义了一种机制能够在IMAP服务器上将搜索条件进行命名并存储,这些已命名的搜索条件可以在以后的SEARCH操作或者其他的命令中作为搜索条件参数而被引用;(3) The search extension mechanism defined in [RFC5466] can be used to enhance search capabilities: a mechanism is defined to name and store search conditions on the IMAP server, and these named search conditions can be used in future SEARCH operations or It is quoted as a search condition parameter in other commands;
(4)可使用[RFC5182]中定义的搜索扩展机制,增强搜索能力:通过该扩展,客户端能够具有这样一种管道机制,能够将SEARCH命令的结果作为其他后续命令的输入,这样能够在性能上进行优化;(4) The search extension mechanism defined in [RFC5182] can be used to enhance the search capability: through this extension, the client can have such a pipeline mechanism that can use the result of the SEARCH command as the input of other subsequent commands, which can improve performance. optimize on
(5)可使用[RFC4731]中定义的搜索扩展机制,增强搜索能力:对IMAPSEARCH命令和UIDSEARCH命令进行扩展,使得客户端能够控制返回什么样的信息。定义了如下的结果集选项:最小值、最大值、找到的所有邮件、找到的邮件的数量;(5) The search extension mechanism defined in [RFC4731] can be used to enhance the search capability: extend the IMAPSEARCH command and UIDSEARCH command so that the client can control what information is returned. The following result set options are defined: min, max, all emails found, number of emails found;
(6)可使用[RFC5032]中定义的搜索扩展机制,增强搜索能力:IMAPSEARCH操作进行WITHIN扩展,允许IMAPSEARCH操作返回在一个特定时间间隔之内或之外的邮件;(6) The search extension mechanism defined in [RFC5032] can be used to enhance the search capability: the IMAPSEARCH operation is extended WITHIN, allowing the IMAPSEARCH operation to return emails within or outside a specific time interval;
(7)构造好SEARCH命令后,MSC应当按照[RFC3501]中的规则和流程向MSS发送该命令。(7) After constructing the SEARCH command, MSC shall send the command to MSS according to the rules and procedures in [RFC3501].
当MSC接收到来自MSS的OK应答命令时,表示搜索对象操作成功完成,MSC从应答消息中提取出搜索结构,向用户显示。当MSC接收到来自MSS的NO应答命令或BAD应答命令时,表示搜索操作失败,则MSC向用户返回错误提示信息。When the MSC receives the OK response command from the MSS, it means that the search object operation is successfully completed, and the MSC extracts the search structure from the response message and displays it to the user. When the MSC receives a NO response command or a BAD response command from the MSS, it means that the search operation fails, and the MSC returns an error message to the user.
操作十一、用户请求复制记录对象Operation 11. The user requests to copy the record object
“Conversation-History”文件夹中存储的记录文件,例如,CPM消息记录、CPM文件传输、CPM会话历史记录等,用户可以将这些记录文件复制到用户文件夹夹中。另外对于用户文件夹中存储的那些记录文件,用户也可以将它们复制到另外的用户文件夹中。但因为操作权限的限制,用户不能将记录对象复制到系统文件夹中,且复制操作以文件为单位,即不能够复制记录文件中的媒体对象。Record files stored in the "Conversation-History" folder, such as CPM message records, CPM file transfers, CPM conversation history records, etc., users can copy these record files to the user folder. In addition, for those record files stored in the user folder, the user can also copy them to another user folder. However, due to the limitation of the operation authority, the user cannot copy the record object to the system folder, and the copy operation is based on the file, that is, the media object in the record file cannot be copied.
MSC通过构造IMAP4/COPY命令,执行需要复制文件的UID以及目标文件夹名字,请求MSS执行复制操作。MSC constructs the IMAP4/COPY command, executes the UID of the file to be copied and the name of the target folder, and requests MSS to perform the copy operation.
根据本发明实施例,还提供了一种消息存储服务器。According to an embodiment of the present invention, a message storage server is also provided.
图25为根据本发明实施例的消息存储服务器的结构框图。如图25所示,该消息存储服务器包括:接收单元1和执行单元2。Fig. 25 is a structural block diagram of a message storage server according to an embodiment of the present invention. As shown in FIG. 25 , the message storage server includes: a receiving unit 1 and an executing unit 2 .
接收单元1,用于接收来自客户端的访问指令,其中,访问指令携带标签分类标识;The receiving unit 1 is configured to receive an access instruction from a client, wherein the access instruction carries a tag classification identifier;
执行单元2,用于根据标签分类标识执行与访问指令对应的访问操作。The execution unit 2 is configured to execute the access operation corresponding to the access instruction according to the tag classification identifier.
在上述消息存储服务器中对标签进行分类管理,根据标签分类标识执行与访问指令对应的访问操作,解决了相关技术中完成构建线性视图的操作会带来较大的开销和负担,进而可以在为用户提供多种会谈逻辑视图时,降低开销并提高用户体验。In the above-mentioned message storage server, the tags are classified and managed, and the access operations corresponding to the access instructions are executed according to the tag classification identification, which solves the problem that the operation of building a linear view in the related technology will bring a large overhead and burden, and then it can be used for Reduce overhead and improve user experience when users are provided with multiple logical views of a conversation.
优选地,上述消息存储服务器还可以包括第一存储单元3、第二存储单元4、第三存储单元5。其中,第一存储单元3,用于存储会谈历史记录和会谈元数据,其中,会谈元数据用于表示会谈历史记录与其所属的文件目录的关联关系及会谈历史记录的描述信息;第二存储单元4,用于存储用户自己创建的自定义信息;第三存储单元5,用于存储标签元数据,其中,标签元数据用于表示会谈历史记录与标签分类标识之间的关联关系以及自定义信息与标签分类标识之间的关联关系。Preferably, the above message storage server may further include a first storage unit 3 , a second storage unit 4 , and a third storage unit 5 . Wherein, the first storage unit 3 is used to store the interview history record and the interview metadata, wherein the interview metadata is used to represent the association relationship between the interview history record and the file directory to which it belongs and the description information of the interview history record; the second storage unit 4. It is used to store the custom information created by the user; the third storage unit 5 is used to store the tag metadata, wherein the tag metadata is used to represent the relationship between the meeting history record and the tag classification identifier and the custom information The association relationship with the tag classification identifier.
通过建立上述存储架构,可以满足用户对消息存储服务器上存储的记录资源的自定义管理操作。By establishing the above storage architecture, user-defined management operations on record resources stored on the message storage server can be satisfied.
优选地,上述消息存储服务器还可以包括:拷贝单元6,用于将需要存储至用户管理区域的会谈历史记录的信息从第一存储单元中拷贝至第二存储单元的自定义信息中;获取单元7,用于获取客户端上传的本地记录文件的信息并存储至第二存储单元的自定义信息中。Preferably, the above-mentioned message storage server may also include: a copy unit 6, which is used to copy the information of the conversation history record that needs to be stored in the user management area from the first storage unit to the custom information of the second storage unit; the acquisition unit 7. It is used to acquire the information of the local record file uploaded by the client and store it in the custom information of the second storage unit.
因而用户可以拷贝系统管理区域中的记录,以实现自定义管理。Therefore, users can copy the records in the system management area to realize custom management.
优选地,上述消息存储服务器还可以包括:鉴权单元8,与接收单元1相连接,用于将客户端对请求访问的文件信息的权限进行检查;确定单元9,连接于鉴权单元8和执行单元2之间,用于确定客户端对请求的文件信息具有访问控制权限。Preferably, the above-mentioned message storage server may also include: an authentication unit 8, connected to the receiving unit 1, for checking the authority of the client to request access to the file information; a determination unit 9, connected to the authentication unit 8 and Between the execution unit 2, it is used to determine that the client has access control authority to the requested file information.
从而可以保证访问操作的安全性,提高系统可靠性。Therefore, the security of the access operation can be guaranteed, and the system reliability can be improved.
上述装置中各单元相互结合的工作方式,可以参见图4至图24的描述,此处不再赘述。For the working mode of the combination of the units in the above-mentioned device, refer to the descriptions in Fig. 4 to Fig. 24 , which will not be repeated here.
综上所述,通过本发明的上述实施例,提供的技术方案为融合消息业务通信环境中的会谈历史记录定义了合适其特点的存储模型,同时满足用户对消息存储服务器上存储的记录资源的自定义管理操作之外,还能够为用户提供多种视图,如会谈视图(以CPM会谈为单位查看会谈历史记录)、会谈的线性视图(按照回复-被回复的关系构建的视图)、以及系统预定义视图(如按照收发关系视图、主题分类视图)和用户自定义视图(用户自定义文件夹,并将感兴趣的记录文件或记录文件中的部分内容添加到自定义文件夹中),在尽量减小消息存储服务器管理开销的前提下,能够为用户提供良好的业务体验。To sum up, through the above-mentioned embodiments of the present invention, the technical solution provided defines a storage model suitable for the characteristics of the meeting history records in the converged message service communication environment, and at the same time satisfies the user's requirements for the record resources stored on the message storage server. In addition to custom management operations, it can also provide users with a variety of views, such as the meeting view (viewing the meeting history in units of CPM talks), the linear view of the meeting (constructed according to the reply-replied relationship), and the system Predefined views (such as views according to the relationship between sending and receiving, subject classification) and user-defined views (user-defined folders, and adding interested record files or part of the content of record files to the custom folders), in On the premise of reducing the management overhead of the message storage server as much as possible, it can provide users with a good business experience.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases, in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.
Claims (18)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010120041.6A CN102143126B (en) | 2010-01-29 | 2010-01-29 | The access method of CPM meeting history record and message storage server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010120041.6A CN102143126B (en) | 2010-01-29 | 2010-01-29 | The access method of CPM meeting history record and message storage server |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102143126A CN102143126A (en) | 2011-08-03 |
| CN102143126B true CN102143126B (en) | 2016-04-13 |
Family
ID=44410354
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010120041.6A Active CN102143126B (en) | 2010-01-29 | 2010-01-29 | The access method of CPM meeting history record and message storage server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102143126B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10476806B2 (en) | 2015-08-05 | 2019-11-12 | Qualcomm Incorporated | Deep packet inspection indication for a mobile CDN |
| CN107172088A (en) * | 2017-06-30 | 2017-09-15 | 江西博瑞彤芸科技有限公司 | A kind of data processing method |
| JP7147237B2 (en) * | 2018-04-13 | 2022-10-05 | 富士フイルムビジネスイノベーション株式会社 | Information processing device and information processing program |
| CN111431845B (en) * | 2019-05-30 | 2022-11-04 | 杭州海康威视数字技术股份有限公司 | Method, device and system for recording access log |
| CN113076462B (en) * | 2021-03-25 | 2024-04-30 | 恒安嘉新(北京)科技股份公司 | Network session data query method, device, equipment and medium |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101072386A (en) * | 2007-06-22 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Business server, system message server and message broadcasting method |
| CN101105844A (en) * | 2006-07-14 | 2008-01-16 | 国际商业机器公司 | System for managing workflow and method for managing workflow |
| CN101179599A (en) * | 2007-12-11 | 2008-05-14 | 北大方正集团有限公司 | System and method for accelerating requests for electronic documents |
| CN101227418A (en) * | 2007-01-19 | 2008-07-23 | 华为技术有限公司 | A method, device and system for realizing fusion of IP messages |
| CN101453394A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Method, system and equipment for access control |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101566171B1 (en) * | 2007-03-09 | 2015-11-06 | 삼성전자 주식회사 | Digital rights management methods and devices |
| CN101635736B (en) * | 2008-07-21 | 2015-05-20 | 中兴通讯股份有限公司 | Device and method for realizing convergence service session in point-to-point mode |
-
2010
- 2010-01-29 CN CN201010120041.6A patent/CN102143126B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101105844A (en) * | 2006-07-14 | 2008-01-16 | 国际商业机器公司 | System for managing workflow and method for managing workflow |
| CN101227418A (en) * | 2007-01-19 | 2008-07-23 | 华为技术有限公司 | A method, device and system for realizing fusion of IP messages |
| CN101072386A (en) * | 2007-06-22 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Business server, system message server and message broadcasting method |
| CN101453394A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Method, system and equipment for access control |
| CN101179599A (en) * | 2007-12-11 | 2008-05-14 | 北大方正集团有限公司 | System and method for accelerating requests for electronic documents |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102143126A (en) | 2011-08-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20220100882A1 (en) | Sharing artifacts in permission-protected archives | |
| CN112654973B (en) | Techniques for integrating cloud content items across platforms | |
| US11126792B2 (en) | Version history for offline edits | |
| AU2017387668C1 (en) | Content management features for messaging services | |
| US7296023B2 (en) | Method and apparatus for persistent real-time collaboration | |
| US10671977B2 (en) | Management team mailbox integrating email repository and content management store services | |
| EP1796314A1 (en) | A system for implementing the network hard-disk based on the real-time communication platform and the method thereof | |
| US11113411B2 (en) | Authentication security model for a content management system | |
| US11182348B2 (en) | Sharing collections with external teams | |
| CN102143126B (en) | The access method of CPM meeting history record and message storage server | |
| US20100325208A1 (en) | Methods and apparatus to forward documents in a communication network | |
| US8639763B2 (en) | Methods and apparatus to forward documents in a communication network | |
| JP7486677B2 (en) | Joint management of links through link platforms and partner services | |
| US11070500B2 (en) | Third-party integration in activity feeds | |
| JP2005522759A (en) | Group management | |
| CN109756484A (en) | Control method, control device, gateway and the medium of gateway based on object storage | |
| US20210048928A1 (en) | Contact cards with dynamic interaction information | |
| CN102143090B (en) | The access method of CPM meeting history record and message storage server | |
| US20180189708A1 (en) | Goals service with data model | |
| US20240214439A1 (en) | Shared capture session | |
| CN102143125B (en) | Access method of converged internet protocol messaging (CPM) session history record and message storage server | |
| US20220311772A1 (en) | Security Mechanisms for Content Management Systems | |
| WO2008030494A2 (en) | Managing client-to-server or peer-to-peer relationships in a private or virtual network |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |