CN106681976A - Multi-client-side real-time synchronous editing and display method - Google Patents

Multi-client-side real-time synchronous editing and display method Download PDF

Info

Publication number
CN106681976A
CN106681976A CN201710020276.XA CN201710020276A CN106681976A CN 106681976 A CN106681976 A CN 106681976A CN 201710020276 A CN201710020276 A CN 201710020276A CN 106681976 A CN106681976 A CN 106681976A
Authority
CN
China
Prior art keywords
document
producer
action
consumer
sync server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710020276.XA
Other languages
Chinese (zh)
Inventor
张亚鹏
单衍景
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING HUAXIA DIANTONG TECHNOLOGY Co Ltd
Original Assignee
BEIJING HUAXIA DIANTONG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING HUAXIA DIANTONG TECHNOLOGY Co Ltd filed Critical BEIJING HUAXIA DIANTONG TECHNOLOGY Co Ltd
Priority to CN201710020276.XA priority Critical patent/CN106681976A/en
Publication of CN106681976A publication Critical patent/CN106681976A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a multi-client-side real-time synchronous editing and display method. The method comprises the steps of obtaining a message of motion on a text conducted by input equipment in real time, and obtaining a motion type edited for the text according to message analysis of the motion; obtaining motion content edited for the text from a text interface; sending the motion type and the motion content to at least one consumer side so as to make the consumer side display the text in real time. According to the multi-client-side real-time synchronous editing and display method, a producer side is utilized to achieve trans-platform text synchronization for the motion type and the motion content edited for the text, and thus various demands for recording and viewing in the court hearing process can be met.

Description

