WO2017071356A1 - 一种基于客户端的网络数据同步的方法、装置以及*** - Google Patents

一种基于客户端的网络数据同步的方法、装置以及*** Download PDF

Info

Publication number
WO2017071356A1
WO2017071356A1 PCT/CN2016/093084 CN2016093084W WO2017071356A1 WO 2017071356 A1 WO2017071356 A1 WO 2017071356A1 CN 2016093084 W CN2016093084 W CN 2016093084W WO 2017071356 A1 WO2017071356 A1 WO 2017071356A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
client
server
user operation
synchronization
Prior art date
Application number
PCT/CN2016/093084
Other languages
English (en)
French (fr)
Inventor
黄宝华
吕毅
李彬
Original Assignee
广州视睿电子科技有限公司
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 广州视睿电子科技有限公司 filed Critical 广州视睿电子科技有限公司
Publication of WO2017071356A1 publication Critical patent/WO2017071356A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • 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

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a method, device and system for network data synchronization based on a client.
  • the server records all data of the client, and when receiving the recovery request, requests all data and performs synchronous restoration.
  • the time spent waiting for network transmission and client rendering is long, delaying data synchronization, and reducing the real-time nature of people acquiring messages.
  • the technical problem to be solved by the embodiments of the present invention is to provide a method, a device and a system for synchronizing network data based on a client, which can quickly perform data synchronization, improve data synchronization efficiency, and improve real-time performance of people acquiring messages. Improved user experience.
  • a first aspect of the embodiments of the present invention discloses a method for network data synchronization based on a client, where the method includes:
  • the server receives the user operation data recorded by the client
  • the data to be synchronized is obtained from the received user operation data recorded by the client according to the priority of the user operation data;
  • the acquired data to be synchronized is sent to the client as synchronization data.
  • a second aspect of the embodiments of the present invention discloses a method for network data synchronization based on a client, where the method includes:
  • the client records the user operation data of the user, and sends the user operation data to the server;
  • a third aspect of the embodiments of the present invention discloses a device for network data synchronization based on a client, where The device includes:
  • a receiving module configured to receive user operation data recorded by the client
  • An obtaining module configured to: when receiving a data synchronization request for synchronizing server data of the client, acquire, to be synchronized data, the user operation data recorded by the client according to the priority of the user operation data;
  • a sending module configured to send, to the client, the data to be synchronized acquired in the acquiring module as synchronization data.
  • a fourth aspect of the embodiments of the present invention discloses a device for network data synchronization based on a client, where the device includes:
  • a recording module for recording user operation data of the user
  • a sending module configured to generate and send a data synchronization request for synchronizing server data to the server
  • the receiving processing module is configured to receive the synchronization data sent by the server, and process the received synchronization data.
  • a fifth aspect of the embodiments of the present invention discloses a system for network data synchronization based on a client, where the system includes: a server and a client, where:
  • the server is configured to receive user operation data recorded by the client; when receiving a data synchronization request for synchronizing server data of the client, the user operation recorded by the client according to the priority of the user operation data Obtaining data to be synchronized in the data; sending the acquired data to be synchronized as synchronization data to the client;
  • the client is configured to record user operation data of the user, and send the user operation data to the server; generate and send a data synchronization request for synchronizing the server data to the server; and receive the server to send Synchronizing data and processing the received synchronization data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • FIG. 1 is a schematic flowchart of a client-based network data synchronization method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a client-based network data synchronization method according to another embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of a client-based network data synchronization method according to another embodiment of the present invention.
  • FIG. 4 is a schematic flow chart of a client-based network data synchronization method according to another embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a client-based network data synchronization apparatus according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a client-based network data synchronization apparatus according to another embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a client-based network data synchronization system according to another embodiment of the present invention.
  • references herein to "embodiments” means specific features, structures, or features described in connection with the embodiments. Sex may be included in at least one embodiment of the invention. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
  • the system of the terminal described in the embodiment of the present invention refers to the operating system of the device, which may include, but is not limited to, an Android system, a Windows system, an IOS (a mobile operating system developed by Apple Inc.), and the like. .
  • the terminal may be any device having communication and storage functions, such as a tablet computer, a mobile phone, an e-reader, a remote controller, a personal computer (PC), a notebook computer, an in-vehicle device, a network television, a wearable device, etc. Volume button device.
  • the client-based network data synchronization method in this embodiment may include:
  • the server receives user operation data recorded by the client.
  • the server receives the user operation data of the user operation process and the user operation result, and the user operation process may include: object selection, object movement, object scaling, object switching, etc.
  • object selection object movement
  • object scaling object switching
  • object switching etc.
  • the embodiment of the invention is not limited.
  • the user operation result may include: an increase of an object, a deletion of an object, an attribute modification, a location information of the object, and the like, which are not limited in the embodiment of the present invention.
  • the number of the clients may be one or more.
  • the types of the clients may be the same or different.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • Both the client A and the client B send the user operation data recorded by the client to the server, and carry the user operation data while carrying the identifier indicating that it is the identity of the client.
  • the server receives the user operation data of the client A recording user A draw line and the user B records the user operation data of the user B draw vertical line.
  • the server when receiving the data synchronization request of the client for synchronizing the server data, the server may obtain the current operation location from the user operation data recorded by the client received by the S101 according to the priority of the user operation data. Data, the data of the current operating position obtained is taken as the data to be synchronized.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the server may obtain the current operation location with the highest priority from the user operation data of the plurality of client records received by the S101 according to the priority of the user operation data. The data is used as data to be synchronized.
  • the existing client C sends a data synchronization request for synchronizing the server data to the server, and the server receives the data synchronization of the client C for synchronizing the server data.
  • the server receives the data synchronization of the client C for synchronizing the server data.
  • the server obtains the user operation data of the user A draw horizontal line from the client A, and obtains the client A is currently drawing the horizontal line.
  • the user of the location operates the data, and the obtained user operation data of the client A is currently drawing the horizontal position as the data to be synchronized.
  • the server sends the data to be synchronized acquired in S102 as synchronization data to the client.
  • the server records, in S102, the user operation data of the user A draw line from the client A and the user operation data of the user B draws the vertical line of the client B, and the acquired data to be synchronized is sent as synchronous data to the client.
  • Client C Assuming that the server first receives the user operation data of the user A draw horizontal line, the server sends the data to be synchronized of the user operation data currently being drawn by the client A to the horizontal line as the synchronization data. The client C.
  • the data can be quickly and selectively selected according to the priority of the user operation data.
  • the step operation improves the efficiency of data synchronization, and also improves the real-time performance of people to obtain messages, thereby improving the user experience.
  • the client-based network data synchronization method in this embodiment may include:
  • the server receives user operation data recorded by the client.
  • the server receives the user operation data of the user operation process and the user operation result, and the user operation process may include: object selection, object movement, object scaling, object switching, etc.
  • object selection object movement
  • object scaling object switching
  • object switching etc.
  • the embodiment of the invention is not limited.
  • the user operation result may include: an increase of an object, a deletion of an object, an attribute modification, a location information of the object, and the like, which are not limited in the embodiment of the present invention.
  • the number of the clients may be one or more.
  • the types of the clients may be the same or different.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • Both the client A and the client B send the user operation data recorded by the client to the server, and carry the user operation data while carrying the identifier indicating that it is the identity of the client.
  • the server receives the user operation data of the client A recording user A draw line and the user B records the user operation data of the user B draw vertical line.
  • the server when receiving the data synchronization request of the client for synchronizing the server data, the server may obtain the current operation from the user operation data recorded by the plurality of clients received by the S201 according to the priority of the user operation data.
  • the data of the location, the data of the current operating position obtained is taken as the data to be synchronized.
  • the data priorities of different locations are different. Assume the current operating position The priority of the data is set to the highest level, and the data of other operation positions has a lower priority than the highest level.
  • the server may obtain the current operation location with the highest priority from the user operation data of the plurality of client records received by the S201 according to the priority of the user operation data. The data is used as data to be synchronized.
  • the existing client C sends a data synchronization request for synchronizing the server data to the server, and the server receives the data synchronization of the client C for synchronizing the server data.
  • the server receives the data synchronization of the client C for synchronizing the server data.
  • the user operation data of the client A recording user A draw line and the user operation data of the client B record user B drawing vertical line are received from the S201 server, and the acquisition client is currently operating.
  • the data of the location, the data of the current operating position obtained is taken as the data to be synchronized. It is assumed that the server first receives the user operation data of the client A to draw the horizontal line of the user A.
  • the server obtains the user operation data of the user A draw horizontal line from the client A, and obtains the client A is currently drawing the horizontal line.
  • the user of the location operates the data, and the obtained user operation data of the client A is currently drawing the horizontal position as the data to be synchronized.
  • the acquired data to be synchronized is sent to the client as synchronization data.
  • the server sends the data to be synchronized acquired in S202 as synchronization data to the client.
  • the server records, in S202, the user operation data of the user A draw line from the client A and the user operation data of the client B record vertical line drawn by the client B, and the acquired data to be synchronized is sent as synchronous data to the client.
  • Client C Assuming that the server first receives the user operation data of the client A to draw the horizontal line of the user A, the server sends the user operation data that the client A is currently drawing at the horizontal line position as the synchronization data to the client. C.
  • the S203 sends the data of the current operation location to the client as the data to be synchronized, and does not send the data of the other operation location to the client, and the S204 server uses the data of the other operation location. Sent to the client. According to the example of S201, S204 transmits the remaining user operation data after the transmission of S203 to the client C.
  • the server first sends the user operation data of the other operation location of the client A and the user operation data of the client B to the client C.
  • other clients may send user operation data to the server.
  • the server continues to receive and cache user operation data of other clients.
  • the server in the process that the server is synchronizing the user operation data of the client A and the client B to the client C, the existing client D and the client E send the client D record to the server, and the user D is inputting a piece of text.
  • the user operation data and the client E record the user operation data that the user E is drawing, and carry the identifier indicating that it is the identity of the client while transmitting the user operation data.
  • the server continues to receive and cache the client D record user D is inputting a piece of text user operation data and the client E records the user operation data that the user E is drawing.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the client D and the client E are added to the scenario of entering the synchronization data, and the newly added client D and Client E can also send data synchronization requests for synchronizing server data to speed up the process of entering synchronized data.
  • Client B can send a data synchronization request for synchronizing server data to the server to quickly return to the scene of the synchronized data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • FIG. 3 is a schematic flowchart of a client-based network data synchronization method according to an embodiment of the present invention. As shown in the figure, the client-based network data synchronization method in this embodiment may include:
  • the client records user operation data of the user, and sends the user operation data to the server.
  • the client records user operation data of the user operation process and the user operation result, and sends the user operation data to the server.
  • the user operation process may include: selection of an object, movement of an object, scaling of an object, switching of an object, and the like, which are not limited in the embodiment of the present invention.
  • User operation results can include: object addition, object deletion, attribute modification, object location
  • object addition can include: object addition, object deletion, attribute modification, object location
  • location information and the like are not limited in the embodiment of the present invention.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • Both the client A and the client B send the user operation data recorded by the client to the server, and carry the user operation data while carrying the identifier indicating that it is the identity of the client.
  • the client generates and sends a data synchronization request for synchronizing the server data to the server.
  • the client needs to send one or more data synchronization requests for synchronizing server data to the server.
  • the existing client C wants to synchronize the data in the server, then the client C needs to be one or more data synchronization requests for synchronizing the server data, and the above A data synchronization request for synchronizing server data is sent to the server to request synchronization of server data.
  • the server sends the server data, that is, the synchronization data, to the client, and the client receives the The synchronization data sent by the server and the received synchronization data.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the server receives the data synchronization request of the client C for synchronizing the server data, the server according to the user operation data Priority, the client A recorded from the 301 server records the user operation data of the user A draw line and the user B records the user operation data of the user B draw vertical line to obtain the data of the current operating position of the client, which will be obtained.
  • the data of the current operating position is sent to the client C as synchronous data.
  • the client C receives the user operation data of the user A draw horizontal line sent by the client A sent by the server, that is, the user operation data of the user A draws the horizontal line of the client A is the synchronization data, and the client C
  • the received synchronization data needs to be processed, that is, the user operation data of the received client A record user A draw line needs to be processed.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the client D and the client E are added to the scenario of entering the synchronization data, and the newly added client D and Client E can also send data synchronization requests for synchronizing server data to speed up the process of entering synchronized data.
  • Client B can send a data synchronization request for synchronizing server data to the server to quickly return to the scene of the synchronized data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • the client-based network data synchronization method in this embodiment may include:
  • the client records user operation data of the user, and sends the user operation data to the server.
  • the client records user operation data of the user operation process and the user operation result, and sends the user operation data to the server.
  • the user operation process may include: selection of an object, movement of an object, scaling of an object, switching of an object, and the like, which are not limited in the embodiment of the present invention.
  • the user operation result may include: an increase of an object, a deletion of an object, an attribute modification, a location information of the object, and the like, which are not limited in the embodiment of the present invention.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • Both the client A and the client B send the user operation data recorded by the client to the server, and carry the user operation data while carrying the identifier indicating that it is the identity of the client.
  • S402. Generate and send a data synchronization request for synchronizing server data to the server.
  • the client generates and sends a data synchronization request for synchronizing the server data to the server.
  • the client needs to send the server to the server.
  • the existing client C wants to synchronize the data in the server, then the client C needs to be one or more data synchronization requests for synchronizing the server data, and the above A data synchronization request for synchronizing server data is sent to the server to request synchronization of server data.
  • the server sends the server data, that is, the synchronization data, to the client, and the client receives the The synchronization data sent by the server and the received synchronization data.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the server receives the data synchronization request of the client C for synchronizing the server data, the server according to the user operation data Priority, the client A recorded from the 401 server records the user operation data of the user A draw line and the user B records the user operation data of the user B draw vertical line to obtain the data of the current operating position of the client, which will be obtained.
  • the data of the current operating position is sent to the client C as synchronous data.
  • the client C receives the user operation data of the user A draw horizontal line sent by the client A sent by the server, that is, the user operation data of the user A draws the horizontal line of the client A is the synchronization data, and the client C
  • the received synchronization data needs to be processed, that is, the user operation data of the received client A record user A draw line needs to be processed.
  • S404 Receive data of other operation locations sent by the server, and process the received data of the other operation locations.
  • the S403 receives the user operation data of the current operation location sent by the server, that is, the synchronization data, and processes the received synchronization data; and may also receive the user of the other operation location sent by the server.
  • the data is manipulated and the received data of the other operational locations is processed.
  • S401 after the data synchronization request for synchronizing the server data is transmitted to the server at S402, S404 receives data of other operation positions, and processes the data of the other operation positions received.
  • the S404 receives the user operation data of the other operation location of the client A and the user operation data of the client B, and needs to process the received client A and other The user operation data of the operation location and the user operation data of the client B.
  • S405. Receive user operation data of other clients cached by the server, and process the received user operation data of the other client.
  • the data of the current operation position and the data of other operation positions are received by the server at S403 and S404, and the data of the current operation position and the data of other operation positions are processed, in addition to the data of the synchronization data.
  • other clients may send user operation data to the server.
  • the user operation data of other clients cached by the server may also be received, and the received users of the other clients may be processed.
  • Operational data According to the example of S401, in the process that the server is synchronizing the user operation data of the client A and the client B to the client C, the existing client D and the client E send the client D record to the server, and the user D is inputting a piece of text.
  • the user operation data and the client E record the user operation data that the user E is drawing, and carry the identifier indicating that it is the identity of the client while transmitting the user operation data.
  • the server also needs to continue to receive and cache the user D record that the user D is inputting a piece of text, and the client E records the user operation data that the user E is drawing.
  • the client D After the client C sends the data synchronization request for synchronizing the server data to the server, the client D that needs to receive the server cache records the user operation data that the user D is inputting a piece of text and the client E records that the user E is The user of the drawing operates the data, and processes the received client D record, the user operation data in which the user D is inputting a piece of text, and the client E records the user operation data that the user E is drawing.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the client D and the client E are added to the scenario of entering the synchronization data, and the newly added client D and Client E can also send data synchronization requests for synchronizing server data to speed up the process of entering synchronized data.
  • Client B can send a data synchronization request for synchronizing server data to the server to quickly return to the scene of the synchronized data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message, and improving the real-time performance of the message. user experience.
  • FIG. 5 is a schematic structural diagram of a client-based network data synchronization apparatus according to an embodiment of the present invention.
  • the client-based network data synchronization apparatus 50 in this embodiment may include:
  • the receiving module 501 is configured to receive user operation data recorded by the client;
  • the obtaining module 502 is configured to: when receiving the data synchronization request of the client for synchronizing the server data, acquire the data to be synchronized from the received user operation data recorded by the client according to the priority of the user operation data;
  • the sending module 503 is configured to send the data to be synchronized acquired by the acquiring module 502 to the client as synchronization data.
  • the server when receiving the data synchronization request of the client for synchronizing the server data, the server may obtain the current user operation data recorded by the plurality of clients received from the receiving module 501 according to the priority of the user operation data.
  • the data of the operation position is used as the data to be synchronized.
  • the sending module 503 sends the to-be-synchronized data acquired by the obtaining module 502 to the client as synchronization data.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the server may obtain the current highest priority from the user operation data of the plurality of client records received by the receiving module 501 according to the priority of the user operation data.
  • the data of the operation position is used as data to be synchronized.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • the receiving module 501 receives the user operation data that each of the client A and the client B will record, and the received user operation data carries an identifier indicating that it is a client identity.
  • the existing client C sends a data synchronization request for synchronizing the server data to the server
  • the obtaining module 50 receives the data synchronization request of the client C for synchronizing the server data according to the user.
  • the priority of the operation data is received from the receiving module 501, the user operation data of the client A recording the horizontal line of the user A and the user operation data of the client B recording the vertical line of the user B, and the current operation bit of the client is obtained.
  • Set the data and take the data of the current operation position as the data to be synchronized.
  • the sending module 503 sends the to-be-synchronized data acquired by the obtaining module 502 to the client C as synchronization data.
  • the server first receives the user operation data of the client A to draw the horizontal line of the user A.
  • the server receives the user operation data of the user A drawing the horizontal line from the receiving module 501, and obtains that the client A is currently working.
  • the user operation data of the horizontal line position is drawn, and the obtained user operation data of the client A is currently drawing the horizontal line position as the data to be synchronized.
  • the sending module 503 sends, to the client C, the user operation data that the client A currently acquiring in the obtaining module 502 is currently drawing the horizontal position.
  • the sending module 503 is further configured to send data of other operating locations to the client.
  • the server first sends the user operation data of the other operation location of the client A and the user operation data of the client B to the client C.
  • the sending module 503 is further configured to continue to receive and cache user operation data of other clients during the process of sending the synchronization data to the client.
  • the sending module 503 may also receive user operations of other clients cached by the server. data.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the existing client D and the client E send the client D record to the server, and the user D is inputting a piece of text.
  • the user operation data and the client E record the user operation data that the user E is drawing, and carry the user operation data while carrying the identifier indicating that it is the client identity.
  • the server continues to receive and cache the client D record user D is inputting a piece of text user operation data and the client E records the user operation data that the user E is drawing.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the client D and the client E are added to the scenario of entering the synchronization data, and the newly added client D and Client E can also send data synchronization requests for synchronizing server data to speed up the process of entering synchronized data.
  • the client B unexpectedly exits the synchronous data scenario due to excessive data manipulation or other reasons. Then, client B of the scenario of unexpectedly exiting the synchronization data can send a data synchronization request for synchronizing the server data to the server to quickly return to the scene of the synchronization data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • FIG. 6 is a schematic structural diagram of a client-based network data synchronization apparatus according to another embodiment of the present invention.
  • the client-based network data synchronization apparatus 60 in this embodiment may include:
  • a recording module 601 configured to record user operation data of the user
  • the sending module 602 is configured to generate and send a data synchronization request for synchronizing server data to the server.
  • the receiving processing module 603 is configured to receive synchronization data sent by the server, and process the synchronization data received by the receiving module.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the sending module 602 sends a data synchronization request for synchronizing the server data to the server, if the server receives a data synchronization request for synchronizing the server data, the server according to the priority of the user operation data
  • the synchronization data is acquired and sent to the client, and the receiving processing module 603 receives the synchronization data sent by the server, and processes the synchronization data received by the receiving module.
  • user A is drawing a horizontal line on client A and user B is drawing a vertical line on client B.
  • the client A records the user operation data of the entire operation process and the operation result of the user A draw horizontal line
  • the client B records the user operation data of the entire operation process and the operation result of the user B drawing vertical line.
  • Both the client A and the client B send the user operation data recorded by the client to the server, and carry the user operation data while carrying the identifier indicating that it is the identity of the client.
  • the existing client C wants to synchronize the data in the server, then the sending module 602 of the client C needs to generate one or more data synchronization requests for synchronizing the server data, and the sending module 602 Sending the above data synchronization request for synchronizing the server data to the server, requesting synchronization of the server data.
  • the sending module 602 of the client C sends a data synchronization request for synchronizing the server data to the server
  • the server receives the data synchronization request of the client C for synchronizing the server data
  • the server according to the user operation data Priority
  • the client A received from the 301 server records the user operation data of the user A draw line
  • the user B records the user operation data of the user B draws the vertical line to obtain the data of the current operating position of the client
  • the sending module 602 The acquired data of the current operation location is sent to the client C as synchronization data.
  • the receiving processing module 603 of the client C receives the user operation data of the user A drawing horizontal line sent by the client A sent by the server, that is, the user A records the user operation data of the user A drawing horizontal line as the synchronization data. Then, the receiving processing module 603 of the client C needs to process the received synchronization data, that is, the user operation data that needs to process the received client A to record the user A draw line.
  • the sending module 602 is further configured to send the user operation data recorded by the recording module 601 to the server.
  • both the client A and the client B send the user operation data recorded by the client to the server, and carry the identifier of the user identity while carrying the user operation data.
  • the receiving processing module 603 is further configured to receive data of other operating positions sent by the server, and process the received data of the other operating positions.
  • the receiving processing module 603 receives the user operation data of the current operating position sent by the server, that is, the synchronization data, and processes the received synchronization data; and may receive other operations sent by the server.
  • the user at the location operates the data and processes the received data for the other operational locations.
  • the receiving processing module 603 receives data of other operating positions, and processes the data of the received other operating positions.
  • the receiving processing module 603 receives the user operation data of the other operating positions of the client A and the user operation data of the client B, and processes the user operation data of the received other operating positions of the client A. User B's user action data.
  • the receiving processing module 603 is further configured to receive user operation data of other clients cached by the server, and process the received user operation data of the other client.
  • the receiving processing module 603 may finally receive user operation data of other clients cached by the server, and process the received user operation data of the other clients.
  • the server in the process that the server is synchronizing the user operation data of the client A and the client B to the client C, the existing client D and the client E send the client D record to the server, and the user D is inputting a segment.
  • the user operation data of the text and the client E record the user operation data that the user E is drawing, and carry the identifier indicating that it is the identity of the client while transmitting the user operation data.
  • the server also needs to continue to receive and cache the user D record that the user D is inputting a piece of text, and the client E records the user operation data that the user E is drawing.
  • the sending module 602 of the client C sends a data synchronization request for synchronizing the server data to the server
  • the receiving processing module 603 still needs to receive the client D recorded by the server to record the user operation data that the user D is inputting a piece of text.
  • the client E records the user operation data that the user E is drawing, and processes the received client D record user D is inputting a piece of text user operation data and the client E records the user operation data that the user E is drawing.
  • the server is synchronizing the user operation data of the client A and the client B to the client C
  • the client D and the client E are added to the scenario of entering the synchronization data, and the newly added client D and Client E can also send data synchronization requests for synchronizing server data to speed up the process of entering synchronized data.
  • Client B can send a data synchronization request for synchronizing server data to the server to quickly return to the scene of the synchronized data.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • FIG. 7 is a schematic structural diagram of a client-based network data synchronization system according to another embodiment of the present invention.
  • the client-based network data synchronization system 70 in this embodiment may include: Server 701 and client 702, wherein:
  • the server 701 is configured to receive user operation data recorded by the client; when receiving a data synchronization request for synchronizing server data of the client, the user recorded by the client according to the priority of the user operation data
  • the data to be synchronized is obtained in the operation data; the acquired data to be synchronized is sent to the client as synchronization data.
  • the server 701 when the server 701 receives the data synchronization request for synchronizing the server data of the client 702, the server 701 may perform the user operation recorded by the plurality of clients according to the priority of the user operation data.
  • the data of the current operating position is obtained in the data, and the server 701 takes the acquired data of the current operating position as the data to be synchronized.
  • the server 701 sends the acquired data to be synchronized as the synchronization data to the client 702.
  • the data priorities of different locations are different. Assuming that the priority of the data of the current operating position is set to the highest level, the data of other operating positions has a lower priority than the highest level.
  • the server 701 may obtain the highest priority from the received user operation data recorded by the plurality of clients according to the priority of the user operation data.
  • the data of the current operating position is used as data to be synchronized.
  • the server 701 is further configured to send data of other operating locations to the client.
  • the server 701 may further send data of other operation locations to the client.
  • the server 701 is further configured to continue to receive and cache user operation data of other clients in the process of sending synchronization data to the client.
  • other clients may send user operation data to the server 701.
  • the server 701 continues to receive and cache other clients. User action data.
  • the client 702 is configured to record user operation data of the user, and send the user operation data to the server; generate and send a data synchronization request for synchronizing the server data to the server; and receive the server.
  • the transmitted sync data and processes the received sync data.
  • the server 701 After the client 702 sends a data synchronization request for synchronizing the server data to the server 701, if the server 701 receives the data for synchronizing the server data.
  • the server acquires the synchronization data according to the priority of the user operation data and sends the synchronization data to the client.
  • the client 702 receives the synchronization data sent by the server, and processes the synchronization data received by the receiving module.
  • the client 702 is further configured to receive data of other operation locations sent by the server, and process the received data of the other operation locations.
  • the client 702 receives the user operation data of the current operation location sent by the server, that is, the synchronization data, and processes the received synchronization data; and may also receive other The user operating the location manipulates the data and processes the received data for the other operational locations.
  • the client 702 is further configured to receive user operation data of other clients cached by the server, and process the received user operation data of the other client.
  • the client 702 may finally receive user operation data of other clients cached by the server, and process the received user operation data of the other clients.
  • the data synchronization operation can be quickly and selectively performed according to the priority of the user operation data, thereby improving the data synchronization efficiency, and improving the real-time performance of the people to obtain the message and improving the user experience.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例公开了一种基于客户端的网络数据同步的方法,所述方法包括:服务端接收客户端记录的用户操作数据;当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;将获取到的所述待同步数据作为同步数据发送给所述客户端。本发明实施例还公开了一种基于客户端的网络数据同步的装置和***。实施本发明实施例,能够提高数据同步效率。

