CN105743973B - A kind of more equipment real-time synchronization cloud collaboration methods of more people and system - Google Patents

A kind of more equipment real-time synchronization cloud collaboration methods of more people and system Download PDF

Info

Publication number
CN105743973B
CN105743973B CN201610045705.4A CN201610045705A CN105743973B CN 105743973 B CN105743973 B CN 105743973B CN 201610045705 A CN201610045705 A CN 201610045705A CN 105743973 B CN105743973 B CN 105743973B
Authority
CN
China
Prior art keywords
document
client
cooperation
permission
cloud
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.)
Expired - Fee Related
Application number
CN201610045705.4A
Other languages
Chinese (zh)
Other versions
CN105743973A (en
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.)
Shanghai Keniu Information Technology Co Ltd
Original Assignee
Shanghai Keniu Information 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 Shanghai Keniu Information Technology Co Ltd filed Critical Shanghai Keniu Information Technology Co Ltd
Priority to CN201610045705.4A priority Critical patent/CN105743973B/en
Publication of CN105743973A publication Critical patent/CN105743973A/en
Application granted granted Critical
Publication of CN105743973B publication Critical patent/CN105743973B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

Include: generation document the invention discloses a kind of more equipment real-time synchronization cloud collaboration methods of more people and system, method, and the document is sent to an at least client;The setting cooperation permission when sending the document;Cooperation is synchronized in the client according to the cooperation permission;The content synchronization of the cooperation is saved to cloud.System includes document creation module, is sent to an at least client to generate document, and by the document;Authority module, to the setting cooperation permission when sending the document;Synchronization module, to synchronize cooperation in the client according to the cooperation permission;Client, to receive generation document and carry out synchronous collaboration;Cloud, saving the content synchronization of cooperation to cloud.The present invention is provided to more people, the real-time video text editing of plurality of devices, instant video, instant audio, the immediately same buyun collaboration method that stores and systems, suitable for media, internet, strange land office, instant live broadcast in both illustration and text, instant live audio, instant video live streaming etc..

Description

