CN111866194B - Cloud remote cooperative office data protection system and method - Google Patents

Cloud remote cooperative office data protection system and method Download PDF

Info

Publication number
CN111866194B
CN111866194B CN202011014197.6A CN202011014197A CN111866194B CN 111866194 B CN111866194 B CN 111866194B CN 202011014197 A CN202011014197 A CN 202011014197A CN 111866194 B CN111866194 B CN 111866194B
Authority
CN
China
Prior art keywords
server
data
clients
client
updated
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.)
Active
Application number
CN202011014197.6A
Other languages
Chinese (zh)
Other versions
CN111866194A (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.)
Nanjing Baijin Information Technology Co Ltd
Original Assignee
Nanjing Baijin Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Baijin Information Technology Co Ltd filed Critical Nanjing Baijin Information Technology Co Ltd
Priority to CN202011014197.6A priority Critical patent/CN111866194B/en
Publication of CN111866194A publication Critical patent/CN111866194A/en
Application granted granted Critical
Publication of CN111866194B publication Critical patent/CN111866194B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a cloud remote cooperative office data protection system and method. The invention relates to the technical field of communication, and solves the problems that in the prior art, a plurality of computers cannot log in to work cooperatively at the same time, and single-point failure risks exist. The system comprises: the system comprises a server, an interconnection device and a plurality of clients. The client accesses the server in a C/S mode to share the resources of the server and realize cooperative office and data sharing at the server; the interconnection device can realize VPN one-key interconnection between the client and the server, store the information of the current online client, and sequence the clients according to the sequence of the time of accessing the client to the server from morning to evening. The server synchronizes data of the server to a plurality of clients every other preset time period, and when the server cannot provide service, starting from a first client accessing the server and on line in a polling mode, the plurality of clients are enabled to take over the role of the server in turn.

Description

