CN102955785B - Network editing method and system documentation - Google Patents

Network editing method and system documentation Download PDF

Info

Publication number
CN102955785B
CN102955785B CN 201110240912 CN201110240912A CN102955785B CN 102955785 B CN102955785 B CN 102955785B CN 201110240912 CN201110240912 CN 201110240912 CN 201110240912 A CN201110240912 A CN 201110240912A CN 102955785 B CN102955785 B CN 102955785B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
document
editing
network
message
editor
Prior art date
Application number
CN 201110240912
Other languages
Chinese (zh)
Other versions
CN102955785A (en )
Inventor
吕贺
Original Assignee
北大方正集团有限公司
北京北大方正电子有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Grant date

Links

Abstract

本发明公开了一种文档的网络编辑方法及系统,属于文档编辑技术领域。 The present invention discloses a method and system for network editing a document, edit a document belonging to technical field. 本发明首先由共享者在网络上共享待编辑文档;然后参与者从网络上获取待编辑文档,并锁定部分文档内容;参与者编辑所述部分文档内容,编辑完毕后传递给共享者;共享者根据接收到的部分文档内容更新文档。 By sharing; sharer by the present invention is firstly to be shared on a network edit the document; and editing a document to be acquired from the participants in the network, and the locking parts of the document; the parts of the document editing participant is transmitted to the sharer done editing update the document based on parts of the document received. 本发明实现了多人对同一文档进行网络编辑的功能,提高了多人协同编辑文档的效率。 The invention realizes the functions of multiple people edit the same document network, improve the efficiency of the multiplayer co-editing a document.

Description

一种文档的网络编辑方法及系统 Network editing method and system documentation

技术领域 FIELD

[0001] 本发明涉及一种文档编辑方法及系统,尤其是涉及一种文档的网络编辑方法及系统,适用于多人同时对同一文档进行编辑的场合。 [0001] The present invention relates to a method and system for editing documents, particularly to a network document editing method and system for multiple people edit the same document occasion.

背景技术 Background technique

[0002] 在文档编辑领域,往往需要多人并行对同一文档进行编辑,每一个人编辑文档的一部分,最终将编辑后的每一部分内容合并成一个文档。 [0002] In the document editing field, people often need to edit the same document in parallel, a portion of each individual edit documents, eventually every part of the edited combined into one document. 文档的网络编辑是指在网络环境下多人共同编辑同一文档并互不干扰。 Web Editor document refers to multiple people edit the same document and do not interfere in the network environment.

[0003] 现有的文档编辑工具不能提供多人共同编辑同一文档能力。 [0003] Existing document editing tools can not provide multiple people edit the same document capacity. 为了区别不同人对于同一文档的编辑区别,大多数编辑工具使用不同人不同版本的版本管理来实现。 In order to distinguish the difference between different people to edit the same document, most of the editing tools people use different versions of different versions of management to achieve. 即在最终文档上以不同样式来标注不同人的修改,并手动合并修改内容。 That is, in the final document in different styles to different people marked changes and manually merge edits. 显然,这种处理方式的效率较低。 Obviously, this approach is less efficient.

发明内容 SUMMARY

[0004] 针对现有技术中存在的缺陷,本发明所要解决的技术问题是提供一种文档的网络编辑方法及系统,所述方法及系统能够实现多人通过网络对同一文档进行并行编辑。 [0004] The disadvantages of the prior art for the present, the present invention is to solve the technical problem is to provide a method and a document editing network system, the method and system enables people edit the same document in parallel through a network.

[0005] 为解决上述技术问题,本发明采用的技术方案如下: [0005] To solve the above problems, the present invention employs the following technical solutions:

[0006] 一种文档的网络编辑方法,包括以下步骤: [0006] Network A method for editing a document, comprising the steps of:

[0007] (I)共享者在网络上共享待编辑文档; [0007] (I) are shared on a network share the document to be edited;

[0008] (2)参与者从网络上获取待编辑文档,并锁定部分文档内容; [0008] (2) the participants to be editing a document acquired from the network, and the locking parts of the document;

[0009] (3)参与者编辑所述部分文档内容,编辑完毕后传递给共享者; [0009] (3) the parts of the document editing participant is transmitted to the sharer done editing;

[0010] (4)共享者根据接收到的部分文档内容更新文档。 [0010] (4) The update document sharer parts of the document received.