A kind of more equipment real-time synchronization cloud collaboration methods of more people and system
Technical field
The present invention relates to the multiple person cooperational based on cloud, in particular to the more equipment real-time synchronization cloud collaboration methods of more people and it is System.
Background technique
It is synchronous that domestic existing cloud collaborative tools can only accomplish cloud, and be need to complete under specific operation step it is more People strange land synchronous documents or synchronizing project do not accomplish the instant synchronization of one word of a word in article, are not real meanings On raising team between cooperation efficiency.
Traditional collaborative tools and communication software separate, and cannot achieve article cooperation and merge with what is linked up, also can not Real-time phonetic and instant video fusion are carried out in article.In this way, cooperation mode can not be allowed diversified, need to carry out subsequent whole File is managed, the links such as voice, video, instant video live streaming, instant live audio, instant live broadcast in both illustration and text etc. are then uploaded.
Summary of the invention
The technical problem to be solved by the present invention is to be provided for more people, the real-time video text editing of plurality of devices, immediately view Frequently, audio, the same buyun collaboration method that stores immediately and system immediately, are suitable for media, internet, strange land office etc..
Above-mentioned technical problem is solved, the present invention provides a kind of more more equipment real-time synchronization cloud collaboration methods of people, comprising:
Document is generated, and the document is sent to an at least client;
The setting cooperation permission when sending the document;
Cooperation is synchronized in the client according to the cooperation permission;
The content synchronization of the cooperation is saved to cloud.
Further, the cooperation permission is more people Yun Xiezuo permissions,
It is editable by the document setup and is sent to client;
The document content is edited and annotated in the client, and the content of edit and/or annotation are synchronized Beyond the clouds;
In content of edit, using based on data structure DIFF technology, the modification of real time contrast's document content;The document The modification of content is encoded based on Unicode;By carrying out two-way communication between WebSocket agreement and server, record and same Walk the modification to document content;The server is local or cloud;
In annotation content, document content is editable state.
Further, the cooperation permission is that private cloud stores permission,
By the way that permission is arranged, the cooperation between the teamworker of identity restriction is carried out;
If the new user of permission does not need that cooperation is added, need to obtain the authorization of document creator;It is criticized in authorization Before standard, user can wait online, once other side's approval movement is completed, document will refresh automatically and enter edit page.
Further, the cooperation permission is that client only reads permission,
After the document structure tree, if client is teamworker's permission, there is document modification authority;
If client is not teamworker and document creator, document reads document without modification authority in client Read right;Above-mentioned client includes that multiple, above-mentioned teamworkers can be 0.
Further, the cooperation permission is that barrage comments on permission,
It is that barrage comments on permission by the document setup, using WebSocket technical communication, the comment of newest publication is made For barrage form,
By the additional layer transparent view on the view layer of the document, barrage is loaded on the transparent view Content;
Or by the document setup directly to comment on permission,
Document permission is edited in the client application, after one side of generation of the document agrees to, in the client It is edited.
Further, the content of the synchronous collaboration include: synchronous picture and text, simultaneous voice, synchronization video, synchronous annotation, Synchronized upload is synchronized to cloud after accessing network, saves if not accessing network to local.
Further, it is by the method that the document is sent to an at least client,
It is sent to client after replicating the chained address of the document, client opens document by the chained address;
Or uniquely corresponding two dimensional code, client are literary by opening after scanning the two dimensional code by the document structure tree Shelves;
Or by access wechat end, document is obtained or sent;
The chained address is cloud chained address or local links address.
Further, the client includes wechat end, WEB terminal or the application program end in intelligent mobile terminal, platform WEB terminal on formula computer and laptop.
Further, the client is when synchronizing cooperation, to the content of each synchronous collaboration according to character Tracking display is carried out, display content includes User ID, name and the head portrait of client.
Further, it is locked after the content synchronization of the cooperation is saved to cloud in client.
Beneficial effects of the present invention:
Merging for document collaboration and communication, real-time phonetic and instant video fusion may be implemented can be instant in the present invention It in the document of cooperation, and is stored in document in real time, makes cooperation mode diversified, and eliminate and arrange the document afterwards, upload The links such as voice, video.Application occasion may include that conference live streaming is being sent comment participation interaction, can inserted in a document Enter net cast, project collaborative development etc., system of the invention can be suitable for media, internet, and the needs such as strange land office are more The aspect face side of people's synchronous collaboration.
Specifically,
1) present invention uses the data structure DIFF technology of designed, designed, and the modification of real time contrast's document is compared content and repaired The minimum difference (including whole world language, Unicode are supported) changed, in real time by between WebSocket agreement and server Two-way communication is carried out, is recorded and the synchronous modification to file.
2) in order to realize to the real-time comparison of document modification, distinctive internal document permission has been redesigned, difference is used Document permission so that document format not only adapts to current document content, and there is extremely strong scalability.Meanwhile benefit With existing message system, insertion to document is deleted, modification etc..
3) communication protocol have passed through design in the present invention, to realize the demand changed to data structure updating.So disappearing Breath system is also designed as expansible, it may be convenient to increase the format of document, such as insert pictures, font size, between two parties, It aligns right.
4) in terms of server software in the present invention, server software may be implemented it is online while people up to ten thousand, and In real time to the last state of client synchronization document.Server software can be easily deployed to cloud server or object It manages on server, the upper limit of online number simultaneously is improved by the promotion of hardware server and Clustering.
Detailed description of the invention
Fig. 1 is the flow diagram of the more equipment real-time synchronization cloud collaboration methods of more people in one embodiment of the invention.
Fig. 2 is in Fig. 1 with the timing diagram of buyun collaboration method.
Fig. 3 is a kind of cooperation permission mode implementation process schematic diagram in Fig. 1.
Fig. 4 is another cooperation permission mode implementation process schematic diagram in Fig. 1.
Fig. 5 is another cooperation permission mode implementation process schematic diagram in Fig. 1.
Fig. 6 is the schematic diagram of the more equipment real-time synchronization cloud collaboration methods of more people in one embodiment of the present invention.
Fig. 7 is the specific embodiment schematic diagram that the document is sent to an at least client in Fig. 1.
Fig. 8 is the cross-platform cooperation schematic diagram in one embodiment of the invention.
Fig. 9 is the more equipment real-time synchronization cloud cooperative system structural schematic diagrams of more people in one embodiment of the invention.
Figure 10 be the client in one embodiment of the invention Web on cooperate interface schematic diagram.
Figure 11 be the client in one embodiment of the invention APP on cooperate interface schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with specific embodiment, and reference Attached drawing, the present invention is described in more detail.
Referring to FIG. 1, being the process signal of the more equipment real-time synchronization cloud collaboration methods of more people in one embodiment of the invention Figure.
More people in the present embodiment are more, and equipment real-time synchronization cloud collaboration method comprises the following steps that
Step S101 generates document, and the document is sent at least to a client 101, those skilled in the art can be bright , the client 101 includes but is not limited to the equipment such as smart phone, tablet computer, desktop computer.Generating document can be Already existing document is also possible to user and passes through the document for oneself writing preservation.Document includes but is not limited to: work log, Corporate mail, the soft text of push, product demand, bid for a project etc. need team at same time, different location cooperation simultaneously The document of reason.Simultaneously as using distributed server, it can be 2 people, 3 people to ten thousand people in the number of the client 101 More than, it can receive the document of transmission.Other clients 101 can be sent documents in several ways, for example are passed through Document is sent directly to client 101, the cloud address chain sending and receiving of document and document can also be sent to client 101.
Cooperation permission is arranged when sending the document by step S102, and different associations can be arranged according to different requirements, Make permission.For example, Joint Designing activity scheme in team, it is necessary to following permission be arranged: the document established is sent to Other teamworkers, it is the permission for possessing editor's document that teamworker, which opens document, can immediately engage in and write document.For example, document Founder need to write privacy log, then need by the cooperation priority assignation of document be only founder oneself read, editor, Other people do not have permission viewing.For another example, completed rules and regulations are sent to common employee and known by the founder of document, institute The document write, other people do not have permission to modify, can only read;Need be arranged be suitable for completed it is not necessary to modify text Shelves, are sent to the cooperation permission of the situation for the spectators that other need to read.Above-mentioned permission can carry out permission switching, switching Mode includes but is not limited to issue cooperation request to switch permission if document creator is agreed to.
Step S103 synchronizes cooperation in the client 101 according to the cooperation permission, is based in client 101 The cooperation permission of step S102 setting, carries out corresponding synchronous collaboration.Specifically, client 101 receives sender's transmission Document analyzes the cooperation permission of setting, and cooperation permission is carried out execution cooperation on the client 101, executes the interior of cooperation Holding includes reading, modifying, annotate etc., and the execution cooperation after Document Creator, will execute reading, the text of document in client 101 Shelves modification, document annotation operation.As preferred in the present embodiment, voice and video can be carried out in client 101 It imports, such as by the APP real-time recording on mobile phone terminal it is achieved that can also be real-time by the application in computer end Recording is realized.
The content synchronization of cooperation described in step S104 is saved to cloud, same by carrying out the content of the cooperation beyond the clouds Step, can be realized the synchronization to the content of cooperation.Described synchronize refers to that document automatically saves beyond the clouds immediately, without protecting manually It deposits, also avoids power-off etc. and cause the loss of file content, and eliminate and carry out the staged files using the equipment copied files such as USB flash disk Work.Further, in the present embodiment, by synchronizing cooperation in the client according to the cooperation permission, and will The content synchronization of the cooperation is saved to cloud, be can be realized the more equipment strange lands of more people while being cooperated beyond the clouds, to solve Mail confirms file, wastes time the problems such as each synchronous documents repeatedly, improves the efficiency of cooperation.In the present embodiment, The server-side in cloud can be single server-side mode, be also possible to Distributed Services end mode.It is deployed with multiple down beyond the clouds Ground server, the content storage for that will cooperate can preferably use distributed frame to local.
Referring to FIG. 2, being in Fig. 1 with the timing diagram of buyun collaboration method.
Including following several interactive objects:
Customer end A, Cloud Server, customer end B, client N,
In the customer end A, it will be sent to Cloud Server after document setup cooperation permission, the customer end A is as this article The generation end of shelves or source file provider.After the Cloud Server receives document, the transmission document that band is had permission is extremely Customer end B, after the customer end B receives, according to cooperation permission setting, modify, annotate to the document, commenting on or Storage.In the customer end B, collaborative content is synchronized, is saved to cloud.Further, it in client N, continues to To the document for being provided with cooperation permission, and synchronizes and cooperate with other client's degrees.
Referring to FIG. 3, being a kind of cooperation permission mode implementation process schematic diagram in Fig. 1.
In the present embodiment, cooperation permission is that private cloud stores permission, is comprised the following steps that
The document setup is editable and is sent to client 302 by step S301;As the teamworker of client 302 Opening document is the permission for possessing editor's document, can immediately engage in and write document,
Step S302 is edited and is annotated to the document content in the client 302, and by the content of edit and/ Or annotation is synchronous beyond the clouds;As preferred in the present embodiment, the document for participating in writing will in the client 302 and By the document setup be editable promoter client on synchronously shown.At this point, cloud synchronizing speed is almost Meanwhile and can store each word or picture that user edits immediately, by ICP/IP protocol, carry out between client Data exchange.
For step S303 in annotation content, document content is editable state, and the document format is web document.It is described The output format of document includes but is not limited to: the electronic document of ePub format, the electronic document of PDF format, the electronics of TXT format Document.Step S304 is in content of edit, using based on data structure DIFF technology, the modification of real time contrast's document content.It is real When comparison document content modification refer to, for example, the initial position of document includes: the overall offset word of starting content in a document Number;The end position of document includes: to terminate the overall offset number of words of content in a document.As preferred in the present embodiment, reality When comparison document content the mode of modification include:
1) original document is transferred to browsing terminal by file transfer protocol to carry out after sharing, carries out rights document Initialization;Initialization operation is included in and opens document, saves document.In order to guarantee the original state and operation of each browsing terminal The state consistency of terminal, it is necessary first to carry out a complete original document initially by net distribution to each browsing terminal Change, using the content of the initialization document as the basic point updated.Initialization operation further includes saving document content, mainly with two Document content is saved in memory file or is cached by the format of system.
2) change of document content is waited;
Edit operation of the user to document is waited, doing edit operation to shared document content includes: to increase text, deletion Text, modification format, insert pictures, figure and sound.Need to trigger preservation operation when the modification of document reaches a certain amount grade, And in a binary format by modified document storing into a new memory file.
3) document after change and the content before change are subjected to comparison in difference;
Document content seen in documents editing may be Chinese character, character, it is also possible to the various performance shapes such as picture Formula splits the document content before change and the document content after change, and can then proceed in specified keyword will be interior Deposit that file declustering is blocking, record each blocks of files size, initial position in a document and end position, then to each A blocks of files carries out comparison in difference, to obtain the content of document variation.
It is a kind of general computerized algorithm as preferred in the present embodiment, described DIFF technology, what neat book used DIFF technology is based on disclosed algorithm, but has innovation in use.In general, DIFF algorithm can compare two sections of different texts Between difference, generate PATCH, such as the comparison of AC and ABC in, according to DIFF algorithm can obtain in AC be inserted into letter b then Equal to ABC.In the comparison of text, DIFF algorithm has directly been used in the present embodiment, but in paragraph, picture, format (ratio Such as hyperlink, overstriking) modification in terms of, common DIFF algorithm is helpless, as preferred in the present embodiment, using data Format DIFF technology, for the data format of the common stores such as JSON (JAVA SCRIPT OBJECTNOTATION), using this Application program based on DIFF algorithm development in embodiment can perception data structure change, such as insert pictures in the line Or the font of extended formatting, it just can be carried out synchronization in other clients.
Step S305 is recorded and is synchronized to document by carrying out two-way communication between WebSocket agreement and server 301 The modification of content;The server 301 is local or cloud;The WebSocket agreement used in the present embodiment is to be based on The new agreement of one kind of HTML5 is locally taken to realize browser and server full-duplex communication (full-duplex) with this Business device or the server in cloud can actively transfer data to client.
Specifically, communication protocol uses the WebSocket of standard, and internal frame data are JSON format.Citing, with The data format issued when changing for text down:
[" EDIT ", " s2ft36 ", [+23,12@@of [0,1, "@@- 23,8 nframe%E6%95%B0%E6% 8D%AE%E4%B8%BA n+JSON n "]], [], []].
The modification of document content described in step S306 is encoded based on Unicode, the Unicode (Unicode, Unicode, Single code) it is an industrywide standard, including character set, encoding scheme etc. in computer science.
Fig. 4 is another cooperation permission mode implementation process schematic diagram in Fig. 1.
Another kind cooperation permission mode are as follows: client only reads permission,
Step S401 is arranged after the document structure tree in addition to document collaboration person, and other clients 302 are without the power of amendment Limit, this setting is unrelated with the format of document, related to permission, holds power and is limited to only read, then only document collaboration person can be to document It is operated, the number of document collaboration person can be according to circumstances added.Or without teamworker's permission, only document structure tree person can To read and be synchronized to cloud.
For step S402 by adjusting permission, the cooperation permission is that client only reads permission, after the document structure tree, If client is teamworker's permission, there is document modification authority;If client is not teamworker and document structure tree person, in client , without modification authority, there is reading permission at end to document to document;Above-mentioned client includes that multiple, described teamworker's numbers can be with It is 0, one can be included at least as preferred in the present embodiment, above-mentioned teamworker.
For example, the founder of document needs to write privacy log, then need the cooperation priority assignation of document to be only to create The person of building oneself reads, edits, other people do not have permission viewing.
Referring to FIG. 5, being another cooperation permission mode implementation process schematic diagram in Fig. 1.
Another kind cooperation permission mode can be with are as follows: and cooperation permission is that barrage comments on permission,
Step S501 uses WebSocket technical communication, using the comment of newest publication as barrage form;The newest hair The comment of cloth, sequentially in time or the prompt of setting is identified and is grabbed.Those skilled in the art can be illustrated, The barrage form can be carried out shielding based on " keyword " or be shown according to " time point ".Execute WebSocket technical communication The web browser of operation includes: Chrome, Firefox, Internet Explorer, Opera, Safari.
Step S502 is added on the transparent view by the additional layer transparent view on the view layer of the document Carry the content of barrage;
The document setup is directly to comment on permission by step S503;Directly comment permission refers to not by loading barrage, But by direct written form as comment.If client 301 is WEB terminal and needs to load video, net is generated in WEB terminal Page floating layer generates at least one webpage floating layer by default script, using at least one webpage floating layer as being used to show barrage The window of data passes through webpage floating layer, the broadcasting frame number of foundation broadcasting video in the predetermined position of the display area of video elementary Information and/or play time information accordingly show barrage data.
Step S504 applies for editor's document permission in the client 302, after one side of generation of the document agrees to, The client is edited.Need to first determine whether the client 302 has cooperation permission, to document carry out editor or Annotation, if client 302 needs to make requests to one side of generation of document, when the life of document without editing or annotating permission After Cheng Yifang agrees to, 302 side of client can be marked or annotate to document.If client 302 has had editor Or modification authority is directly operated then woth no need to make requests to one side of generation of document.
Referring to FIG. 6, being the signal of the more equipment real-time synchronization cloud collaboration methods of more people in one embodiment of the present invention Figure.
The content of step S601 synchronous collaboration includes: synchronous picture and text, simultaneous voice, synchronization video, synchronous annotation, synchronizes Pass, those skilled in the art can be illustrated, and the synchronous picture and text include but is not limited to: bmp, jpg, tiff, gif, pcx, tga, Exif, fpx, svg, psd, cdr, pcd, dxf, ufo, eps, ai, raw etc..The simultaneous voice includes but is not limited to: synchronous hair Recording, music and the voice sent.The synchronization video includes but is not limited to: AVI, ASF, WMV, 3GP.The synchronous annotation packet It includes but is not limited to, the author of time synchronization, position synchronization and annotation is synchronous.The synchronized upload includes but is not limited to: text Word, picture, sound and video.
Whether step S602 has network insertion, and the method for judging whether there is network insertion is to be in the desktop computer of WEB terminal No to be attached by ICP/IP protocol and internet, whether the mobile phone at wechat end passes through GPRS general packet radio service skill Art or other network insertions.It is synchronized to cloud after accessing network, is saved if not accessing network to local.
Referring to FIG. 7, being the specific embodiment schematic diagram that the document is sent to an at least client in Fig. 1.
The method that the document is sent to an at least client by step S701 are as follows:
Or step S702 is executed by access wechat end, obtain or send document;Chat or group chat at wechat end Interface acquires document or sends document to other side, changes editor and completes to forward other people cooperation mode, Duo Rentong again When Yun Xiezuo, improve efficiency;
Or execute after step S703 replicates the chained address of the document and be sent to client, client passes through the chain It is grounded location and opens document;It is sent to client behind chained address by replicating the document, client is grounded by the chain Document is opened in location, changes single single device mode of operation, and response saves energy consumption, and All Files will all save beyond the clouds, Mobile phone, computer, ipad are edited simultaneously, without waiting for update and synchronization time.By way of directly transmitting link, by will be literary Shelves are sent to client, change the mode of operation that editor saves manually, store immediately, improve document security.
Or execute step S704 and pass through the document structure tree uniquely corresponding two dimensional code, client passes through scanning described two Document is opened after dimension code;For example user opens mobile phone and applies " sweep and sweep ", scans the two dimensional code of sharing, i.e., openable document.It is logical Document is sent to client by the mode for crossing two-dimensional code scanning, is changed the mode of operation that editor saves manually, is stored immediately, Improve document security.
It is above-mentioned specifically, chained address in step S705 is cloud chained address or local links address.
It is the cross-platform cooperation schematic diagram in one embodiment of the invention as shown in Figure 8.
In the present embodiment, the client 804 includes: WEB terminal 801, application program end 802, wechat end 803, described Client 804 includes wechat end 803 in intelligent mobile terminal, WEB terminal 801 or application program end 802, desktop computer and pen Remember and is locked after the WEB terminal 801 on this computer, the content synchronization of the cooperation are saved to cloud in client.
It is the more equipment real-time synchronization cloud cooperative system structural schematic diagrams of more people in one embodiment of the invention as shown in Figure 9.
In the present embodiment, the more equipment real-time synchronization cloud cooperative system structures of more people include:
Document creation module 901, the document creation module are sent at least one visitor to generate document, and by the document Family end;As preferred in the present embodiment, the document format of generation includes but is not limited to word, TXT, PDF etc..By the text The method that shelves are sent to an at least client includes but is not limited to be sent to client behind the chained address for replicating the document, Client opens document by the chained address;I.e. by way of sharing link, document is shared, client passes through The chained address is opened, document can be opened and sees the content of document.In the present embodiment, it will be sent to behind chained address Client is actually: realizing a Web site.Technical solution is available there are many Web site is usual, most common to have Tetra- kinds of technical solutions of ASP, ASP.NET, PHP, JSP.Under ASP, ASP.NET, PHP, JSP environment, HTML code is mainly responsible for The Show Styles of description information, and program code is then used to processing business logic (such as inquiry database etc.).ASP, ASP.NET, PHP, JSP is provided mixes certain program code in HTML code, when user browses webpage by browser, Web server can call corresponding apps server to execute program code therein, ultimately produce the html of a standard File sends back to the browser of client.Further, when chained address be static page, then pass through web browsing in client Device requests static page, and the static page is then searched on Web server, asks finally, Web server sends static page request to Browser is asked to be shown.
Further, when chained address be dynamic page, then client by Web browser request, then Web service Device searches the page and passes it to apps server, and the apps server searches the finger in the dynamic page It enables and is formed and complete page (apps server therein reads the code in dynamic page, and explains and execute these codes, then Code is deleted from page.Resulting result will be one static html pages), the Web server is sent to page is completed Browser is requested, the page of completion is passed back to Web server by apps server.
Further, when chained address be data base querying request, then can be located at by apps server use The document resources of server end are communicated using apps server and by database device as medium. For example the dynamic web page for passing through asp is exactly to access database by a component ado of Microsoft's offer.It is built in driver After vertical communication, database will be executed and inquire and create a record set.Record set is one or more tables from database The data subset of middle extraction.Record set will return to apps server, and data will be applied onto dynamic page.
Or uniquely corresponding two dimensional code, client are literary by opening after scanning the two dimensional code by the document structure tree Shelves;Client carries out the sharing of document by scanning " two dimensional code ".Or by access wechat end, document is obtained or sent, is passed through The communication protocol at wechat end can directly show document, for example document owner arrives " friend by sharing document Circle " may be implemented that the user of other clients is allowed to carry out further operating to document.The chained address is cloud chained address Or local links address.
Authority module 902, the authority module is to the setting cooperation permission when sending the document;It is described by the text Shelves are set as editable and are sent to client;The document content is edited and annotated in the client, and by institute It states content of edit and/or annotation is synchronous beyond the clouds;In content of edit, using based on data structure DIFF technology, real time contrast The modification of document content;The modification of the document content is encoded based on Unicode;By WebSocket agreement and server it Between carry out two-way communication, record and synchronize the modification to document content;The server is local or cloud.Further, The permission that cooperates is that private cloud stores permission, by the way that permission is arranged, carries out the cooperation between the teamworker of identity restriction;If not weighing The new user of limit needs that cooperation is added, then needs to obtain the authorization of document creator;Before authorization goes through, user can be Line waits, once other side's approval movement is completed, document will refresh automatically and enter edit page.Further, cooperate permission Permission is only read for client, after the document structure tree, is arranged in addition to document collaboration person, other clients are without the power of amendment Limit;By adjusting permission, first teamworker, second teamworker, third teamworker ... and the N+1 reader are carried out Form, N are natural number.Further, cooperation permission is that barrage comments on permission, is that barrage comments on permission by the document setup, Using WebSocket technical communication, using the comment of newest publication as barrage form, by the view layer of the document Additional layer transparent view loads the content of barrage on the transparent view;Or by the document setup be directly comment Permission edits document permission in the client application, after one side of generation of the document agrees to, carries out in the client Editor.
Synchronization module 903, the synchronization module is to synchronize cooperation in the client according to the cooperation permission. On the synchronization module 903, during carrying out line by WebSocket agreement, issued by the browser of client The request of WebSocket line, then background server, which issues, responds, i.e., " shakes hands " (handshaking).
Client 905, the client is to receive generation document and carry out synchronous collaboration;Due to the synchronous collaboration Content includes: synchronous picture and text, simultaneous voice, synchronization video, synchronous annotation, synchronized upload, is synchronized to cloud after accessing network, It saves if not accessing network to local.Further, the client includes wechat end, the end Web in intelligent mobile terminal Or application program end, the end Web on desktop computer and laptop, the content synchronization of the cooperation save to cloud after Client is locked.Further, as shown in figs.10 and 11, the client (can be when synchronizing cooperation The difference of the display synchronized on webpage or wechat, the client used according to operator carries out different displays), to institute The content for stating each synchronous collaboration carries out tracking display according to character, and display content includes User ID, name and the head of client Picture, as long as the user of client, which logs in, to synchronize display to User ID, name and head portrait.In page end while the text that cooperates Shelves, each got have been saved in cloud.
Cloud 904, the cloud is saving the content synchronization of cooperation to cloud.
In the present embodiment, the client 905 is divided for page end, handset Wechat end and the end mobile phone app, passes through synchronous mould Block 903 synchronizes immediately in other two ports of the content of any a port editor;Can choose when document collaboration makes It is carried out with most convenient a port, if office uses page end, the time of going on business uses mobile phone terminal.In the present embodiment, article Founder the permission of document can be set up by authority module 902, document can will be shared by document creation module 901 Link, two dimensional code, wechat such as directly share at the modes, invite other people to participate in the editor of document or other people is invited to watch, realize The function of more people strange lands live collaboration.In the present embodiment, the content that all document collaboration persons edit does not have to save manually, Automatically save beyond the clouds, such as promoter's content of edit: " neat book ", other writers etc. can be immediately from the equipment of oneself See " neat book " two words." neat book " two words have been saved in document simultaneously, even if the accidental situations such as occurring powering off at once, It will not lose.While promoter edits text, other clients etc. can also edit text simultaneously.
It should be understood by those ordinary skilled in the art that: the above is only a specific embodiment of the present invention, and It is not used in the limitation present invention, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done, It should be included within protection scope of the present invention.

