CN110110301A - File editing method, device, system, client, server and storage medium - Google Patents

File editing method, device, system, client, server and storage medium Download PDF

Info

Publication number
CN110110301A
CN110110301A CN201910392119.0A CN201910392119A CN110110301A CN 110110301 A CN110110301 A CN 110110301A CN 201910392119 A CN201910392119 A CN 201910392119A CN 110110301 A CN110110301 A CN 110110301A
Authority
CN
China
Prior art keywords
file
client
saved
currenttagvalue
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.)
Granted
Application number
CN201910392119.0A
Other languages
Chinese (zh)
Other versions
CN110110301B (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.)
Chengdu Lifelong Growth Technology Co Ltd
Original Assignee
Chengdu Lifelong Growth 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 Chengdu Lifelong Growth Technology Co Ltd filed Critical Chengdu Lifelong Growth Technology Co Ltd
Priority to CN201910392119.0A priority Critical patent/CN110110301B/en
Publication of CN110110301A publication Critical patent/CN110110301A/en
Application granted granted Critical
Publication of CN110110301B publication Critical patent/CN110110301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The embodiment of the present application provides a kind of file editing method, device, system, client, server and storage medium, for client when requesting access to file, server can return to the file to be processed requested access to and the corresponding mark value of the file to be processed simultaneously.Document Editing to be processed is finished save when, client can determine whether initial markers value is identical as the CurrentTagValue of the target location requested access to, if identical, then showing the file of target location, no change has taken place, and server uses the current file at file coverage goal to be saved position again at this time.So no matter how many user, it is only necessary to editing files, which can be realized, on the client edits same file.In addition, needing initial markers value identical as CurrentTagValue when realizing the preservation of file, file was not saved by first other users when stored, not will cause the loss of file data, high reliablity after preservation.

Description