[0011] 一种文档的网络编辑系统,包括若干个通过网络连接的编辑装置;所述编辑装置包括用于在网络上共享文档的共享单元;用于从网络上获取文档的获取单元;用于锁定文档部分内容的锁定单元;用于编辑文档部分内容的编辑单元;用于传输编辑后的文档部分内容的传输单元;以及用于更新文档的更新单元。 [0011] A network document editing system, comprising a number of editing devices connected via a network; said editing means comprises means for sharing the shared document on a network; a document acquisition unit acquires from the network; for locking means locking part of the document; editing unit for editing a document content portion; means for transmitting part of the document editing after transmission; and means for updating unit updates the document.

[0012] 本发明所述方法及系统,通过在网络上共享文档及每个编辑者从网络上获取文档并锁定自己编辑的部分内容的方式,实现了多人对同一文档进行网络编辑且互不干扰的功能,大大提高了多人协同编辑文档的效率。 [0012] The method and system of the present invention, by sharing the document editor, and each document on the network from the network and acquires the lock mode portion of the content of their editors, people realize the network and edit the same document and do not interference function, greatly improving the efficiency of editing a document with multiple participants.

附图说明 BRIEF DESCRIPTION

[0013] 图1是具体实施方式中文档的网络编辑系统的结构框图; [0013] FIG. 1 is a block diagram of a network editing system embodiment of the document;

[0014] 图2是具体实施方式中编辑装置的结构框图; [0014] FIG. 2 is a block diagram embodiment of editing apparatus;

[0015] 图3是具体实施方式中文档的网络编辑方法的流程图; [0015] FIG. 3 is a flowchart of a method of editing a network embodiment of a document;

[0016] 图4是具体实施方式中获取文档内容的流程图; [0016] FIG. 4 is a flowchart of a specific embodiment of the acquired document content;

[0017] 图5是具体实施方式中锁定文档部分内容的流程图。 [0017] FIG. 5 is a flowchart of a specific embodiment of the locking part of the document.

具体实施方式 detailed description

[0018] 本发明的核心思想是:共享者将需要多人编辑的文档在网络上共享,多个编辑者分别从网络上获取该文档,锁定自己编辑的部分文档内容,编辑完成后传输给共享者,共享者根据每个编辑者编辑后的部分文档内容更新文档内容。 [0018] The core idea of ​​the invention is: a shared will need people to edit documents shared on the network, more editors are to obtain the documents from the network, lock their parts of the document editing, post-editing to complete the transfer to share who sharer update document content based on parts of the document after each editor to edit. 下面结合具体实施方式和附图对本发明进行详细描述。 The present invention will be described in detail with reference to specific embodiments and the accompanying drawings.

[0019] 如图1和图2所示,本实施方式中文档的网络编辑系统包括若干个通过网络2连接的编辑装置I。 [0019] 1 and 2, the present embodiment of the document edit system of FIG. 2 network comprising a plurality of editing devices connected through the network 2 I. 编辑装置I包括共享单元11、获取单元12、锁定单元13、编辑单元14、传输单元15、更新单元16和转换单元17。 Editing apparatus I includes a sharing unit 11, acquisition unit 12, the locking unit 13, editing unit 14, transmitting unit 15, an updating unit 16 and the conversion unit 17. 其中,网络2可以是局域网,也可以是广域网。 Among them, the network 2 may be a local area network, wide area network can be.

[0020] 共享单元11用于在网络2上共享文档,获取单元12用于从网络2上获取文档,锁定单元13用于锁定文档部分内容,编辑单元14用于编辑文档部分内容,传输单元15用于传输编辑后的文档部分内容,更新单元17用于更新文档,转换单元17用于将其他格式的文档转换成XML格式。 [0020] The sharing unit 11 for 2 on a network to share documents, a document acquisition unit 12 configured to acquire from the network 2, the locking unit 13 for locking the part of the document, the document editing unit 14 for editing part of the content transmission unit 15 document section for transmitting the edited content, the updating unit 17 for updating the document, the conversion unit 17 for converting the document into a format other XML format.

[0021] 如图3所示,采用图1和图2所示系统实现文档的网络编辑方法包括以下步骤: [0021] As shown in FIG. 3, the network document editing method implemented using the system shown in FIG. 1 and FIG. 2 comprising the steps of:

[0022] (I)共享者的编辑装置I在网络2上共享待编辑文档。 [0022] (I) I sharer editing apparatus to edit a document to be shared over the network 2.

[0023] 共享单元11将待编辑文档信息加入到共享缓冲区中,将待编辑文档标记为已共享。 [0023] sharing unit 11 to be added to the edited document information in the shared buffer, the document to be edited is marked as shared. 共享缓冲区中保留的文档信息包括文档标识、名称、已打开文档的用户列表等,用户的表示方法为IP地址、端口号加用户名,起始置为只有共享者。 Shared buffer retained document information including document ID, name, list the user has to open a document such as a user's representation as an IP address, port number, user name plus, is set to start only sharer.

[0024] 在共享待编辑文档时,可以将待编辑文档中指定的部分内容锁定。 [0024] When sharing a document to be edited, you can edit the document to be part of the contents of the specified lock.

[0025] (2)参与者编辑装置I从网络2上获取待编辑文档,并锁定自己编辑的部分文档内容。 [0025] (2) I participant editing apparatus editing a document to be acquired from the network 2, and their locking parts of the document editing.

[0026] 如图4所示,本实施方式中参与者编辑装置I从网络2上获取待编辑文档的过程如下:获取单元12首先在网络上广播一条列举共享文档的消息,具有共享文档的共享者编辑装置I的获取单元12应答该消息;参与者编辑装置I的获取单元12收到应答后再向每一个应答的共享者编辑装置I发送枚举共享文档的消息;收到消息的共享者编辑装置I将其共享缓冲区中每一个文档信息返回给参与者编辑装置I ;参与者编辑装置I从返回的信息中选择一个文档信息后向该共享者发送编辑文档消息,同时传递编辑者身份;共享者编辑装置I收到编辑文档的消息后,根据编辑者身份确定是否同意,如果同意,则返回同意消息,同时返回该文档的内容;如果不同意,则返回不同意消息。 [0026] As shown in FIG 4, the present embodiment acquires the participant editing device I documents to be edited from the network 2 is as follows: first acquisition unit 12 in a broadcast on the network to share documents cited message, shared with shared document I acquired by editing apparatus unit 12 responds to the message; I participant editing means acquiring unit 12 after receiving the response to each of the sharer transmits a response editing means I shared document enumeration message; the message received sharer editing means I each of the participants back to the document information editing apparatus which shared buffer I; I means the participants select a document editing information transmitted from the information returned to the shared document to edit the message, passing as an editor ; after sharer editing means editing the document I received the news, according to editor status determination do agree, agree, agree that the message is returned, and returns the contents of the document; if you do not agree, do not agree to return to the message. 如果参与者已知其要编辑的文档的共享者,则直接向该共享者发送枚举共享文档的消息。 Sharer of the document if the participant is known to be edited and then sent a message to enumerate share documents directly to the sharer.

[0027] 参与者编辑装置I收到文档内容后,首先锁定由其编辑的部分文档内容,防止其他编辑者编辑这部分内容。 [0027] participant editing device after I received the document content, first lock the parts of the document by editing, prevent other editors to edit this part. 例如,XML格式文档,锁定操作针对一个完整的XML标记,锁定单元13将指定的标记置为被锁定或在指定的标记后面加入一个标记并立即锁定。 For example, XML document format, the locking operation for one complete XML tag, the locking unit 13 to add a flag to the specified mark is locked after the tag and lock or specified immediately. 锁定后向共享者发送一条锁定文档的消息,并传递锁定者姓名和锁定的部分文档内容。 After locking sending a message to a locked document sharers, and pass the lock's name and parts of the document locked.

[0028] 如图5所示,XML格式文档的具体锁定过程如下:首先判断文档中是否存在锁定标记的XPATH。 As shown in [0028] FIG. 5, the specific XML document format locking process is as follows: first determines whether the lock flag XPATH present document. 如果存在,则继续判断该标记是否已被锁定,如果已被锁定,则锁定失败;如果未被锁定,则标记为锁定后结束。 If so, continue to determine whether the mark has been locked, if it is locked, the lock fails; if not locked, marked the end of the lock. 如果文档中不存在锁定标记的XPATH,则继续判断锁定标记的上一个标记的XPATH是否为空。 If the lock XPATH tag does not exist in the document, then determine if the marks on the lock of a mark XPATH is empty. 如果为空,则将其转换成XML的ROOT后再判断锁定标记的上一个标记的XPATH是否为空;如果为空,则继续判断该兄弟标记在文档中是否存在,如果不存在,则锁定失败;如果存在,则再判断该兄弟标记后是否允许加入锁定标记。 On if empty, it is converted to XML and then determine ROOT lock mark a mark of XPATH is empty; if it is empty, continues to judge whether the brothers marked presence in the document, and if not, then the lock fails ; whether to allow the lock flag is added, if present, it is then determined that the flag brothers. 如果不允许,则锁定失败;如果允许,则加入标记,并标记为锁定后结束。 If not, then the lock failed; if allowed, then adding a labeled, and marked the end of the lock.