Multi-client real-time synchronization editor and display methods
Technical field
The present invention relates to computer document technical field, more particularly to a kind of multi-client real-time synchronization editor and display side Method.
Background technology
As court trial process digitizes going deep into for process, increasing law court deploys digital court system.Current Digital court system is adopted and disposed in such a way:There are multiple stage computers equipment (desktop computer), clerk's computer peace inside court Dress clerk's client software, judge's computer installs judge's client software, and party's computer installs party's client software, Meanwhile, the client software for being also responsible for showing watches court's trial situation for the hearing people of participation court's trial.In addition, being directed to court's trial The open and clear requirement of journey, court's trial situation provides live viewing simultaneously.
In the personnel for participating in court's trial, clerk is responsible for recording court trial process, and he is needed judge, party, card What is said or talked about records and preserved for people etc., to ensure the record to court's trial and later check.In court trial process, other Participating in the personnel of court's trial needs to view record case of the clerk to current court's trial in real time.Since needing to see book in real time The record of note person, it is necessary to the record case of clerk is transferred in real time on the equipment of each personnel and is shown, while judge The record of clerk can be raised an objection, be annotated, so that clerk corrects notes.
However, existing digital court system can not still fully meet the demand of above-mentioned court trial process.
The content of the invention
The present invention provides a kind of multi-client real-time synchronization editor and display methods, to meet court trial process in record, look into See and correct the demands such as notes.
The present invention provides a kind of multi-client real-time synchronization editor and display methods, including:Input equipment pair is obtained in real time Document makees the message of action, and the type of action to the documents editing is obtained according to the message analysis of the made action; The movement content to the documents editing is obtained from document interface;The type of action and the movement content are sent at least One consumer end, so that the consumer end shows in real time the document;The type of action and the movement content are sent out Before being sent at least one consumer end, also include:Obtain sync server mailing address, and according to the mailing address to The sync server registers manufacturer information, is communicated to connect with setting up with the sync server;By the type of action and The movement content is sent at least one consumer end, including:By the sync server by the type of action and institute State movement content and be forwarded to the consumer end that communication connection is set up with the sync server;By the type of action and institute State movement content and be sent at least one consumer end, including:Network is generated according to the type of action and the movement content Agreement, the procotol includes the MD5 values of the operation to the documents editing;The procotol is sent to into the consumption Person end.
In one embodiment, the message that input equipment makees action to document is obtained in real time, and according to the made action Message analysis obtain before the type of action to the documents editing, also including:The document for receiving the sync server is sent out Lose one's life order, and order is sent according to the document and integrally sent current document to the consumer by the sync server End;Methods described, also includes:Receive the check command at the consumer end, and will be overall current according to the check command The current document content of document or the setting position scope comprising present cursor position is sent to the consumer end.
The present invention also provides one kind and is based on multi-client real-time synchronization editor and display methods, including:Production is obtained in real time The type of action and movement content of the documents editing at person end;Document interface is called to hold according to described type of action and movement content Style of writing shelves edit operation, to show the document at the producer end in real time;The action of the documents editing at producer end is obtained in real time Before type and movement content, also include:Obtain the mailing address of sync server, and according to the mailing address to described same Step server registration consumer information, is communicated to connect with setting up with the sync server;The document at producer end is obtained in real time The type of action and movement content of editor, including:Obtained in real time by the sync server and set up with the sync server The type of action and movement content of the documents editing at the producer end of communication connection.
In one embodiment, the type of action and movement content of the documents editing at producer end is obtained in real time, including:In real time Receive the procotol from the producer end;Parse the procotol obtain described type of action and movement content and Corresponding MD5 values;Methods described, also includes:Documents editing operation according to performing generates MD5 values;The MD5 values for relatively generating with Whether the MD5 values in the procotol are consistent;If it is not, check command is then sent to the producer end, to obtain the life The newest document content at product person end, and update the document after the execution documents editing operation using the newest document content.
In one embodiment, also include:Document addition label after documents editing operation is performed, and by the label Label position, tag name and tab style information are sent to other consumer ends and the producer end.
The present invention provides again one kind and is based on multi-client real-time synchronization editor and display methods, including:Producer end is real-time Obtain input equipment and make the message of action to the document at the producer end, and obtained according to the message analysis of the made action To the type of action of the documents editing to the producer end;The producer end is obtained to the producer from its document interface The movement content of the documents editing at end;The producer end passes through sync server by the type of action and the movement content It is forwarded at least one consumer end;The consumer end consumption is called according to the type of action and the movement content The document interface at person end is operated to the document executive editor at the consumer end.
In one embodiment, producer end obtains in real time input equipment and makees disappearing for action to the document at the producer end Breath, and obtained before the type of action to the documents editing at the producer end according to the message analysis of the made action, also Including:The client is according to the mailing address of the sync server to the sync server registered client client information;Institute State identity of the sync server in the client-side information and judge that the client is the producer end or institute State consumer end;If the client is the producer end, group of the sync server in the client-side information Whether the consumer end in ID detection producer end place groups of clients establishes communication connection, if so, notifies The producer end sends its current document to the consumer end;It is described same if the client is the consumer end Step server preserves the client-side information, and group ID in the client-side information detects visitor that the consumer end is located Whether the producer end in the group of family end establishes communication connection, if so, then notifies that the producer end ought be above by it Shelves are sent to the consumer end.
In one embodiment, notify that the producer end sends its current document to the consumer end, including:It is described Sync server sends document and sends a command to the producer end;The producer end sends according to the document and orders it Current document is sent to the sync server;When the sync server preserves the setting of current document one at the producer end It is long, and the current document at the producer end is forwarded to into the consumer end, the current document that the sync server is preserved For being forwarded to the consumer end for setting up communication connection with the sync server in the setting duration.
In one embodiment, the producer end is turned the type of action and the movement content by sync server At least one consumer end is dealt into, including:The producer end generates network according to the type of action and the movement content Agreement, and the procotol is sent to into the sync server, the procotol includes the document at the producer end The corresponding MD5 values of editor;The sync server preserves the MD5 values in the procotol, and the procotol is turned It is dealt into the consumer end;Methods described, also includes:Each consumer end generates respective according to its edit operation for performing MD5 values, and whether relatively more respective MD5 values are consistent with the MD5 values in the procotol;If it is not, each consumer end point MD5 values that Fa Song be in check command and the procotol are to the sync server;The sync server will be received at first To check command be forwarded to the producer end, and compare the MD5 values and with the check command being successfully received together of its preservation Whether the MD5 values for receiving are consistent, if so, then the check command being successfully received are not forwarded to into the producer end;The production Its newest document is forwarded to each consumer end by person end according to the check command for receiving by the sync server;It is described Consumer end updates the current document at the consumer end using the newest document.
In one embodiment, the consumer end is the client for being packaged into OCX controls, so that webpage is called.
The multi-client real-time synchronization editor of the embodiment of the present invention and display methods, by obtaining producer end in real time to text The type of action and type of action of shelves editor, and the type of action and type of action are sent to consumer end, so as to consumer End can learn information, the type of action and the type of action such as type, position and character that producer end operates to documents editing Producer end can be made to perform identical operation in real time according to it, so as to document that consumer end can be kept to show and the text at producer end Shelves are consistent, so as to realize the synchronization of cross-platform document.Further, synchronously disclosure satisfy that in court trial process by cross-platform document and remember The various demands such as record, check.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the multi-client real-time synchronization editor of one embodiment of the invention and the schematic flow sheet of display methods;
Fig. 2 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods;
Fig. 3 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods;
Fig. 4 is the method that the type of action and movement content of documents editing in one embodiment of the invention is sent to consumer end Schematic flow sheet;
Fig. 5 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods;
Fig. 6 is one embodiment of the invention based on multi-client real-time synchronization editor and the schematic flow sheet of display methods;
Fig. 7 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods;
Fig. 8 is the method for the type of action and movement content of the documents editing that producer end is obtained in one embodiment of the invention Schematic flow sheet;
Fig. 9 is the multi-client real-time synchronization editor of another embodiment of the present invention and display methods schematic flow sheet;
Figure 10 is the multi-client real-time synchronization editor of another embodiment of the present invention and display methods;
Figure 11 is one embodiment of the invention based on multi-client real-time synchronization editor and the schematic flow sheet of display methods;
Figure 12 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods;
Figure 13 is that sync server notifies that producer end sends its current document to consumer in one embodiment of the invention The method flow schematic diagram at end;
Figure 14 is that producer end is sent type of action and movement content by sync server in one embodiment of the invention To the method flow schematic diagram at consumer end;
Figure 15 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention becomes more apparent, below in conjunction with the accompanying drawings to this Bright embodiment is described in further details.Here, the schematic description and description of the present invention is used to explain the present invention, but and It is not as a limitation of the invention.
Based on the situation in court trial process, using existing notes document, such as WORD edits document to the present invention, based on visitor Family end software and/or live page, it is proposed that various multi-client real-time synchronization editors and display methods, can realize with secretary Document real-time synchronization editor and display of the member for driving.The method of following each embodiments, is not depositing in the case of a conflict, can group Close and implement.
Producer end, consumer end, groups of clients and sync server mentioned in various embodiments of the present invention can have Following meanings:
Producer end:By taking clerk as an example, edlin can be entered to document, that is, produce the client of document function, production The document at person end can be the document for being embedded in its client.
Consumer end:By taking judge, party as an example, the client of document function, the document at consumer end can be in real time seen It can be the document for being embedded in its client.
Groups of clients:One producer end and multiple consumer ends constitute a groups of clients, and producer end is in group Driver (Leader) is responsible for producing document function, and the document function that producer end produces is general only to propagate in groups of clients.
Sync server:Consumer end can be communicated with producer end by sync server transfer agreement, synchronous Server can be managed to consumer end with producer end.
The multi-client of the present invention can be producer end, consumer end and page end etc..
The present invention provides a kind of multi-client real-time synchronization editor and display methods, makes producer end implement following enforcement The technical scheme of example, can make consumer end show the document at producer end in real time.
Fig. 1 is the multi-client real-time synchronization editor of one embodiment of the invention and the schematic flow sheet of display methods.Such as Fig. 1 It is shown, the multi-client real-time synchronization editor of the embodiment of the present invention and display methods, it may include step:
S110:The message that input equipment makees action to document is obtained in real time, and according to the message of the made action point Analysis obtains the type of action to the documents editing;
S120:The movement content to the documents editing is obtained from document interface;
S130:The type of action and the movement content are sent at least one consumer end, so that the consumption Person end shows in real time the document.
In above-mentioned steps S110, the input equipment can make user carry out edit operation to document, for example can be keyboard, The equipment such as mouse, touch-screen.The document can be various existing documents, such as WORD documents, notepad etc..Documents editing it is dynamic Make type for example can be insert, delete and cursor movement etc. operation.
In above-mentioned steps S120, the character that the movement content of the document editor for example may be inserted into, delete, and assorted Inserted and deleted in position.The document interface for example can be WORD interfaces, notepad interface etc..
In the embodiment of the present invention, input equipment is obtained in real time by the producer end action is made to the document at producer end Message, and the message analysis for making action according to the institute obtain the type of action of the documents editing to producer end, from document interface The movement content of the documents editing to producer end is obtained, and the type of action and the movement content is sent to real-time to needing The consumer end of display, can make the consumer end show the document at producer end in real time.Clerk is edited using producer end During notes, position and content that clerk edits are obtained in that, then need the consumer end of simultaneous display also in phase at other Same position insertion identical content, so as to can guarantee that document content synchronization.
Fig. 2 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Fig. 2, the multi-client real-time synchronization editor and display methods shown in Fig. 1, before step S130, will the action class Type and the movement content are sent to before at least one consumer end, may also include step:
S140:The mailing address of sync server is obtained, and is registered to the sync server according to the mailing address Manufacturer information, is communicated to connect with setting up with the sync server.
Specifically, for example above-mentioned steps S140 can be located at before step S110.In the present embodiment, producer end obtains synchronous The mailing address of server, and the producer can be made to the sync server registration manufacturer information according to the mailing address Communication connection is set up in end with the sync server.The manufacturer information can include the various information related to producer end, example ID of groups of clients etc. as described in producer's mark, producer end.Learn can sync server by the ID of the groups of clients The producer end and which producer end and consumer end belong to a groups of clients, and sync server is easy to client with this Client in group is managed collectively.
In some embodiments, in above-mentioned steps S130, the type of action and the movement content are sent at least one The method at individual consumer end, specific embodiment can be:By the sync server by the type of action and the action Content is forwarded to sets up the consumer end of communication connection with the sync server.
In the present embodiment, after each producer end is reached the standard grade, to sync server the information of oneself, sync server root are registered They can be managed according to log-on message, the administrative effort at producer end can be reduced with this, realize unified management.Consumption Person end is communicated with producer end by sync server transfer agreement, is directly entered with producer end without consumer end Row communication, with this, it is possible to reduce the communication pressure at producer end.
Fig. 3 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Fig. 3, the multi-client real-time synchronization editor and display methods shown in Fig. 2 before step S110, i.e., obtains in real time input Equipment makees the message of action to document, and the action to the documents editing is obtained according to the message analysis of the made action Before type, step is may also include:
S150:The document for receiving the sync server sends order, and sends order by described according to the document Sync server integrally sends current document to the consumer end.
It can be that sync server has detected producer end and consumer end and is sent to when reaching the standard grade that the document sends order The order at producer end.The current document can be in producer end execution step S110 and step S120 document edit operation it Front document.
In the present embodiment, the document is sent order and passes through sync server by the current document at producer end by producer end Entirety is sent to consumer end, just can be set up communication connection with sync server at producer end and consumer end and just reached the standard grade When, it is maintained for that producer end is consistent with the document on consumer end, when afterwards producer end performs new edit operation, can be with Only new edit operation content (above-mentioned type of action and movement content) is sent to consumer end, so that the text on consumer end Shelves real-time update, such that it is able to avoid producer end from transmitting whole document echoing in real time to consumer end, reduces communication pressure.
Fig. 4 is the method that the type of action and movement content of documents editing in one embodiment of the invention is sent to consumer end Schematic flow sheet.As shown in figure 4, in above-mentioned steps S130, the type of action and the movement content are sent at least The method at one consumer end, it may include step:
S131:Procotol is generated according to the type of action and the movement content, the procotol is included to institute State the MD5 values of the operation of documents editing;
S132:The procotol is sent to into the consumer end.
The procotol can utilize various different existing protocol generations, such as Transmission Control Protocol.Can be by above-mentioned The different type of action of character representation defined in procotol, for example inserting and delete can be defined with different characters, The different types of above-mentioned procotol of correspondence.Can describe in above-mentioned action by existing protocol format in above-mentioned procotol Hold.For the edit operation of each document can correspond to a specific MD5 value, the MD5 values are generated according to five sections of check additions, The rear passage of first three section of word, present segment word and present segment for example to current paragraph is verified.In the network association With the association attributes of position in view, such as in a certain section certain position insertion content.
In the present embodiment, by generating procotol according to the type of action and the movement content, and the net is made Network agreement includes the MD5 values of the operation to the documents editing, it is possible to use the MD5 values description is by input unit to the producer The edit operation of the document at end.By the way that the procotol is sent to into the consumer end, utilize can consumer end should MD5 values carry out documents editing operational consistency verification.
Fig. 5 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Fig. 5, the multi-client real-time synchronization editor and display methods shown in Fig. 1 may also include step:
S160:Receive the check command at the consumer end, and according to the check command by overall current document or The current document content of the setting position scope comprising present cursor position is sent to the consumer end.
The current document can be producer end execution step S110 and the document after the edit operation in step S120.When The producer termination receive from the check command at consumer end when, can by whole current document preservation portion send to consumer End;Or the current document content of the setting position scope of present cursor position can be preserved into a single document transmission To consumer end.For example, front 20 sections of words and rear 10 sections of words of present cursor position are only transmitted, these words is integrally added Special tag, preserves into a document and is transmitted, and after being sent to consumer end, consumer end can obtain according to the special tag Word content, and the content of corresponding paragraph is replaced to ensure document-synchronization.
In some embodiments, overall current document can be sent to institute when above-mentioned current document is more than setting number of pages Consumer end is stated, can be when above-mentioned current document be more than setting number of pages by the setting position scope comprising present cursor position Current document content is sent to the consumer end.For example, if current producer end needs the document of transmission to be less than page 100, Whole document is transmitted, if being more than page 100, front 20 sections of words and rear 10 sections of words of present cursor position is only transmitted.
In the present embodiment, according to the check command by overall current document or setting position comprising present cursor position The current document content for putting scope is sent to the consumer end, can only be transmitted related to operation recently when document will be big Partial document content, from for verification cause document transmission, take optimal way transmission file, can reduce communication pressure Power.By feeding back current document for check command, can be further ensured that producer end is consistent with the document at consumer end.
Based on based on multi-client real-time synchronization editor and display methods identical inventive concept, the present invention is separately carried with above-mentioned For a kind of multi-client real-time synchronization editor and display methods, consumer end is set to implement the technical scheme of following embodiment, energy Consumer end is enough set to show the document at producer end in real time.The producer end can be the producer described in the various embodiments described above End.
Fig. 6 is one embodiment of the invention based on multi-client real-time synchronization editor and the schematic flow sheet of display methods. As shown in fig. 6, the embodiment of the present invention based on multi-client real-time synchronization editor and display methods, it may include step:
S210:The type of action and movement content of the documents editing at producer end are obtained in real time;
S220:Document interface is called to perform documents editing operation according to described type of action and movement content, with real-time Show the document at the producer end.
In above-mentioned steps S210, the document can be various existing documents, such as WORD documents, notepad etc..Document The type of action of editor for example can be insert, delete and cursor movement etc. operation.
The type of action of the documents editing at producer end can pass through the input equipment for obtaining producer end to producer end Document make the message of action, and obtained according to the message analysis that the institute makees action by producer end.Referring specifically to above-mentioned life The multi-client real-time synchronization editor implemented in each embodiment in product person end and display methods.
In above-mentioned steps S220, the document interface can be the document interface at consumer end, for example, can be that WORD connects Mouth, notepad interface etc..
In the embodiment of the present invention, obtained in real time by consumer client the documents editing at producer end type of action and Movement content, and call the document interface at consumer end to perform documents editing behaviour according to described type of action and movement content Make, consumer end can be made to show the document at producer end in real time.Judge, party etc. check producer end using consumer end Documents editing, can learn type, character, position of producer end documents editing etc. such that it is able to learn the note that court's trial is put down Record situation.
Fig. 7 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Fig. 7, the multi-client real-time synchronization editor and display methods shown in Fig. 6 before above-mentioned steps S210, i.e., obtains in real time Before the type of action and movement content of the documents editing at producer end, step is may also include:
S230:The mailing address of sync server is obtained, and is registered to the sync server according to the mailing address Consumer information, is communicated to connect with setting up with the sync server.
After consumer end is reached the standard grade, believed to sync server registered customers by the mailing address according to sync server Breath, can set up communication connection with the sync server.Producer end and consumer end can be by the sync servers Turn agreement to be communicated.In the present embodiment, consumer end obtain sync server mailing address, and according to the mailing address to The sync server registered customers information, can make the consumer end set up communication connection with the sync server.The consumption Person's information can include the various information related to consumer end, such as consumer identification, groups of clients described in consumer end ID etc..By the ID of the groups of clients sync server can be made to learn that the consumer end and which producer end and consumer end belong to In a groups of clients, it is easy to sync server to be managed collectively the client in groups of clients with this.
In some embodiments, above-mentioned steps S210 obtain in real time type of action and the action of the documents editing at producer end The method of content, specific embodiment can be:Obtained in real time by the sync server and set up logical with the sync server The type of action and movement content of the documents editing at the producer end of letter connection.
In the present embodiment, after each consumer end is reached the standard grade, to sync server the information of oneself, sync server root are registered They can be managed according to log-on message, the administrative effort at producer end can be reduced with this, realize unified management.Consumption Person end is communicated with producer end by sync server transfer agreement, is directly entered with producer end without consumer end Row communication, with this, it is possible to reduce the communication pressure at producer end.
Fig. 8 is the method for the type of action and movement content of the documents editing that producer end is obtained in one embodiment of the invention Schematic flow sheet.As shown in figure 8, in above-mentioned steps S210, obtain in real time the documents editing at producer end type of action and The method of movement content, it may include step:
S211:Procotol of the real-time reception from the producer end;
S212:Parse the procotol and obtain described type of action and movement content and corresponding MD5 values.
The procotol can utilize various different existing protocol generations, such as Transmission Control Protocol by producer end.Can be with By the different type of action of the character representation defined in above-mentioned procotol, for example inserting and delete can be with different character It is defined, the different types of above-mentioned procotol of correspondence.Producer end can press existing agreement in above-mentioned procotol Form describes above-mentioned movement content.For the edit operation of each document can correspond to a specific MD5 value.
The procotol at producer end can be sent to consumer end directly or by sync server.Consumer end parses The procotol obtains that type of action and movement content and corresponding MD5 value of the producer end to its documents editing can be obtained. This edit operation of the corresponding MD5 values correspondence producer end to its document, i.e., with above-mentioned type of action and movement content pair Should.The procotol is reached behind consumer end, and consumer is according to protocol type (such as inserting or delete the procotol of type) And association attributes, corresponding documents editing operation can be performed.
In the present embodiment, consumer end passes through procotol of the real-time reception from the producer end, and parses described Procotol obtains described type of action and movement content and corresponding MD5 values, it is possible to use in the type of action and action Hold and perform documents editing operation, document consistency desired result can be carried out using the MD5 values after executive editor's operation.
Fig. 9 is the multi-client real-time synchronization editor of another embodiment of the present invention and display methods schematic flow sheet.Such as Fig. 9 Shown, shown in Fig. 6 multi-client real-time synchronization editor and display methods, may also include step:
S240:Documents editing operation according to performing generates MD5 values;
S250:Whether the MD5 values for relatively generating are consistent with the MD5 values in the procotol;
S260:If it is not, check command is then sent to the producer end, with the newest document for obtaining the producer end Hold, and the document after the execution documents editing operation is updated using the newest document content.
The newest document can be current document when producer's termination receives above-mentioned check command.Consumer end performs volume After collecting operation, document-synchronization logic is performed and completed.Consumer end can generate according to the MD5 values of the documents editing at producer end operation Mode, i.e., such as five sections check additions produce again a MD5 value, i.e., according to consumer end using the volume performed by document interface Collect operation and generate a MD5 value.Then the MD5 values of generation are compared with the MD5 values sended in procotol, if phase The same document that can represent consumer end after the completion of operation is consistent with producer end document, if differing, can send verification Order, producer end is sent to directly or by sync server by the check command.Producer end can be its current document Preserve a in whole or in part, the consumer end specified is sent to directly or by sync server, consumer end is then replaceable Its current document, to ensure producer end and consumer end document-synchronization.
In the present embodiment, consumer end generates MD5 values by operating according to the documents editing for performing, and by comparing generation MD5 values whether whether parity check document consistent with the MD5 values in the procotol, if inconsistent, by send verification Order the newest document content that the producer end is obtained to the producer end, it is possible to use the newest document content is more The document after the documents editing operation is newly performed, it is consistent with the document at producer end with the document for ensureing consumer end.
Figure 10 is the multi-client real-time synchronization editor of another embodiment of the present invention and display methods.As shown in Figure 10, Fig. 6 Shown multi-client real-time synchronization editor and display methods, may also include step:
S270:Document addition label after documents editing operation is performed, and by the label position of the label, tag name And tab style information is sent to other consumer ends and the producer end.
The label can utilize the client functionality at consumer end to realize.The label can add in several ways, example Such as paintbrush, annotation.Label position can be consumer end document various different paragraphs or character position.Tag name can For identifying the label.Tab style for example can be the color of paintbrush, and different consumer ends can use different marks Signed-off sample formula, such as using the paintbrush of different colours, can be learnt according to tab style with this be the addition of which client label.
Using label or annotation consumer end can be made to one feedback of current document at producer end, such as judge feels This section of word is problematic, needs clerk to modify, and in this section of addition label or will stamp annotation.Consumer end is a certain Section is added label or is annotated using paintbrush, then stamp special tag using document interface in corresponding paragraph, and can be marked this Other clients (other consumer ends and producer end) delivered in for example same groups of clients are signed and issued, other clients are in text Shelves relevant position can draw annotation using such as paintbrush.The brush color at consumer end can be configured, such clerk Can judge it is which joins the annotation that front yard personnel do according to color.
In the present embodiment, label is added in consumer end in document, and by the label position of the label, tag name and mark Sign style information to send to other consumer ends and the producer end, the document at producer end can be fed back, and energy Other consumer ends and producer end is allowed to learn its feedback content.
Based on based on multi-client real-time synchronization editor and display methods identical inventive concept, the present invention is also carried with above-mentioned For a kind of multi-client real-time synchronization editor and display methods, producer end and consumer end is set to implement the skill of following embodiment Art scheme, can make consumer end show the document at producer end in real time.The producer end can be described in the various embodiments described above Producer end.The consumer end can be the consumer end described in the various embodiments described above.
Figure 11 is one embodiment of the invention based on multi-client real-time synchronization editor and the schematic flow sheet of display methods. As shown in figure 11, the embodiment of the present invention based on multi-client real-time synchronization editor and display methods, it may include step:
S310:Producer end obtains in real time the message that input equipment makees action to the document at the producer end, and root The type of action of the documents editing to the producer end is obtained according to the message analysis of the made action;
S320:The producer end obtains the movement content of the documents editing to the producer end from its document interface;
S330:The producer end is forwarded to the type of action and the movement content at least by sync server One consumer end;
S340:The document at the consumer end is called according to the type of action and the movement content in the consumer end Interface is operated to the document executive editor at the consumer end.
In above-mentioned steps S310, the input equipment can make user carry out edit operation to document, for example can be keyboard, The equipment such as mouse, touch-screen.The document can be various existing documents, such as WORD documents, notepad etc..Documents editing it is dynamic Make type for example can be insert, delete and cursor movement etc. operation.
In above-mentioned steps S320, the character that the movement content of the document editor for example may be inserted into, delete, and assorted Inserted and deleted in position.The document interface for example can be WORD interfaces, notepad interface etc..
In above-mentioned steps S330, the producer end first can send the type of action and the movement content to same The type of action and the movement content are forwarded at least one consumer end by step server, sync server again.
In the embodiment of the present invention, input equipment is obtained in real time by the producer end action is made to the document at producer end Message, and the message analysis for making action according to the institute obtain the type of action of the documents editing to producer end, from document interface The movement content of the documents editing to producer end is obtained, and the type of action and the movement content is sent to real-time to needing The document at the consumer end is called to connect according to the type of action and the movement content in the consumer end of display, consumer end Mouth is operated to the document executive editor at the consumer end, and the consumer end can be made to show the document at producer end in real time.Disappear Fei Zheduan is communicated with producer end by sync server transfer agreement, direct with producer end without consumer end Communicated, with this, it is possible to reduce the communication pressure at producer end.
Figure 12 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Figure 12, the multi-client real-time synchronization editor of the embodiment of the present invention and display methods before above-mentioned steps S310, that is, are given birth to Product person end obtains in real time the message that input equipment makees action to the document at the producer end, and according to the made action Message analysis are obtained before the type of action to the documents editing at the producer end, may also include step:
S360:The client is according to the mailing address of the sync server to the sync server registered client Information;
S370:Identity of the sync server in the client-side information judges that the client is described Producer end or the consumer end;
S380:If the client is the producer end, the sync server is according in the client-side information Whether the consumer end in group ID detection producer end place groups of clients establishes communication connection, if so, leads to Know that the producer end sends its current document to the consumer end;If the client is the consumer end, described Sync server preserves the client-side information, and group ID in the client-side information detects that the consumer end is located Whether the producer end in groups of clients establishes communication connection, if so, then notifies that the producer end is current by its Document is sent to the consumer end.
In above-mentioned steps S360, the address of sync server can configure in client, or to from synchronous service Device end obtains.The client is according to the mailing address to the sync server registered client client information, it is ensured that visitor Communication connection is set up between family end and sync server.
In above-mentioned steps S370, the identity in the client-side information may indicate that the client be producer end also It is consumer end.In other embodiment, the client-side information may also include groups of clients ID, than showing the visitor belonging to the client Family end group, sync server can carry out grouping management using groups of clients ID to multiple client.
In above-mentioned steps S380, wire management can be managed by sync server to client in client, according to One groups of clients, can be divided into two kinds of situations, and the first is that producer end is first reached the standard grade, and second is that consumer end is first reached the standard grade, on Line means to set up communication connection with sync server.If the client is the producer end, can producer end with When sync server sets up connection, subsequently consumer end is in detection group to make group ID of the sync server in client-side information It is no to establish communication connection, if consumer end is reached the standard grade, the client that identity is producer end can be allowed to send out its whole document Deliver to the consumer end reached the standard grade.If the client is the consumer end, the client that identity is consumer end can be first preserved The information at end, after producer end is reached the standard grade in group, to allow the producer end that its document is forwarded to the consumer end reached the standard grade before.
Figure 13 is that sync server notifies that producer end sends its current document to consumer in one embodiment of the invention The method flow schematic diagram at end.As shown in figure 13, in above-mentioned steps S380, notify that its current document is sent out at the producer end The method for delivering to the consumer end, it may include step:
S381:The sync server sends document and sends a command to the producer end;
S382:The producer end sends order and its current document is sent to the synchronous service according to the document Device;
S383:The sync server preserves the setting duration of current document one at the producer end, and by the production The current document at person end is forwarded to the consumer end, and the current document that the sync server is preserved is used to be forwarded to described The consumer end of communication connection is set up in setting duration with the sync server.
In above-mentioned steps S382, the current document can be the producer end receive document send order when document. In above-mentioned steps S383, sync server preserves the setting duration of current document one at the producer end.By preserving document Can cause when there is multiple consumer ends newly to reach the standard grade in the short period, the document that sync server can be preserved directly send to Consumer end, without repeating to notify that producer end repeats to send same document, with this communication pressure can be reduced.Preserve text After shelves setting duration, document can be deleted, the storage pressure of sync server can be reduced with this.
Figure 14 is that producer end is sent type of action and movement content by sync server in one embodiment of the invention To the method flow schematic diagram at consumer end.As shown in figure 14, in above-mentioned steps S330, the producer end is by synchronous clothes The method that the type of action and the movement content are forwarded at least one consumer end by business device, it may include step:
S331:The producer end generates procotol according to the type of action and the movement content, and will be described Procotol is sent to the sync server, and the procotol is included corresponding to the documents editing at the producer end MD5 values;
S332:The sync server preserves the MD5 values in the procotol, and the procotol is forwarded to into institute State consumer end.
In above-mentioned steps S331, the procotol can utilize various different existing protocol generations, such as TCP associations View.Can be by the different type of action of the character representation defined in above-mentioned procotol, for example inserting and delete can be with not Same character is defined, the different types of above-mentioned procotol of correspondence.Existing agreement can be pressed in above-mentioned procotol Form describes above-mentioned movement content.For the edit operation of each document can correspond to a specific MD5 value, the MD5 values are Generated according to five sections of check additions, such as the rear passage of first three section of word, present segment word and present segment to current paragraph Verified.With the association attributes of position in the procotol, such as in a certain section certain position insertion content.
In the present embodiment, by the way that the procotol is sent to into the consumer end, utilize can consumer end should MD5 values carry out documents editing operational consistency verification.
Figure 15 is the multi-client real-time synchronization editor of another embodiment of the present invention and the schematic flow sheet of display methods.Such as Shown in Figure 15, the multi-client real-time synchronization editor and display methods shown in Figure 11 may also include step:
S390:Each consumer end generates respective MD5 values according to its edit operation for performing, and relatively more respective Whether MD5 values are consistent with the MD5 values in the procotol;
S3100:If it is not, each consumer end sends respectively MD5 values in check command and the procotol to institute State sync server;
S3110:The check command for receiving at first is forwarded to the producer end by the sync server, and compares its guarantor The MD5 values deposited and whether consistent with the MD5 values that the check command being successfully received together is received, if so, then will not be successfully received Check command is forwarded to the producer end;
S3120:The producer end is turned its newest document by the sync server according to the check command for receiving It is sent to each consumer end;
S3130:The consumer end updates the current document at the consumer end using the newest document.
The documents editing operation at producer end is realized by input equipment, its operation one MD5 value of correspondence, consumer end Documents editing operation be to realize that the operation can also correspond to a MD5 value by document interface, can by comparing two MD5 values It is whether consistent to know operation of the producer end to the operation of document with consumer end to document.
In the present embodiment, there may be multiple consumer ends needs to show the document at producer end in real time.Each consumer End can verify the uniformity of its document and producer end document.When sync server forwards the check command for receiving at first To the producer end (in step S332, the MD5 values of this operation at the producer end for preserving in advance).Compare sync server The check command that the MD5 values (i.e. the MD5 values of this operation at producer end) of preservation and sync server are successfully received is corresponding Whether MD5 values (together receiving with check command) are consistent, if unanimously, can illustrate this behaviour of existing consumer end to producer end Verified, now the check command being successfully received can not be forwarded to the producer end, but allow producer end according to The check command (check command that sync server is received at first) for receiving turns its newest document by the sync server Each consumer end is sent to, now, other check commands are not forwarded to the text at the consumer end at producer end by sync server Shelves also can be updated.In short, for the same operation at producer end, having multiple consumer ends to carry out the operation when simultaneously During verification, can only allow producer end to send once newest document is used to update the document at all consumer ends, it is to avoid allow the producer End repeats to send same document, can reduce the communication pressure at producer end.
In some embodiments, the consumer end is the client for being packaged into OCX controls, so that webpage is called.This reality In applying example, consumption terminal is packaged into into OCX controls and is called for webpage, used for page end, it is possible to achieve disappeared in live use of webpage Fei Zheduan.The personnel in court's trial can not in real time watch the notes situation of current court's trial by the webpage of live court's trial.
In some embodiments, it is possible to use Hook Technique obtains the message of input equipment.For example obtained using Hook Technique The mouse and Keyboard Message at producer end.The message that analysis hook gets at, can obtain the operation of the producer.
In some embodiments, it is possible to use DSO Framer Control controls carrying WORD documents, while can pass through Quote OFFICE storehouses to call the internal interface of WORD documents.
In some embodiments, disappear in the keyboard and mouse information of clerk's client audiomonitor, analysis keyboard and mouse Breath, obtains the type of action of clerk, for example:Insertion, deletion and cursor moving operation;In combination with the interface of WORD, obtain The character must insert, deleted, and where inserted and deleted;Then these contents are passed to procotol is crossed Each needs the client of real-time exhibition, and each client is parsed after agreement is received, according to protocol contents after parsing, Call WORD interfaces to perform identical operation again, if it is possible to confirm that operation is consistent, necessarily ensure that document is same in real time Step.
In some embodiments, after client is logged in, the mailing address of sync server is obtained, to sync server registration certainly Oneself information, sync server carries out grouping management according to the information of registration to client;Producer end produces operation, operation Details sync server end is sent to by network service, sync server finds other members of groups of clients, to Their retransmission protocols, other clients receive and parse after agreement and perform, and judge whether document is consistent after execution, inconsistent to send Check command, synchronized server end is forwarded to producer end, and producer end processes check command and ensures document-synchronization.
In some embodiments, client packets:Sync server realizes function, after each client is reached the standard grade, to server Register the information of oneself, it is ensured that sync server can be communicated, and have a special character string in information, represent oneself Groups of clients ID at place, sync server judges which client is a groups of clients according to this ID value, and client Whether can identify in log-on message oneself is Leader member in group.
In some embodiments, wire management in client:Wire management is management of the sync server to client in client Work, according to a groups of clients, is divided into two kinds of situations, and the first situation, the producer first reaches the standard grade at end, that is, Leader in group First reach the standard grade, sync server is being obtained after the Leader in a groups of clients reaches the standard grade, and can detect with other consumption terminals in group is No to reach the standard grade, if having, the producer end for notifying the group is sent to server end current document, and Jing server ends are transmitted to often Other consumer ends in individual group, it is ensured that document is consistent;Another kind of situation, consumer first reaches the standard grade at end, and server end is only preserved and disappeared The information of Fei Zheduan, and according to group ID it is placed in same group and is managed with other consumer ends in group, wait group After interior Leader reaches the standard grade, perform Leader reach the standard grade logic ensure document-synchronization.
In some embodiments, document-synchronization:After one groups of clients composition, Leader clients, that is, producer end Operation is produced, by analysis, different types of procotol is produced, for example, is inserted or is deleted;And in the protocol with position Association attributes, such as in a certain section certain position insertion content, notice that each operation has a specific MD5 value, root (first three section of word of current paragraph, present segment word, the rear passage of present segment) is generated according to five sections of check additions;Agreement is by giving birth to Product person end is sent to sync server, and sync server to consumer end in all online groups forwards the agreement, agreement to reach Behind consumer end, consumer performs corresponding operation according to protocol type and association attributes.
In some embodiments, document consistency desired result:After the completion of synchronous logic is performed, consumer end can be according to the operation The MD5 value modes of production, that is, five sections of check additions, produce again a MD5 value, then with sending in procotol MD5 values are compared, if the identical document for representing consumer end after the completion of operation is consistent with producer end document, if not phase Together, then check command is sent to sync server, sync server is forwarded to producer end checking command, and producer end can handle Current document preserves a, is forwarded to sync server, and sync server again goes to document the consumer end specified, consumer Then replace current document assurance document-synchronization in end.
In some embodiments, consumer end addition annotation:Annotation is consumer end to the one of the current document at producer end Individual feedback, such as judge think that this section of word is problematic, need clerk to modify, and will stamp annotation in this section.Consumption Person end is annotated at a certain section using paintbrush, then stamp special tag using WORD interfaces in corresponding paragraph, and by network The protocol transmission paragraph position and bookmark name, and the relevant information of paintbrush is to sync server, sync server retransmission protocol To other clients in group, annotation is drawn using paintbrush in document relevant position side after other client analysis protocols, can be with The brush color of consumer is configured, such clerk can judge it is which joins the annotation that front yard personnel do according to color.
In some embodiments, document transmission is optimized:For the document transmission that verification causes, optimal way transmission text is taken Part, if current producer end needs the document of transmission to be less than page 100, transmits whole document, if being more than page 100, only transmits Front 20 sections of words and rear 10 sections of words of present cursor position, these words special tag is integrally added, and preserves into a text Shelves are transmitted, and synchronized server is forwarded to behind consumer end, and consumer end obtains word according to special tag, and replaces phase The content of paragraph is answered to ensure synchronization, if less than page 100 whole document is directly replaced.
In some embodiments, the optimization of document consistency desired result:Find through test, if an operation is at certain consumer end Verification is produced after execution, verification can be equally produced at other consumer ends, if therefore to check command synchronous service each time Device is all forwarded to producer end, and producer end will preserve document and send every time, and increase verification with consumer end Meeting growth at double, in order to reduce by an operation repeatedly verification is caused, therefore, can record warp-wise at sync server end and give birth to Product person end sends the MD5 values of the operation of check command, when next certain consumer end produces again check command, if warp-wise life The forwarded over check command in product person end, then no longer processed, and is directly lost.And in order to reduce sync server end memory pressure Power, only preserves to the MD5 values at every group of consumer end and newest five verification operation at producer end.
In some embodiments, the temporary optimization of document:Whenever having new consumer end to reach the standard grade, sync server all can be to life A document is wanted at product person end, consumer end is then relayed to again and ensures document-synchronization, if so in extreme circumstances, different Reach the standard grade while consumer, producer end can be caused to produce multiple preservation whole document function, and document is forwarded to synchronization Server end, in order to avoid such case, the forwarding for full text document (is at present in sync server end preservation a period of time 3s), during this period of time, there is the forwarding operation of full text document again, only the document at sync server end need to be transmitted to consumption Person end, it is not necessary to send full text document retransmission protocol to producer end again.
The embodiment of the present invention, gives the realization of multi-client synchro edit and Display Technique, according to producer end Equipment message is monitored, and analyzes the operation at producer end, then performs same to consumer end, consumer end by protocol forward Operate to guarantee document real-time synchronization;Setting sync server realizes the unified management to producer end and consumer end, and Client is grouped according to a group ID, by a group management client;Set using document transmission, verification, the temporary optimization of document simultaneously Meter is optimized to whole solution, it is to avoid unnecessary communication traffic, reduces the communication pressure at producer end.
The multi-client real-time synchronization editor of the embodiment of the present invention and display methods, by obtaining producer end in real time to text The type of action and type of action of shelves editor, and the type of action and type of action are sent to consumer end, so as to consumer End can learn information, the type of action and the type of action such as type, position and character that producer end operates to documents editing Producer end can be made to perform identical operation in real time according to it, so as to document that consumer end can be kept to show and the text at producer end Shelves are consistent, so as to realize the synchronization of cross-platform document.Further, synchronously disclosure satisfy that in court trial process by cross-platform document and remember The various demands such as record, check.
In the description of this specification, reference term " one embodiment ", " specific embodiment ", " some enforcements The description of example ", " such as ", " example ", " specific example " or " some examples " etc. means to combine the embodiment or example description Specific features, structure, material or feature are contained at least one embodiment of the present invention or example.In this manual, Identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.And, the specific features of description, knot Structure, material or feature can in an appropriate manner be combined in any one or more embodiments or example.Each embodiment In the step of be related to order be used to schematically illustrate the enforcement of the present invention, sequence of steps therein is not construed as limiting, can be as needed Appropriately adjust.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or with reference to the reality in terms of software and hardware Apply the form of example.And, the present invention can be adopted and wherein include the computer of computer usable program code at one or more The computer program implemented in usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) is produced The form of product.
The present invention is the flow process with reference to method according to embodiments of the present invention, equipment (system) and computer program Figure and/or block diagram are describing.It should be understood that can be by computer program instructions flowchart and/or each stream in block diagram The combination of journey and/or square frame and flow chart and/or the flow process in block diagram and/or square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced for reality by the instruction of computer or the computing device of other programmable data processing devices The device of the function of specifying in present one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions may be alternatively stored in can guide computer or other programmable data processing devices with spy In determining the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory is produced to be included referring to Make the manufacture of device, the command device realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or The function of specifying in multiple square frames.
These computer program instructions also can be loaded in computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented process, so as in computer or The instruction performed on other programmable devices is provided for realizing in one flow process of flow chart or multiple flow processs and/or block diagram one The step of function of specifying in individual square frame or multiple square frames.
Particular embodiments described above, has been carried out further in detail to the purpose of the present invention, technical scheme and beneficial effect Describe in detail it is bright, should be understood that the foregoing is only the present invention specific embodiment, the guarantor being not intended to limit the present invention Shield scope, all any modification, equivalent substitution and improvements within the spirit and principles in the present invention, done etc., should be included in this Within the protection domain of invention.