Description

一种基于客户端的网络数据同步的方法、装置以及*** 技术领域
本发明涉及计算机应用技术领域,尤其涉及一种基于客户端的网络数据同步的方法、装置以及***。
背景技术
随着计算机技术的发展和网络应用的普及,人们对获取信息的及时性的要求越来越高,即是,对网络数据同步要求越来越高。现有技术方案中,服务器将客户端的所有数据记录起来,当接收到恢复请求时,请求所有数据并进行同步还原。在实践中发现,当服务器记录的数据量过大时,在网络传输与客户端渲染上消耗等待的时间较长,延误了数据同步,降低了人们获取消息的实时性。
发明内容
本发明实施例所要解决的技术问题在于,提供一种基于客户端的网络数据同步的方法、装置以及***,可快速地进行数据同步,提高数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
本发明实施例第一方面公开一种基于客户端的网络数据同步的方法,所述方法包括:
服务端接收客户端记录的用户操作数据;
当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;
将获取到的所述待同步数据作为同步数据发送给所述客户端。
本发明实施例第二方面公开一种基于客户端的网络数据同步的方法,所述方法包括:
客户端记录用户的用户操作数据,并将所述用户操作数据发送给服务端;
生成并向所述服务器发送用于同步服务端数据的数据同步请求;
接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
本发明实施例第三方面公开一种基于客户端的网络数据同步的装置,所述 装置包括:
接收模块,用于接收客户端记录的用户操作数据;
获取模块,用于当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;
发送模块,用于将所述获取模块中获取到的待同步数据作为同步数据发送给所述客户端。
本发明实施例第四方面公开一种基于客户端的网络数据同步的装置,所述装置包括:
记录模块,用于记录用户的用户操作数据;
发送模块,用于生成并向所述服务端发送用于同步服务端数据的数据同步请求;
接收处理模块,用于接收所述服务端发送的同步数据,处理接收到的所述同步数据。
本发明实施例第五方面公开一种基于客户端的网络数据同步的***,所述***包括:服务器和客户端,其中:
所述服务器,用于接收客户端记录的用户操作数据;当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;将获取到的所述待同步数据作为同步数据发送给所述客户端;
所述客户端,用于记录用户的用户操作数据,并将所述用户操作数据发送给服务端;生成并向所述服务端发送用于同步服务端数据的数据同步请求;接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例中的一种基于客户端的网络数据同步方法的流程示意图;
图2是本发明另一实施例中的一种基于客户端的网络数据同步方法的流程示意图;
图3是本发明另一实施例中的一种基于客户端的网络数据同步方法的流程示意图;
图4是本发明另一实施例中的一种基于客户端的网络数据同步方法的流程示意图;
图5是本发明实施例中的一种基于客户端的网络数据同步装置的结构示意图;
图6是本发明另一实施例中的一种基于客户端的网络数据同步装置的结构示意图;
图7是本发明另一实施例中的一种基于客户端的网络数据同步***的结构示意图。
具体实施方式
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、***、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特 性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
本发明实施例中所描述的终端的***指设备的操作***,可以包括但不限于:Android***、Windows***、IOS(苹果公司开发的移动操作***)等等,本发明实施例具体不做限定。
上述终端可以是任何具备通信和存储功能的设备,例如:平板电脑、手机、电子阅读器、遥控器、个人计算机(Personal Computer,PC)、笔记本电脑、车载设备、网络电视、可穿戴设备等具有音量键的设备。
图1是本发明实施例中的一种基于客户端的网络数据同步方法的流程示意图,如图所示本实施例中的基于客户端的网络数据同步方法可以包括:
S101,服务端接收客户端记录的用户操作数据。
本发明实施例中,服务端接收多个客户端记录用户操作过程和用户操作结果的用户操作数据,用户操作过程可以包括:对象的选择、对象的移动、对象的缩放、对象的切换等操作,本发明实施例不作限定。
用户操作结果可以包括:对象的增加、对象的删除、属性修改、对象所在的位置信息等,本发明实施例不作限定。
所述客户端的数量可以是一个或一个以上,特别地,当客户端的数量是一个以上时,所有的客户端的类型可以相同,也可以不相同,本发明实施例不作限定。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。服务器接收客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据。
S102,当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据。
本发明实施例中,服务器在接收到客户端的用于同步服务器数据的数据同步请求时,可根据用户操作数据的优先级,从S101接收到的客户端记录的用户操作数据中获取当前操作位置的数据,将获取的当前操作位置的数据作为待同步数据。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。当服务器接收到客户端的用于同步服务器数据的数据同步请求时,服务器可以根据用户操作数据的优先级,从S101接收到的多个客户端记录的用户操作数据中获取优先级最高的当前操作位置的数据作为待同步数据。
根据S101的例子,在同一个数据同步场景中,现有客户端C向服务器发送用于同步服务端数据的数据同步请求,所述服务器在接收到客户端C的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级,从S101服务器接收客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中,获取客户端当前正在操作位置的数据,将获取的当前操作位置的数据作为待同步数据。假设服务器较先接收到客户端A记录用户A画横线的用户操作数据,此时服务器从接收到客户端A记录用户A画横线的用户操作数据中,获取客户端A当前正在画横线位置的用户操作数据,并将此获取到的客户端A当前正在画横线位置的用户操作数据作为待同步数据。
S103,将获取到的所述待同步数据作为同步数据发送给所述客户端。
本发明实施例中,服务器将S102中获取到的待同步数据作为同步数据发送给所述客户端。具体实现中,服务器将在S102中从客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中,获取到的待同步数据作为同步数据发送给客户端C。假设服务器较先接收到客户端A记录用户A画横线的用户操作数据,那么服务器就将S102获取到的客户端A当前正在画横线位置的用户操作数据的待同步数据作为同步数据发送给所述客户端C。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同 步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
图2是本发明另一实施例中的一种基于客户端的网络数据同步方法的流程示意图,如图所示本实施例中的基于客户端的网络数据同步方法可以包括:
S201,服务端接收客户端记录的用户操作数据。
本发明实施例中,服务端接收多个客户端记录用户操作过程和用户操作结果的用户操作数据,用户操作过程可以包括:对象的选择、对象的移动、对象的缩放、对象的切换等操作,本发明实施例不作限定。
用户操作结果可以包括:对象的增加、对象的删除、属性修改、对象所在的位置信息等,本发明实施例不作限定。
所述客户端的数量可以是一个或一个以上,特别地,当客户端的数量是一个以上时,所有的客户端的类型可以相同,也可以不相同,本发明实施例不作限定。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。服务器接收客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据。
S202,当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据。
本发明实施例中,服务器在接收到客户端的用于同步服务器数据的数据同步请求时,可根据用户操作数据的优先级,从S201接收到的多个客户端记录的用户操作数据中获取当前操作位置的数据,将获取的当前操作位置的数据作为待同步数据。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的 数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。当服务器接收到客户端的用于同步服务器数据的数据同步请求时,服务器可以根据用户操作数据的优先级,从S201接收到的多个客户端记录的用户操作数据中获取优先级最高的当前操作位置的数据作为待同步数据。
根据S201的例子,在同一个数据同步场景中,现有客户端C向服务器发送用于同步服务端数据的数据同步请求,所述服务器在接收到客户端C的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级,从S201服务器接收客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中,获取客户端当前正在操作位置的数据,将获取的当前操作位置的数据作为待同步数据。假设服务器较先接收到客户端A记录用户A画横线的用户操作数据,此时服务器从接收到客户端A记录用户A画横线的用户操作数据中,获取客户端A当前正在画横线位置的用户操作数据,并将此获取到的客户端A当前正在画横线位置的用户操作数据作为待同步数据。
S203,将获取到的所述待同步数据作为同步数据发送给所述客户端。
本发明实施例中,服务器将S202中获取到的待同步数据作为同步数据发送给所述客户端。具体实现中,服务器将在S202中从客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中,获取到的待同步数据作为同步数据发送给客户端C。假设服务器较先接收到客户端A记录用户A画横线的用户操作数据,那么服务器就将S202获取到的客户端A当前正在画横线位置的用户操作数据作为同步数据发送给所述客户端C。
S204,将其他操作位置的数据发送给所述客户端。
本发明实施例中,S203将从S202中获取到当前操作位置的数据作为待同步数据发送给所述客户端,没有发送其他操作位置的数据给所述客户端,S204服务器将其他操作位置的数据发送给所述客户端。根据S201的例子,S204将S203发送后剩下的用户操作数据发送给所述客户端C。具体实现中,服务器先将客户端A其他操作位置的用户操作数据和客户端B的用户操作数据发送给所述客户端C。
S205,在向客户端发送同步数据的过程中,继续接收并缓存其他客户端的用户操作数据。
本发明实施例中,在S203向客户端发送同步数据的过程中,其他客户端可能会发送用户操作数据给服务器,为了保证数据的完整性,服务器继续接收并缓存其他客户端的用户操作数据。依据S201的例子,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,现有客户端D和客户端E向服务器发送客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,在发送用户操作数据的同时携带上了表明其为客户端身份的标识。此时,服务器还是继续接收并缓存客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。
需要说明的是,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端D和客户端E增加进入同步数据的场景中,新加入的客户端D和客户端E也可以发送用于同步服务器数据的数据同步请求,来加快进入同步数据的场景中。
在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端B由于数据操作量过大或者其他原因意外退出同步数据的场景中,那么意外退出同步数据的场景的客户端B可以向服务器发送用于同步服务器数据的数据同步请求,以便快速回到同步数据的场景中。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
图3是本发明实施例中的一种基于客户端的网络数据同步方法的流程示意图,如图所示本实施例中的基于客户端的网络数据同步方法可以包括:
S301、客户端记录用户的用户操作数据,并将所述用户操作数据发送给服务端。
本发明实施例中,客户端记录用户操作过程和用户操作结果的用户操作数据,并将所述用户操作数据发送给服务器。
其中,用户操作过程可以包括:对象的选择、对象的移动、对象的缩放、对象的切换等操作,本发明实施例不作限定。
用户操作结果可以包括:对象的增加、对象的删除、属性修改、对象所在 的位置信息等,本发明实施例不作限定。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。
S302、生成并向所述服务器发送用于同步服务端数据的数据同步请求。
本发明实施例中,客户端生成并向所述服务器发送用于同步服务端数据的数据同步请求。具体实现中,在实现网络数据同步中,客户端需要向服务端发送一个或多个用于同步服务端数据的数据同步请求。举例来说,在同一个数据同步场景中,现有客户端C想要同步服务器中的数据,那么客户端C需要先生成一个或多个用于同步服务端数据的数据同步请求,并将上述用于同步服务端数据的数据同步请求发送至服务端,请求同步服务端数据。
S303、接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
本发明实施例中,在S302向所述服务器发送用于同步服务端数据的数据同步请求之后,服务端向所述客户端发送服务端数据,也即是同步数据,所述客户端接收所述服务器发送的同步数据,并处理接收到的同步数据。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。根据S301的例子,当客户端向所述服务器发送用于同步服务端数据的数据同步请求之后,若服务器接收到客户端C的用于同步服务器数据的数据同步请求时,服务器根据用户操作数据的优先级,从301服务器接收到的客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中获取客户端当前正在操作位置的数据,将获取的当前操作位置的数据作为同步数据发送给客户端C。假设客户端C较先接收到所述服务器发送的客户端A记录用户A画横线的用户操作数据,即是客户端A记录用户A画横线的用户操作数据为同步数据,并且客户端C需要处理接收到的同步数据,也即是需要处理接收到的客户端A记录用户A画横线的用户操作数据。
需要说明的是,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端D和客户端E增加进入同步数据的场景中,新加入的客户端D和客户端E也可以发送用于同步服务器数据的数据同步请求,来加快进入同步数据的场景中。
在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端B由于数据操作量过大或者其他原因意外退出同步数据的场景中,那么意外退出同步数据的场景的客户端B可以向服务器发送用于同步服务器数据的数据同步请求,以便快速回到同步数据的场景中。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
图4是本发明实施例中的一种基于客户端的网络数据同步方法的流程示意图,如图所示本实施例中的基于客户端的网络数据同步方法可以包括:
S401、客户端记录用户的用户操作数据,并将所述用户操作数据发送给服务端。
本发明实施例中,客户端记录用户操作过程和用户操作结果的用户操作数据,并将所述用户操作数据发送给服务器。
其中,用户操作过程可以包括:对象的选择、对象的移动、对象的缩放、对象的切换等操作,本发明实施例不作限定。
用户操作结果可以包括:对象的增加、对象的删除、属性修改、对象所在的位置信息等,本发明实施例不作限定。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。
S402、生成并向所述服务器发送用于同步服务端数据的数据同步请求。
本发明实施例中,客户端生成并向所述服务器发送用于同步服务端数据的数据同步请求。具体实现中,在实现网络数据同步中,客户端需要向服务端发 送一个或多个用于同步服务端数据的数据同步请求。举例来说,在同一个数据同步场景中,现有客户端C想要同步服务器中的数据,那么客户端C需要先生成一个或多个用于同步服务端数据的数据同步请求,并将上述用于同步服务端数据的数据同步请求发送至服务端,请求同步服务端数据。
S403、接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
本发明实施例中,在S402向所述服务器发送用于同步服务端数据的数据同步请求之后,服务端向所述客户端发送服务端数据,也即是同步数据,所述客户端接收所述服务器发送的同步数据,并处理接收到的同步数据。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。根据S401的例子,当客户端向所述服务器发送用于同步服务端数据的数据同步请求之后,若服务器接收到客户端C的用于同步服务器数据的数据同步请求时,服务器根据用户操作数据的优先级,从401服务器接收到的客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中获取客户端当前正在操作位置的数据,将获取的当前操作位置的数据作为同步数据发送给客户端C。假设客户端C较先接收到所述服务器发送的客户端A记录用户A画横线的用户操作数据,即是客户端A记录用户A画横线的用户操作数据为同步数据,并且客户端C需要处理接收到的同步数据,也即是需要处理接收到的客户端A记录用户A画横线的用户操作数据。
S404、接收所述服务器发送的其他操作位置的数据,并处理接收到的所述其他操作位置的数据。
本发明实施例中,S403在接收所述服务器发送的当前操作位置的用户操作数据,也即是同步数据,并处理接收到的同步数据之后;还可以接收所述服务器发送的其他操作位置的用户操作数据,并处理接收到的所述其他操作位置的数据。根据S401的例子,在S402向所述服务器发送用于同步服务端数据的数据同步请求之后,S404接收其他操作位置的数据,并处理所述接收到的其他操作位置的数据。具体实现中,S404接收所述服务器发送的客户端A其他操作位置的用户操作数据和客户端B的用户操作数据,并且需要处理接收到的客户端A其他 操作位置的用户操作数据和客户端B的用户操作数据。
S405、接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。
本发明实施例中,在S403和S404接收所述服务器发送当前操作位置的数据和其他操作位置的数据,并处理接收到的当前操作位置的数据和其他操作位置的数据之外,在同步数据的过程中,其他客户端可能会发送用户操作数据给所述服务器,为了保证数据的完整性,还可以接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。依据S401的例子,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,现有客户端D和客户端E向服务器发送客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,在发送用户操作数据的同时携带上了表明其为客户端身份的标识。所述服务器还需继续接收并缓存客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。客户端C向所述服务器发送用于同步服务端数据的数据同步请求之后,还是需要接收所述服务器缓存的客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,并处理接收到的客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。
需要说明的是,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端D和客户端E增加进入同步数据的场景中,新加入的客户端D和客户端E也可以发送用于同步服务器数据的数据同步请求,来加快进入同步数据的场景中。
在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端B由于数据操作量过大或者其他原因意外退出同步数据的场景中,那么意外退出同步数据的场景的客户端B可以向服务器发送用于同步服务器数据的数据同步请求,以便快速回到同步数据的场景中。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了 用户体验。
图5是本发明实施例中的一种基于客户端的网络数据同步装置的结构示意图,如图所示本实施例中的基于客户端的网络数据同步装置50可以包括:
接收模块501,用于接收客户端记录的用户操作数据;
获取模块502,用于当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;
发送模块503,用于将所述获取模块502中获取到的待同步数据作为同步数据发送给所述客户端。
本发明实施例中,服务器在接收到客户端的用于同步服务器数据的数据同步请求时,可根据用户操作数据的优先级从接收模块501接收到的多个客户端记录的用户操作数据中获取当前操作位置的数据,将获取的当前操作位置的数据作为待同步数据。发送模块503将所述获取模块502中获取到的待同步数据作为同步数据发送给所述客户端。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。当服务器接收到客户端的用于同步服务器数据的数据同步请求时,服务器可以根据用户操作数据的优先级,从接收模块501接收到的多个客户端记录的用户操作数据中获取优先级最高的当前操作位置的数据作为待同步数据。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。
接收模块501接收客户端A和客户端B都将各自记录的所述用户操作数据,且接收到的用户操作数据携带有表明其为客户端身份的标识。在同一个数据同步场景中,现有客户端C向服务器发送用于同步服务端数据的数据同步请求,获取模块50在接收到客户端C的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级,从接收模块501接收客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中,获取客户端当前正在操作位 置的数据,将获取的当前操作位置的数据作为待同步数据。发送模块503将所述获取模块502中获取到的待同步数据作为同步数据发送给所述客户端C。
假设服务器较先接收到客户端A记录用户A画横线的用户操作数据,此时服务器从接收模块501接收到客户端A记录用户A画横线的用户操作数据中,获取客户端A当前正在画横线位置的用户操作数据,并将此获取到的客户端A当前正在画横线位置的用户操作数据作为待同步数据。发送模块503将所述获取模块502中获取到的客户端A当前正在画横线位置的用户操作数据作为同步数据发送给所述客户端C。
可选地,
发送模块503,还用于将其他操作位置的数据发送给所述客户端。
具体实现中,服务器先将客户端A其他操作位置的用户操作数据和客户端B的用户操作数据发送给所述客户端C。
可选地,
发送模块503,还用于在向客户端发送同步数据的过程中,继续接收并缓存其他客户端的用户操作数据。
本发明实施例中,在同步数据的过程中,其他客户端可能会发送用户操作数据给所述服务器,为了保证数据的完整性,发送模块503还可以接收所述服务器缓存的其他客户端的用户操作数据。举例来说,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,现有客户端D和客户端E向服务器发送客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,在发送用户操作数据的同时携带上了表明其为客户端身份的标识。此时,服务器还是继续接收并缓存客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。
需要说明的是,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端D和客户端E增加进入同步数据的场景中,新加入的客户端D和客户端E也可以发送用于同步服务器数据的数据同步请求,来加快进入同步数据的场景中。
在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端B由于数据操作量过大或者其他原因意外退出同步数据的场景中, 那么意外退出同步数据的场景的客户端B可以向服务器发送用于同步服务器数据的数据同步请求,以便快速回到同步数据的场景中。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
图6是本发明另一实施例中的一种基于客户端的网络数据同步装置的结构示意图,如图所示本实施例中的基于客户端的网络数据同步装置60可以包括:
记录模块601,用于记录用户的用户操作数据;
发送模块602,用于生成并向所述服务端发送用于同步服务端数据的数据同步请求;
接收处理模块603,用于接收所述服务端发送的同步数据,处理所述接收模块接收到的所述同步数据。
本发明实施例中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。在发送模块602向所述服务端发送用于同步服务端数据的数据同步请求之后,若所述服务器接收到用于同步服务端数据的数据同步请求时,所述服务器根据用户操作数据的优先级获取同步数据并发送给所述客户端,接收处理模块603接收所述服务端发送的同步数据,处理所述接收模块接收到的同步数据。
举例来说,用户A正在客户端A画一条横线、用户B正在客户端B画一条竖线。在整个操作过程中,客户端A记录用户A画横线的整个操作过程和操作结果的用户操作数据,客户端B记录用户B画竖线的整个操作过程和操作结果的用户操作数据。客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。在同一个数据同步场景中,现有客户端C想要同步服务器中的数据,那么客户端C的发送模块602需要生成一个或多个用于同步服务端数据的数据同步请求,发送模块602并将上述用于同步服务端数据的数据同步请求发送至服务端,请求同步服务端数据。
当客户端C的发送模块602向所述服务器发送用于同步服务端数据的数据同步请求之后,若服务器接收到客户端C的用于同步服务器数据的数据同步请求时,服务器根据用户操作数据的优先级,从301服务器接收到的客户端A记录用户A画横线的用户操作数据和客户端B记录用户B画竖线的用户操作数据中获取客户端当前正在操作位置的数据,发送模块602将获取的当前操作位置的数据作为同步数据发送给客户端C。假设客户端C的接收处理模块603较先接收到所述服务器发送的客户端A记录用户A画横线的用户操作数据,即是客户端A记录用户A画横线的用户操作数据为同步数据,那么客户端C的接收处理模块603需要处理接收到的同步数据,也即是需要处理接收到的客户端A记录用户A画横线的用户操作数据。
可选地,
发送模块602,还用于将所述记录模块601记录的用户操作数据发送给服务端。
具体实现中,客户端A和客户端B都将各自记录的所述用户操作数据发送至服务器,在发送用户操作数据的同时携带上表明其为客户端身份的标识即可。
可选地,
接收处理模块603,还用于接收所述服务器发送的其他操作位置的数据,并处理接收到的所述其他操作位置的数据。
本发明实施例中,接收处理模块603在接收所述服务器发送的当前操作位置的用户操作数据,也即是同步数据,并处理接收到的同步数据之后;还可以接收所述服务器发送的其他操作位置的用户操作数据,并处理接收到的所述其他操作位置的数据。根据图6的例子,在发送模块602向所述服务器发送用于同步服务端数据的数据同步请求之后,接收处理模块603接收其他操作位置的数据,并处理所述接收到的其他操作位置的数据。具体实现中,接收处理模块603接收所述服务器发送的客户端A其他操作位置的用户操作数据和客户端B的用户操作数据,并且需要处理接收到的客户端A其他操作位置的用户操作数据和客户端B的用户操作数据。
可选地,
接收处理模块603,还用于接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。
本发明实施例中,为了保证数据的完整性,接收处理模块603最后还可以接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。依据图6的例子,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,现有客户端D和客户端E向服务器发送客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,在发送用户操作数据的同时携带上了表明其为客户端身份的标识。所述服务器还需继续接收并缓存客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。客户端C的发送模块602向所述服务器发送用于同步服务端数据的数据同步请求之后,接收处理模块603还是需要接收所述服务器缓存的客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据,并处理接收到的客户端D记录用户D正在输入一段文字的用户操作数据和客户端E记录用户E正在绘图的用户操作数据。
需要说明的是,在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端D和客户端E增加进入同步数据的场景中,新加入的客户端D和客户端E也可以发送用于同步服务器数据的数据同步请求,来加快进入同步数据的场景中。
在服务器正在同步客户端A和客户端B的用户操作数据给客户端C的过程中,客户端B由于数据操作量过大或者其他原因意外退出同步数据的场景中,那么意外退出同步数据的场景的客户端B可以向服务器发送用于同步服务器数据的数据同步请求,以便快速回到同步数据的场景中。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
图7是本发明另一实施例中的一种基于客户端的网络数据同步***的结构示意图,如图所示本实施例中的基于客户端的网络数据同步***70可以包括: 服务器701和客户端702,其中:
所述服务器701,用于接收客户端记录的用户操作数据;当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;将获取到的所述待同步数据作为同步数据发送给所述客户端。
本发明实施例中,服务器701在接收到客户端702的用于同步服务器数据的数据同步请求时,所述服务器701可根据用户操作数据的优先级从接收到的多个客户端记录的用户操作数据中获取当前操作位置的数据,所述服务器701将获取的当前操作位置的数据作为待同步数据。所述服务器701将获取到的待同步数据作为同步数据发送给所述客户端702。
具体实现中,由于不同位置的数据优先级是不同的。假设当前操作位置的数据的优先级设定为最高级,相对于最高级而言,其他操作位置的数据的优先级较低。当服务器701接收到客户端702的用于同步服务器数据的数据同步请求时,服务器701可以根据用户操作数据的优先级,从接收到的多个客户端记录的用户操作数据中获取优先级最高的当前操作位置的数据作为待同步数据。
可选地,
所述服务器701,还用于将其他操作位置的数据发送给所述客户端。
本发明实施例中,所述服务器701还可以将其他操作位置的数据发送给所述客户端。
可选地,
所述服务器701,还用于在向客户端发送同步数据的过程中,继续接收并缓存其他客户端的用户操作数据。
本发明实施例中,在向客户端发送同步数据的过程中,其他客户端可能会发送用户操作数据给所述服务器701,为了保证数据的完整性,所述服务器701继续接收并缓存其他客户端的用户操作数据。
所述客户端702,用于记录用户的用户操作数据,并将所述用户操作数据发送给服务端;生成并向所述服务端发送用于同步服务端数据的数据同步请求;接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
本发明实施例中,客户端702在向所述服务端701发送用于同步服务端数据的数据同步请求之后,若所述服务器701接收到用于同步服务端数据的数据 同步请求时,所述服务器根据用户操作数据的优先级获取同步数据并发送给所述客户端,客户端702接收所述服务端发送的同步数据,并处理所述接收模块接收到的同步数据。
可选地,
所述客户端702,还用于接收所述服务器发送的其他操作位置的数据,并处理接收到的所述其他操作位置的数据。
本发明实施例中,所述客户端702在接收所述服务器发送的当前操作位置的用户操作数据,也即是同步数据,并处理接收到的同步数据之后;还可以接收所述服务器发送的其他操作位置的用户操作数据,并处理接收到的所述其他操作位置的数据。
可选地,
所述客户端702,还用于接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。
本发明实施例中,为了保证数据的完整性,所述客户端702最后还可以接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。
本发明实施例中,可根据用户操作数据的优先级快速有选择地进行数据同步操作,提高了数据同步效率,同时也提高了人们获取消息的实时性,提升了用户体验。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (10)

  1. 一种基于客户端的网络数据同步的方法,其特征在于,所述方法包括:
    服务端接收客户端记录的用户操作数据;
    当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;
    将获取到的所述待同步数据作为同步数据发送给所述客户端。
  2. 如权利要求1所述的方法,其特征在于,所述根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据,包括:
    根据用户操作数据的优先级,从接收到的所述客户端记录的用户操作数据中获取当前操作位置的数据;
    将获取的所述当前操作位置的数据作为待同步数据。
  3. 如权利要求1所述的方法,其特征在于,所述方法还包括:
    将其他操作位置的数据发送给所述客户端。
  4. 如权利要求3所述的方法,其特征在于,所述方法还包括:
    在向客户端发送同步数据的过程中,继续接收并缓存其他客户端的用户操作数据。
  5. 一种基于客户端的网络数据同步的方法,其特征在于,所述方法包括:
    客户端记录用户的用户操作数据,并将所述用户操作数据发送给服务端;
    生成并向所述服务器发送用于同步服务端数据的数据同步请求;
    接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
  6. 如权利要求5所述的方法,其特征在于,所述方法还包括:
    接收所述服务器发送的其他操作位置的数据,并处理接收到的所述其他操作位置的数据。
  7. 如权利要求6所述的方法,其特征在于,所述方法还包括:
    接收所述服务器缓存的其他客户端的用户操作数据,并处理接收到的所述其他客户端的用户操作数据。
  8. 一种基于客户端的网络数据同步的装置,其特征在于,所述装置包括:
    接收模块,用于接收客户端记录的用户操作数据;
    获取模块,用于当接收到客户端的用于同步服务器数据的数据同步请求时, 根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;
    发送模块,用于将所述获取模块中获取到的待同步数据作为同步数据发送给所述客户端。
  9. 一种基于客户端的网络数据同步的装置,其特征在于,所述装置包括:
    记录模块,用于记录用户的用户操作数据;
    发送模块,用于生成并向所述服务端发送用于同步服务端数据的数据同步请求;
    接收处理模块,用于接收所述服务端发送的同步数据,处理接收到的所述同步数据。
  10. 一种基于客户端的网络数据同步的***,其特征在于,所述***包括:服务器和客户端,其中:
    所述服务器,用于接收多个客户端记录的用户操作数据;当接收到客户端的用于同步服务器数据的数据同步请求时,根据用户操作数据的优先级从接收到的所述客户端记录的用户操作数据中获取待同步数据;将获取到的所述待同步数据作为同步数据发送给所述客户端;
    所述客户端,用于记录用户的用户操作数据,并将所述用户操作数据发送给服务端;生成并向所述服务端发送用于同步服务端数据的数据同步请求;接收所述服务器发送的同步数据,并处理接收到的所述同步数据。