Claims (9)

1. a kind of more equipment real-time synchronization cloud collaboration methods of more people, characterized by comprising:
Document is generated, and the document is sent to an at least client;
The setting cooperation permission when sending the document;
Cooperation is synchronized in the client according to the cooperation permission;
The content synchronization of the cooperation is saved to cloud;
Wherein, the cooperation permission is more people Yun Xiezuo permissions,
It is editable by the document setup and is sent to client;
The document content is edited and annotated in the client, and the content of edit and/or annotation is synchronous in cloud End;
In content of edit, using based on data structure DIFF technology, the modification of real time contrast's document content;Wherein, the base It is used for the data format of general storage in data structure DIFF technology in paragraph, picture, stylistic modification is perceived, institute The modification for stating document content is encoded based on Unicode;By carrying out two-way communication between WebSocket agreement and server, remember It records and synchronizes the modification to document content;The server is local or cloud;
In annotation content, document content is editable state.
2. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1, which is characterized in that the cooperation permission Permission is stored for private cloud,
By the way that permission is arranged, the cooperation between the teamworker of identity restriction is carried out;
If the new user of permission does not need that cooperation is added, need to obtain the authorization of document creator;It is gone through in authorization Before, user waits online, if Requested Party approval movement is completed, document refreshes automatically and enters edit page.
3. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1, which is characterized in that the cooperation permission Permission is only read for client,
After the document structure tree, if client is teamworker's permission, there is document modification authority;
If client is not teamworker and document creator, in client to document without modification authority, there is reading to weigh document Limit;Above-mentioned client includes multiple.
4. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1, which is characterized in that the cooperation permission Permission is commented on for barrage,
It is that barrage comments on permission by the document setup, using WebSocket technical communication, using the comment of newest publication as bullet Curtain form,
By the additional layer transparent view on the view layer of the document, loaded in barrage on the transparent view Hold;
Or by the document setup directly to comment on permission,
Document permission is edited in the client application, after one side of generation of the document agrees to, is carried out in the client Editor.
5. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1-4, which is characterized in that described The content of synchronous collaboration includes: synchronous picture and text, simultaneous voice, synchronization video, synchronous annotation, synchronized upload, after accessing network It is synchronized to cloud, is saved if not accessing network to local.
6. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1-4, which is characterized in that by this The method that document is sent to an at least client is,
It is sent to client after replicating the chained address of the document, client opens document by the chained address;
Or uniquely corresponding two dimensional code, client open document after passing through the scanning two dimensional code by the document structure tree;
Or by access wechat end, document is obtained or sent;
The chained address is cloud chained address or local links address.
7. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1-4, which is characterized in that described Client includes wechat end, WEB terminal or application program end in intelligent mobile terminal, on desktop computer and laptop WEB terminal, the content synchronization of the cooperation are locked after saving to cloud in client.
8. the more equipment real-time synchronization cloud collaboration methods of more people according to claim 1-4, which is characterized in that described Client carries out tracking display according to character when synchronizing cooperation, to the content of each synchronous collaboration, and display content includes User ID, name and the head portrait of client.
9. a kind of more equipment real-time synchronization cloud cooperative systems of more people characterized by comprising
Document creation module, the document creation module are sent to an at least client to generate document, and by the document;
Authority module, the authority module is to the setting cooperation permission when sending the document;
Synchronization module, the synchronization module is to synchronize cooperation in the client according to the cooperation permission;
Client, the client is to receive generation document and carry out synchronous collaboration;
Cloud, the cloud saving the content synchronization of cooperation to cloud,
Wherein, the cooperation permission is more people Yun Xiezuo permissions,
It is editable by the document setup and is sent to client;
The document content is edited and annotated in the client, and the content of edit and/or annotation is synchronous in cloud End;
In content of edit, the modification of real time contrast's document content;The modification of the document content is encoded based on Unicode;It is logical It crosses and carries out two-way communication between WebSocket agreement and server, record and synchronize the modification to document content;The server For local or cloud;
In annotation content, document content is editable state.
CN201610045705.4A 2016-01-22 2016-01-22 A kind of more equipment real-time synchronization cloud collaboration methods of more people and system Expired - Fee Related CN105743973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610045705.4A CN105743973B (en) 2016-01-22 2016-01-22 A kind of more equipment real-time synchronization cloud collaboration methods of more people and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610045705.4A CN105743973B (en) 2016-01-22 2016-01-22 A kind of more equipment real-time synchronization cloud collaboration methods of more people and system