Claims (10)

1. a kind of multi-client real-time synchronization editor and display methods, it is characterised in that include:
Input equipment is obtained in real time and makees the message of action to document, and obtained to institute according to the message analysis of the made action State the type of action of documents editing;
The movement content to the documents editing is obtained from document interface;
The type of action and the movement content are sent at least one consumer end, so that the consumer end shows in real time Show the document;
The type of action and the movement content are sent to before at least one consumer end, are also included:
The mailing address of sync server is obtained, and according to the mailing address to sync server registration producer's letter Breath, is communicated to connect with setting up with the sync server;
The type of action and the movement content are sent at least one consumer end, including:
The type of action and the movement content are forwarded to by the sync server are set up with the sync server The consumer end of communication connection;
The type of action and the movement content are sent at least one consumer end, including:
Procotol is generated according to the type of action and the movement content, the procotol is included to the documents editing Operation MD5 values;
The procotol is sent to into the consumer end.
2. multi-client real-time synchronization editor as claimed in claim 1 and display methods, it is characterised in that
Input equipment is obtained in real time and makees the message of action to document, and obtained to institute according to the message analysis of the made action Before stating the type of action of documents editing, also include:
The document for receiving the sync server sends order, and sends order by the sync server according to the document Current document is integrally sent to the consumer end;
Methods described, also includes:
The check command at the consumer end is received, and according to the check command by the current document of entirety or comprising current light The current document content of the setting position scope of cursor position is sent to the consumer end.
3. it is a kind of to be based on multi-client real-time synchronization editor and display methods, it is characterised in that to include:
The type of action and movement content of the documents editing at producer end are obtained in real time;
Document interface is called to perform documents editing operation according to described type of action and movement content, to show the life in real time The document at product person end;
Before obtaining the type of action and movement content of the documents editing at producer end in real time, also include:
The mailing address of sync server is obtained, and is believed to the sync server registered customers according to the mailing address Breath, is communicated to connect with setting up with the sync server;
The type of action and movement content of the documents editing at producer end are obtained in real time, including:
The document for obtaining the producer end for setting up communication connection with the sync server in real time by the sync server is compiled The type of action collected and movement content.
4. multi-client real-time synchronization editor as claimed in claim 3 and display methods, it is characterised in that
The type of action and movement content of the documents editing at producer end are obtained in real time, including:
Procotol of the real-time reception from the producer end;
Parse the procotol and obtain described type of action and movement content and corresponding MD5 values;
Methods described, also includes:
Documents editing operation according to performing generates MD5 values;
Whether the MD5 values for relatively generating are consistent with the MD5 values in the procotol;
If it is not, then sending check command to the producer end, to obtain the newest document content at the producer end, and utilize The newest document content updates the document performed after the documents editing operation.
5. multi-client real-time synchronization editor as claimed in claim 3 and display methods, it is characterised in that also include:
Document addition label after documents editing operation is performed, and by the label position of the label, tag name and label Style information is sent to other consumer ends and the producer end.
6. it is a kind of to be based on multi-client real-time synchronization editor and display methods, it is characterised in that to include:
Producer end obtains in real time input equipment and makees the message of action to the document at the producer end, and is made according to described The message analysis of action obtain the type of action of the documents editing to the producer end;
The producer end obtains the movement content of the documents editing to the producer end from its document interface;
The type of action and the movement content are forwarded at least one consumption by the producer end by sync server Person end;
The consumer end document interface at the consumer end is called to institute according to the type of action and the movement content State the document executive editor operation at consumer end.
7. multi-client real-time synchronization editor as claimed in claim 6 and display methods, it is characterised in that producer end is real-time Obtain input equipment and make the message of action to the document at the producer end, and obtained according to the message analysis of the made action To before the type of action of the documents editing to the producer end, also include:
The client is according to the mailing address of the sync server to the sync server registered client client information;
Identity of the sync server in the client-side information judges that the client is the producer end Or the consumer end;
If the client is the producer end, group ID detection institute of the sync server in the client-side information Whether the consumer end stated in the groups of clients of producer end place establishes communication connection, if so, notifies the production Person end sends its current document to the consumer end;If the client is the consumer end, the sync server In preserving the client-side information, and the group ID detection consumer end place groups of clients in the client-side information The producer end whether establish communication connection, if so, then notify the producer end by its current document send to The consumer end.
8. multi-client real-time synchronization editor as claimed in claim 7 and display methods, it is characterised in that notify the production Person end sends its current document to the consumer end, including:
The sync server sends document and sends a command to the producer end;
The producer end sends order and its current document is sent to the sync server according to the document;
The sync server preserves the setting duration of current document one at the producer end, and by the current of the producer end Document is forwarded to the consumer end, and the current document that the sync server is preserved is used to be forwarded in the setting duration With the consumer end that the sync server sets up communication connection.
9. multi-client real-time synchronization editor as claimed in claim 6 and display methods, it is characterised in that the producer end The type of action and the movement content are forwarded to by least one consumer end by sync server, including:
The producer end generates procotol according to the type of action and the movement content, and the procotol is sent out The sync server is sent to, the procotol includes the MD5 values corresponding to the documents editing at the producer end;
The sync server preserves the MD5 values in the procotol, and the procotol is forwarded to into the consumer End;
Methods described, also includes:
Edit operation that each consumer end is performed according to it generates respective MD5 values, and respective MD5 values of comparison and described Whether the MD5 values in procotol are consistent;
If it is not, each consumer end sends respectively MD5 values in check command and the procotol to the synchronous service Device;
The check command for receiving at first is forwarded to the producer end by the sync server, and compares the MD5 values of its preservation And it is whether consistent with the MD5 values that the check command being successfully received together is received, if so, then not by the check command being successfully received turn It is sent to the producer end;
The producer end according to the check command for receiving by its newest document by the sync server be forwarded to it is each described in Consumer end;
The consumer end updates the current document at the consumer end using the newest document.
10. multi-client real-time synchronization editor as claimed in claim 6 and display methods, it is characterised in that the consumer Hold to be packaged into the client of OCX controls, so that webpage is called.
CN201710020276.XA 2017-01-12 2017-01-12 Multi-client-side real-time synchronous editing and display method Pending CN106681976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710020276.XA CN106681976A (en) 2017-01-12 2017-01-12 Multi-client-side real-time synchronous editing and display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710020276.XA CN106681976A (en) 2017-01-12 2017-01-12 Multi-client-side real-time synchronous editing and display method