[0029]由于协作编辑的复杂性,锁定的部分文档内容需要分下面几种情况:①锁定的部分文档内容在原文档中已经存在;②锁定的部分文档内容是新增加的,原文档中并不存在。 [0029] Due to the complexity of collaborative editing, lock the parts of the document need to divide the following situations: ① locked parts of the document already exists in the original document; ② locked parts of the document are newly added, the original document is not exist. 锁定文档部分内容时以段落为基本单位,如果该段落存在,则锁定该段落;如果该段落是新增加的,在编辑者增加的同时锁定该段落。 When the locking parts of the documentation to the paragraph as the basic unit, if the paragraph exists, then lock the paragraph; if the paragraph is the new addition, the increase in the editor while locking the paragraph.

[0030] 为了减少复杂性,要求编辑共享文档之前先锁定自己编辑的部分文档内容,如果没有锁定任何内容则不能编辑。 [0030] In order to reduce complexity, requiring editors to lock parts of the document before sharing their own editing documents, if there is no lock any content can not be edited. 所以传递锁定的文档内容时只需要传递锁定标记的上一个兄弟标记的XPATH(没有,可以为空)与锁定标记的XPATH即可。 Only you need to pass the lock flag when it passes the contents of the document locked on a marker brothers XPATH (no, can be empty) labeled with XPATH can be locked. 如果要锁定多处内容,只需要重复操作。 If you want to lock multiple contents, just repeat the operation. 此外,被锁定的部分文档内容不能被重复锁定。 In addition, the locked parts of the document can not be repeated locked.

[0031] 对于其他格式的文档,可以先由转换单元17转换成XML格式,再采用上述方法对其部分内容进行锁定。 [0031] For documents in other formats, it can first be converted to XML conversion unit 17, and then the above-described method of its locking part.

[0032] (3)参与者编辑装置I的编辑单元14编辑锁定的部分文档内容,当编辑完毕后,传输单元15将编辑后的部分文档内容传递给共享者编辑装置I。 [0032] (3) I participant editing apparatus editing unit 14 to edit the locking parts of the document, when the editing is completed, the transfer unit 15 the edited parts of the document transmitted to the editing apparatus sharer I.

[0033] 由于参与者编辑装置I在锁定文档部分内容时已经在共享者编辑装置I中加入了锁定内容的信息,因此只需要简单地将锁定内容的XPATH及内容传递给共享者的编辑装置I即可。 [0033] Since the editing apparatus participant has joined the information I locked content in a sharer editing apparatus I at the locking part of the document, so simply locking XPATH contents and is transmitted to the editing apparatus I sharers It can be. 具体过程如下: Specific process is as follows:

[0034] 参与者编辑装置I向共享者编辑装置I发送保存文档通知,共享者编辑装置I应答该通知。 [0034] participant editing means I edit the sharing device to save the document I sent a notice sharer editing device I reply to the notice.

[0035] 参与者编辑装置I接到应答后,向共享者编辑装置I发送保存消息,消息格式为:标记的XPATH、标记的内容与修改痕迹、是否需要获取非锁定部分的新内容。 After [0035] The participant response to the editing apparatus I, the editing apparatus I sharer transmits stored messages, message format: XPATH labeled, labeled with the contents modified traces, the need for new content of the non-locking portion.

[0036] (4)共享者编辑装置I根据接收到的部分文档内容更新文档。 [0036] (4) I sharer parts of the document editing device update the document according to the received.