Publications (2)

Publication Number Publication Date
CN105743973A CN105743973A (en) 2016-07-06
CN105743973B true CN105743973B (en) 2019-05-10

Family

ID=56246504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610045705.4A Expired - Fee Related CN105743973B (en) 2016-01-22 2016-01-22 A kind of more equipment real-time synchronization cloud collaboration methods of more people and system

Country Status (1)

Country Link
CN (1) CN105743973B (en)

Families Citing this family (49)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106210039A (en) * 2016-07-08 2016-12-07 乐视控股(北京)有限公司 Method for managing object, client and cloud server terminal
CN106302724B (en) * 2016-08-15 2019-04-12 广州契合信息科技有限公司 A kind of remote synchronization method based on browser
CN107872492B (en) * 2016-09-28 2021-05-25 北京京东尚科信息技术有限公司 Method and device for supporting multi-user editing of data object at server
CN106993177A (en) * 2016-10-12 2017-07-28 深圳市圆周率软件科技有限责任公司 A kind of 720 degree of panorama acquisition systems of binocular
CN106657348A (en) * 2016-12-28 2017-05-10 深圳市明源软件股份有限公司 File cooperative processing method and system based on two-dimensional bar code
CN107659416B (en) * 2017-03-27 2021-11-16 广州视源电子科技股份有限公司 Conference record sharing method and device, conference terminal and storage medium
JP7266536B2 (en) * 2017-05-22 2023-04-28 コモンウェルス サイエンティフィック アンド インダストリアル リサーチ オーガナイゼーション Encryption of cloud-based data
CN107347090A (en) * 2017-06-08 2017-11-14 广州市呼百应网络技术股份有限公司 Method of data synchronization
CN107483972B (en) * 2017-07-24 2019-05-07 平安科技(深圳)有限公司 A kind of live streaming processing method of audio-video, storage medium and a kind of mobile terminal
CN107705275B (en) * 2017-09-08 2021-02-26 维沃移动通信有限公司 Photographing method and mobile terminal
CN107622380A (en) * 2017-09-29 2018-01-23 南京宏海科技有限公司 Based on cloud service interaction, the method for preserving document information, approaches to IM
CN108055188A (en) * 2017-10-19 2018-05-18 福建中金在线信息科技有限公司 H5 live broadcast in both illustration and text method and apparatus based on wechat
CN109726367B (en) * 2017-10-27 2022-06-10 腾讯科技(北京)有限公司 Comment display method and related device
CN107885860A (en) * 2017-11-21 2018-04-06 福州聆花信息科技有限公司 A kind of method, storage medium and electronic equipment for marking and showing on media file
CN107734074B (en) * 2017-11-29 2020-06-12 常州中价之星软件技术有限公司 Method for realizing online reading and editing document
CN108182351A (en) * 2017-12-26 2018-06-19 华中科技大学同济医学院附属协和医院 A kind of Automatic work system of high safety grade
CN108200479B (en) * 2018-01-22 2020-02-28 上海哔哩哔哩科技有限公司 Bullet screen playing method, server and bullet screen playing system based on streaming document
CN108446168A (en) * 2018-03-12 2018-08-24 广东五科技股份有限公司 A kind of the browse right setting method and device of affairs
CN108549623B (en) * 2018-04-12 2022-03-01 北京三快在线科技有限公司 Collaborative document editing control method and device, electronic equipment and storage medium
CN109299046B (en) * 2018-08-30 2023-08-15 湖北工业大学 Collaborative editing method based on TCP WebSocket protocol
CN109376818A (en) * 2018-10-09 2019-02-22 杭州收盈科技有限公司 A kind of encryption time synchronization method based on offline dynamic two-dimension code
CN109145242B (en) * 2018-10-11 2021-05-04 鼎富智能科技有限公司 Office document online sharing method, system and computer readable storage medium
CN111144074B (en) * 2018-11-05 2022-04-22 腾讯科技(深圳)有限公司 Document cooperation method and device, computer readable storage medium and computer equipment
CN109726377A (en) * 2018-12-24 2019-05-07 内蒙古京宁热电有限责任公司 Generation method, device and the electronic equipment of power field technical standard data file
CN109816344A (en) * 2019-01-10 2019-05-28 法信公证云(厦门)科技有限公司 A kind of cooperating forensic method and terminal
CN109800405A (en) * 2019-01-24 2019-05-24 北京仁和汇智信息技术有限公司 A kind of online correction processing method and processing device of technical paper document
CN110414909A (en) * 2019-05-21 2019-11-05 北京太空漫步科技有限公司 A kind of architecture system visualizing real-time collaborative
CN110290218B (en) * 2019-07-05 2022-04-19 永中软件股份有限公司 File annotation method and system, and computer readable medium
CN110472426B (en) * 2019-08-02 2020-03-27 南京鑫智链科技信息有限公司 Method for scanning, encrypting and decrypting bid document instead of real object U shield
CN112417821A (en) * 2019-08-05 2021-02-26 珠海金山办公软件有限公司 Method and device for editing management, computer storage medium and terminal
CN110719516A (en) * 2019-10-21 2020-01-21 北京字节跳动网络技术有限公司 Video synchronization method and device, terminal and storage medium
CN111277905A (en) * 2020-03-09 2020-06-12 新华智云科技有限公司 Online collaborative video editing method and device
CN111586113A (en) * 2020-04-23 2020-08-25 陈军 Method and system for sharing cloud document by using two-dimensional code label
WO2021218946A1 (en) 2020-04-30 2021-11-04 北京字节跳动网络技术有限公司 Method and device for information exchange, electronic device, and storage medium
CN113591439B (en) * 2020-04-30 2023-07-11 抖音视界有限公司 Information interaction method and device, electronic equipment and storage medium
CN112269770B (en) * 2020-11-02 2022-08-09 北京字跳网络技术有限公司 Document sharing method, device and system and electronic equipment
CN112308953A (en) * 2020-11-13 2021-02-02 深圳市前海手绘科技文化有限公司 Animation video collaborative editing method and device
CN112508540A (en) * 2020-12-28 2021-03-16 浪潮云信息技术股份公司 Form collaboration tool and authority design method thereof
CN113094347A (en) * 2021-05-08 2021-07-09 广州文石信息科技有限公司 Data synchronization method, device and equipment
CN113312911B (en) * 2021-05-26 2022-07-12 上海晏鼠计算机技术股份有限公司 Automatic authorization and intelligent text segment creation method based on outline
CN113191117B (en) * 2021-05-31 2022-04-05 腾讯科技(深圳)有限公司 Editing method, device and equipment of electronic document and storage medium
CN113784177A (en) * 2021-07-06 2021-12-10 深圳点猫科技有限公司 Control method, device, system and medium for collaborative teaching
CN113852872A (en) * 2021-09-28 2021-12-28 合肥高维数据技术有限公司 Method and system for adding invisible watermarks in online whiteboard interaction process and playback process
CN113992762B (en) * 2021-10-26 2023-05-05 成都飞机工业(集团)有限责任公司 Unmanned aerial vehicle communication protocol design method and system
CN114064568B (en) * 2021-11-11 2022-06-03 江下信息科技(惠州)有限公司 Collaborative document management service method and system
CN113971551B (en) * 2021-12-27 2022-04-19 深圳至简天成科技有限公司 Real-time assessment method and system for online interview
CN115238654A (en) * 2022-07-14 2022-10-25 思乐格计算技术(南京)有限公司 Multi-user online real-time collaborative editing system
CN115309308A (en) * 2022-07-20 2022-11-08 北京达佳互联信息技术有限公司 Method, device, equipment, system and storage medium for commenting online document
CN116362697A (en) * 2023-06-01 2023-06-30 北京尽微致广信息技术有限公司 Collaborative processing method, collaborative processing system, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262620A (en) * 2011-08-04 2011-11-30 无锡永中软件有限公司 Document cooperation method
CN102521407A (en) * 2011-12-28 2012-06-27 谢勇 Method for document collaboration among users
CN103488754A (en) * 2013-09-22 2014-01-01 复旦大学 Method for transparent interoperability of heterogeneous document cooperation cloud services

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200426611A (en) * 2003-05-16 2004-12-01 Hon Hai Prec Ind Co Ltd System and method for document browsing and controlling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262620A (en) * 2011-08-04 2011-11-30 无锡永中软件有限公司 Document cooperation method
CN102521407A (en) * 2011-12-28 2012-06-27 谢勇 Method for document collaboration among users
CN103488754A (en) * 2013-09-22 2014-01-01 复旦大学 Method for transparent interoperability of heterogeneous document cooperation cloud services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《石墨:"我们只想做一款安静的美文档"》;Jie;《36氪空间- https://36kr.com/p/533745.html》;20150611;正文第1-4页