File editing method, device, system, client, server and storage medium
Technical field
This application involves technical field of data processing, in particular to a kind of file editing method, device, system, visitor Family end, server and storage medium.
Background technique
With the continuous development of information technology, user can directly be saved file on the server at present, and directly exist Line edits file.But at present in online editing technology, only sole user is allowed to carry out editor's preservation to file, and In actual operation, often in the presence of needing multiple users to edit same file the case where, therefore provide one kind make it is more A user can to the scheme that same file is edited just very it is necessary to.
Summary of the invention
The embodiment of the present application be designed to provide a kind of file editing method, device, system, client, server and Storage medium, with so that multiple users can edit same file.
The embodiment of the present application provides a kind of file editing method, is applied in client, comprising: sends the to server One access request, and receive file to be processed and initial markers value that the server returns to target location;The target position It is set to the position that first access request is requested access to;The initial markers value is for text to be processed described in uniquely tagged Part;When receiving file preservation instruction, the current mark of the current file of the initial markers value and the target position is determined Whether note value is identical;Wherein, the CurrentTagValue is for current file described in uniquely tagged;In the initial markers value and institute State CurrentTagValue it is identical when, file to be saved is sent to the server, so that the server text to be saved Part covers the current file of the target location;The file to be saved is to obtain after handling the file to be processed File
During above-mentioned realization, when requesting access to file, server can be returned simultaneously and be requested access to client File to be processed and the corresponding mark value (i.e. initial markers value) of the file to be processed.It is finished to Document Editing to be processed When being saved, client can determine whether that initial markers value and the CurrentTagValue of the target location requested access to are (current Mark value is mark value corresponding to the file current with target location) it is whether identical, if identical, show target position No change has taken place for the file at place, at this time again by file to be saved (to the file obtained after Document Editing to be processed as wait protect Deposit file) it is sent to the server, so that current file of the server at file coverage goal to be saved position.In this way, No matter how many user, it is only necessary to editing files, which can be realized, on the client edits same file.In addition, by above-mentioned Realization process, realize file preservation when, need initial markers value identical as CurrentTagValue, when stored file not by First other users saved, and not will cause the loss of file data, high reliablity after preservation.
Further, the CurrentTagValue of the determination initial markers value and the target position it is whether identical it Afterwards, further includes: when the initial markers value is with the CurrentTagValue difference, using the CurrentTagValue as newly initial Mark value, and obtain the current file of the target location;The current file and the file to be saved are compared, Show the difference content between the current file and the file to be saved;When receiving file preservation instruction, institute is determined It is whether identical as the CurrentTagValue of the target position to state new initial markers value;The new initial markers value with it is described When CurrentTagValue is identical, file to be saved is sent to the server, so that the server file to be saved Cover the current file of the target location.
During above-mentioned realization, in the CurrentTagValue difference of initial markers value and target position, that is, illustrate target File at position is changed, and initial markers value can be updated to CurrentTagValue by client at this time, and obtain target Current file at position is compared come the file to be saved obtained with editor, show current file and file to be saved it Between difference content.In this way, the user of client can be confirmed whether that guarantor can be covered according to shown difference content It deposits, carries out covering preservation again after being confirmed by user, to promote the reliability of entire file saving process.
Further, show that the difference content between the current file and the file to be saved includes: complete display The file to be saved, and on the interface of the file to be saved, the file to be saved and the current file content At different positions, the content of the current file at this location is shown according to preset rules.
During above-mentioned realization, client is carried out using handling obtained file to be saved as constituent instruments in display It completely shows, and on the basis of file to be saved, the content different from file to be saved of the current file in display server, So that user very can intuitively find out user itself modification content and current other users modification content not Together, so can by independently determine or line under the measures such as negotiate come redjustment and modification content, so that the risk of contents lost be dropped It is low, promote the reliability of entire file saving process.
Further, the file editing method further include: obtain in the current file, not with the file to be saved Editor's author information of same content;It is described when showing the content of the current file at this location according to preset rules, also It include: the editor's author information for showing the content at the position.
During above-mentioned realization, client can editor's author information to content different piece show that this is just Allow the user to know that whom the editor author of these different pieces is, and then can very convenient and these editor authors progress Negotiate to discuss, so that the risk of contents lost be reduced, promotes the reliability of entire file saving process.
Further, the initial markers value is the cryptographic Hash being calculated according to the content of the file to be processed;Institute Stating CurrentTagValue is the cryptographic Hash being calculated according to the content of the current file of the target location.
During above-mentioned realization, mark value (including initial markers value and CurrentTagValue) is according to its corresponding file Content generate, different file contents can generate different mark values, so that mark value is inevitable unique corresponding A kind of file content.It is directly related to the content of target location file that this allows for entire preservation process, and entire file saves The reliability of process is higher.
Further, it is described send the first access request to server after, further includes: at interval of n seconds to the service Device sends second access request;Second access request is for requesting current user information from the server;Institute State the information that current user information is the user currently to access to the target position;The n is positive integer;It receives and shows Show the current user information that the server returns.
During above-mentioned realization, client can receive the current user information of server return, so that with Family can see at present that (multiple users visit same target position in all users to access to same target position Asking can think that this multiple user edits in the file to same target location), the editor for promoting user uses body It tests.
Further, the whether identical packet of CurrentTagValue of the determination initial markers value and the target position It includes:
The initial markers value is sent to the server, and receive that the server returns to the initial markers The comparison result of the CurrentTagValue of value and the target position, determines the initial markers value and institute according to the comparison result Whether identical state CurrentTagValue;
Or,
Obtain the CurrentTagValue of the target position from the server, and by the initial markers of the file to be saved Value is compared with the CurrentTagValue, determines whether the initial markers value and the CurrentTagValue are identical.
During above two realization, the first realization process is realized by server to initial markers value and current The comparison of mark value, and second of realization process is the comparison realized by client to initial markers value and CurrentTagValue. Two kinds of implementations all can easily realize the comparison to initial markers value and CurrentTagValue, enable a client to determine Whether the CurrentTagValue of initial markers value and target position is identical.Above two realization process all has realization simply, data The small advantage of transmission quantity.
The embodiment of the present application also provides a kind of file editing methods, are applied on server, comprising: receive client hair The first access request sent, and file to be processed and initial markers value are returned to the client;The file to be processed is to connect When receiving first access request, the file of target location;The initial markers value is to receive first access to ask Mark value when asking, in the server for file to be processed described in uniquely tagged;The target position is first visit It asks and requests requested access to position;When receiving the initial markers value that client is sent, the initial markers are determined Whether value is identical as the CurrentTagValue of the current file of the target position, and returns to definitive result to the client;Institute CurrentTagValue is stated for current file described in uniquely tagged;In the file to be saved for receiving the client and sending, and institute When to state definitive result be that the initial markers value is identical with the CurrentTagValue, by the file to be saved covering target Current file at position.
During above-mentioned realization, when requesting access to file, server can be returned simultaneously and be requested access to client File to be processed and the corresponding mark value (i.e. initial markers value) of the file to be processed.Receive that client sends just When beginning mark value, server can further determine that whether are initial markers value and the CurrentTagValue of target location that requests access to It is identical, and definitive result is returned to client.If identical, showing the file of target location, no change has taken place, at this time File to be saved (being file to be saved to the file obtained after Document Editing to be processed) can be sent to server by client, And then current file of the server at file coverage goal to be saved position.In this way, no matter how many user, it is only necessary in client Editing files, which can be realized, on end edits same file.In addition, by above-mentioned realization process, in the preservation for realizing file When, need initial markers value identical as CurrentTagValue, file was not saved by first other users when stored, was saved The loss of file data, high reliablity are not will cause afterwards.
Further, in the CurrentTagValue that the definitive result is the initial markers value and the target position not phase Meanwhile the file editing method further include: be sent to the CurrentTagValue of the target location and current file described Client;Or, the CurrentTagValue of the target location is sent to the client, and obtain the client wait protect File is deposited, the current file and the file to be saved are compared, by the current file and the file to be saved Between difference content be sent to the client.
During above-mentioned realization, in the CurrentTagValue difference of initial markers value and target position, that is, illustrate target File at position is changed, and the CurrentTagValue of target location and current file can be sent to by server at this time Client shows so that the current file of target location is compared client come the file to be saved obtained with editor Difference content between current file and file to be saved out;Or the file to be saved of the available client of server, it will work as Preceding document and file to be saved are compared, by the difference content and target location between current file and file to be saved CurrentTagValue be sent to client.In this way, the user of client can be to confirm according to shown difference content It is no to cover preservation, covering preservation is carried out after being confirmed by user again, to promote the reliability of entire file saving process.
Further, the difference content by between the current file and the file to be saved is sent to the visitor When the end of family, further includes: the corresponding editor's author information of the difference content prestored is sent to the client.
During above-mentioned realization, the corresponding editor's author information of the difference content prestored is sent to client, thus Client is shown to editor's author information of content different piece, this allows for user and is known that these not Whom editor author with part is, so can very convenient and these editor authors hold consultation discussion, so that content be lost The risk of mistake reduces, and promotes the reliability of entire file saving process.
Further, first access request includes the user information of the client;It is sent out in the reception client When the first access request sent, further includes: time of first access request will be received as access time, with the visitor The user information correlation at family end is recorded in preset online user's list;Calculate the time of current time and the access time Difference deletes the user of the client when the time difference being greater than preset time difference threshold value from online user's list Information.
During above-mentioned realization, whether server can determine user based on the time difference of access time and current time It is offline, and then realize the update to online user's list, guarantee the accuracy of documented user in online user's list.
Further, the file editing method further include:, will when receiving the second access request of the client The access time is updated to receive the time of second access request, and returns to online user's list to the visitor Family end.
During above-mentioned realization, server returns online user's list in the second access request for receiving client It is mentioned back to client so that the user of client can see at present in all users to access to same target position Rise editor's usage experience of user.Meanwhile access time is updated to receive the time of the second access request by server, thus So that more accurate to the update of online user's list.
The embodiment of the present application also provides a kind of file editing methods, are applied on server, comprising: receive client hair The first access request sent;File to be processed is returned to the client, and records the corresponding initial markers value of the client; The file to be processed is the file of target location when receiving first access request;The client is corresponding just Beginning mark value is mark when receiving first access request, in the server for file to be processed described in uniquely tagged Note value;The position that the target position is requested access to by first access request;Receiving what the client was sent When file to be saved, determine whether the initial markers value is identical as the CurrentTagValue of the target position;The current mark Note value is for current file described in uniquely tagged;It is identical as the CurrentTagValue of the target position in the initial markers value When, the file to be saved is covered to the current file of the target location.
During above-mentioned realization, client when requesting access to file, server be can return requested access to Processing file and to record the corresponding mark value of the file to be processed be the corresponding initial markers value of the client.Receiving client When holding file to be saved (being file to be saved to the file obtained after Document Editing to be processed) sent, server can be into one Step determines whether the CurrentTagValue of the initial markers value and target location that record is identical, and with file to be saved when identical Current file at coverage goal position.In this way, no matter how many user, it is only necessary to editing files can be realized pair on the client Same file is edited.In addition, when realizing the preservation of file, needing initial markers value by above-mentioned realization process and working as Preceding mark value is identical, and file was not saved by first other users when stored, not will cause file data after preservation Loss, high reliablity.
Further, when the CurrentTagValue in the initial markers value Yu the target position is not identical, further includes: will The CurrentTagValue is sent to the client as new initial markers value, and by the current file of the target location End;Or, using the CurrentTagValue as new initial markers value, and the current file and the file to be saved are carried out It compares, the difference content between the current file and the file to be saved is sent to the client.
During above-mentioned realization, in the CurrentTagValue difference of initial markers value and target position, that is, illustrate target File at position is changed, and the CurrentTagValue of target location and current file can be sent to by server at this time Client shows so that the current file of target location is compared client come the file to be saved obtained with editor Difference content between current file and file to be saved out;Or the file to be saved of the available client of server, it will work as Preceding document and file to be saved are compared, by the difference content and target location between current file and file to be saved CurrentTagValue be sent to client.In this way, the user of client can be to confirm according to shown difference content It is no to cover preservation, covering preservation is carried out after being confirmed by user again, to promote the reliability of entire file saving process.
Further, the difference content by between the current file and the file to be saved is sent to the visitor When the end of family, further includes: the corresponding editor's author information of the difference content prestored is sent to the client.
During above-mentioned realization, the corresponding editor's author information of the difference content prestored is sent to client, thus Client is shown to editor's author information of content different piece, this allows for user and is known that these not Whom editor author with part is, so can very convenient and these editor authors hold consultation discussion, so that content be lost The risk of mistake reduces, and promotes the reliability of entire file saving process.
Further, first access request includes the user information of the client;It is sent out in the reception client When the first access request sent, further includes: time of first access request will be received as access time, with the visitor The user information correlation at family end is recorded in preset online user's list;Calculate the time of current time and the access time Difference deletes the user of the client when the time difference being greater than preset time difference threshold value from online user's list Information.
During above-mentioned realization, whether server can determine user based on the time difference of access time and current time It is offline, and then realize the update to online user's list, guarantee the accuracy of documented user in online user's list.
Further, the file editing method further include:, will when receiving the second access request of the client The access time is updated to receive the time of second access request, and returns to online user's list to the visitor Family end.
During above-mentioned realization, server returns online user's list in the second access request for receiving client It is mentioned back to client so that the user of client can see at present in all users to access to same target position Rise editor's usage experience of user.Meanwhile access time is updated to receive the time of the second access request by server, thus So that more accurate to the update of online user's list.
The embodiment of the present application also provides a kind of document edit devices, are applied in client, including the first sending module, First receiving module and first processing module;First sending module is used to send the first access request to server;It is described First receiving module is used to receive file to be processed and initial markers value that the server returns to target location;The target The position that position is requested access to by first access request;The initial markers value is for text to be processed described in uniquely tagged Part;First receiving module is also used to receive file and saves instruction;The first processing module is for executing following functions step It is rapid: when first receiving module receives file and saves instruction, to determine the initial markers value and the target position Whether CurrentTagValue is identical;When the initial markers value is identical as the CurrentTagValue, controls described first and send mould File to be saved is sent to the server by block, so that the server covers the target position with the file to be saved The current file at place;The file to be saved is the file obtained after handling the file to be processed;The current mark Note value is for current file described in uniquely tagged.
In above-mentioned implementation, no matter how many user, it is only necessary to editing files can be realized to same on the client File is edited.In addition, when realizing the preservation of file, needing initial markers value and current mark by above-mentioned implementation Note value is identical, and file was not saved by first other users when stored, not will cause losing for file data after preservation It loses, high reliablity.
Further, the first processing module is also used to different with the CurrentTagValue in the initial markers value, Using the CurrentTagValue as new initial markers value, and obtain the current file of the target location;And for inciting somebody to action The current file and the file to be saved are compared, and show the area between the current file and the file to be saved Other content, and when receiving file preservation instruction, determine the current mark of the new initial markers value and the target position Whether note value is identical;When the new initial markers value is identical as the CurrentTagValue, file to be saved is sent to institute Server is stated, so that the server covers the current file of the target location with the file to be saved.
In above-mentioned realization structure, in the CurrentTagValue difference of initial markers value and target position, the use of client Family can be confirmed whether that preservation can be covered according to shown difference content, carry out covering guarantor again after being confirmed by user It deposits, to promote the reliability of entire file saving process.
Further, first sending module is also used to after first access request of transmission to server, and every Second access request was sent to the server every n seconds;Second access request from the server for requesting Current user information;The current user information is the information of the user currently to access to the target position;The n is Positive integer;First receiving module is also used to receive and show the current user information that the server returns.
In above-mentioned realization structure, user can be made to can see at present in the institute to access to same target position There is user, promotes editor's usage experience of user.
Further, the first processing module determines the CurrentTagValue of the initial markers value and the target position Whether identical specifically include:
The first processing module controls first sending module and the initial markers value is sent to the server, And it controls first receiving module and receives working as to the initial markers value and the target position for the server return The comparison result of preceding mark value, and according to the comparison result determine the initial markers value and the CurrentTagValue whether phase Together;
Or,
The first processing module obtains the CurrentTagValue of the target position from the server, and by described wait protect The initial markers value for depositing file is compared with the CurrentTagValue, determines the initial markers value and the CurrentTagValue It is whether identical.
The comparison to initial markers value and CurrentTagValue all can be easily realized in above-mentioned realization structure, so that client End can determine whether the CurrentTagValue of initial markers value and target position is identical.Above two realization process all has realization Simply, the small advantage of volume of transmitted data.
The embodiment of the present application also provides a kind of document edit devices, are applied on server, comprising: send including second Module, the second receiving module and Second processing module;Second receiving module is used to receive the first access of client transmission Request;Second sending module is used to return to file to be processed and initial markers value to the client;The text to be processed Part is the file of target location when receiving first access request;The initial markers value is to receive described first Mark value when access request, in the server for file to be processed described in uniquely tagged;The target position is described The position that first access request is requested access to;Second receiving module be also used to receive the client sends it is described just Beginning mark value and file to be saved;The Second processing module is used to receive what client was sent in second receiving module When the initial markers value, determine the initial markers value and the current file of the target position CurrentTagValue whether phase Together, and the second sending module return definitive result is controlled to the client;The CurrentTagValue is used for uniquely tagged The current file;The Second processing module be also used to second receiving module receive that the client sends to Save file, and the definitive result be the initial markers value it is identical as the CurrentTagValue when, by the text to be saved Part covers the current file of the target location.
In above-mentioned realization structure, no matter how many user, it is only necessary to editing files can be realized to same on the client File is edited.In addition, when realizing the preservation of file, needing initial markers value and current mark by above-mentioned implementation Note value is identical, and file was not saved by first other users when stored, not will cause losing for file data after preservation It loses, high reliablity.
Further, the Second processing module is also used in the definitive result be the initial markers value and the mesh When the CurrentTagValue of cursor position is not identical, control second sending module by the CurrentTagValue of the target location and Current file is sent to the client;Or, the Second processing module is also used in the definitive result be the initial mark When the CurrentTagValue of note value and the target position is not identical, second sending module is controlled by the target location CurrentTagValue is sent to the client, and controls the file to be saved that second receiving module obtains the client, And for the current file and the file to be saved to be compared, by the current file and the file to be saved Between difference content be sent to the client.
In above-mentioned realization structure, user can be confirmed whether that guarantor can be covered according to shown difference content It deposits, carries out covering preservation after being confirmed by user again, to promote the reliability of entire file saving process.
Further, first access request includes the user information of the client;The Second processing module is also When for receiving the first access request of client transmission in second receiving module, first access will be received and asked The time asked as access time, is recorded in preset online user's list with the user information correlation of the client;With And the time difference for calculating current time Yu the access time, when the time difference being greater than preset time difference threshold value, from The user information of the client is deleted in online user's list.
In above-mentioned realization structure, can determine whether user is offline based on the time difference of access time and current time, And then update of the realization to online user's list, guarantee the accuracy of documented user in online user's list.
Further, the document edit device further include: the Second processing module is also used to receive described second When module receives the second access request of the client, the access time is updated to receive second access and is asked The time asked, and control second sending module and return to online user's list to the client.
In above-mentioned realization structure, online user's list is returned into visitor in the second access request for receiving client Family end promotes user so that the user of client can see at present in all users to access to same target position Editor's usage experience.Meanwhile access time is updated to receive the time of the second access request by server, so that right The update of online user's list is more accurate.
The embodiment of the present application also provides a kind of document edit devices, are applied on server, comprising: third sends mould Block, third receiving module and third processing module;The first access that the third receiving module is used to receive client transmission is asked It sums file to be saved;The third sending module is used to return to file to be processed to the client;The third handles mould Block is for recording the corresponding initial markers value of the client;The file to be processed is to receive first access request When, the file of target location;The corresponding initial markers value of the client is when receiving first access request, described Mark value in server for file to be processed described in uniquely tagged;The target position is asked by first access request Ask the position of access;The third processing module be also used to the third receiving module receive that the client sends to When saving file, determine whether the initial markers value is identical as the CurrentTagValue of the target position;In the initial mark When note value is identical as the CurrentTagValue of the target position, the file to be saved is covered into the current of the target location File;The CurrentTagValue is for current file described in uniquely tagged.
In above-mentioned realization structure, no matter how many user, it is only necessary to editing files can be realized to same on the client File is edited.In addition, when realizing the preservation of file, needing initial markers value and current mark by above-mentioned implementation Note value is identical, and file was not saved by first other users when stored, not will cause losing for file data after preservation It loses, high reliablity.
Further, the third processing module is also used to the current mark in the initial markers value and the target position When note value is not identical, using the CurrentTagValue as new initial markers value, and controlling the third sending module will be described The current file of target location is sent to the client;Or, the third processing module is also used in the initial markers When value is not identical as the CurrentTagValue of the target position, using the CurrentTagValue as new initial markers value, and will The current file and the file to be saved are compared, and control the third sending module for the current file and described Difference content between file to be saved is sent to the client.
In above-mentioned realization structure, user can be confirmed whether that guarantor can be covered according to shown difference content It deposits, carries out covering preservation after being confirmed by user again, to promote the reliability of entire file saving process.
The embodiment of the present application also provides a kind of document-editing systems, comprising: client and server;The client is used In sending the first access request to the server, and receive the file to be processed and just that the server returns to target location Beginning mark value;And for when receiving file and saving instruction, the initial markers value to be sent to the server, and It, will when the definitive result for receiving the server return is that initial markers value is identical as the CurrentTagValue of the target position File to be saved is sent to the server;The server is used to receive the first access request that the client is sent, and The file to be processed and initial markers value of the target location are returned to the client;And for receiving the visitor When the initial markers value that family end is sent, determine the initial markers value and the target position CurrentTagValue whether phase Together, and return to definitive result to the client, and when receiving the file to be saved that the client is sent, will it is described to Save the current file that file covers the target location;The file to be saved is to handle the file to be processed The file obtained afterwards;The initial markers value is for file to be processed described in uniquely tagged;The CurrentTagValue is for unique Mark the current file.
In above-mentioned realization structure, no matter how many user, it is only necessary to editing files can be realized to same on the client File is edited.In addition, when realizing the preservation of file, needing initial markers value and current mark by above-mentioned implementation Note value is identical, and file was not saved by first other users when stored, not will cause losing for file data after preservation It loses, high reliablity.
The embodiment of the present application also provides a kind of clients, comprising: processor, memory and communication bus;The communication Bus is for realizing the connection communication between processor and memory;The processor is for executing one stored in memory Or multiple first programs, the step of to realize the first above-mentioned file editing method.
The embodiment of the present application also provides a kind of servers, comprising: processor, memory and communication bus;The communication Bus is for realizing the connection communication between processor and memory;The processor is for executing one stored in memory Or multiple second programs, the step of to realize above-mentioned second of file editing method;Or, the processor is deposited for executing One or more third program stored in reservoir, the step of to realize the third above-mentioned file editing method.
A kind of computer readable storage medium is additionally provided in the embodiment of the present application, the computer storage medium is stored with One or more program, one or more of programs can be executed by one or more processor, to realize above-mentioned A kind of the step of file editing method of anticipating.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application will make below to required in the embodiment of the present application Attached drawing is briefly described, it should be understood that the following drawings illustrates only some embodiments of the application, therefore should not be seen Work is the restriction to range, for those of ordinary skill in the art, without creative efforts, can be with Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow diagram applied to the file editing method in client provided by the embodiments of the present application;
Fig. 2 is a kind of file content display schematic diagram provided by the embodiments of the present application;
Fig. 3 is another file content display schematic diagram provided by the embodiments of the present application;
Fig. 4 is a kind of flow diagram applied to the file editing method on server provided by the embodiments of the present application;
Fig. 5 is the process signal of another file editing method being applied on server provided by the embodiments of the present application Figure;
Fig. 6 is the first exemplary interactive schematic diagram provided by the embodiments of the present application;
Fig. 7 is second provided by the embodiments of the present application exemplary interactive schematic diagram;
Fig. 8 is the third exemplary interactive schematic diagram provided by the embodiments of the present application;
Fig. 9 is a kind of processing interaction schematic diagram of online user's list provided by the embodiments of the present application;
Figure 10 is a kind of structural schematic diagram of the document edit device applied to server provided by the embodiments of the present application;
Figure 11 is a kind of structural schematic diagram applied to the document edit device on server provided by the embodiments of the present application;
Figure 12 is the structural representation of another document edit device being applied on server provided by the embodiments of the present application Figure;
Figure 13 is a kind of structural schematic diagram of document-editing system provided by the embodiments of the present application;
Figure 14 is a kind of structural schematic diagram of client provided by the embodiments of the present application;
Figure 15 is a kind of structural schematic diagram of server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application is described.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile the application's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Embodiment one
Fig. 1 is please referred to, Fig. 1 is a kind of base applied to the file editing method in client provided by the embodiments of the present application This flow diagram, comprising:
S101: sending the first access request to server, and receives the text to be processed of the target location of server return Part and initial markers value;
It should be noted that the position that target position is requested access to by the first access request in the embodiment of the present application; Initial markers value is the corresponding mark value of file to be processed, for file to be processed described in uniquely tagged.In the embodiment of the present application In, mark value is for tab file, such as initial markers value is for marking file to be processed.It is constant in file In the case of, corresponding mark value is also constant, therefore when two mark values are identical, i.e., it is believed that corresponding file is identical.
S102: when receiving file and saving instruction, determine initial markers value and target position CurrentTagValue whether It is identical;
It is to be appreciated that in the embodiment of the present application, the CurrentTagValue of target position is current with target location The corresponding mark value of file (being denoted as current file hereinafter), be used for uniquely tagged current file.In actual application, with The passage of time, before active user carries out preservation operation, may have other users first to the target location carry out File saves operation, this file for allowing for target location is changed, and server can correspond to target automatically at this time Newest file distributes new mark value at position.
It should be noted that mark value can be using according to text in a kind of embodiments possible of the embodiment of the present application The cryptographic Hash that the content of part is calculated, such as initial markers value can be to be calculated according to the content of file to be processed Cryptographic Hash;And CurrentTagValue can be the cryptographic Hash being calculated according to the content of the current file of target location.? When mark value is using the cryptographic Hash being calculated according to the content of file, mark value can be made uniquely related to file content, A kind of specific file content necessarily corresponds to a unique cryptographic Hash, to further promote entire file saving process Reliability.In the embodiment of the present application, cryptographic Hash can pass through MD5 (Message-Digest Algorithm 5, eap-message digest Algorithm the 5th edition) scheduling algorithm obtains.
In the embodiment of the present application, client can at least be determined by following two embodiment initial markers value with Whether the CurrentTagValue of target position is identical:
Embodiment 1: can control initial markers value being sent to server, and receive marking to initial for server return The comparison result of the CurrentTagValue of note value and target position determines initial markers value according to comparison result and CurrentTagValue is It is no identical.
Embodiment 2: the CurrentTagValue of target position can be obtained from server, and by the initial mark of file to be saved Note value is compared with CurrentTagValue, so that it is determined that whether initial markers value and the CurrentTagValue are identical.
In the embodiment 1, initial markers value can be sent to server by client, and then behaviour is compared by server Make, the comparison result that client is returned by receiving server realizes the current markers to initial markers value and target position Value whether identical determination.In embodiment 2, client can then obtain the CurrentTagValue of target position from server, And then operation is compared by client itself, it realizes whether identical to the CurrentTagValue of initial markers value and target position It determines.Two schemes all can easily realize it is whether identical to the CurrentTagValue of initial markers value and target position really It is fixed, it realizes that simple and volume of transmitted data is small, there is very high exploitativeness.
S103: when initial markers value is identical as CurrentTagValue, being sent to server for file to be saved, so that service Current file of the device at file coverage goal to be saved position;
It should be noted that in the embodiment of the present application, file to be saved refers to file to be processed is handled after The file arrived.It should also be noted that, server can be by text to be saved after file to be saved is sent to server by client Part replaces the file at file destination, and new mark value is distributed for it by server.
It should be understood that in the embodiment of the present application, further includes:
S104: judging result be initial markers value with CurrentTagValue difference when, initial markers value is updated to currently Mark value, and obtain the current file of target location;
In the embodiment of the present application, judging result be initial markers value with CurrentTagValue difference when, client should Initial markers value is updated to CurrentTagValue, such as initial markers value is originally used for H1, and CurrentTagValue is H2, then client Initial markers value should be updated to H2 by H1 by end.
S105: current file and file to be saved are compared, and show the area between current file and file to be saved Other content, and go to step S102.
In the embodiment of the present application, it can be shown using file to be saved as constituent instruments, and in file to be saved, At the file to be saved position different from current file content, according to preset rules show current file at this location in Hold, for example, set file to be saved as ABCD, current file ABEF, referring now to shown in Fig. 2, client can completely show to File ABCD is saved, and shows EF below CD.In addition it is also possible to be shown by constituent instruments of current file, and working as In preceding document, at the current file position different from file content to be saved, show current file in the position according to preset rules The content at place is set, for example, setting file to be saved as ABCD, current file ABEF, referring now to shown in Fig. 3, client can be complete Whole display file ABEF to be saved, and CD is shown below EF.It should be noted that constituent instruments are current file and to be saved In file, client needs the file completely shown.It should also be noted that, preset rules are removed in the embodiment of the present application It is shown below constituent instruments outer to be as shown in Figures 2 and 3, can also be that display, right side are shown above constituent instruments Deng.
In the embodiment of the present application, client can also obtain in current file from from server, not with file to be saved With content editor's author information, and then show in display editor's author information of content at the position.
In a kind of embodiments possible of the embodiment of the present application, for user after modifying to file, client can be with Editor author information of the information as the content of the user is associated at the content of user's modification.In this way by file to be saved When being sent to server preservation, it is associated with the corresponding editor's author information of each content in the file of preservation, thus subsequent When client request, it can request to obtain the corresponding editor's author information of each content.
In another embodiments possible of the embodiment of the present application, file to be saved is being sent to server by client After being saved, editor's author information that server can recorde the file of the newest preservation is the user of the client, from And in subsequent client request, it can request to obtain the corresponding editor's author information of current file.Institute in current file at this time There is the corresponding editor's author information of content all the same, as the user of the client of preservation this document.
It is worth noting that, in the embodiment of the present application, after going to step S102, the initial markers value being compared is more Initial markers value after new, when being saved again at this time, if the current file of server side does not change (i.e. currently again The corresponding CurrentTagValue of file does not also become), then comparison result be just it is identical, can execute step S103 preservation behaviour Make.If saved again, the current file of server side changes once more, then client needs are re-execute the steps The step of S104 and S105.
Especially, it should be noted that in the embodiment of the present application, client after sending the first access request to server, Further include:
Second access request was sent to server at interval of n seconds.Server is receiving the second access request at this time Afterwards, it can correspond to and return to current user information to client.In the embodiment of the present application, current user information is currently to target The information for the user that position accesses.In a kind of embodiments possible of the application, current user information can be with online The form of user list returns to client and is shown.N should be greater than 0 positive integer in the embodiment of the present application.
In the embodiment of the present application, a kind of file editing method applied on server is additionally provided, referring to fig. 4 institute Show, this document edit methods and above-mentioned client determine the whether identical reality of the CurrentTagValue of initial markers value and target position It is corresponding to apply mode 1, comprising:
S401: the first access request that client is sent is received, and returns to file to be processed and initial markers to client Value.
In the embodiment of the present application, when file to be processed is that server receives the first access request, target location File;The position to access is requested by the first access request in target position.
S402: when receiving the initial markers value of client transmission, the current of initial markers value and target position is determined Whether mark value is identical, and returns to definitive result to client.
In the embodiment of the present application, initial markers value can be carried in message in the form of request message and be sent out by client Server is given, server carries out the CurrentTagValue of the initial markers value and target location after receiving the request message Compare, and comparison result (i.e. definitive result) is returned into client.
S403: in the file to be saved for receiving client transmission, and definitive result is initial markers value and current markers When being worth identical, by the current file at file coverage goal to be saved position.
In the embodiment of the present application, if the definitive result that client receives is initial markers value and CurrentTagValue phase Together, then file to be saved can be sent to server by client, and server can be by working as at file coverage goal to be saved position Preceding document realizes the preservation of file.
In a kind of embodiments possible of the embodiment of the present application, however, it is determined that result is initial markers value and CurrentTagValue Not identical, then the CurrentTagValue of target location and current file can be sent to client by server, for client Be compared display, compare display process before it has been described that, therefore details are not described herein.Server can also respond at this time In the request of client, send in current file, editor's author information of the content different from file to be saved to client into Row display.It should be noted that the mode how server gets editor's author information has carried out in content before Description, then this also repeats no more.
In another embodiments possible of the embodiment of the present application, server can also be by the current mark of target location Note value is sent to client, and obtains the file to be saved of the client, and current file and file to be saved are compared, Difference content between current file and file to be saved is sent to client, client can be directly based upon in difference at this time Appearance is shown.Server can also will distinguish the corresponding editor's author information of content and be sent to client at this time.
In the embodiment of the present application, a kind of file editing method applied on server is additionally provided, referring to Fig. 5 institute Show, this document edit methods are different from the scheme of above two file editing method, comprising:
S501: the first access request that client is sent is received;
S502: file to be processed is returned to client, and records the corresponding initial markers value of client;
Server can be based on the first access request, return to the text for the target location that the first access request is requested access to Part, this document are file to be processed.Meanwhile server can recorde when receiving the first access request, target location CurrentTagValue is the corresponding initial markers value of the client.In this application, client can be carried in the first access request Identification information (such as user information), consequently facilitating server record initial markers value.
S503: when receiving the file to be saved of client transmission, the current of initial markers value and target position is determined Whether mark value is identical;
S504: when initial markers value is identical as the CurrentTagValue of target position, by file coverage goal to be saved position Set the current file at place.
When initial markers value is identical as the CurrentTagValue of target position, that is, show receiving client transmission Before file to be saved, the file of target location do not have it is modified, therefore can will be at file coverage goal to be saved position Current file, realize the preservation of file.After being saved file, server can distribute a mark again for this document CurrentTagValue of the note value as target location, as a cryptographic Hash can be calculated in server according to the content of current file As mark value.
Similarly, in the embodiment of the present application, however, it is determined that result is that initial markers value is not identical as CurrentTagValue, then services The CurrentTagValue of target location and current file can be sent to client by device, so that client is compared display. In addition, server may also respond to the request of client, send in current file, the volume of the content different from file to be saved Author information is collected to be shown to client.Alternatively, the CurrentTagValue of target location can also be sent to visitor by server Family end, and the file to be saved of client is obtained, current file and file to be saved are compared, by current file and wait protect The difference content deposited between file is sent to client, is shown that server is also so that client is directly based upon difference content It can will distinguish the corresponding editor's author information of content and be sent to client.
Especially, it should be noted that two kinds of Document Editing sides being applied on server provided by the embodiment of the present application In method, server is when receiving the first access request of client transmission, further includes:
Using the time for receiving the first access request as access time, it is recorded in the user information correlation of client pre- If online user's list in, and calculate the time difference of current time and access time, be greater than preset time difference threshold in the time difference When value, the user information of client is deleted from online user's list.
In addition, in the embodiment of the present application, client exits before the access to server after user logs in, can be with The second access request is regularly sent to server according to Fixed Time Interval.Server is asked in the second access for receiving client When asking, access time is updated to receive the time of the second access request, and returns to online user's list to client.It needs Illustrate, the transmission time interval of the second access request and preset time difference threshold value should be one in the embodiment of the present application A lesser value, if transmission time interval is 10 seconds, preset time difference threshold value is 1 minute etc., so that passing through current time Relatively rapid offline user (can be exited compared between the time difference of access time and preset time difference threshold value To the user of the access of server) it is deleted from online user's list, to guarantee the accuracy of online user's list.It is specific Value can be set according to actual needs by engineer, and the embodiment of the present application is without limitation.
It should be understood that in the embodiment of the present application, the first access request is that client needs to request access to server In a certain position file when the request that is issued, the second access request is that the client timing tell the server client also exists The access request of line can be used for online user's list of target position in request server.
In conclusion file editing method provided by the embodiments of the present application, client is when requesting access to file, server The file to be processed requested access to and the corresponding mark value of the file to be processed can be returned simultaneously.To file to be processed Editor finishes when being saved, and client can determine whether the current markers of initial markers value with the target location requested access to Whether identical it is worth, if identical, showing the file of target location, no change has taken place, and server uses text to be saved again at this time Current file at part coverage goal position.In this way, no matter how many user, it is only necessary to editing files can be realized on the client Same file is edited.In addition, need initial markers value identical as CurrentTagValue when realizing the preservation of file, File was not saved by first other users when preservation, not will cause the loss of file data, high reliablity after preservation.
Embodiment two:
The present embodiment on the basis of example 1, by taking three kinds of more specific file editing process as an example, does for the application Further illustration.
Example 1, it is shown in Figure 6, comprising:
Step 1: client sends the first access request to server;
Step 2: server is given based on the cryptographic Hash of file and this document that the first access request returns to target location Client;
In the embodiment of the present application, can be by hash function by one cryptographic Hash of file content boil down to, it should with mark File.
Step 3: the cryptographic Hash saved in client is sent to service when receiving file preservation instruction by client Device;
It should be noted that the cryptographic Hash saved in client is the cryptographic Hash sent before server.
Step 4: server compares the cryptographic Hash of the cryptographic Hash that client is sent and the current file of target location;
It should be noted that server can all be breathed out when saving file every time according to the content of the file saved Uncommon value re-generates.In this example, such as user one and user two simultaneously edit the file one of target position, Yong Huyi The cryptographic Hash got with user two is Hash1.Assuming that user one takes the lead in saving file, target location in server at this time File one change, cryptographic Hash is updated to Hash2, at this time user two edit file one remember in the client of user two The cryptographic Hash of record does not update, is still Hash1, and when user two saves, server can obtain the knot of Hash1 ≠ Hash2 when comparing Fruit is the step of triggering step S607-S608 at this time.
Step 5: when definitive result is that two cryptographic Hash are identical, file to be saved is sent to server by client;
Step 6: server saves the file to be saved and regenerates cryptographic Hash.
Step 7: definitive result be two cryptographic Hash it is not identical when, server send target location current file, when The cryptographic Hash of preceding document and editor's author information of current file;
Step 8: client updates the cryptographic Hash that it is saved for recently received cryptographic Hash, and text more to be saved Part and current file, in the file to be saved place different from current file content in the following, display current file content and Editor's author information of the content.
In addition, client can prompt the user whether to cover current file using file to be saved, if selection covering, takes Disappear and show the content of current file, and modifying editor's author information is active user;If selection does not cover, current file is shown And editor's author information of current file.In the embodiment of the present application, if selection covering, can be defaulted as user and issue guarantor Instruction is deposited, step 3 is gone to.Preservation instruction has been issued when it is of course also possible to which default choice not covering, but has only been executed aforementioned Display operation.
Example 2: shown in Figure 7, comprising:
Step 1: client sends the first access request to server;
Step 2: server is given based on the cryptographic Hash of file and this document that the first access request returns to target location Client;
Step 3: client sends the newest cryptographic Hash of target position to server when receiving file preservation instruction Acquisition request;
Step 4: the newest cryptographic Hash of server return target position;
Step 5: whether client compares two cryptographic Hash identical;
Step 6: when definitive result is that two cryptographic Hash are identical, file to be saved is sent to server by client;
Step 7: server saves the file to be saved and regenerates cryptographic Hash.
Step 8: when definitive result is that two cryptographic Hash are not identical, user end to server, which is sent, obtains target location Current file and current file editor author information request;
Step 9: server returns to the current file of target location and editor's author information of current file;
Step 10: client updates the cryptographic Hash that it is saved for recently received cryptographic Hash, and text more to be saved Part and current file, in the file to be saved place different from current file content in the following, display current file content and Editor's author information of the content.
Similarly, client can prompt the user whether to cover current file using file to be saved, if selection covering, takes Disappear and show the content of current file, and modifying editor's author information is active user;If selection does not cover, current file is shown And editor's author information of current file.In the embodiment of the present application, if selection covering, can be defaulted as user and issue guarantor Instruction is deposited, step 3 is gone to.
Example 3: shown in Figure 8, comprising:
Step 1: client sends the first access request to server;
Step 2: file of the server based on the first access request return target location records this article to client The cryptographic Hash of part is the cryptographic Hash of the client;
Step 3: file to be saved is sent to server when receiving file preservation instruction by client;
Step 4: server compare the client of record cryptographic Hash and target position newest cryptographic Hash whether phase Together;
Step 5: it when definitive result is that two cryptographic Hash are identical, saves the file to be saved and regenerates cryptographic Hash.
Step 6: definitive result be two cryptographic Hash it is not identical when, server send target location current file and Editor's author information of current file;
Step 7: client updates the cryptographic Hash that it is saved for recently received cryptographic Hash, and text more to be saved Part and current file, in the file to be saved place different from current file content in the following, display current file content and Editor's author information of the content.
Similarly, client can prompt the user whether to cover current file using file to be saved, if selection covering, takes Disappear and show the content of current file, and modifying editor's author information is active user;If selection does not cover, current file is shown And editor's author information of current file.In the embodiment of the present application, if selection covering, can be defaulted as user and issue guarantor Instruction is deposited, step 3 is gone to.
Furthermore especially, it should be noted that, shown in Figure 9 in the embodiment of the present application, client is accessed in transmission first After request, server can recorde the time for receiving the first access request, and using the time as access time and the client The user information correlation at end is stored in online user's list.Hereafter client was sent once at interval of n seconds from trend server Second access request, server returns to online user's list, while access time being updated to receive the second access request Time.In addition, server calculates the time difference of current time and access time in real time, and it is carried out with preset time difference threshold value Compare, when the time difference of current time and access time being more than preset time difference threshold value, by access time and its corresponding User information is deleted from online user's list.
Above scheme through this embodiment can preferably meet multi-user to editor's need of the file at same position It asks.
Embodiment three
Shown in Figure 10, Figure 10 is a kind of document edit device applied in client provided by the embodiments of the present application Fundamental block diagram, document edit device 10 includes: the first sending module 101, the first receiving module 102 and first processing module 103;
First sending module 101 is used to send the first access request to server;
First receiving module 102 is used to receive file to be processed and initial markers value that server returns to target location;
It should be noted that target position is requested the position to access by the first access request in the embodiment of the present application It sets;Initial markers value is the corresponding mark value of file to be processed, for file to be processed described in uniquely tagged.Implement in the application In example, mark value is for tab file, such as initial markers value is for marking file to be processed.It is constant in file In the case where, corresponding mark value is also constant, therefore when two mark values are identical, i.e., it is believed that corresponding file is identical.
First receiving module 102 is also used to receive file and saves instruction;
First processing module 103 is for executing following functions step: receiving file preservation in the first receiving module 102 and refers to When enabling, determine whether the CurrentTagValue of initial markers value and target position is identical;In initial markers value and CurrentTagValue phase Meanwhile controlling the first sending module 101 and file to be saved is sent to server, so that server covers mesh with file to be saved Current file at cursor position.
It should be noted that in the embodiment of the present application, the CurrentTagValue of target position is current with target location The corresponding mark value of file (being denoted as current file hereinafter), be used for uniquely tagged current file.File to be saved, which refers to, to be treated The file that processing file obtains after being handled.It should also be noted that, file to be saved is sent in document edit device 10 To server, file to be saved can be replaced the file at file destination by server, and new mark is distributed for it by server Note value.
It should be noted that mark value can be using according to text in a kind of embodiments possible of the embodiment of the present application The cryptographic Hash that the content of part is calculated, such as initial markers value can be to be calculated according to the content of file to be processed Cryptographic Hash;And CurrentTagValue can be the cryptographic Hash being calculated according to the content of the current file of target location.? When mark value is using the cryptographic Hash being calculated according to the content of file, mark value can be made uniquely related to file content, A kind of specific file content necessarily corresponds to a unique cryptographic Hash, to further promote entire file saving process Reliability.
In the embodiment of the present application, first processing module 103 can at least determine initial mark by the following two kinds of programs Whether the CurrentTagValue of note value and target position is identical:
Embodiment 1: first processing module 103 can control the first sending module 101 and initial markers value be sent to clothes Business device, and control the first receiving module 102 and receive the CurrentTagValue to initial markers value and target position that server returns Comparison result, determine whether initial markers value and CurrentTagValue identical according to comparison result.
Embodiment 2: first processing module 103 can obtain the CurrentTagValue of target position from server, and will be to The initial markers value for saving file is compared with CurrentTagValue, so that it is determined that initial markers value and the CurrentTagValue are It is no identical.
In the embodiment of the present application, first processing module 103 is also used in judging result be initial markers value and current mark Note value is different, is to update CurrentTagValue, and obtain the current file of target location for initial markers value;And for that will work as Preceding document and the file to be saved are compared, and show the difference content between current file and file to be saved, and connecing When receiving file preservation instruction, determine whether the CurrentTagValue of updated initial markers value and target position is identical.
In the embodiment of the present application, judging result be initial markers value with CurrentTagValue difference when, client should Initial markers value is updated to CurrentTagValue, such as initial markers value is originally used for H1, and CurrentTagValue is H2, then client Initial markers value should be updated to H2 by H1 by end.
In the embodiment of the present application, first processing module 103 can be shown using file to be saved as constituent instruments, and In file to be saved, at the file to be saved position different from current file content, current file is shown according to preset rules Content at this location.In addition, first processing module 103 can also be shown by constituent instruments of current file, and In current file, at the current file position different from file content to be saved, show current file at this according to preset rules Content at position.In the embodiment of the present application, first processing module 103 can also obtain in current file from from server, Editor's author information of the content different from file to be saved, and then show in display the editor author of content at the position Information.
Especially, it should be noted that in the embodiment of the present application, the first sending module 101 is also used to send to server After first access request, second access request was sent to server at interval of n seconds.Server is receiving the second visit at this time After asking request, it can correspond to and return to current user information to the first receiving module 102.In the embodiment of the present application, active user Information is the information of the user currently to access to target position.
In the embodiment of the present application, a kind of document edit device 11 applied on server is additionally provided, referring to Figure 11 It is shown, including the second sending module 111, the second receiving module 112 and Second processing module 113;
Second receiving module 112 is used to receive the first access request of client transmission;
Second sending module 111 is used to return to file to be processed and initial markers value to client;
Wherein, file to be processed is the file of target location when receiving first access request;Initial markers value When to receive the first access request, the corresponding mark value of file to be processed;Target position by the first access request request into The position of row access.
Second receiving module 112 is also used to receive the initial markers value and file to be saved that client is sent;
Second processing module 113 is used for when the second receiving module 112 receives the initial markers value that client is sent, really Whether the CurrentTagValue for determining initial markers value and target position is identical, and controls the second sending module 111 and return to definitive result To client;
Second processing module 113 is also used to receive the file to be saved of client transmission in the second receiving module 112, and When definitive result is that initial markers value is identical as CurrentTagValue, by the current file at file coverage goal to be saved position.
In the embodiment of the present application, Second processing module 113 is also used in definitive result be initial markers value and target position When the CurrentTagValue set is not identical, the second sending module 111 is controlled by the CurrentTagValue and current file of target location It is sent to client;Or, Second processing module 113 is also used in the current mark that definitive result is initial markers value and target position When note value is not identical, the CurrentTagValue of target location is sent to client by the second sending module 111 of control, and controls the Two receiving modules 112 obtain the file to be saved of client, and for current file and file to be saved to be compared, will Difference content between current file and file to be saved is sent to client.
In the embodiment of the present application, the first access request may include the user information of client;Second processing module 113 It can be also used for that the first access will be received when the second receiving module 112 receives the first access request of client transmission The time of request as access time, is recorded in preset online user's list with the user information correlation of client;And The time difference that can be used for calculating current time and access time is used when the time difference being greater than preset time difference threshold value from online The user information of client is deleted in the list of family.
In addition, Second processing module 113 can be also used for receiving the second access of client in the second receiving module 112 When request, access time is updated to receive the time of the second access request, and control the second sending module 111 and return online User list is to client.
In the embodiment of the present application, a kind of document edit device 12 applied on server is additionally provided, referring to Figure 12 It is shown, including third sending module 121, third receiving module 122 and third processing module 123;
Third receiving module 122 is used to receive the first access request and file to be saved that client is sent;
Third sending module 121 is used to return to file to be processed to client;
Third processing module 123 is for recording the corresponding initial markers value of client;
Third processing module 123 is also used to when third receiving module 122 receives the file to be saved of client transmission, Determine whether the CurrentTagValue of initial markers value and target position is identical;In the current markers of initial markers value and target position When being worth identical, by the current file at file coverage goal to be saved position.
In the embodiment of the present application, third processing module 123 is also used to the current mark in initial markers value and target position When note value is not identical, the corresponding initial markers value of client is updated to the CurrentTagValue of target position, and controls third hair Send module 121 that the current file of target location is sent to client;Or, third processing module 123 is also used to initially marking When the CurrentTagValue of note value and target position is not identical, the corresponding initial markers value of client is updated to working as target position Preceding mark value, and current file and file to be saved are compared, third sending module 121 is controlled by current file and wait protect The difference content deposited between file is sent to client.
In the embodiment of the present application, the first access request may include the user information of client;Third processing module 123 It can be also used for that the first access will be received when third receiving module 122 receives the first access request of client transmission The time of request as access time, is recorded in preset online user's list with the user information correlation of client;And The time difference that can be used for calculating current time and access time is used when the time difference being greater than preset time difference threshold value from online The user information of client is deleted in the list of family.
In addition, third processing module 123 can be also used for receiving the second access of client in third receiving module 122 When request, access time is updated to receive the time of the second access request, and controls third sending module 121 and return online User list is to client.
In the embodiment of the present application, a kind of document-editing system is additionally provided, it is shown in Figure 13, including 1 He of client Server 2.
Client is used to send the first access request to server, and receives server and return to the to be processed of target location File and initial markers value;And for when receiving file and saving instruction, initial markers value to be sent to server, and When the definitive result for receiving server return is that initial markers value is identical as the CurrentTagValue of target position, by text to be saved Part is sent to server;
Server is used to receive the first access request of client transmission, and to client return target location wait locate Manage file and initial markers value;And for when receiving the initial markers value that client is sent, determine initial markers value with Whether the CurrentTagValue of target position identical, and returns to definitive result to client, and receive client transmission to When saving file, by the current file at file coverage goal to be saved position.
In conclusion the embodiment of the present application provides a kind of document edit device, system, client is requesting access to file When, server can return to the file to be processed requested access to and the corresponding mark value of the file to be processed simultaneously.Right Document Editing to be processed finishes when being saved, and client can determine whether initial markers value and the target location that requests access to CurrentTagValue it is whether identical, if identical, showing the file of target location, no change has taken place, and server is again at this time With the current file at file coverage goal to be saved position.In this way, no matter how many user, it is only necessary on the client editor text Part, which can be realized, edits same file.In addition, needing initial markers value and current markers when realizing the preservation of file It is worth identical, file was not saved by first other users when stored, it not will cause the loss of file data after preservation, High reliablity.
Example IV
Present embodiments provide a kind of client, it is shown in Figure 14 comprising processor 1401, memory 1402 and Communication bus 1403.Wherein:
Communication bus 1403 is for realizing the connection communication between processor 1401 and memory 1402.
Processor 1401 is for executing the first program of one or more stored in memory 1402, to realize above-mentioned implementation It is applied to each step of the file editing method in client in example one and/or embodiment two.
It is appreciated that structure shown in Figure 14 is only to illustrate, client may also include than shown in Figure 14 more or more Few component, or with the configuration different from shown in Figure 14.
Present embodiments provide a kind of server, it is shown in Figure 15 comprising processor 1501, memory 1502 and Communication bus 1503.Wherein:
Communication bus 1503 is for realizing the connection communication between processor 1501 and memory 1502.
Processor 1501 is for executing the second program of one or more stored in memory 1502, to realize above-mentioned implementation The first in example one and/or embodiment two is applied to each step of the file editing method on server;Or processor 1501 is used In executing the one or more third programs stored in memory 1502, to realize in above-described embodiment one and/or embodiment two Each step of second of file editing method being applied on server.
It is appreciated that structure shown in figure 15 is only to illustrate, server may also include than shown in Figure 15 more or more Few component, or with the configuration different from shown in Figure 15.
The present embodiment additionally provides a kind of computer readable storage medium, such as floppy disk, CD, hard disk, flash memory, USB flash disk, CF Card, SD card, mmc card etc. are stored with one or more for realizing above-mentioned each step in the computer readable storage medium Program, this one or more program can be executed by one or more processor, to realize above-mentioned first embodiment and/or Each step of file editing method in two embodiments.Details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the application, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part of the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that function marked in the box can also be to be different from some implementations as replacement The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes It can execute in the opposite order, this depends on the function involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use the dedicated base for executing defined function or movement It realizes, or can realize using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each functional module in each embodiment of the application can integrate one independent portion of formation together Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The above description is only an example of the present application, the protection scope being not intended to limit this application, for ability For the technical staff in domain, various changes and changes are possible in this application.Within the spirit and principles of this application, made Any modification, equivalent substitution, improvement and etc. should be included within the scope of protection of this application.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Those familiar with the art within the technical scope of the present application, can easily think of the change or the replacement, and should all contain Lid is within the scope of protection of this application.Therefore, the protection scope of the application shall be subject to the protection scope of the claim.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.