[0037] 共享者编辑装置I接收到参与者编辑装置I发送的保存消息后根据标记的XPATH,判断是否是该编辑者锁定的,如果是,更新文档相应内容,并继续保持锁定;检查是否需要向该编辑者返回其他非锁定部分内容,如果需要,则将其他非锁定部分内容返回给参与者编辑装置1,也可以将整个文档的新内容返回。 After [0037] I sharer editing apparatus receives the message stored participant editing apparatus according to the transmitted I-labeled XPATH, the editor determines whether the lock, and if so, to update the contents of the corresponding document, and remain locked; check whether editors return to other parts of the non-locking, if required, will be part of other non-locking device 1 is returned to the participant editing, it can also return the new contents of the entire document. 返回文档的其他非锁定部分内容或整个文档,使编辑者得到最新的文档,便于编辑者继续编辑其他部分的文档内容。 Return documents of other non-locking portion or the entire document, the editors get the latest documentation, ease of editing to continue editing the document content from other sections.

[0038] 在文档编辑过程中,共享者编辑装置I可以定时自动更新文档,即向所有正在对该文档进行编辑的参与者编辑装置I发送保存通知,参与者编辑装置I接到通知后,返回保存消息,共享者编辑装置I根据保存消息更新整个文档。 [0038] In the document editing process, the editing apparatus sharer I can automatically update the timing of the document, ie all participants editing device editing the document being saved I send a notification, after editing apparatus I participants notified, returns save the message, edit sharer device I updated the entire document according to the stored messages. 这样可以防止意外情况下被编辑的文档部分内容因未保存而丢失。 This prevents parts of the document being edited content because of unexpected situations is not saved and lost. 保存后的文档继续共享,锁定情况不变。 After you save the document to continue sharing, locking unchanged.

[0039] 当正在协作编辑的编辑者要退出编辑时,如果退出编辑的编辑者是文档的共享者,那么可以:A、通知所有编辑者保存内容,在一个超时间隔后保存文档,并解除文档锁定,不再共享该文档,超时间隔由用户设置;或者B、将对文档的控制权限转移到另一个编辑者,此时需要将保存的文档整体,正在协作编辑的编辑者列表,锁定情况传递过去,该编辑者接受后通知所有编辑者文档的共享者已经转移。 [0039] When the editor is collaboratively edited to quit editing, if you exit the editor editors are sharers of the document, you can: A, inform all editors save the contents, save the document after a time-out interval, and released the document lock, no longer share the document, timeout interval set by the user; or B, document control authority will be transferred to another editor, then you need to save the document as a whole, we are collaborating edit list editing, locking transfer case in the past, the editors inform all those who share the editors of the document has been transferred after acceptance.

[0040] 如果退出编辑的编辑者是非共享者,则只需要向共享者编辑装置发送退出消息,共享者编辑装置将该编辑者编辑的部分文档内容解锁,并将该编辑者从正在编辑的编辑者名单中去除。 [0040] Editors non sharer if exit editing, only needs to send a message to the sharer exit editing apparatus, editing apparatus sharer editor to edit the document content portion of the unlocking, and from being edited by the editor edits list removed.

[0041] 显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。 [0041] Obviously, those skilled in the art can make various modifications and variations to the invention without departing from the spirit and scope of the invention. 这样,倘若本发明的这些修改和变型属于本发明权利要求及其同等技术的范围之内,则本发明也意图包含这些改动和变型在内。 Thus, the range if these modifications and variations of the present invention and the claims of the invention belongs to the technical equivalent thereof, the present invention intends to include these modifications and variations.