Cloud remote cooperative office data protection system and method
Technical Field
The invention relates to the technical field of communication, in particular to a cloud remote cooperative office data protection system and method.
Background
At present, more and more companies adopt teleworking mode to accomplish some and need not to carry out the work of on-the-spot cooperation, and such official working form has broken through the restriction in region, lets the staff carry out the remote cooperation anytime and anywhere. There are two main forms of teleworking today:
the first mode is as follows: the plug-in is installed on two computers needing remote connection, remote access and cooperation of the two computers are achieved in a VPN mode, the mode belongs to the mode of C2C, the defects are that point-to-point connection can only be achieved, the simultaneous login and cooperative work of a plurality of computers cannot be achieved, and the simultaneous online visitor of the two computers is needed to achieve work cooperation.
The second mode is a C/S mode, and a plurality of people can simultaneously initiate a cooperation request to the server-side node and complete cooperation at the server-side node. However, this method has a risk of single point failure, that is, if the server fails, the office nodes distributed in various places cannot work together. In addition, multiple persons cooperate simultaneously, and the server is easy to have data inconsistency, for example, when a and B modify data simultaneously, the data read by C will have a jump phenomenon, which is: it is possible that C reads not the latest data because of network transmission.
Disclosure of Invention
The invention aims to provide a cloud-end remote cooperative office data protection system and method aiming at the defects, so as to solve the problems that the existing remote office cannot realize the simultaneous login cooperative work of a plurality of computers and has the risk of single-point failure.
In a first aspect, the present invention provides a cloud-based remote collaborative office data protection system, including: the system comprises a server, an interconnection device and a plurality of clients;
the client is used for accessing the server in a C/S mode, sharing resources of the server and realizing cooperative office and data sharing at the server;
the interconnection device is used for realizing VPN one-key interconnection between the client and the server; storing the information of the current online client, and sequencing the plurality of clients according to the sequence of the time of accessing the client to the server from morning to evening;
the server is used for synchronizing the data of the server to the plurality of clients at preset time intervals, and starting from a first client accessing the server and on line in a polling mode under the condition that the server cannot provide services, the plurality of clients are enabled to take over the role of the server in turn to take over the function of the server.
With reference to the first aspect, in a first implementable manner of the first aspect, the interconnection apparatus is further configured to store data updated by the client, and tag the unique identifier and the timestamp of the device with the data; after the data of the client is updated, transmitting the data to a server for updating;
the server is further configured to, when a plurality of pieces of data to be updated of the same data are received at the same time, only the data to be updated with the earliest timestamp is reserved according to the timestamp marked by the data to be updated; and identifying the corresponding other clients according to the unique identifiers of the devices marked by the other data to be updated, rejecting the data to be updated of the other clients, and transmitting the data to be updated with the earliest timestamp to the other clients so that the other clients update the data again.
With reference to the first aspect, in a second implementation manner of the first aspect, the interconnection apparatus employs a USB interface and a protocol.
In a second aspect, the present invention further provides a cloud-based remote collaborative office data protection method, where the method is applied to a client, and the method includes:
receiving data synchronized by the server every other preset time period;
and under the condition that the server cannot provide service, receiving an instruction of the server, taking the role of the server, and taking over the function of the server, wherein the server starts to send the instruction from a first client accessing the server and on line in a polling mode.
With reference to the second aspect, in a first implementable manner of the second aspect, the method further includes:
sending data to be updated to a server, wherein the data to be updated is marked with a unique identifier and a timestamp of equipment;
under the condition that a server receives a plurality of data to be updated of the same data at the same time, receiving data rejection information sent by the server; the server only keeps the data to be updated with the earliest timestamp according to the timestamp marked by the data to be updated; identifying the corresponding other clients according to the unique identifiers of the other devices marked by the data to be updated;
receiving data to be updated with the earliest timestamp sent by a server;
and updating the client data according to the data to be updated of the earliest timestamp.
In a third aspect, the present invention further provides a cloud remote collaborative office data protection method, where the method is applied to an interconnection device, and the method includes:
performing VPN one-key interconnection on a client and a server;
the method comprises the steps of storing information of a current online client, sequencing a plurality of clients according to the sequence of the time of accessing the client to a server from morning to evening, so that the server can start from a first client accessing the server and online in a polling mode under the condition that the server cannot provide services, enabling the plurality of clients to take the role of the server in turn, and taking over the function of the server.
With reference to the third aspect, in a first implementable manner of the third aspect, the method further includes:
storing the updated data of the client;
the unique identification and the time stamp of the data marking device are marked, so that the server can only keep the data to be updated with the earliest time stamp according to the time stamp marked by the data to be updated under the condition that a plurality of data to be updated of the same data are simultaneously received; identifying corresponding other clients according to the unique identifiers of the devices marked by the other data to be updated, rejecting the data to be updated of the other clients, and transmitting the data to be updated with the earliest timestamp to the other clients so that the other clients update the data again;
and after the data of the client is updated, transmitting the data to a server for updating.
In a fourth aspect, the present invention further provides a cloud remote collaborative office data protection method, where the method is applied to a server, and the method includes:
synchronizing the data of the server to a plurality of clients at intervals of a preset time period;
under the condition that a server cannot provide service, starting from a first client accessing the server and on line in a polling mode, enabling the plurality of clients to take the role of the server in turn and taking over the function of the server, wherein the plurality of clients are sequenced in advance through an interconnection device according to the sequence of the time of accessing the server by the clients from morning to evening.
With reference to the fourth aspect, in a first implementable manner of the fourth aspect, the method further includes:
under the condition of simultaneously receiving a plurality of data to be updated of the same data, only the data to be updated with the earliest time stamp is reserved according to the time stamp marked by the data to be updated;
identifying the corresponding other clients according to the unique identifiers of the other devices marked by the data to be updated;
rejecting the data to be updated of other clients;
and transmitting the data to be updated with the earliest timestamp to the other clients, and enabling the other clients to update the data again.
The invention has the following beneficial effects: the invention provides a cloud remote cooperative office data protection system and a cloud remote cooperative office data protection method.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a cloud-based remote cooperative office data protection system provided by the present invention.
Fig. 2 is a flowchart of a cloud-based remote cooperative office data protection method applied to a client.
Fig. 3 is another flowchart of a cloud-based remote cooperative office data protection method applied to a client.
Fig. 4 is a flowchart of a cloud-based remote cooperative office data protection method applied to an interconnection device.
Fig. 5 is another flowchart of a cloud-based remote cooperative office data protection method applied to an interconnection device.
Fig. 6 is a flowchart of a cloud-based remote cooperative office data protection method applied to a server.
Fig. 7 is another flowchart of a cloud-based remote cooperative office data protection method applied to a server.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings. It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the disclosure. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
Referring to fig. 1, an embodiment of the present invention provides a cloud-based remote cooperative office data protection system, including: a server 1, an interconnection device 2, and a plurality of clients 3. The client 3 is used for accessing the server 1 in a C/S mode, sharing resources of the server 1, and implementing cooperative office and data sharing at the server 1, thereby implementing remote office. The interconnection device 2 is used for realizing VPN one-key interconnection between the client 3 and the server 1, and can enable the server 1 and the client 3 to realize quick and safe cooperative connection. The interconnection device 2 adopts a USB interface and a protocol, and realizes hot plug and play by the USB interface and the protocol. The device not only realizes VPN one-key interconnection between the client 3 and the server 1, but also realizes encryption of data transmission. The interconnection device 2 further has a read-write function, has a first temporary cache space, can store information of the current online client 3, and sequences the plurality of clients 3 in the sequence from the morning to the evening when the client 3 accesses the server 1. The server 1 is configured to synchronize data of the server 1 to the multiple clients 3 every preset time period, and start from a first client 3 accessing the server 1 and being online in a polling manner when the server 1 cannot provide services, so that the multiple clients 3 alternately take over a function of the server 1.
From the above, according to the cloud remote cooperative office data protection system provided by the invention, the plurality of clients 3 are accessed to the server 1 in a C/S mode to share resources of the server 1, cooperative office work and data sharing are realized at the server 1, a certain time is set to synchronize data of the server 1 to all the clients 3 during cooperative office work, and when the server 1 cannot provide services, the clients 3 which are accessed to the server 1 and are online are sequentially used as server roles in a polling manner to take over functions of the cooperative server 1, so that a plurality of computers log in cooperative work simultaneously, and the problem of single-point failure is avoided.
Specifically, the interconnection apparatus 2 further has a second temporary cache space, which can store data updated by the client 3, mark the unique identifier and the timestamp of the device with the data, and transmit the data to the server 1 for updating after the data of the client 3 is updated. The server 1 is further configured to, when a plurality of pieces of data to be updated of the same data are received at the same time, only retain the data to be updated with the earliest timestamp according to the timestamp marked by the data to be updated; and identifying the corresponding other clients 3 according to the unique identifiers of the devices marked by the other data to be updated, rejecting the data to be updated of the other clients 3, and transmitting the data to be updated with the earliest timestamp to the other clients 3 to enable the other clients 3 to update the data again, so that the problem that the data is inconsistent easily occurs in the service end due to the simultaneous cooperation of multiple users is solved.
As shown in fig. 2, an embodiment of the present invention further provides a cloud remote collaborative office data protection method, where the method is applied to a client, and the method includes:
step S201, receiving data synchronized by the server every preset time period.
Specifically, the preset time period may be set according to actual needs of the remote office, for example, 5 minutes.
Step S202, under the condition that the service end can not provide service, receiving an instruction of the service end, acting as a role of the service end, and taking over the function of the service end, wherein the service end starts to send the instruction from a first client end accessing the service end and on line in a polling mode.
By the method, a plurality of computers can log in to work cooperatively at the same time, and the problem of single-point failure is avoided.
As an alternative embodiment, as shown in fig. 3, the method further includes:
step S301, sending data to be updated to a server, wherein the data to be updated is marked with a unique identifier and a timestamp of the device.
Step S302, receiving data rejection information sent by the server when the server receives multiple data to be updated of the same data at the same time. And the server only retains the data to be updated with the earliest time stamp according to the time stamp marked by the data to be updated. And identifying the corresponding other clients according to the unique identifiers of the other devices marked by the data to be updated.
Step S303, receiving the data to be updated with the earliest timestamp sent by the server.
Step S304, updating the client data according to the data to be updated of the earliest timestamp.
The method solves the problem that data is inconsistent and is easy to occur at a server side due to the simultaneous cooperation of a plurality of people.
As shown in fig. 4, an embodiment of the present invention further provides a cloud-based remote collaborative office data protection method, where the method is applied to an interconnection device, and the method includes:
step S401, VPN one-key interconnection is carried out between the client and the server.
Step S402, storing the information of the current online client, and sequencing the plurality of clients according to the sequence of the time of accessing the client to the server from morning to evening, so that the server can start from the first client accessing the server and online in a polling manner, and the plurality of clients take the role of the server in turn to take over the function of the server when the server cannot provide services.
By the method, a plurality of computers can log in to work cooperatively at the same time, and the problem of single-point failure is avoided.
As an alternative embodiment, as shown in fig. 5, the method further includes:
step S501, storing the data updated by the client.
Step S502, marking the unique identifier and the timestamp of the device to the data, so that the server can only retain the data to be updated with the earliest timestamp according to the timestamp marked by the data to be updated when receiving multiple data to be updated of the same data at the same time. And identifying the corresponding other clients according to the unique identifiers of the devices marked by the other data to be updated, rejecting the data to be updated of the other clients, and transmitting the data to be updated with the earliest timestamp to the other clients so that the other clients update the data again.
Step S503, after the data update of the client is completed, transmitting the data to the server for update.
The method solves the problem that data is inconsistent and is easy to occur at a server side due to the simultaneous cooperation of a plurality of people.
As shown in fig. 6, an embodiment of the present invention further provides a cloud remote collaborative office data protection method, where the method is applied to a server, and the method includes:
step S601, synchronizing data of the server to a plurality of clients every preset time period.
Step S602, when the server cannot provide services, starting from a first client accessing the server and online in a polling manner, enabling the plurality of clients to alternately serve as the server and take over the functions of the server, wherein the plurality of clients are sorted in advance through the interconnection device according to the sequence of the time when the clients access the server from morning to evening.
By the method, a plurality of computers can log in to work cooperatively at the same time, and the problem of single-point failure is avoided.
As an alternative embodiment, as shown in fig. 7, the method further includes:
step S701, when a plurality of pieces of data to be updated of the same data are received at the same time, only the piece of data to be updated with the earliest timestamp is retained according to the timestamp marked by the piece of data to be updated.
Step S702, identifying the corresponding other clients according to the unique identifiers of the other devices marked by the data to be updated.
Step S703, rejecting the data to be updated of the other clients.
Step S704, the data to be updated with the earliest timestamp is transmitted to the other clients, so that the other clients update the data again.
The method solves the problem that data is inconsistent and is easy to occur at a server side due to the simultaneous cooperation of a plurality of people.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (3)