Claims (31)

1. a kind of file editing method, which is characterized in that be applied in client, comprising:
The first access request is sent to server, and receives the server and returns to the file to be processed of target location and initial Mark value;The position that the target position is requested access to by first access request;The initial markers value is for unique Mark the file to be processed;
When receiving file preservation instruction, the current mark of the current file of the initial markers value and the target position is determined Whether note value is identical;Wherein, the CurrentTagValue is for current file described in uniquely tagged;
When the initial markers value is identical as the CurrentTagValue, file to be saved is sent to the server, so that The server covers the current file of the target location with the file to be saved;The file to be saved is to described The file that file to be processed obtains after being handled.
2. file editing method as described in claim 1, which is characterized in that the determination initial markers value and the mesh After whether the CurrentTagValue of cursor position is identical, further includes:
When the initial markers value is with the CurrentTagValue difference, using the CurrentTagValue as new initial markers Value, and obtain the current file of the target location;
The current file and the file to be saved are compared, show the current file and the file to be saved it Between difference content;
When receiving file preservation instruction, determine that the CurrentTagValue of the new initial markers value and the target position is It is no identical;
When the new initial markers value is identical as the CurrentTagValue, file to be saved is sent to the server, So that the server covers the current file of the target location with the file to be saved.
3. file editing method as claimed in claim 2, which is characterized in that show the current file and the text to be saved Difference content between part includes:
Completely show the file to be saved, and on the interface of the file to be saved, the file to be saved with it is described At the different position of current file content, the content of the current file at this location is shown according to preset rules.
4. file editing method as claimed in claim 3, which is characterized in that the file editing method further include: obtain institute It states in current file, editor's author information of the content different from the file to be saved;
It is described when showing the content of the current file at this location according to preset rules, further includes: to show at the position Editor's author information of content.
5. file editing method as described in claim 1, which is characterized in that
The initial markers value is the cryptographic Hash being calculated according to the content of the file to be processed;
The CurrentTagValue is the cryptographic Hash being calculated according to the content of the current file of the target location.
6. file editing method as described in claim 1, which is characterized in that send the first access request to server described Afterwards, further includes:
Second access request was sent to the server at interval of n seconds;Second access request is used for from the service Current user information is requested in device;The current user information is the letter of the user currently to access to the target position Breath;The n is positive integer;
Receive and show the current user information that the server returns.
7. file editing method as claimed in any one of claims 1 to 6, which is characterized in that the determination initial markers value It is whether identical as the CurrentTagValue of the target position to include:
The initial markers value is sent to the server, and receive that the server returns to the initial markers value and The comparison result of the CurrentTagValue of the target position determines the initial markers value according to the comparison result and described works as Whether preceding mark value is identical;
Or,
Obtain the CurrentTagValue of the target position from the server, and by the initial markers value of the file to be saved with The CurrentTagValue is compared, and determines whether the initial markers value and the CurrentTagValue are identical.
8. a kind of file editing method, which is characterized in that be applied on server, comprising:
The first access request that client is sent is received, and returns to file to be processed and initial markers value to the client;Institute Stating file to be processed is the file of target location when receiving first access request;The initial markers value is to receive Mark value when to first access request, in the server for file to be processed described in uniquely tagged;The target The position that position is requested access to by first access request;
When receiving the initial markers value that client is sent, working as the initial markers value and the target position is determined Whether the CurrentTagValue of preceding document is identical, and returns to definitive result to the client;The CurrentTagValue is for unique Mark the current file;
In the file to be saved for receiving the client transmission, and the definitive result is that the initial markers value is worked as with described When preceding mark value is identical, the file to be saved is covered to the current file of the target location.
9. file editing method as claimed in claim 8, which is characterized in that the definitive result be the initial markers value When not identical as the CurrentTagValue of the target position, the file editing method further include:
The CurrentTagValue of the target location and current file are sent to the client;
Or, the CurrentTagValue of the target location is sent to the client, and obtain the to be saved of the client The current file and the file to be saved are compared file, by the current file and the file to be saved it Between difference content be sent to the client.
10. file editing method as claimed in claim 9, which is characterized in that described by the current file and described wait protect When depositing the difference content between file and being sent to the client, further includes:
The corresponding editor's author information of the difference content prestored is sent to the client.
11. such as the described in any item file editing methods of claim 8-10, which is characterized in that first access request includes The user information of the client;
In the first access request that the reception client is sent, further includes:
Using the time for receiving first access request as access time, recorded with the user information correlation of the client In preset online user's list;
The time difference for calculating current time and the access time, when the time difference being greater than preset time difference threshold value, from institute State the user information that the client is deleted in online user's list.
12. file editing method as claimed in claim 11, which is characterized in that further include:
When receiving the second access request of the client, the access time is updated to receive second access The time of request, and online user's list is returned to the client.
13. a kind of file editing method, which is characterized in that be applied on server, comprising:
Receive the first access request that client is sent;
File to be processed is returned to the client, and records the corresponding initial markers value of the client;The text to be processed Part is the file of target location when receiving first access request;The corresponding initial markers value of the client is to connect Mark value when receiving first access request, in the server for file to be processed described in uniquely tagged;The mesh Mark is set to the position that first access request is requested access to;
When receiving the file to be saved that the client is sent, working as the initial markers value and the target position is determined Whether preceding mark value is identical;The CurrentTagValue is for current file described in uniquely tagged;
It, will be described in the file covering to be saved when the initial markers value is identical as the CurrentTagValue of the target position The current file of target location.
14. file editing method as claimed in claim 13, which is characterized in that in the initial markers value and the target position When the CurrentTagValue set is not identical, further includes:
Using the CurrentTagValue as new initial markers value, and the current file of the target location is sent to described Client;
Or, using the CurrentTagValue as new initial markers value, and by the current file and the file to be saved into Row compares, and the difference content between the current file and the file to be saved is sent to the client.
15. file editing method as claimed in claim 14, which is characterized in that described by the current file and described wait protect When depositing the difference content between file and being sent to the client, further includes:
The corresponding editor's author information of the difference content prestored is sent to the client.
16. such as the described in any item file editing methods of claim 13-15, which is characterized in that the first access request packet User information containing the client;
In the first access request that the reception client is sent, further includes:
Using the time for receiving first access request as access time, recorded with the user information correlation of the client In preset online user's list;
The time difference for calculating current time and the access time, when the time difference being greater than preset time difference threshold value, from institute State the user information that the client is deleted in online user's list.
17. file editing method as claimed in claim 16, which is characterized in that further include:
When receiving the second access request of the client, the access time is updated to receive second access The time of request, and online user's list is returned to the client.
18. a kind of document edit device, which is characterized in that be applied in client, including the first sending module, the first reception mould Block and first processing module;
First sending module is used to send the first access request to server;
First receiving module is used to receive file to be processed and initial markers value that the server returns to target location; The position that the target position is requested access to by first access request;The initial markers value is for described in uniquely tagged File to be processed;
First receiving module is also used to receive file and saves instruction;
The first processing module is for executing following functions step:
When first receiving module receives file and saves instruction, the initial markers value and the target position are determined Whether CurrentTagValue is identical;
When the initial markers value is identical as the CurrentTagValue, controls first sending module and send out file to be saved It send to the server, so that the server covers the current file of the target location with the file to be saved;Institute Stating file to be saved is the file obtained after handling the file to be processed;The CurrentTagValue is used for uniquely tagged The current file.
19. document edit device as claimed in claim 18, which is characterized in that the first processing module is also used to described Initial markers value is different with the CurrentTagValue, using the CurrentTagValue as new initial markers value, and described in acquisition The current file of target location;And for the current file and the file to be saved to be compared, described in display Difference content between current file and the file to be saved, and when receiving file and saving instruction determines described new Whether initial markers value is identical as the CurrentTagValue of the target position;In the new initial markers value and the current mark When note value is identical, file to be saved is sent to the server, so that the server covers institute with the file to be saved State the current file of target location.
20. document edit device as claimed in claim 18, which is characterized in that first sending module is also used to described After sending the first access request to server, second access request was sent to the server at interval of n seconds;Described second Access request is for requesting current user information from the server;The current user information is currently to the target position Set the information of the user to access;The n is positive integer;
First receiving module is also used to receive and show the current user information that the server returns.
21. such as the described in any item document edit devices of claim 18-20, which is characterized in that the first processing module is true Whether the initial markers value is identical as the CurrentTagValue of the target position calmly specifically includes:
The first processing module controls first sending module and the initial markers value is sent to the server, and controls It makes first receiving module and receives the current mark to the initial markers value and the target position that the server returns The comparison result of note value, and determine whether the initial markers value and the CurrentTagValue are identical according to the comparison result;
Or,
The first processing module obtains the CurrentTagValue of the target position from the server, and by the text to be saved The initial markers value of part is compared with the CurrentTagValue, determines whether are the initial markers value and the CurrentTagValue It is identical.
22. a kind of document edit device, which is characterized in that be applied on server, including the second sending module, the second reception mould Block and Second processing module;
Second receiving module is used to receive the first access request of client transmission;
Second sending module is used to return to file to be processed and initial markers value to the client;The file to be processed When to receive first access request, the file of target location;The initial markers value is to receive described first to visit Mark value when asking request, in the server for file to be processed described in uniquely tagged;The target position is described the The position that one access request is requested access to;
Second receiving module is also used to receive the initial markers value and file to be saved that the client is sent;
The Second processing module is used for when second receiving module receives the initial markers value that client is sent, It is whether identical as the CurrentTagValue of the current file of the target position to determine the initial markers value, and controls described second Sending module returns to definitive result to the client;The CurrentTagValue is for current file described in uniquely tagged;
The Second processing module is also used to receive the file to be saved that the client is sent in second receiving module, And the definitive result is when being that the initial markers value is identical with the CurrentTagValue, it will be described in the file to be saved covers The current file of target location.
23. document edit device as claimed in claim 22, which is characterized in that
The Second processing module is also used in the definitive result be the current of the initial markers value and the target position When mark value is not identical, controls second sending module and send the CurrentTagValue of the target location and current file To the client;
Or, the Second processing module is also used in the definitive result be working as the initial markers value and the target position When preceding mark value is not identical, second sending module is controlled by the CurrentTagValue of the target location and is sent to the visitor Family end, and the file to be saved that second receiving module obtains the client is controlled, and be used for the current file It is compared with the file to be saved, the difference content between the current file and the file to be saved is sent to institute State client.
24. the document edit device as described in claim 22 or 23, which is characterized in that first access request includes described The user information of client;
The Second processing module is also used to when second receiving module receives the first access request of client transmission, Using the time for receiving first access request as access time, it is recorded in the user information correlation of the client pre- If online user's list in;And the time difference for calculating current time Yu the access time, it is big in the time difference When preset time difference threshold value, the user information of the client is deleted from online user's list.
25. document edit device as claimed in claim 24, which is characterized in that further include:
The Second processing module is also used to when second receiving module receives the second access request of the client, The access time is updated to receive the time of second access request, and controls second sending module and returns to institute Online user's list is stated to the client.
26. a kind of document edit device, which is characterized in that be applied on server, including third sending module, third receive mould Block and third processing module;
The third receiving module is used to receive the first access request and file to be saved that client is sent;
The third sending module is used to return to file to be processed to the client;
The third processing module is for recording the corresponding initial markers value of the client;The file to be processed is to receive When first access request, the file of target location;The corresponding initial markers value of the client is to receive described the Mark value when one access request, in the server for file to be processed described in uniquely tagged;The target position is institute State the position that the first access request is requested access to;
The third processing module is also used to receive the file to be saved that the client is sent in the third receiving module When, determine whether the initial markers value is identical as the CurrentTagValue of the target position;In the initial markers value and institute State target position CurrentTagValue it is identical when, the file to be saved is covered to the current file of the target location;Institute CurrentTagValue is stated for current file described in uniquely tagged.
27. document edit device as claimed in claim 26, which is characterized in that
The third processing module is also used to when the CurrentTagValue of the initial markers value Yu the target position is not identical, Using the CurrentTagValue as new initial markers value, and control third sending module the working as the target location Preceding document is sent to the client;
Or, the third processing module be also used to it is not identical as the CurrentTagValue of the target position in the initial markers value When, using the CurrentTagValue as new initial markers value, and the current file and the file to be saved are compared It is right, control the third sending module difference content between the current file and the file to be saved is sent to it is described Client.
28. a kind of document-editing system characterized by comprising client and server;
The client is used to send the first access request to the server, and receives the server and return to target location File to be processed and initial markers value;And for when receiving file preservation instruction, the initial markers value to be sent To the server, and receiving, the definitive result that the server returns is initial markers value and the target position is worked as When preceding mark value is identical, file to be saved is sent to the server;
The server returns to the target for receiving the first access request that the client is sent, and to the client File to be processed and initial markers value at position;And in the initial markers value for receiving the client and sending When, it is whether identical as the CurrentTagValue of the target position to determine the initial markers value, and return to definitive result to described Client, and when receiving the file to be saved that the client is sent, the file to be saved is covered into the target position Set the current file at place;
The file to be saved is the file obtained after handling the file to be processed;The initial markers value is for only The one label file to be processed;The CurrentTagValue is for current file described in uniquely tagged.
29. a kind of client characterized by comprising processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor is for executing one or more first program stored in memory, to realize such as claim 1 to 7 Any one of described in file editing method the step of.
30. a kind of server characterized by comprising processor, memory and communication bus;
The communication bus is for realizing the connection communication between processor and memory;
The processor for executing one or more second program stored in memory, with realize as claim 8 to The step of file editing method described in any one of 12;
Or, the processor is used to execute one or more third program stored in memory, to realize such as claim The step of file editing method described in any one of 13 to 17.
31. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 7 Any one of described in file editing method the step of, or realize Document Editing as described in any one of claim 8 to 12 The step of method, the step of realizing file editing method as described in any one of claim 13 to 17.
CN201910392119.0A 2019-05-09 2019-05-09 File editing method, device, system, client, server and storage medium Active CN110110301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910392119.0A CN110110301B (en) 2019-05-09 2019-05-09 File editing method, device, system, client, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910392119.0A CN110110301B (en) 2019-05-09 2019-05-09 File editing method, device, system, client, server and storage medium