Claims (10)

  1. 1.一种文档的网络编辑方法,其特征在于,包括以下步骤: (1)共享者在网络上共享待编辑文档; (2)参与者从网络上获取待编辑文档,并锁定部分文档内容; (3)参与者编辑所述部分文档内容,编辑完毕后传递给共享者; (4)共享者根据接收到的部分文档内容更新文档; 其中,所述方法还包括:在文档编辑过程中,还包括编辑者退出编辑的步骤,如果退出编辑的编辑者是文档的共享者,那么采用下述方法之一退出编辑: ①通知所有编辑者保存部分文档内容,在一个超时间隔后保存文档,解除文档锁定,不再共享该文档; ②将对文档的控制权限转移给另一个编辑者,保存整个文档,将正在编辑的编辑者列表、锁定情况传递给该编辑者,该编辑者接受后,通知所有编辑者文档的共享者已经转移; 如果退出编辑的编辑者是非共享者,则向共享者发送退出消息, 1. A network document editing method, characterized by comprising the steps of: (1) sharer on a network share a document to be edited; (2) the participants to be editing a document acquired from the network, and the locking parts of the document; (3) the parts of the document editing participant is transmitted to the sharer done editing; (4) a partial document contents sharer update the document received; wherein the method further comprises: in the document editing process, further comprising the steps of editors quit editing, editors If you quit editing a document sharers, then exit the editor in one of the following methods: ① notify all editors save parts of the document, save the document after a time-out interval, the document is released lock, no longer share the document; ② will transfer control rights to another document editor, save the entire document is being edited edit list, transfer the case to lock the editor, the editor after acceptance, inform all sharer editor of the document has been transferred; if you exit the editor to edit a non-shared, the exit message is sent to sharers, 共享者将该编辑者编辑的部分文档内容解锁,并将该编辑者从正在编辑的编辑者名单中去除。 Shared by the parts of the document editor to edit unlocked, and the editor is removed from the list of editors being edited.
  2. 2.如权利要求1所述的文档的网络编辑方法,其特征在于:步骤(I)中所述的共享待编辑文档的方法如下: 将待编辑文档信息加入到共享缓冲区中,并标记为已共享;所述文档信息包括文档标识和名称。 2. The network document editing method according to claim 1, characterized in that: the method sharing step (I) to be edited in the following documents: editing the document information to be added to the shared buffer and labeled shared; the document information includes a document identifier and name.
  3. 3.如权利要求1所述的文档的网络编辑方法,其特征在于:步骤(2)中所述参与者从网络上获取待编辑文档的方法如下: 参与者在网络上广播一条列举共享文档的消息; 具有共享文档的共享者应答所述消息; 收到应答后参与者再向每一个应答的共享者发送枚举共享文档的消息; 收到消息的共享者将其共享缓冲区中每一个文档信息返回; 从返回的文档信息中选择一个文档信息后向该共享者发送编辑文档消息,同时传递编辑者身份; 共享者收到编辑文档消息后,根据编辑者身份确定是否同意,如果同意,则返回同意消息,同时返回该文档的内容;如果不同意,则返回不同意消息。 3. The network document editing method according to claim 1, wherein: step (2) of the participants in the network obtained from a document to be edited as follows: a broadcast on the network participants include shared document message; sharer has shared document to the reply message; sharer again after receiving the response of each participant sends the reply message enumeration shared document; sharer to share the received message buffers each document information returns; after selecting a document information from the document information is returned to the shared send a message to edit the document, while passing as an editor; edit documents after sharers receive the message, according to the editor to determine the identity do agree, agree, He agreed to return to the message, and returns the contents of the document; if you do not agree, do not agree to return to the message.
  4. 4.如权利要求1所述的文档的网络编辑方法,其特征在于:步骤(2)中所述参与者从网络上获取待编辑文档的方法如下: 所述参与者向其要编辑的文档的共享者发送枚举共享文档的消息; 所述共享者收到消息后将其共享缓冲区中每一个文档信息返回给所述参与者; 所述参与者从返回的信息中选择一个文档信息后向所述共享者发送编辑文档消息,同时传递编辑者身份; 所述共享者收到编辑文档消息后,根据编辑者身份确定是否同意,如果同意,则返回同意消息,同时返回该文档的内容;如果不同意,则返回不同意消息。 4. The network document editing method according to claim 1, wherein: step (2) method for obtaining the participant in a document to be edited from the network as follows: the participant to which a document to be edited after the participant selects one from the document information to the information returned; shared shared document sends enumeration message; the message is received after each of the sharing document information back to the shared buffer in which the participant the edit documents shared by sending the message, passing the editors identity; the sharers edit documents after receiving the message, according to the editor to determine the identity do agree, agree, agree to return to the message, and returns the contents of the document; if do not agree, do not agree to return to the message.
  5. 5.如权利要求1所述的文档的网络编辑方法,其特征在于:所述文档格式为XML,如果文档不是XML格式,则将其转换成XML格式。 5. The network document editing method according to claim 1, wherein: said XML document format, if the document is not in XML format, it is converted into XML format.
  6. 6.如权利要求5所述的文档的网络编辑方法,其特征在于:步骤(2)中所述锁定文档部分内容的方法如下: 判断待锁定部分文档内容是否已被锁定,如是,则不能再次锁定;如否,则将这部分内容标记为锁定,并立即锁定; 向共享者发送一条锁定文档的消息,并传递锁定者身份和锁定的部分文档内容。 6. The network document editing method according to claim 5, characterized in that: the step (2) the method of locking parts of the documentation are as follows: determining whether the parts of the document to be locked is locked, if so, can not be again lock; if not, it will be marked as part of the lock, and lock immediately; sending a message to a locked document sharers, and pass the identity and locking parts of the document locked.
  7. 7.如权利要求5所述的文档的网络编辑方法,其特征在于,步骤(3)中所述编辑完毕后传递给共享者的过程如下: 参与者向共享者发送保存文档通知,共享者应答该通知; 参与者接到应答后,向共享者发送保存消息; 共享者接收到消息后判断是否是参与者锁定的,如果是,则更新内容,并继续保持锁定;检查是否需要向参与者返回其他非锁定部分内容,如果需要,则将其他非锁定部分内容返回给参与者。 7. The network document editing method according to claim 5, characterized in that, after the transfer step (3) in the editing process is completed to the sharer follows: Save the document sending a notification to participants sharers, a sharer response the notification; participant after receiving the response, sending a message to save sharer; sharer after receiving the message determines whether or not the participant is locked, if so, update, and continues to remain locked; check if need to return to the participant other non-locking part, if needed, other non-locking will be returned to the part of the participants.
  8. 8.如权利要求1所述的文档的网络编辑方法,其特征在于:在文档编辑过程中,共享者定时向所有正在对该文档进行编辑的参与者发送保存通知,参与者接到通知后,返回保存消息,共享者根据保存消息保存文档。 8. The network document editing method according to claim 1, wherein: the document editing process, the timing of transmitting the sharer storing notification to all participants of the document is being edited, the participant after receiving the notice, return to save the message, save the document sharers according to the stored messages.
  9. 9.一种文档的网络编辑系统,其特征在于:包括若干个通过网络(2)连接的编辑装置(I);所述编辑装置(I)包括用于在网络(2)上共享文档的共享单元(11);用于从网络(2)上获取文档的获取单元(12);用于锁定文档部分内容的锁定单元(13);用于编辑文档部分内容的编辑单元(14);用于传输编辑后的文档部分内容的传输单元(15);以及用于更新文档的更新单元(16);该系统还包括用于在文档编辑过程中,编辑者退出编辑的退出单元,如果退出编辑的编辑者是文档的共享者,那么采用下述方法之一退出编辑: ①通知所有编辑者保存部分文档内容,在一个超时间隔后保存文档,解除文档锁定,不再共享该文档; ②将对文档的控制权限转移给另一个编辑者,保存整个文档,将正在编辑的编辑者列表、锁定情况传递给该编辑者,该编辑者接受后,通知所有编辑者文档的共享者已经转移 A network document editing system, characterized by: a plurality of editing apparatus comprising (I) connected through a network (2); the editing means (I) for sharing comprises sharing documents on the web (2) means (11); means for obtaining the document from the network (2) acquisition unit (12); means for locking (13) the locking part of the document; means for editing unit (14) to edit the contents of the document part; for transmission means (15) the transmission part of the edited document; and means for updating (16) the updated document; the system further comprising a process for document editing, the editor exit edit exit unit, if the edit exit editors are sharers of the document, then exit the editor in one of the following methods: ① notify all editors save parts of the document, save the document after a time-out interval, the lock is released document, the document is no longer shared; ② the documents will control authority transferred to another editor, save the entire document, the editors are editing the list, lock case passed to the editor, the editor after accepting inform all those who share the editors of the document has been transferred ; 如果退出编辑的编辑者是非共享者,则向共享者发送退出消息,共享者将该编辑者编辑的部分文档内容解锁,并将该编辑者从正在编辑的编辑者名单中去除。 ; Edited by non-sharers If you exit the editing, the exit message is sent to sharers, who share the parts of the document editor to edit unlocked, and the editor is removed from the list of editors being edited.
  10. 10.如权利要求9所述的文档的网络编辑系统,其特征在于:所述编辑装置(I)还包括用于将其他格式的文档转换成XML格式的转换单元(17)。 10. The network document editing system according to claim 9, characterized in that: said editing means (I) further comprises means for converting the file format into another XML format converting unit (17).