Publications (1)

Publication Number Publication Date
CN106681976A true CN106681976A (en) 2017-05-17

Family

ID=58849574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710020276.XA Pending CN106681976A (en) 2017-01-12 2017-01-12 Multi-client-side real-time synchronous editing and display method

Country Status (1)

Country Link
CN (1) CN106681976A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228543A (en) * 2017-12-22 2018-06-29 北京东土科技股份有限公司 A kind of court trial notes labeling system, method and storage medium
CN109597608A (en) * 2018-12-01 2019-04-09 广东鸿正软件技术有限公司 Editable help button method, apparatus, computer equipment and storage medium
CN109711122A (en) * 2019-01-23 2019-05-03 北京奇艺世纪科技有限公司 A kind of right management method, device, system, equipment and readable storage medium storing program for executing
CN110719516A (en) * 2019-10-21 2020-01-21 北京字节跳动网络技术有限公司 Video synchronization method and device, terminal and storage medium
CN112257390A (en) * 2020-10-13 2021-01-22 广州市奥威亚电子科技有限公司 Court trial writing system
CN114924675A (en) * 2022-03-23 2022-08-19 苏州科达科技股份有限公司 Interrogation record processing method, device, storage medium, terminal and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826169A (en) * 2009-03-06 2010-09-08 新奥特硅谷视频技术有限责任公司 Digitized long-distance court hearing method
CN103763627A (en) * 2014-01-02 2014-04-30 Tcl集团股份有限公司 Method and system for realizing real-time video conference
CN103997517A (en) * 2014-05-06 2014-08-20 广州金山网络科技有限公司 CDN-node file synchronization method and device
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826169A (en) * 2009-03-06 2010-09-08 新奥特硅谷视频技术有限责任公司 Digitized long-distance court hearing method
CN104182397A (en) * 2013-05-21 2014-12-03 北大方正集团有限公司 Method, system and equipment for document co-processing
CN103763627A (en) * 2014-01-02 2014-04-30 Tcl集团股份有限公司 Method and system for realizing real-time video conference
CN103997517A (en) * 2014-05-06 2014-08-20 广州金山网络科技有限公司 CDN-node file synchronization method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228543A (en) * 2017-12-22 2018-06-29 北京东土科技股份有限公司 A kind of court trial notes labeling system, method and storage medium
CN109597608A (en) * 2018-12-01 2019-04-09 广东鸿正软件技术有限公司 Editable help button method, apparatus, computer equipment and storage medium
CN109711122A (en) * 2019-01-23 2019-05-03 北京奇艺世纪科技有限公司 A kind of right management method, device, system, equipment and readable storage medium storing program for executing
CN109711122B (en) * 2019-01-23 2021-04-30 北京奇艺世纪科技有限公司 Authority management method, device, system, equipment and readable storage medium
CN110719516A (en) * 2019-10-21 2020-01-21 北京字节跳动网络技术有限公司 Video synchronization method and device, terminal and storage medium
CN112257390A (en) * 2020-10-13 2021-01-22 广州市奥威亚电子科技有限公司 Court trial writing system
CN114924675A (en) * 2022-03-23 2022-08-19 苏州科达科技股份有限公司 Interrogation record processing method, device, storage medium, terminal and system