Publications (2)

Publication Number Publication Date
CN110110301A true CN110110301A (en) 2019-08-09
CN110110301B CN110110301B (en) 2023-08-01

Family

ID=67489554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910392119.0A Active CN110110301B (en) 2019-05-09 2019-05-09 File editing method, device, system, client, server and storage medium

Country Status (1)

Country Link
CN (1) CN110110301B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111367898A (en) * 2020-02-20 2020-07-03 北京金山云网络技术有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111626618A (en) * 2020-05-27 2020-09-04 北京金山云网络技术有限公司 Job flow file saving method and device and electronic equipment
CN112632016A (en) * 2019-09-24 2021-04-09 腾讯科技(深圳)有限公司 File editing method and device
CN112784544A (en) * 2020-06-08 2021-05-11 北京金山办公软件股份有限公司 Method and device for canceling document content saving and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140732A1 (en) * 2006-12-11 2008-06-12 Bentley System, Inc. Method and system for sharing file based data
CN102541941A (en) * 2010-12-31 2012-07-04 上海可鲁系统软件有限公司 Version management control method for multiple parties to co-operate file
CN103020026A (en) * 2012-11-15 2013-04-03 无锡永中软件有限公司 Synergistic file processing system and method
CN104717246A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 File network sharing methods, terminal and server
CN109284630A (en) * 2018-09-21 2019-01-29 深圳市九洲电器有限公司 File editing method and system, agent node
CN109710909A (en) * 2018-12-29 2019-05-03 腾讯科技(深圳)有限公司 Content acquisition method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140732A1 (en) * 2006-12-11 2008-06-12 Bentley System, Inc. Method and system for sharing file based data
CN102541941A (en) * 2010-12-31 2012-07-04 上海可鲁系统软件有限公司 Version management control method for multiple parties to co-operate file
CN103020026A (en) * 2012-11-15 2013-04-03 无锡永中软件有限公司 Synergistic file processing system and method
CN104717246A (en) * 2013-12-12 2015-06-17 鸿合科技有限公司 File network sharing methods, terminal and server
CN109284630A (en) * 2018-09-21 2019-01-29 深圳市九洲电器有限公司 File editing method and system, agent node
CN109710909A (en) * 2018-12-29 2019-05-03 腾讯科技(深圳)有限公司 Content acquisition method, device, terminal and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李飞 等: "《信息安全理论与技术》", 31 March 2016, 西安电子科技大学出版社 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112632016A (en) * 2019-09-24 2021-04-09 腾讯科技(深圳)有限公司 File editing method and device
CN111367898A (en) * 2020-02-20 2020-07-03 北京金山云网络技术有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111367898B (en) * 2020-02-20 2023-09-22 北京金山云网络技术有限公司 Data processing method, device, system, electronic equipment and storage medium
CN111626618A (en) * 2020-05-27 2020-09-04 北京金山云网络技术有限公司 Job flow file saving method and device and electronic equipment
CN112784544A (en) * 2020-06-08 2021-05-11 北京金山办公软件股份有限公司 Method and device for canceling document content saving and electronic equipment