1. A cloud remote cooperative office data protection system, comprising: the system comprises a server, an interconnection device and a plurality of clients;
the client is used for accessing the server in a C/S mode, sharing resources of the server and realizing cooperative office and data sharing at the server;
the interconnection device is used for realizing VPN one-key interconnection between the client and the server; storing the information of the current online client, and sequencing the plurality of clients according to the sequence of the time of accessing the client to the server from morning to evening;
the server is used for synchronizing the data of the server to the plurality of clients at preset time intervals, and starting from a first client accessing the server and on line in a polling mode under the condition that the server cannot provide services, the plurality of clients are enabled to take over the role of the server in turn to take over the function of the server.
2. The cloud-based remote collaborative office data protection system of claim 1,
the interconnection device is also used for storing updated data of the client and marking the unique identifier and the timestamp of the equipment for the data; after the data of the client is updated, transmitting the data to a server for updating;
the server is further configured to, when a plurality of pieces of data to be updated of the same data are received at the same time, only the data to be updated with the earliest timestamp is reserved according to the timestamp marked by the data to be updated; and identifying the corresponding other clients according to the unique identifiers of the devices marked by the other data to be updated, rejecting the data to be updated of the other clients, and transmitting the data to be updated with the earliest timestamp to the other clients so that the other clients update the data again.
3. The cloud-based tele-collaboration office data protection system of claim 1, wherein the interconnection device employs a USB interface and protocol.
CN202011014197.6A 2020-09-24 2020-09-24 Cloud remote cooperative office data protection system and method Active CN111866194B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011014197.6A CN111866194B (en) 2020-09-24 2020-09-24 Cloud remote cooperative office data protection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011014197.6A CN111866194B (en) 2020-09-24 2020-09-24 Cloud remote cooperative office data protection system and method

