Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 invention provides a method, server and client for sharing file contents. The method is applied to a service side, and comprises the following steps: receiving an update request transmitted by the client for partial file contents specified in a shared file conserved in the server; judging whether the client has a write permission for the partial file contents specified in the shared file; if the judging result is that the client has the write permission, then transmitting a response message which allows the client to update the specified partial file contents to the client; and receiving and conserving updated specified partial file contents transmitted by the client. According to the scheme of the invention, the shared file is divided into a plurality of file sections to be stored, locked and unlocked, and a read-write operation of a file segment level can be realized; besides, under the condition that multiple clients modify different file contents, all clients can be guaranteed to operate files synchronously, and when one client modifies one file section content, other clients cannot modify synchronously.

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products