Similar Documents

Publication Publication Date Title
CN106681976A (en) Multi-client-side real-time synchronous editing and display method
CN104137520B (en) A kind of information push method and device
CN102790725B (en) A kind of message synchronization method and apparatus
CN106933614B (en) Single-page application upgrading method and device
CN110673777A (en) Online teaching method and device, storage medium and terminal equipment
CN101512570A (en) Method and system for portable data aggregation
CN109948996A (en) Approval process visual presentation method, device and computer equipment, storage medium
CN106899750A (en) Information displaying method based on card, information show the processing method and processing device of business
CN105094775A (en) Webpage generation method and apparatus
CN106779803A (en) A kind of method that financial institution's flowing water is matched with carrier data
CN111147354B (en) Message processing method, device, equipment and storage medium
CN111435937A (en) Refreshing method and device for monitoring platform
US20190019322A1 (en) Structuralized creation and transmission of personalized audiovisual data
CN117235019B (en) Method for generating new readable file by multi-file extraction combination
CN106549853A (en) A kind of email processing method and device
CN103107979A (en) Processing method and processing device for notes of layout files
CN107925610A (en) The dialogue resequenced by component is enriched
CN114386853A (en) Data auditing processing method, device and equipment based on universal auditing model
CN113296985A (en) Message processing method and device
CN105897552A (en) Method for generating an electronic message on an electronic mail client system and communication device
CN110457618A (en) Information displaying method and device
CN110379476A (en) A kind of method and device of electronic health record progress note PDF Electronic Signature
CN108810105A (en) For pushed information, the method and apparatus for showing information
CN104104575B (en) A kind of means of communication and system of instant communication group
CN112084763A (en) Wrong question management method and system

Legal Events

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

Application publication date: 20170517

RJ01 Rejection of invention patent application after publication