Also Published As

Publication number Publication date
CN105743973A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN105743973B (en) A kind of more equipment real-time synchronization cloud collaboration methods of more people and system
US8266214B2 (en) System and method for collaborative web-based multimedia layered platform with recording and selective playback of content
US7933956B2 (en) System and method to create a collaborative web-based multimedia layered platform
US20190361969A1 (en) Method and system for annotation and connection of electronic documents
CN110597774B (en) File sharing method, system, device, computing equipment and terminal equipment
US10431187B2 (en) Terminal apparatus, screen recording method, program, and information processing system
US7769810B1 (en) Method and system for collaborative editing
US20090193345A1 (en) Collaborative interface
US8949268B2 (en) Method and system to capture, share and find information and relationships
WO2019056610A1 (en) Conference record sharing method, device, conference terminal and storage medium
US20230086387A1 (en) Method and system for processing information in social network system
CA2869699A1 (en) System and method for generating digital content
CN106162043A (en) Multimedia file demenstration method in a kind of video conferencing system
US20150019486A1 (en) System and Method for Delta Change Synchronization of Data Changes across a Plurality of Nodes
Facchinetti News discourse and the dissemination of knowledge and perspective: From print and monomodal to digital and multisemiotic
CN115238654A (en) Multi-user online real-time collaborative editing system
CN106383833A (en) Personal blog system
WO2018214987A1 (en) Information recording method and apparatus
JP2015043149A (en) Operation terminal, program, and information processing system
CN108874834A (en) A kind of data processing method, processing system and computer installation
Blase Invisible women: The role of women in punk fanzine creation
Reed Punking the bibliography: RE/Search Publications, the bookshelf question and ideational flow
Couey Restructuring power: Telecommunication works produced by women
Gat Fifty-two weeks: A year of El Paquete Semanal, the Cuban offline Internet, and the two artists who archived it
Chen International Collaborative Digital Strategy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190510

Termination date: 20220122

CF01 Termination of patent right due to non-payment of annual fee