PCT/CN2016/093084 2015-10-26 2016-08-03 一种基于客户端的网络数据同步的方法、装置以及*** WO2017071356A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510711508.7A CN105407148B (zh) 2015-10-26 2015-10-26 一种基于客户端的网络数据同步的方法、装置以及***
CN201510711508.7 2015-10-26

Publications (1)

Publication Number Publication Date
WO2017071356A1 true WO2017071356A1 (zh) 2017-05-04

Family

ID=55472394

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/093084 WO2017071356A1 (zh) 2015-10-26 2016-08-03 一种基于客户端的网络数据同步的方法、装置以及***

Country Status (2)

Country Link
CN (1) CN105407148B (zh)
WO (1) WO2017071356A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039971A (zh) * 2020-08-26 2020-12-04 支付宝(杭州)信息技术有限公司 数据记录方法及装置、数据存储方法及装置

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105407148B (zh) * 2015-10-26 2019-06-14 广州视睿电子科技有限公司 一种基于客户端的网络数据同步的方法、装置以及***
CN108347480B (zh) * 2018-01-30 2020-05-01 深圳阿凡达智控有限公司 数据同步方法、装置、计算机可读存储介质及电子烟
CN112839067B (zh) * 2019-11-22 2022-07-22 腾讯科技(深圳)有限公司 一种数据同步方法及装置
CN116016491B (zh) * 2022-12-26 2023-09-05 山东华方智联科技股份有限公司 一种智慧建筑设计***和设计方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237074A (zh) * 2013-04-24 2013-08-07 东莞宇龙通信科技有限公司 一种智能终端之间的数据交互方法及***
CN103873567A (zh) * 2014-03-03 2014-06-18 北京智谷睿拓技术服务有限公司 基于任务的数据传输方法及数据传输装置
CN103916423A (zh) * 2012-12-31 2014-07-09 华为技术有限公司 数据同步方法及设备
CN105407148A (zh) * 2015-10-26 2016-03-16 广州视睿电子科技有限公司 一种基于客户端的网络数据同步的方法、装置以及***

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1976275A (zh) * 2006-12-15 2007-06-06 深圳市戴文科技有限公司 一种数据同步的***及方法
US20140278716A1 (en) * 2013-03-15 2014-09-18 Mark William NIX Management and sharing of segments from workflows and business processes
CN104580454A (zh) * 2014-12-31 2015-04-29 乐视网信息技术(北京)股份有限公司 一种数据同步方法、装置及***

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103916423A (zh) * 2012-12-31 2014-07-09 华为技术有限公司 数据同步方法及设备
CN103237074A (zh) * 2013-04-24 2013-08-07 东莞宇龙通信科技有限公司 一种智能终端之间的数据交互方法及***
CN103873567A (zh) * 2014-03-03 2014-06-18 北京智谷睿拓技术服务有限公司 基于任务的数据传输方法及数据传输装置
CN105407148A (zh) * 2015-10-26 2016-03-16 广州视睿电子科技有限公司 一种基于客户端的网络数据同步的方法、装置以及***

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112039971A (zh) * 2020-08-26 2020-12-04 支付宝(杭州)信息技术有限公司 数据记录方法及装置、数据存储方法及装置
CN112039971B (zh) * 2020-08-26 2023-11-24 蚂蚁胜信(上海)信息技术有限公司 数据记录方法及装置、数据存储方法及装置