Also Published As

Publication number Publication date
CN110110301B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
CN110110301A (en) File editing method, device, system, client, server and storage medium
CN104537076B (en) A kind of file read/write method and device
US20110258526A1 (en) Web content annotation management web browser plug-in
US11531965B2 (en) Collaboration platform for facilitating conversations between users
CN110086704A (en) A kind of synchronous method and system of instant messaging unread message
CN110442458A (en) Scaling calculates cluster
CN107527186B (en) Electronic reading management method and device and terminal equipment
WO2020000675A1 (en) Method and device for publishing game resource package, terminal device and medium
WO2004084003A3 (en) System for accessing patient information
CN107577420A (en) Document handling method and device, server
CN107770229A (en) High in the clouds sharing files method, system and Cloud Server
CN111090620B (en) File storage method, device, equipment and readable storage medium
US20130166492A1 (en) Digital Rights Management Using a Digital Agent
CN112036125B (en) Document management method and device and computer equipment
CN106453420A (en) Request processing device and method and terminal
CN107203372A (en) Control shows method and device
US20160345184A1 (en) Signal strength bookmarking for media content
CN110457610A (en) Information recommendation method, device, terminal, server and storage medium
CN107547360A (en) The implementation method and device that content is shared
CN108234551A (en) A kind of data processing method and device
US8751585B2 (en) Electronic message handling method based on a message system client and system to implement the method
CN105069081B (en) Shared resource access method and device
CN109885555B (en) User information management method and device
CN110222063A (en) It is related to the Knowledge Sharing data query method and its equipment of block chain
CN104933179B (en) User data processing method, server 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
GR01 Patent grant
GR01 Patent grant