CN 201110240912 2011-08-22 2011-08-22 Network editing method and system documentation CN102955785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110240912 CN102955785B (en) 2011-08-22 2011-08-22 Network editing method and system documentation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110240912 CN102955785B (en) 2011-08-22 2011-08-22 Network editing method and system documentation

Publications (2)

Publication Number Publication Date
CN102955785A true CN102955785A (en) 2013-03-06
CN102955785B true CN102955785B (en) 2015-09-09

Family

ID=47764599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110240912 CN102955785B (en) 2011-08-22 2011-08-22 Network editing method and system documentation

Country Status (1)

Country Link
CN (1) CN102955785B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572600A (en) * 2013-10-29 2015-04-29 镇江睿泰信息科技有限公司 Multi-person collaborative document editing operation method
CN104714933B (en) * 2013-12-12 2018-01-05 鸿合科技有限公司 A document processing method and apparatus for editing
CN105681367A (en) * 2014-11-17 2016-06-15 中国移动通信集团公司 Method, server and client for sharing file contents
CN104933088A (en) * 2015-05-13 2015-09-23 深圳市中幼国际教育科技有限公司 Remote editing method and system
CN105468769A (en) * 2015-12-08 2016-04-06 国网浙江省电力公司宁波供电公司 Editing method and system of electric power telecommunication geographic information
CN105577522A (en) * 2015-12-22 2016-05-11 网易(杭州)网络有限公司 Cooperative editing method, device and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787443A (en) * 2005-12-02 2006-06-14 无锡永中科技有限公司 Method for realizing file coordination processing
CN101350009A (en) * 2008-09-05 2009-01-21 中国工商银行股份有限公司 System for writing and compiling cooperated documents
CN101855629A (en) * 2007-11-09 2010-10-06 微软公司 Collaborative authoring

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8024361B2 (en) * 2007-10-23 2011-09-20 International Business Machines Corporation Method and system for allowing multiple users to access and unlock shared electronic documents in a computer system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1787443A (en) * 2005-12-02 2006-06-14 无锡永中科技有限公司 Method for realizing file coordination processing
CN101855629A (en) * 2007-11-09 2010-10-06 微软公司 Collaborative authoring
CN101350009A (en) * 2008-09-05 2009-01-21 中国工商银行股份有限公司 System for writing and compiling cooperated documents