Also Published As

Publication number Publication date
CN105407148A (zh) 2016-03-16
CN105407148B (zh) 2019-06-14

Similar Documents

Publication Publication Date Title
WO2017071356A1 (zh) 一种基于客户端的网络数据同步的方法、装置以及***
TWI649986B (zh) 即時通訊未讀訊息的同步方法和系統
WO2016124101A1 (zh) 一种信息展示方法、装置及***
US9686506B2 (en) Method, apparatus, system, and storage medium for video call and video call control
EP3447631B1 (en) Writing trajectory synchronization method and system for multiple clients
EP3886452B1 (en) Method for sharing media content, terminal device, and content sharing system
WO2020151599A1 (zh) 视频同步发布方法、装置、电子设备及可读存储介质
US20150117513A1 (en) Bandwidth reduction system and method
JP2018515871A (ja) グループ管理方法および端末、および記憶媒体
CN105530535A (zh) 一种多人观看视频实时互动的方法及***
CN103716227A (zh) 一种用于即时通讯中进行信息交互的方法和装置
CN113286191B (zh) 内容协同方法、装置、电子设备以及存储介质
EP2945337A2 (en) Method, system and server for service switching
US10574713B2 (en) Self-adaptive sample period for content sharing in communication sessions
CN109586929B (zh) 会议内容的传输方法及装置、电子设备、存储介质
JP2015534677A (ja) インスタントメッセージングの方法、端末、サーバ及びシステム
WO2021180198A1 (zh) 信息交互方法、装置、电子设备及存储介质
WO2015144024A1 (zh) 多屏互动方法及装置
TW202147834A (zh) 同步本地房間和遠端共享
WO2016127796A1 (zh) 信息交互方法及服务器
JP2023515105A (ja) マルチメディア会議データ処理方法、装置、及び電子機器
CN113542337B (zh) 信息共享方法、装置、电子设备及存储介质
US20180267693A1 (en) Incorporating user content within a communication session interface
US10666588B2 (en) Method for sharing media content, terminal device, and content sharing system
CN113346973B (zh) 事件提示方法及装置、电子设备、计算机可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16858795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16858795

Country of ref document: EP

Kind code of ref document: A1