Publications (2)

Publication Number Publication Date
CN111866194A CN111866194A (en) 2020-10-30
CN111866194B true CN111866194B (en) 2020-12-15

Family

ID=72967697

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011014197.6A Active CN111866194B (en) 2020-09-24 2020-09-24 Cloud remote cooperative office data protection system and method

Country Status (1)

Country Link
CN (1) CN111866194B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006053019A2 (en) * 2004-11-08 2006-05-18 Sharpcast, Inc. Method and apparatus for a file sharing and synchronization system
CN101741911B (en) * 2009-12-18 2014-04-30 中兴通讯股份有限公司 Multi-copy collaboration-based write operation method, system and node
US9954843B2 (en) * 2013-02-28 2018-04-24 Microsoft Technology Licensing, Llc Web ticket based upon a symmetric key usable for user authentication
CN103701899B (en) * 2013-12-26 2017-04-26 华为技术有限公司 Method and device for accessing resource
CN104299127A (en) * 2014-10-15 2015-01-21 王中胜 Cooperative office management method

Also Published As

Publication number Publication date
CN111866194A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US7363343B2 (en) Computer networks for providing peer to peer remote data storage and collaboration
ES2954995T3 (en) Method and system to synchronize the writing path of multiple clients
KR100584316B1 (en) System and method for synchronizing the presence attributes between the terminal and data server
CN104158883A (en) Method, device, equipment and system for carrying out user login through cross-terminal equipment
US10027752B2 (en) Distributed server election with imperfect clock synchronization
TW201234183A (en) Access control method, access control apparatus, and access control program
CN102984045A (en) Access method of Virtual Private Network and Virtual Private Network client
CN103763380B (en) A kind of method and system of synchronous demonstrating data
WO2014148865A1 (en) Integrated sns gateway
WO2016111407A1 (en) Network communication method having function of recovering terminal session
CN111866194B (en) Cloud remote cooperative office data protection system and method
CN102508927B (en) Device and method of data synchronization technology based on nuclear power construction multi-project management
KR100431700B1 (en) System And Method For Synchronizing Time Between SGSN And GGSN
CN111200623B (en) Method and system for realizing terminal data synchronization based on distributed storage
CN110417636B (en) Decentralized self-organizing instant messaging system and method thereof
CN108965398B (en) Control method of Internet of things equipment based on block chain
CN103401751A (en) Method and device for establishing IPSEC (Internet Protocol Security) tunnels
KR20150014215A (en) P2p group server and method for forming p2p group
CN114125827B (en) Terminal management method, device and centralized management system
CN103916409A (en) Method, terminal and system for data synchronization
CN105516342A (en) P2P penetration synchronizing method and system
CN103546513B (en) The method and device of communication between a kind of customer terminal webpage
CN113923046B (en) Method and system for realizing distributed firewall secure communication
CN109726028A (en) A kind of intermediate storage method
KR100844361B1 (en) Gateway system for data synchronization

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