Also Published As

Publication number Publication date Type
CN102955785A (en) 2013-03-06 application

Similar Documents

Publication Publication Date Title
Pietzuch et al. Hermes: A distributed event-based middleware architecture
Thöne et al. Process-oriented, flexible composition of web services with UML
US20090112937A1 (en) Spreadsheet collaboration between rich and browser clients
US20100235763A1 (en) Collaborative hierarchical document development and review system
US20040068714A1 (en) Exchange infrastructure system and method
Johanson et al. Extending tuplespaces for coordination in interactive workspaces
US20090063650A1 (en) Managing Collections of Appliances
CN101848236A (en) Real-time data distribution system with distributed network architecture and working method thereof
CN103036717A (en) Consistency maintenance system and methods for distributed-type data
US20090228716A1 (en) Method and system for distributed coordination of access to digital files
CN1407475A (en) Synchronous updating personnel resume database method based on internet
Dellschaft et al. Cicero: Tracking design rationale in collaborative ontology engineering
JP2006268138A (en) Image forming apparatus, information processing method, information processing program and peer-to-peer system
US20070288512A1 (en) Resource management program, resource management process, and resource management apparatus
CN101145130A (en) Simple network management protocol software test device and test method
JP2002064418A (en) Device and method for presentation and information recording medium
JP2007501969A (en) Way to create a co-production e-mail document, systems, and computer program (co-production e-mail)
US7373424B2 (en) Exactly once protocol for message-based collaboration
Mikalsen et al. Interoperability services in the MPOWER Ambient Assisted Living platform.
CN101257460A (en) Instantaneous message temporary cluster group conversational system and method for creating and transmitting instantaneous message
CN1607774A (en) Method for describing vehicle-mounted CAN communication network with XML language
Melliti et al. Distributed behavioural adaptation for the automatic composition of semantic services
CN103544189A (en) Method and system for locking currently-edited file
CN1780290A (en) Method for realizing distributed simulated interactive running system with peer structure
Baresi et al. Hybrid service-oriented architectures: a case-study in the automotive domain

Legal Events

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