Method, server and client for sharing file contents

A technology for sharing files and servers, applied in the field of communication, can solve problems such as conflicts, multiple clients cannot modify the same shared file at the same time, etc.

Inactive Publication Date: 2016-06-15
CHINA MOBILE COMM GRP CO LTD
View PDF7 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the present invention is to provide a method for sharing file content, a server and a client, to realize that multiple clients can share and edit files at the same time, and to solve the problem that multiple clients cannot modify the same shared file at the same time, or modify Conflict issues caused by the same shared file

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, server and client for sharing file contents
  • Method, server and client for sharing file contents
  • Method, server and client for sharing file contents

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0048] The present invention provides a method for sharing file content, a server and a client, aiming at the conflict problem caused by the inability of multiple clients to modify the same file at the same time.

[0049] Such as figure 1 As shown, the embodiment of the present invention provides a method for sharing file content, which is applied on the server side, and the method includes:

[0050] Step S11: receiving an update request sent by the client for a specified part of the content of the shared file stored in the server;

[0051] In the embodiment of the present invention, the specified part of the file content can be the file content of the specified segment, or the file content of the specified line. Of course, it can be understood that the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The present invention provides a method for sharing file content, a server and a client, wherein the method is applied to the server side, including: receiving an update sent by the client to a specified part of the file content in the shared file stored in the server Request; determine whether the client has write permission to the specified part of the file content in the shared file; if the judgment result is that the client has write permission, then send to the client a response allowing the client to update the specified part of the file content Message; receive and save the updated specified part of the file content sent by the client. According to the solution of the present invention, the shared file is divided into multiple file segments for storage and unlocking, so as to realize file segment-level read and write operations. When multiple clients modify different file contents, it can ensure that all clients can Simultaneous operation of files can ensure that when one client modifies the content of a file segment, other clients cannot modify it at the same time.

Description

technical field [0001] The invention relates to the communication field, in particular to a method for sharing file content, a server and a client. Background technique [0002] The current version control systems are all C / S systems, and multiple developers record file versions through a central version control system, so as to achieve the purpose of ensuring file synchronization. In a traditional version control system, a developer checks out a file, modifies it, and checks it back in. The developer who checks out the file has the exclusive right to modify the file, other developers cannot check out the file, and only the developer who checked out the file can register. In this case, a developer needs to wait until another developer completes the modification and submits before continuing to work, which may take a long time. To solve this problem, the version control system added an unlimited checkout mode, where checking out a file does not give the developer exclusive ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
Inventor 王金金刘童桐
Owner CHINA MOBILE COMM GRP CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products