WO2015085664A1 - 一种同步方法及终端、服务器 - Google Patents
一种同步方法及终端、服务器 Download PDFInfo
- Publication number
- WO2015085664A1 WO2015085664A1 PCT/CN2014/070464 CN2014070464W WO2015085664A1 WO 2015085664 A1 WO2015085664 A1 WO 2015085664A1 CN 2014070464 W CN2014070464 W CN 2014070464W WO 2015085664 A1 WO2015085664 A1 WO 2015085664A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- terminal
- server
- data
- area network
- local area
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 115
- 230000004044 response Effects 0.000 claims description 109
- 239000000523 sample Substances 0.000 claims description 74
- 238000012795 verification Methods 0.000 claims description 60
- 230000001360 synchronised effect Effects 0.000 claims description 33
- 238000012790 confirmation Methods 0.000 claims description 31
- 239000000284 extract Substances 0.000 claims description 3
- 238000001514 detection method Methods 0.000 claims 16
- 238000004891 communication Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 101100536354 Drosophila melanogaster tant gene Proteins 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000001404 mediated effect Effects 0.000 description 1
- KRTSDMXIXPKRQR-AATRIKPKSA-N monocrotophos Chemical compound CNC(=O)\C=C(/C)OP(=O)(OC)OC KRTSDMXIXPKRQR-AATRIKPKSA-N 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Definitions
- the present invention relates to the field of synchronization technologies, and in particular, to a synchronization method, a terminal, and a server. Background technique
- Cloud synchronization refers to data synchronization between cloud devices and servers on a cloud platform, or data sharing between different devices that are personally centered.
- the cloud synchronization mode between different devices in the conventional technology is that the source device can synchronize data to the target device through the cloud server, that is, the source device needs Synchronize the data that needs to be synchronized to the cloud, and then synchronize it to the target device by the cloud.
- the invention provides a synchronization method, a terminal and a server, so as to reduce the time-consuming synchronization of devices in the same local area network and improve synchronization efficiency.
- the present invention provides an embodiment of a synchronization method.
- the method includes: a first terminal uploading data to a server; the server is associated with at least one second terminal;
- the notification includes information of the at least one second terminal
- the first terminal sends the data to the at least one second terminal via the local area network.
- the information of the at least one second terminal is specifically the login information of the at least one second terminal logging in to the server;
- the first terminal and the at least one second terminal use the same account Recording the server; determining, by the first terminal, that the first terminal and the at least one second terminal are in the same local area network according to the notification:
- the first terminal sends a probe request to other terminals in the local area network where the terminal is located; the probe request includes login information of the first terminal logging in to the server;
- the first terminal Receiving, by the first terminal, a response message of the at least one second terminal, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal; the response message is the at least one The response of the second terminal to the probe request sent by the first terminal.
- the method further includes:
- the first terminal sends an indication message to the server; the indication message is used to indicate the second aspect, and the present invention provides an embodiment of a synchronization method.
- the method includes: a first terminal uploading data to a server; the server is associated with at least one second terminal;
- the first terminal receives the notification of the server; the notification includes information of at least one second terminal; the at least one second terminal is in the same local area network as the first terminal;
- the first terminal sends the data to the at least one second terminal via the local area network.
- the method further includes:
- the first terminal sends an indication message to the server; the indication message is used to indicate the third aspect, and the present invention provides an embodiment of a synchronization method.
- the method includes: a first terminal uploading data to a server; the server is associated with at least one second terminal;
- the first terminal determines that the at least one second terminal is in the same local area network as the first terminal, the first terminal sends the data to the at least one second terminal via the local area network.
- the first terminal sends an indication message to the server, where the indication message is used to notify that the first terminal has The synchronization data is sent to the at least one second terminal.
- the first terminal and the at least one second terminal use the same account to log in to the server; Determining, by the terminal, that the at least one second terminal is in the same local area network as the first terminal is:
- the first terminal sends a probe request to other terminals in the local area network where the terminal is located; the probe request includes login information of the first terminal logging in to the server;
- the first terminal Receiving, by the first terminal, a response message of the at least one second terminal, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal; the response message is the at least one The response of the second terminal to the probe request sent by the first terminal.
- the invention provides an embodiment of a synchronization method.
- the method includes: a first terminal is associated with a server; the server is associated with the second terminal; and the first terminal is in the same local area network as the second terminal ;
- the first terminal receives data sent by the second terminal via the local area network; the data is data to be synchronized that is sent by the second terminal to the server.
- the first terminal and the at least one second terminal use the same account to log in to the server; Before the second terminal is sent by the local area network, the method further includes:
- the first terminal sends a response message to the second terminal; the response message is used to indicate that the first terminal and the second terminal are in the same local area network; and the response message is the at least one second terminal A response to the probe request sent by the first terminal.
- the method before the first terminal receives the data sent by the second terminal by using the local area network, the method also includes:
- the request for data synchronization includes a synchronization credential;
- the synchronization credential includes at least identifier information of the data;
- the first terminal confirms that the data is data to be synchronized sent by the second terminal.
- the method also includes:
- the first terminal extracts identification information of the data
- the first terminal sends an authentication request to the server, where the verification request is used to request the server to verify whether the identification information matches the synchronization data sent by the second terminal received by the server; Description of identification information;
- the confirmation information sent by the server according to the verification request, and the identifier information is matched with the to-be-synchronized data sent by the second terminal received by the server; the confirmation information is used for Confirming that the data received by the terminal is consistent with the synchronization data sent by the second terminal to the server.
- the first terminal receives, by the server, the verification request, and the identifier information, and the identifier received by the server
- the invention provides an embodiment of a synchronization method.
- the method includes: the server is associated with the first terminal, and receives data uploaded by the first terminal; the server is associated with the at least one second terminal, acquiring the at least one Information of the second terminal;
- the server sends a notification to the first terminal; the notification includes information of the at least one second terminal.
- the method further includes:
- the server receives an indication message sent by the first terminal; the indication message is used to refer to End.
- the method further includes:
- the verification request includes identifier information of data sent by the first terminal in the local area network received by the at least one second terminal; And requesting, by the server, whether the identifier information matches the data uploaded by the first terminal received by the server;
- the server When the server confirms that the data uploaded by the first terminal is consistent with the identifier information, the server sends the confirmation information to the at least one second terminal; the confirmation information is used to confirm the at least one second terminal.
- the received data is consistent with the data received by the server.
- the method further includes:
- the server When the server confirms that the data uploaded by the first terminal is inconsistent with the identifier information, the server sends an indication message to the at least one second terminal; the indication message is used to confirm the at least one second terminal.
- the received data is inconsistent with the data received by the server.
- the invention provides an embodiment of a synchronization method.
- the method includes: the server is associated with the first terminal, and receives data uploaded by the first terminal; the server is associated with the at least one second terminal, acquiring the at least one Information of the second terminal;
- the server determines that the first terminal is in the same local area network as the at least one second terminal, the server sends a notification to the first terminal; the notification includes information of the at least one second terminal, The at least one second terminal is in the same local area network as the first terminal.
- the method further includes:
- the server receives the indication message sent by the first terminal; the indication message is used by the indicator.
- the method further comprises:
- the verification request includes identifier information of data sent by the first terminal in the local area network received by the at least one second terminal; And requesting, by the server, whether the identifier information matches the data uploaded by the first terminal received by the server;
- the server When the server confirms that the data uploaded by the first terminal is consistent with the identifier information, the server sends the confirmation information to the at least one second terminal; the confirmation information is used to confirm the at least one second terminal.
- the received data is consistent with the data received by the server.
- the method further includes:
- the server When the server confirms that the data uploaded by the first terminal is inconsistent with the identifier information, the server sends an indication message to the at least one second terminal; the indication message is used to confirm the at least one second terminal.
- the received data is inconsistent with the data received by the server.
- the present invention provides an embodiment of a terminal.
- the terminal includes:
- a transmitter configured to upload data to the server; the server is associated with the at least one second terminal; and the data is sent to the at least one second terminal via the local area network.
- a receiver configured to receive a notification sent by the server; the notification includes information of the at least one second terminal;
- a processor configured to determine, according to the notification, that the first terminal is in the same local area network as the at least one second terminal;
- the information of the at least one second terminal is specifically the login information of the at least one second terminal logging in to the server;
- the first terminal and the at least one second terminal use the same account to log in to the server;
- the transmitter is further configured to send a probe request to another terminal in a local area network where the terminal is located; the probe request includes login information that the first terminal logs in to the server;
- the receiver is further configured to receive a response message of the at least one second terminal, where the response message is that the at least one second terminal sends the probe request to the first terminal the response to;
- the processor is further configured to determine, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the transmitter is further configured to: send an indication message to the server;
- the invention provides an embodiment of a terminal.
- the terminal includes:
- a transmitter configured to upload data to the server;
- the server is associated with the at least one second terminal;
- the at least one second terminal is in the same local area network as the first terminal;
- a receiver configured to receive a notification of the server; the notification includes information of at least one second terminal.
- the transmitter is further configured to: send an indication message to the server; the indication message is used to indicate the ninth aspect,
- the present invention provides an embodiment of a terminal.
- the terminal includes:
- a transmitter configured to upload data to the server; the server is associated with the at least one second terminal; and when the determining circuit determines that the at least one second terminal is in the same local area network as the first terminal, Sending the data to the at least one second terminal
- the determining circuit is configured to determine that the at least one second terminal is in the same local area network as the first terminal.
- the transmitter is further configured to: send an indication message to the server; the indication message is used to notify the first terminal The to-be-synchronized data has been transmitted to the at least one second terminal.
- the first terminal and the at least one second terminal use the same account to log in to the server;
- the circuit includes a transmitter, a receiver, and a processor; the determining circuit determines that the at least one second terminal and the first terminal are in the same local area network, specifically:
- the transmitter is further configured to send a probe request to another terminal in the local area network where the terminal is located; the probe request includes login information that the first terminal logs in to the server;
- the receiver is configured to receive a response message of the at least one second terminal, where the response message is a response to the probe request sent by the at least one second terminal to the first terminal;
- the processor is configured to determine, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the present invention provides an embodiment of a terminal.
- the terminal includes:
- a connector associated with the server;
- the server is associated with the second terminal;
- the terminal is in the same local area network as the second terminal;
- the receiver And receiving, by the receiver, data sent by the second terminal via the local area network; the data is data to be synchronized that is uploaded by the second terminal to the server.
- the terminal and the at least one second terminal use the same account to log in to the server;
- the receiver is further configured to: before receiving the data sent by the second terminal by using the local area network, receive a probe request sent by the second terminal by using the local area network, where the probe request includes the first terminal login Login information of the server;
- the terminal further includes:
- a transmitter configured to send a response message to the second terminal, where the response message is used to indicate that the first terminal is in the same local area network as the second terminal, and the response message is the at least one second terminal A response to the probe request sent by the first terminal.
- the receiver is further configured to: before receiving the data sent by the second terminal by using the local area network, a request sent by the second terminal for data synchronization in the local area network;
- the terminal further includes:
- the receiver is further configured to: before receiving the data sent by the second terminal by using the local area network, a request sent by the second terminal for data synchronization in the local area network;
- the transmitter is further configured to send, to the second terminal, a response to the data synchronization request Should.
- the data synchronization request includes a synchronization certificate; the synchronization certificate includes at least the identification information of the data; the terminal further includes:
- a processor configured to: after receiving, by the receiver, the data sent by the second terminal via the local area network, confirming that the synchronization credential matches the data, confirming that the data is sent by the second terminal Synchronous Data.
- the electronic device further includes:
- a processor configured to extract, after the receiver receives the data sent by the second terminal by using the local area network, identifier information of the data
- a sender configured to send an authentication request to the server, where the verification request is used to request the server to verify whether the identifier information matches the synchronization data sent by the second terminal received by the server; Description of identification information;
- the receiver is further configured to: receive confirmation information sent by the server according to the verification request, and the identifier information is matched with the to-be-synchronized data sent by the second terminal received by the server; The information is used to confirm that the data received by the terminal is consistent with the synchronization data sent by the second terminal to the server.
- the electronic device further includes:
- a processor configured to extract, after the receiver receives the data sent by the second terminal by using the local area network, identifier information of the data
- the sender is further configured to: send an authentication request to the server; the verification request is used to request the server to verify whether the identifier information matches the synchronization data sent by the second terminal received by the server; The request includes the identification information;
- the receiver is further configured to: receive confirmation information sent by the server according to the verification request, and the identifier information is matched with the to-be-synchronized data sent by the second terminal received by the server; The information is used to confirm that the data received by the terminal is consistent with the synchronization data sent by the second terminal to the server.
- the receiver is further configured to: receive an indication message sent by the server according to the verification request, and the identifier information does not match the synchronization data sent by the second terminal received by the server; The message is used to indicate that the data received by the first terminal does not match the data to be synchronized sent by the second terminal.
- the present invention provides an embodiment of a server.
- the server includes: a connector, configured to be associated with the first terminal; the server is associated with the at least one second terminal;
- a receiver configured to receive data uploaded by the first terminal
- a processor configured to acquire information about the at least one second terminal
- a transmitter configured to send a notification to the first terminal; the notification includes information of the at least one second terminal.
- the receiver is further configured to: receive an indication message sent by the first terminal;
- the receiver is further configured to: receive the verification request sent by the at least one second terminal;
- the verification request includes the identification information of the data sent by the first terminal in the local area network received by the at least one second terminal; the verification request is used to request the server to verify the identification information and the Whether the data uploaded by the first terminal matches;
- the processor is further configured to: confirm whether the data uploaded by the first terminal received by the server is consistent with the identifier information;
- the transmitter is further configured to: when the processor confirms that the data uploaded by the first terminal that is received by the server is consistent with the identifier information, send the acknowledgement information to the at least one second terminal; The data used to confirm that the at least one second terminal receives is consistent with the data received by the server.
- the transmitter is further configured to: after the processor confirms, the data uploaded by the first terminal received by the server When the identifier information is inconsistent, sending an indication message to the at least one second terminal; the indication message is used to confirm data received by the at least one second terminal and the The data received by the server is inconsistent.
- the present invention provides an embodiment of a server.
- the server includes: a connector, configured to be associated with the first terminal; and associated with the at least one second terminal;
- a receiver configured to receive data uploaded by the first terminal
- a processor configured to acquire information about the at least one second terminal, and determine whether the first terminal and the at least one second terminal are in the same local area network
- a transmitter configured to send a notification to the first terminal when the processor determines that the first terminal is in the same local area network as the at least one second terminal; the notification includes the at least one second terminal Information: the at least one second terminal is in the same local area network as the first terminal.
- the receiver is further configured to: receive an indication message sent by the first terminal;
- the receiver is further configured to: receive the verification request sent by the at least one second terminal;
- the verification request includes the identification information of the data sent by the first terminal in the local area network received by the at least one second terminal; the verification request is used to request the server to verify the identification information and the Whether the data uploaded by the first terminal matches;
- the processor is further configured to: confirm whether the data uploaded by the first terminal received by the server is consistent with the identifier information;
- the transmitter is further configured to: when the processor confirms that the data uploaded by the first terminal that is received by the server is consistent with the identifier information, send the acknowledgement information to the at least one second terminal; The data used to confirm that the at least one second terminal receives is consistent with the data received by the server.
- the transmitter is further configured to: after the processor confirms, the data uploaded by the first terminal received by the server When the identifier information is inconsistent, the indication message is sent to the at least one second terminal; the indication message is used to confirm that the data received by the at least one second terminal is inconsistent with the data received by the server.
- the embodiment of the present invention passes The data synchronization between the source device and the target device is implemented in the local area network where the source device and the target device are located, which saves synchronization time and improves synchronization efficiency.
- FIG. 1 is a schematic flowchart of a synchronization method according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a synchronization method according to an embodiment of the present invention.
- FIG. 3 is a schematic flowchart of a synchronization method according to an embodiment of the present invention.
- FIG. 4 is a schematic flowchart of a synchronization method according to an embodiment of the present invention.
- FIG. 5 is a schematic flowchart of a synchronization method according to an embodiment of the present disclosure.
- FIG. 6 is a schematic flowchart of a synchronization method according to an embodiment of the present invention.
- FIG. 7 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 8 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 9 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 10 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 11 is a schematic structural diagram of a terminal according to an embodiment of the present disclosure.
- FIG. 12 is a schematic structural diagram of a server according to an embodiment of the present disclosure.
- FIG. 13 is a schematic structural diagram of a server according to an embodiment of the present invention. detailed description
- FIG. 1 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the first terminal uploads data to the server; the server is associated with at least one second terminal Association
- the first terminal logs in to the server, and uploads the data updated by the first terminal to the server. Specifically, the first terminal has completed uploading the data, and the server has received data uploaded by the first terminal. After the first terminal completes the data upload of the terminal update, the first terminal performs subsequent operations, such as searching for at least one second terminal in the local area network of the terminal. Or the first terminal uploads data updated by the terminal to the server, where the first terminal is in the process of uploading data to the server, the updated data has not been uploaded yet, and the server has not received the data. Complete data of the first terminal update. When the first terminal is in the process of uploading data to the server, the first terminal may perform an operation of searching for at least one second terminal in the local area network where the terminal is located. In this regard, the embodiments of the present invention are not limited.
- the server is associated with the at least one second terminal, and the association may be for the server to be connected to the at least one second terminal.
- the first terminal and the at least one second terminal are logged in to the same server, and the account of the at least one second terminal logging in to the server may be the same as or different from the account of the first terminal logging in to the server.
- the first terminal receives a notification sent by the server, where the notification includes information about the at least one second terminal.
- the notification includes information of the at least one second terminal.
- the information of the at least one second terminal may specifically be address information of the at least one second terminal, such as an IP address or the like.
- the information of the at least one second terminal may be the login information of the at least one second terminal, including the account information of the at least one second terminal logging in to the server, and the like.
- the first terminal determines, according to the notification, that the first terminal is in the same local area network as the at least one second terminal.
- the first terminal acquires information of the at least one second terminal according to the notification, and the first terminal determines, according to information of the at least one second terminal, that the at least one second terminal is in the same local area network. .
- the first terminal acquires address information of the at least one second terminal, where The first terminal determines, according to the IP address of the at least one second terminal, that the at least one second terminal is in the same local area network as the first terminal.
- the server is configured according to the address information of the first terminal and the at least one second terminal, And confirming that the first terminal is in the same local area network as the at least one second terminal, and the notification includes information that the first terminal and the at least one second terminal are in the same local area network.
- the first terminal acquires login information of the at least one second terminal, to the first terminal.
- the other terminal in the local area network sends a probe request, and receives a response from another terminal in the local area network where the first terminal is located, and determines that the first terminal and the at least one second terminal are in the same local area network.
- the first terminal sends the data to the at least one second terminal via the local area network.
- the first terminal sends the data to the at least one part in the local area network.
- the data sent by the first terminal to the at least one second terminal is the same as the data sent by the first terminal to the server.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the information of the at least one second terminal is specifically login information of the at least one second terminal logging in to the server; the first terminal and the at least one The second terminal uses the same account to log in to the server; the first terminal determines, according to the notification, that the first terminal and the at least one second terminal are in the same local area network, where the first terminal is located in the local area network where the terminal is located.
- the other terminal sends a probe request; the probe request includes login information of the first terminal logging in to the server; the first terminal receives a response message of the at least one second terminal, and determines, according to the response message, The at least one second terminal is in the same local area network as the first terminal; the response message is a response to the probe request sent by the at least one second terminal to the first terminal.
- the login information may include account information and address information of the at least one second terminal.
- the probe request includes account information of the first terminal logging in to the server, and the At least one of the address information of the first terminal; the sending, by the first terminal, the probe request to other terminals in the local area network is:
- the first terminal broadcasts a message in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the first terminal broadcasts a message to a specific terminal in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the first terminal sends a message to the terminal corresponding to the instruction ID in the local area network.
- the at least one second terminal After receiving the probe request sent by the first terminal, the at least one second terminal acquires account information of the first terminal logging in to the server. The at least one second terminal sends a response to the probe request to the first terminal, where the response includes account information of the at least one second terminal logging in to the server and an address of the at least one second terminal At least one of the information. Receiving, by the first terminal, the response of the at least one second terminal to the probe request, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the method further includes: the first terminal sending an indication message to the server; the indication message is used to instruct the first terminal to receive the indication After the message, the data uploaded by the first terminal is no longer sent to the at least one second terminal.
- the at least one second terminal may also send the indication message to the server.
- FIG. 2 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the first terminal uploads data to the server;
- the server is associated with the at least one second terminal;
- the first terminal receives the notification of the server; the notification includes information of at least one second terminal; the first terminal is in the same local area network as the at least one second terminal; After the server, the notification sent by the server is received.
- the notification includes information of the at least one second terminal.
- the first terminal is in the same local area network as the at least one second terminal.
- the notification of the server received by the first terminal may include information about the at least one second terminal and information that the at least one second terminal is on the same local area network as the first terminal.
- the information of the at least one second terminal may specifically be address information of the at least one second terminal, such as an IP address, a hardware interface parameter that receives the data, and the like.
- the information of the at least one second terminal may be the login information of the at least one second terminal, including the account information of the at least one second terminal logging in to the server, and the like.
- the first terminal sends the data to the at least one second terminal via the local area network.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the method further includes: the first terminal sending an indication message to the server; the indication message is used to instruct the first terminal to receive the indication After the message, the data uploaded by the first terminal is no longer sent to the at least one second terminal.
- the at least one second terminal may also send the indication message to the server.
- FIG. 3 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the first terminal when the first terminal determines that the at least one second terminal is in the same local area network as the first terminal, the first terminal sends the data to the at least one second terminal via the local area network.
- the first terminal sends the data to the at least one part in the local area network.
- the data sent by the first terminal to the at least one second terminal is the same as the data sent by the first terminal to the server.
- the first terminal determines that the at least one second terminal is the same as the first terminal
- the local area network is configured to send a probe request to the other terminal in the local area network where the terminal is located, where the probe request may include at least one of account information or address information of the first terminal.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the method further includes: the first terminal sending an indication message to the server; the indication message is used to notify the first terminal that the Synchronous data is transmitted to the at least one second terminal.
- the at least one second terminal may also send the indication message to the server.
- the first terminal and the at least one second terminal use the same account to log in to the server; the first terminal determines the at least one second terminal and the The first terminal is in the same local area network, where the first terminal sends a probe request to other terminals in the local area network where the terminal is located; the probe request includes login information of the first terminal logging in to the server; Receiving, by the terminal, a response message of the at least one second terminal, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal; the response message is that the at least one second terminal is located The response sent by the first terminal to the probe request.
- the probe request includes at least one of the account information of the first terminal logging in to the server and the address information of the first terminal; the first terminal sending a probe request to other terminals in the local area network is specifically:
- the terminal broadcasts a message in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the terminal broadcasts a message to a specific terminal in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the terminal When the terminal user knows other terminals in the local area network that are logged in by the same account, the terminal sends a message to the terminal corresponding to the instruction ID in the local area network.
- the at least one second terminal After receiving the probe request sent by the first terminal, the at least one second terminal acquires account information of the first terminal logging in to the server. The at least one second terminal to the The first terminal sends a response to the probe request, the response including at least one of account information of the at least one second terminal logging in to the server and address information of the at least one second terminal. Receiving, by the first terminal, the response of the at least one second terminal to the probe request, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- FIG. 4 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the first terminal is associated with the server; the server is associated with the second terminal; the first terminal is in the same local area network as the second terminal;
- the first terminal logs in to the server, and uploads the data updated by the first terminal to the server. Specifically, the first terminal has completed uploading the data, and the server has received data uploaded by the first terminal. After the first terminal completes the data upload of the terminal update, the first terminal performs subsequent operations, such as searching for at least one second terminal in the local area network of the terminal. Or the first terminal uploads data updated by the terminal to the server, where the first terminal is in the process of uploading data to the server, the updated data has not been uploaded yet, and the server has not received the data. Complete data of the first terminal update. When the first terminal is in the process of uploading data to the server, the first terminal may perform an operation of searching for at least one second terminal in the local area network where the terminal is located. In this regard, the embodiments of the present invention are not limited.
- the server is associated with the at least one second terminal, and the association may be for the server to be connected to the at least one second terminal.
- the first terminal and the at least one second terminal are logged in to the same server, and the account of the at least one second terminal logging in to the server may be the same as or different from the account of the first terminal logging in to the server.
- the first terminal and the second terminal are in the same local area network.
- the first terminal receives the notification of the server, where the notification includes information about the at least one second terminal in the same local area network as the first terminal, such as login of the at least one second terminal. Information and / or address information.
- the first terminal sends a probe request to other terminals in the local area network where the terminal is located, to detect at least one second terminal that is logged in to the same server as the first terminal, and requests the probe according to the other terminal. Responding to determining at least one second terminal within the same local area network as the first terminal.
- S402 The first terminal receives data sent by the second terminal by using the local area network, where the data is data to be synchronized that is sent by the second terminal to the server.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the first terminal and the at least one second terminal use the same account to log in to the server, and the first terminal receives the second terminal by using the Before the data sent by the local area network, the method further includes: the first terminal receiving a probe request sent by the second terminal by using the local area network, where the probe request includes login information of the first terminal logging in to the server;
- the first terminal sends a response message to the second terminal; the response message is used to indicate that the first terminal and the second terminal are in the same local area network; and the response message is the at least one second terminal A response to the probe request sent by the first terminal.
- the probe request includes at least one of the account information of the first terminal logging in to the server and the address information of the first terminal; the first terminal sending a probe request to other terminals in the local area network is specifically:
- the terminal broadcasts a message in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the terminal broadcasts a message to a specific terminal in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the terminal When the terminal user knows other terminals in the local area network that are logged in by the same account, the terminal sends a message to the terminal corresponding to the instruction ID in the local area network.
- the at least one second terminal After receiving the probe request sent by the first terminal, the at least one second terminal acquires account information of the first terminal logging in to the server. The at least one second terminal sends a response to the probe request to the first terminal, where the response includes account information of the at least one second terminal logging in to the server and an address of the at least one second terminal At least one of the information. Receiving, by the first terminal, the response of the at least one second terminal to the probe request, determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the method before the receiving, by the first terminal, the data sent by the second terminal by using the local area network, the method further includes: the first terminal receiving the a request sent by the second terminal for data synchronization in the local area network; the first The terminal sends a response to the data synchronization request to the second terminal.
- the second terminal may send a request for data synchronization to the first terminal by using a server; optionally, the second terminal may also send data synchronization to the first terminal in the local area network. Request.
- the request for data synchronization includes a synchronization credential; the synchronization credential includes at least identifier information of the data; and receiving, by the first terminal, the second terminal After the data sent by the local area network, the method further includes: when confirming that the synchronization credential matches the data, the first terminal confirms that the data is data to be synchronized sent by the second terminal.
- the synchronization credential includes at least identifier information of the data that is sent by the second terminal to the first terminal.
- the first terminal matches the synchronization credential and the data received by the terminal, and when it is confirmed that the synchronization credential matches the data received by the terminal, the data is confirmed to be the data to be synchronized sent by the second terminal.
- the synchronization credential may be one or more of the digest, hash value, name, size, and the like of the data. The introduction of the synchronization credential guarantees the correctness and integrity of the transmitted data.
- the method further includes: the first terminal extracting the data
- the first terminal sends an authentication request to the server; the verification request is used to request the server to verify whether the identifier information matches the synchronization data sent by the second terminal received by the server;
- the verification request includes the identification information;
- the first terminal receives the confirmation sent by the server according to the verification request, and the identification information is matched with the to-be-synchronized data sent by the second terminal received by the server
- the confirmation information is used to confirm that the data received by the terminal is consistent with the synchronization data sent by the second terminal to the server.
- the first terminal may save the data.
- the method further includes: the first terminal receiving, when the server is configured according to the verification request, and the identifier information does not match the synchronization data sent by the second terminal received by the server,
- the indication message is used to indicate that the data received by the first terminal does not match the data to be synchronized sent by the second terminal.
- the first terminal may delete the data.
- the first terminal may further receive data to be synchronized sent by the server.
- FIG. 5 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the server is associated with the first terminal, and receives data uploaded by the first terminal.
- the server is associated with the at least one second terminal, and obtains information about the at least one second terminal.
- the server is associated with the first terminal.
- the association may be for the first terminal to be connected to the server.
- the first terminal has data to be synchronized, the first terminal sends the data to be synchronized to the server, and the server receives data uploaded by the first terminal.
- the server is associated with the at least one second terminal.
- the association may be that the second terminal is connected to the server.
- the server acquires information of the at least one second terminal.
- the information of the at least one second terminal may include one or more of address information, login information, and the like of the at least one second terminal.
- S502 The server sends a notification to the first terminal, where the notification includes information about the at least one second terminal.
- the server After the server acquires the information of the at least one second terminal, the server sends a notification to the first terminal, where the notification includes at least information of the at least one second terminal. After acquiring the notification sent by the server, the first terminal determines, according to the notification, at least one second terminal in the same local area network as the first terminal. After the first terminal determines at least one second terminal in the local area network where the terminal is located, the first terminal sends the data to the at least one second terminal in the local area network.
- the first terminal determines, according to the notification sent by the server, the at least one second terminal in the same local area network as the terminal according to the notification, and implements data synchronization in the same local area network, thereby saving data. Synchronization time increases synchronization efficiency.
- the method further includes: the server receiving the indication message sent by the first terminal; the indication message is used to instruct the first server to acquire the indication message Afterwards, the data sent by the first terminal received by the server is not sent to the at least one second terminal.
- the method further includes: the server receiving an authentication request sent by the at least one second terminal; the verification request includes the The identification information of the data sent by the first terminal in the local area network received by the at least one second terminal; the verification request is used to request the server to verify the identifier information and the first terminal uploaded by the server Whether the data is matched; the server confirms that the data uploaded by the first terminal is consistent with the identification information, and sends the confirmation information to the at least one second terminal; the confirmation information is used to confirm the at least The data received by a second terminal is consistent with the data received by the server.
- the identification information may be one or more of a digest, a hash value, a name, a size, and the like of the data.
- the method further includes: when the server confirms that the data uploaded by the first terminal is inconsistent with the identifier information, the server sends an indication message to the at least one second terminal; The data received by the at least one second terminal is confirmed to be inconsistent with the data received by the server. The server may further send, to the at least one second terminal, data sent by the first terminal received by the server.
- FIG. 6 is a flowchart of a synchronization method according to an embodiment of the present invention. As shown, the method includes:
- the server is associated with the first terminal, and receives data uploaded by the first terminal.
- the server is associated with the at least one second terminal, and obtains information about the at least one second terminal.
- the server determines that the first terminal is in the same local area network as the at least one second terminal, the server sends a notification to the first terminal; the notification includes the at least one second terminal.
- the at least one second terminal is in the same local area network as the first terminal.
- the server determines, according to the information of the first terminal and the at least one second terminal, that the first terminal is in the same local area network as the at least one second terminal, the server is to the first The terminal sends a notification.
- the information of the first terminal and the at least one second terminal may be address information of the at least one second terminal.
- the notification may be in the form of signaling, or may be in the form of text information, and may also include address information of the first terminal and/or the at least one second terminal.
- the data is sent to the at least one second terminal in the local area network.
- the first terminal determines, according to the notification sent by the server, the at least one second terminal in the same local area network as the terminal according to the notification, and implements data synchronization in the same local area network, thereby saving data. Synchronization time increases synchronization efficiency.
- the method further includes: the server receiving an indication message sent by the first terminal; the indication message is used to indicate that the first server receives the indication message Afterwards, the data uploaded by the first terminal is no longer sent to the at least one second terminal.
- the at least one second terminal may also send the indication message to the server.
- the method further includes: the server receiving an authentication request sent by the at least one second terminal; the verification request includes receiving, by the at least one second terminal The identification information of the data sent by the first terminal in the local area network; the verification request is used to request the server to verify whether the identification information matches the data uploaded by the first terminal received by the server; When the server confirms that the data uploaded by the first terminal is consistent with the identifier information, the server sends the acknowledgement information to the at least one second terminal; the acknowledgement information is used to confirm that the at least one second terminal receives The data is consistent with the data received by the server.
- the identification information may be one or more of a digest, a hash value, a name, a size, and the like of the data.
- the method further includes: when the server confirms that the data uploaded by the first terminal is inconsistent with the identifier information, the server sends an indication message to the at least one second terminal; The data received by the at least one second terminal is confirmed to be inconsistent with the data received by the server. The server may further send, to the at least one second terminal, data sent by the first terminal received by the server.
- the terminal device disclosed by the present invention can be implemented as a single device or integrated into various media data playing devices, such as a mobile phone, a tablet computer (Tablet Per sona l Computer), a laptop computer (Laptop Computer). , multimedia player, personal digital assistant (persona l dig i ta l as sis tant, PDA for short), Mobi le Internet Device (MID) or wearable device (Wearable Devi ce).
- a mobile phone a tablet computer (Tablet Per sona l Computer), a laptop computer (Laptop Computer).
- multimedia player personal digital assistant
- personal digital assistant persona l dig i ta l as sis tant, PDA for short
- MID Mobi le Internet Device
- wearable Devi ce wearable Devi ce
- the processor is a control center of the terminal electronic device, and connects various parts of the entire electronic device by using various interfaces and lines, by running or executing software programs and/or modules stored in the storage unit, and calling the storage in the storage unit. Data to perform various functions of the electronic device and/or process data.
- the processor may be composed of an integrated circuit (IC), for example, may be composed of a single packaged IC, or may be composed of a plurality of packaged ICs that have the same function or different functions.
- IC integrated circuit
- the processor may only include a central processing unit (Centra l Proces s ing Uni t (CPU for short) may also be a combination of a GPU, a digital signal processor (DSP), and a control chip (for example, a baseband chip) in a communication unit.
- the CPU may be a single computing core, and may also include multiple computing cores.
- FIG. 7 is a schematic structural diagram of an embodiment of a terminal provided by the present invention. As shown, the terminal includes:
- the sender 730 is configured to upload data to the server; the server is associated with the at least one second terminal.
- the first terminal is connected to the server, and the sender uploads data updated by the terminal to the server.
- the receiver 740 is configured to receive a notification sent by the server, where the notification includes information about the at least one second terminal.
- the information of the at least one second terminal that is received by the receiver may be specifically address information of the at least one second terminal, such as an IP address.
- the information about the at least one second terminal that is received by the receiver may be the login information of the at least one second terminal, including the account information of the at least one second terminal logging in to the server, and the like.
- the processor 720 is configured to determine, according to the notification, that the first terminal is in the same local area network as the at least one second terminal;
- the processor acquires address information of the at least one second terminal, and the processor is configured according to the The IP address of the at least one second terminal determines that the at least one second terminal is in the same local area network as the first terminal.
- the server is configured according to the address information of the first terminal and the at least one second terminal, And confirming that the first terminal is in the same local area network as the at least one second terminal, and the notification includes information that the first terminal and the at least one second terminal are in the same local area network.
- the processor acquires the notification, and determines that the first terminal is in the same local area network as the at least one second terminal.
- the processor acquires login information of the at least one second terminal.
- the processor instructs the sender to send a probe to other terminals in the local area network where the first terminal is located
- the request is received, and the receiver receives a response of other terminals in the local area network where the first terminal is located.
- the processor determines, according to the response, that the first terminal is in the same local area network as the at least one second terminal.
- the transmitter 730 is further configured to send the data to the at least one second terminal via the local area network.
- the transmitter After the processor determines that the first terminal is in the same local area network as the at least one second terminal, the transmitter sends the data to the at least one second terminal via the local area network.
- the data sent by the first terminal to the at least one second terminal is the same as the data sent by the first terminal to the server.
- Communication bus 71 0 is used to implement connection communication between processor 720, transmitter 730 and the receiver.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the information of the at least one second terminal is specifically login information of the at least one second terminal logging in to the server; the first terminal and the at least one The second terminal uses the same account to log in to the server; the sender is further configured to send a probe request to other terminals in the local area network where the terminal is located; the probe request includes login information of the first terminal logging in to the server; The receiver is further configured to: receive a response message of the at least one second terminal; the response message is a response that the at least one second terminal sends to the first terminal to the probe request; The processor is further configured to: determine, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the login information may include account information and address information of the at least one second terminal.
- the probe request includes at least one of the account information of the first terminal logging in to the server and the address information of the first terminal; and the sending, by the sender, the probe request to other terminals in the local area network is:
- the transmitter broadcasts a message to a specific terminal in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the The transmitter sends a message to the terminal corresponding to the instruction ID in the local area network.
- the at least one second terminal After receiving the probe request sent by the first terminal, the at least one second terminal acquires account information of the first terminal logging in to the server. The at least one second terminal sends a response to the probe request to the first terminal, where the response includes account information of the at least one second terminal logging in to the server and an address of the at least one second terminal At least one of the information. Receiving, by the receiver, the response of the at least one second terminal to the probe request, the processor determining, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the sender is further configured to: send an indication message to the server; the indication message is used to indicate that the first terminal is to be in the local area network Data is transmitted to the at least one second terminal. After receiving the indication message, the server does not send the data uploaded by the first terminal to the at least one second terminal.
- FIG. 8 is a schematic structural diagram of an embodiment of a terminal provided by the present invention. As shown, the terminal includes:
- a transmitter 830 configured to upload data to a server;
- the server is associated with at least one second terminal;
- the at least one second terminal is in the same local area network as the first terminal;
- the receiver 820 is configured to receive a notification of the server, where the notification includes information of at least one second terminal.
- the information of the at least one second terminal that is received by the receiver may be specifically address information of the at least one second terminal, such as an IP address.
- the information of the at least one second terminal that is received by the receiver may be the login information of the at least one second terminal, including the account information of the at least one second terminal logging in to the server, and the like.
- the notification of the server received by the first terminal received by the receiver may include information about the at least one second terminal and information about the same local area network of the at least one second terminal and the first terminal .
- the transmitter 830 is further configured to send the data to the at least one second terminal via the local area network;
- Communication bus 810 is used to implement connection communication between transmitter 830 and receiver 820.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the sender is further configured to: send an indication message to the server; the indication message is used to indicate that the first terminal is to be in the local area network Data is transmitted to the at least one second terminal. After receiving the indication message, the server does not send the data uploaded by the first terminal to the at least one second terminal.
- FIG. 9 is a schematic structural diagram of an embodiment of a terminal provided by the present invention.
- the terminal is referred to as a first terminal in the embodiment of the present invention.
- the first terminal includes:
- the transmitter 930 is configured to upload data to the server; the server is associated with the at least one second terminal.
- the determining circuit 920 is configured to determine that the at least one second terminal is in the same local area network as the first terminal.
- the communication bus 91 0 is used to implement connection communication between the transmitter 930 and the decision circuit 920.
- the determining circuit searches for at least one second terminal in the local area network of the terminal that is associated with the terminal, and determines that the at least one second terminal is in the same local area network as the terminal.
- the determining circuit 92 0 includes a transmitter 9 31, a receiver 941, and a processor 951; the determining circuit determines that the at least one second terminal is in the first terminal
- the same LAN is specifically:
- the transmitter is further configured to send a probe request to another terminal in a local area network where the terminal is located; the probe request includes login information that the first terminal logs in to the server;
- the receiver is configured to receive a response message of the at least one second terminal, where the response message is a response to the probe request sent by the at least one second terminal to the first terminal;
- the processor is configured to determine, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the transmitter is further configured to: when the determining circuit determines that the at least one second terminal is in the same local area network as the first terminal, send the data to the at least one second terminal via the local area network
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the sender is further configured to: send an indication message to the server; the indication message is used to indicate that the first terminal is to be in the local area network Data is transmitted to the at least one second terminal. After receiving the indication message, the server does not send the data uploaded by the first terminal to the at least one second terminal.
- the first terminal and the at least one second terminal use the same account to log in to the server;
- the determining circuit includes a transmitter, a receiver, and a processor; Determining, by the determining circuit, that the at least one second terminal is in the same local area network as the first terminal is: the transmitter is further configured to: send a probe request to another terminal in a local area network where the terminal is located; The first terminal is logged in to the login information of the server; the receiver is configured to receive a response message of the at least one second terminal, and the response message is sent by the at least one second terminal to the first terminal
- the processor is configured to: determine, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- the login information may include account information and address information of the at least one second terminal.
- the probe request includes at least one of the account information of the first terminal logging in to the server and the address information of the first terminal; and the sending, by the sender, the probe request to other terminals in the local area network is:
- the transmitter broadcasts a message to a specific terminal in the local area network, and detects other terminals in the local area network that use the same account to log in to the same cloud server; or
- the sender sends a message to the terminal corresponding to the instruction ID in the local area network.
- the at least one second terminal After receiving the probe request sent by the first terminal, the at least one second terminal acquires account information of the first terminal logging in to the server. The at least one second terminal sends a response to the probe request to the first terminal, where the response includes account information of the at least one second terminal logging in to the server and an address of the at least one second terminal At least one of the information. Receiving, by the receiver, the at least one second terminal to the probe request In response, the processor determines, according to the response message, that the at least one second terminal is in the same local area network as the first terminal.
- FIG. 11 is a schematic structural view of an embodiment of a terminal provided by the present invention.
- the terminal is referred to as a first terminal in the embodiment of the present invention.
- the first terminal includes:
- a connector 1030 associated with the server; the server is associated with the second terminal; the first terminal and the second terminal are in the same local area network;
- the server is associated with the at least one second terminal, and the association may be for the server to be connected to the at least one second terminal.
- the first terminal and the at least one second terminal are logged in to the same server, and the account of the at least one second terminal logging in to the server may be the same as or different from the account of the first terminal logging in to the server.
- the first terminal and the second terminal are in the same local area network.
- the first terminal receives the notification of the server, where the notification includes information about the at least one second terminal in the same local area network as the first terminal, such as login of the at least one second terminal. Information and / or address information.
- the first terminal sends a probe request to other terminals in the local area network where the terminal is located, to detect at least one second terminal that is logged in to the same server as the first terminal, and requests the probe according to the other terminal. Responding to determining at least one second terminal within the same local area network as the first terminal.
- the receiver 1020 receives data sent by the second terminal via the local area network, where the data is data to be synchronized that is uploaded by the second terminal to the server.
- the first terminal and the second terminal are in the same local area network.
- the second terminal sends data to the first terminal via the local area network, and the receiver receives data sent by the second terminal via the local area network.
- the communication bus 1010 is used to implement connection communication between the connector 1030 and the receiver 1 020.
- the first terminal and the at least one second terminal implement data synchronization in the same local area network, which saves synchronization time and improves synchronization efficiency.
- the first terminal and the at least one second terminal use the same account to log in to the server; the receiver is further configured to receive the second terminal Before receiving the data sent by the local area network, receiving a probe request sent by the second terminal by using the local area network, where the probe request includes the first terminal logging in to the server Login information.
- the first terminal further includes: a transmitter, configured to: after the receiver receives the probe request, send a response message to the second terminal; the response message is used to indicate the first terminal and the The second terminal is in the same local area network; the response message is a response to the probe request sent by the at least one second terminal to the first terminal.
- a transmitter configured to: after the receiver receives the probe request, send a response message to the second terminal; the response message is used to indicate the first terminal and the The second terminal is in the same local area network; the response message is a response to the probe request sent by the at least one second terminal to the first terminal.
- the receiver is further configured to: before receiving the data sent by the second terminal by using the local area network, receive, by the second terminal, the local area network A request for data synchronization within.
- the first terminal further includes: a transmitter, configured to send, after the receiver receives the request for data synchronization in the local area network, a response to the data synchronization request to the second terminal.
- the response may be used to instruct the first terminal to agree to a request for data synchronization within the local area network of the at least one second terminal.
- the data synchronization request includes a synchronization credential; the synchronization credential includes at least the identifier information of the data; the terminal further includes: a processor, configured to receive After receiving the data sent by the second terminal by using the local area network, after confirming that the synchronization credential matches the data, the device confirms that the data is the to-be-synchronized data sent by the second terminal.
- the synchronization credential may be one or more of a digest of the data, a hash value, a name, a size, and the like.
- the processor confirms that the data is the data to be synchronized sent by the second terminal when the synchronization credential matches the data according to the data that is matched by the synchronization credential and the terminal.
- the processor is further configured to: after the receiver receives the data sent by the second terminal via the local area network, extract identifier information of the data.
- the identification information may include one or more of a digest of the data, a hash value, a name, a size, and the like.
- the sender is further configured to: send an authentication request to the server; the verification request is used to request the server to verify whether the identifier information matches the synchronization data sent by the second terminal received by the server; The request contains the identification information.
- the receiver is further configured to: receive, by the server, the confirmation information sent when the identifier is matched according to the verification request, and the identifier information is matched with the to-be-synchronized data sent by the second terminal received by the server; The information is used to confirm that the data received by the terminal is consistent with the synchronization data sent by the second terminal to the server.
- the receiver is further configured to: receive the server according to the verification request, And the indication message sent when the identifier information does not match the synchronization data sent by the second terminal by the server; the indication message is used to indicate data received by the first terminal and the second terminal The data to be synchronized sent does not match.
- the receiver is further configured to receive data sent by the server and sent by the second terminal that is sent by the server.
- the processor is further configured to delete data sent by the second terminal received by the first terminal.
- FIG. 12 is a schematic structural diagram of an embodiment of a server provided by the present invention. As shown, the server includes:
- the connector 1120 is configured to be associated with the first terminal; and associated with the at least one second terminal.
- the connector is associated with the first terminal, and the association may be for the first terminal to be connected to the server.
- the server is associated with at least one second terminal, and the association may be for the at least one second terminal to be connected to the server.
- the receiver 1140 is configured to receive data uploaded by the first terminal, where the first terminal has data to be synchronized, the first terminal sends the data to be synchronized to the server, and the receiver receives the The data uploaded by the first terminal.
- the processor 1150 is configured to acquire information about the at least one second terminal, where the server is associated with the at least one second terminal.
- the association may be that the second terminal is connected to the server.
- the processor acquires information of the at least one second terminal.
- the information of the at least one second terminal may include one or more of address information, login information, and the like of the at least one second terminal.
- the transmitter 11 30 is configured to send a notification to the first terminal, where the notification includes information about the at least one second terminal.
- the communication bus 1 110 is used to implement connection communication between the connector 1120, the transmitter 11 30, the receiver 1140, and the processor 1 150.
- the first terminal determines, according to the notification sent by the server, the at least one second terminal in the same local area network as the terminal according to the notification, and implements data synchronization in the same local area network, thereby saving data. Synchronization time increases synchronization efficiency.
- the receiver is further configured to: receive an indication message sent by the first terminal, where the indication message is used to indicate that the first terminal is in the local area network Transmitting the data to the at least one second terminal.
- the processor is obtained After the instruction message is taken, the sender does not send an instruction to the at least one second terminal to send the data sent by the first terminal received by the server.
- the receiver is further configured to: receive an authentication request sent by the at least one second terminal; the verification request includes a location received by the at least one second terminal The identifier information of the data sent by the first terminal in the local area network; the verification request is used to request the server to verify whether the identifier information matches the data uploaded by the first terminal received by the server; And the method is further configured to: confirm whether the data uploaded by the first terminal that is received by the server is consistent with the identifier information, where the transmitter is further configured to: confirm, by the processor, that the first terminal received by the server uploads And confirming, when the data is consistent with the identifier information, sending the confirmation information to the at least one second terminal; the confirmation information is used to confirm that the data received by the at least one second terminal is consistent with the data received by the server.
- the identification information may be one or more of a digest, a hash value, a name, a size, and the like of the data.
- the transmitter is further configured to: when the processor confirms that the data uploaded by the first terminal that is received by the server is inconsistent with the identifier information, send an indication message to the at least one second terminal; The indication message is used to confirm that the data received by the at least one second terminal is inconsistent with the data received by the server.
- FIG. 13 is a schematic structural diagram of an embodiment of a server provided by the present invention. As shown, the server includes:
- a connector 1220 configured to be associated with the first terminal, associated with the at least one second terminal, and a receiver 1240, configured to receive data uploaded by the first terminal;
- the processor 1250 is configured to obtain information about the at least one second terminal, and determine whether the first terminal and the at least one second terminal are in the same local area network.
- the processor acquires information of the at least one second terminal.
- the information of the at least one second terminal may include one or more of address information, login information, and the like of the at least one second terminal.
- the processor acquires information of the first terminal.
- the information of the first terminal may include one or more of address information, login information, and the like of the at least one second terminal.
- the processor determines, according to the information of the first terminal and the information of the at least one second terminal, whether the first terminal and the at least one second terminal are in the same local area network.
- a transmitter 1230 configured to determine, at the processor, the first terminal and the at least one second When the terminal is in the same local area network, sending a notification to the first terminal; the notification includes information of the at least one second terminal; and the at least one second terminal is in the same local area network as the first terminal.
- the communication bus 1210 is used to implement connection communication between the connector 1220, the transmitter 1230, the receiver 1240, and the processor 1250.
- the first terminal determines, according to the notification sent by the server, the at least one second terminal in the same local area network as the terminal according to the notification, and implements data synchronization in the same local area network, thereby saving data. Synchronization time increases synchronization efficiency.
- the receiver is further configured to: receive an indication message sent by the first terminal, where the indication message is used to indicate that the first terminal is in the local area network Transmitting the data to the at least one second terminal. After the processor obtains the indication message, the processor does not send an instruction to the sender to send the data sent by the first terminal to the at least one second terminal.
- the receiver is further configured to: receive an authentication request sent by the at least one second terminal; the verification request includes a location received by the at least one second terminal The identifier information of the data sent by the first terminal in the local area network; the verification request is used to request the server to verify whether the identifier information matches the data uploaded by the first terminal received by the server; And the method is further configured to: confirm whether the data uploaded by the first terminal that is received by the server is consistent with the identifier information, where the transmitter is further configured to: confirm, by the processor, that the first terminal received by the server uploads And confirming, when the data is consistent with the identifier information, sending the confirmation information to the at least one second terminal; the confirmation information is used to confirm that the data received by the at least one second terminal is consistent with the data received by the server.
- the identification information may be one or more of a digest, a hash value, a name, a size, and the like of the data.
- the transmitter is further configured to: when the processor confirms that the data uploaded by the first terminal that is received by the server is inconsistent with the identifier information, send an indication message to the at least one second terminal; The indication message is used to confirm that the data received by the at least one second terminal is inconsistent with the data received by the server.
- the technical solutions set forth in the foregoing embodiments of the present invention are applicable not only to cloud synchronization, but also to the technical solutions in the embodiments of the present invention.
- the cloud synchronization includes data synchronization between the cloud device and the server, and also includes different devices centered on the individual. Data sharing between.
- the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory.
- ROM Read-Only Memory
- RAM Random Memory
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
BR112016013332-3A BR112016013332B1 (pt) | 2013-12-10 | 2014-01-10 | Método de sincronização, terminal e servidor |
US15/103,772 US10673931B2 (en) | 2013-12-10 | 2014-01-10 | Synchronizing method, terminal, and server |
EP14869808.7A EP3068105B1 (en) | 2013-12-10 | 2014-01-10 | Data synchronization method and server |
CN201480012250.5A CN105009549B (zh) | 2013-12-10 | 2014-01-10 | 一种同步方法及终端、服务器 |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/088974 WO2015085485A1 (zh) | 2013-12-10 | 2013-12-10 | 一种同步方法及终端、服务器 |
CNPCT/CN2013/088974 | 2013-12-10 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015085664A1 true WO2015085664A1 (zh) | 2015-06-18 |
Family
ID=53370455
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/088974 WO2015085485A1 (zh) | 2013-12-10 | 2013-12-10 | 一种同步方法及终端、服务器 |
PCT/CN2014/070464 WO2015085664A1 (zh) | 2013-12-10 | 2014-01-10 | 一种同步方法及终端、服务器 |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/088974 WO2015085485A1 (zh) | 2013-12-10 | 2013-12-10 | 一种同步方法及终端、服务器 |
Country Status (4)
Country | Link |
---|---|
US (1) | US10673931B2 (zh) |
EP (1) | EP3068105B1 (zh) |
BR (1) | BR112016013332B1 (zh) |
WO (2) | WO2015085485A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105072146A (zh) * | 2015-06-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | 一种音乐信息的共享方法及装置 |
US10354540B2 (en) | 2013-12-11 | 2019-07-16 | Jian Yan | Method for generating a dedicated format file for a panorama mode teaching system |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI590072B (zh) * | 2015-12-29 | 2017-07-01 | 宏碁股份有限公司 | 雲端管理系統及其裝置管理方法 |
CN109005204B (zh) * | 2017-06-07 | 2021-08-20 | 腾讯科技(深圳)有限公司 | 一种直播处理方法、装置及系统 |
CN107566499B (zh) * | 2017-09-08 | 2020-12-29 | 创新先进技术有限公司 | 数据同步的方法、装置和系统 |
CN111431957B (zh) * | 2019-01-10 | 2023-09-26 | 钉钉控股(开曼)有限公司 | 文件处理方法、装置、设备和系统 |
CN110674157B (zh) * | 2019-09-29 | 2022-04-19 | 成都吉胜科技有限责任公司 | 一种基于局域网的数据缓存方法 |
CN111416760B (zh) | 2020-03-30 | 2022-11-08 | 京东方科技集团股份有限公司 | 一种信息同步方法、终端及信息同步系统 |
CN114884972B (zh) * | 2022-03-17 | 2024-03-22 | 网易(杭州)网络有限公司 | 数据同步方法、服务器、网关设备和数据同步系统 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0765062B1 (en) * | 1995-09-25 | 2005-11-23 | International Business Machines Corporation | Synchronization between dissimilar computer server environments |
CN102739808A (zh) * | 2012-07-27 | 2012-10-17 | 优视科技有限公司 | 云存储服务器、用户终端以及云端数据的传输系统及方法 |
CN102882985A (zh) * | 2012-10-23 | 2013-01-16 | 上海够快网络科技有限公司 | 基于云存储的文件共享方法 |
Family Cites Families (41)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR19990072122A (ko) * | 1995-12-12 | 1999-09-27 | 바자니 크레이그 에스 | 실시간 영상 전송 방법 및 장치 |
US5862325A (en) * | 1996-02-29 | 1999-01-19 | Intermind Corporation | Computer-based communication system and method using metadata defining a control structure |
US7260094B1 (en) | 1998-12-22 | 2007-08-21 | Aol Llc | Localization of clients and servers |
US20020090934A1 (en) * | 2000-11-22 | 2002-07-11 | Mitchelmore Eliott R.D. | Content and application delivery and management platform system and method |
US7440994B2 (en) * | 2001-07-06 | 2008-10-21 | Intel Corporation | Method and apparatus for peer-to-peer services to shift network traffic to allow for an efficient transfer of information between devices via prioritized list |
US7243103B2 (en) * | 2002-02-14 | 2007-07-10 | The Escher Group, Ltd. | Peer to peer enterprise storage system with lexical recovery sub-system |
TWI220713B (en) * | 2002-10-04 | 2004-09-01 | Hon Hai Prec Ind Co Ltd | System and method for synchronizing documents between multi-nodes |
US7441180B1 (en) * | 2002-12-17 | 2008-10-21 | Mediadefender, Inc. | Computer network file synchronization system and method |
US7512783B2 (en) * | 2003-03-14 | 2009-03-31 | Naghian Siamaek | Provision of security services for an ad-hoc network |
CA2422334C (en) * | 2003-03-17 | 2009-06-09 | British Telecommunications Public Limited Company | Authentication of network users |
US20060031228A1 (en) * | 2004-05-20 | 2006-02-09 | Bea Systems, Inc. | Adaptive user interface for occasionally-connected application server |
US7970017B2 (en) * | 2005-07-13 | 2011-06-28 | At&T Intellectual Property I, L.P. | Peer-to-peer synchronization of data between devices |
EP1987648A1 (en) * | 2006-02-21 | 2008-11-05 | Thomson Licensing | Peer-to-peer video content distribution network based on personal network storage |
US20080040181A1 (en) * | 2006-04-07 | 2008-02-14 | The University Of Utah Research Foundation | Managing provenance for an evolutionary workflow process in a collaborative environment |
US20080077635A1 (en) * | 2006-09-22 | 2008-03-27 | Digital Bazaar, Inc. | Highly Available Clustered Storage Network |
US8645973B2 (en) * | 2006-09-22 | 2014-02-04 | Oracle International Corporation | Mobile applications |
CN101257375B (zh) | 2006-12-31 | 2012-08-08 | 华为技术有限公司 | 实现多终端的消息同步的方法及装置 |
US8578416B1 (en) * | 2007-04-27 | 2013-11-05 | Rovi Guides, Inc. | Systems and methods for providing blackout recording and summary information |
US20090043867A1 (en) * | 2007-08-06 | 2009-02-12 | Apple Inc. | Synching data |
JP4942686B2 (ja) * | 2008-03-18 | 2012-05-30 | 株式会社リコー | ネットワーク同期システム及び情報処理装置 |
US8019900B1 (en) * | 2008-03-25 | 2011-09-13 | SugarSync, Inc. | Opportunistic peer-to-peer synchronization in a synchronization system |
CN101340274A (zh) * | 2008-08-21 | 2009-01-07 | 北京搜狗科技发展有限公司 | 一种数据同步的方法及装置 |
US9614924B2 (en) | 2008-12-22 | 2017-04-04 | Ctera Networks Ltd. | Storage device and method thereof for integrating network attached storage with cloud storage services |
US9083762B2 (en) | 2010-05-28 | 2015-07-14 | Greg Saunders | System and method for providing hybrid on demand services to a work unit |
EP2599001A4 (en) | 2010-07-28 | 2013-07-31 | Admiemobile Llc | SYSTEMS AND METHODS FOR ESTABLISHING AND MAINTAINING VIRTUAL COMPUTER CLOUDS |
CA2840173C (en) | 2011-06-22 | 2016-09-20 | Dropbox Inc. | File sharing via link generation |
KR20130023490A (ko) | 2011-08-29 | 2013-03-08 | 주식회사 팬택 | 애플리케이션 동기화 시스템 및 방법 |
US9591069B2 (en) * | 2011-10-31 | 2017-03-07 | Adobe Systems Incorporated | Peer-to-peer assist for live media streaming |
EP2631817A1 (en) * | 2012-02-23 | 2013-08-28 | Fujitsu Limited | Database, apparatus, and method for storing encoded triples |
CN103327037B (zh) * | 2012-03-20 | 2017-09-29 | 中兴通讯股份有限公司 | 数据同步方法及装置 |
US9218406B2 (en) * | 2012-04-26 | 2015-12-22 | Connected Data, Inc. | System and method for managing user data in a plurality of storage appliances over a wide area network for collaboration, protection, publication, or sharing |
US9075954B2 (en) * | 2012-08-29 | 2015-07-07 | Dropbox, Inc. | Requesting modification rights to a linked file set |
US9032050B2 (en) * | 2012-10-31 | 2015-05-12 | Vmware, Inc. | Systems and methods for accelerating remote data retrieval via peer nodes |
TW201419006A (zh) * | 2012-11-14 | 2014-05-16 | Inst Information Industry | 通知並提供快速開啟同步資料的方法、系統以及儲存有此方法之電腦可讀取記錄媒體 |
CN103108051A (zh) | 2013-02-27 | 2013-05-15 | 上海够快网络科技有限公司 | 一种从云端服务器同步共享文件的方法 |
CN103118032B (zh) * | 2013-03-01 | 2015-09-30 | 北京奇艺世纪科技有限公司 | 一种终端登录账号同步的方法、终端与服务器 |
US20150032690A1 (en) * | 2013-07-25 | 2015-01-29 | Microsoft Corporation | Virtual synchronization with on-demand data delivery |
US9454541B2 (en) * | 2013-09-24 | 2016-09-27 | Cyberlink Corp. | Systems and methods for storing compressed data in cloud storage |
US20150120662A1 (en) * | 2013-10-29 | 2015-04-30 | Microsoft Corporation | Synchronizing event history for multiple clients |
US10158693B2 (en) * | 2015-05-14 | 2018-12-18 | Vmware, Inc. | Peer-to-peer network download optimization |
JP6769106B2 (ja) * | 2016-05-18 | 2020-10-14 | 富士通株式会社 | ストレージ制御方法、ストレージ制御プログラムおよび情報処理装置 |
-
2013
- 2013-12-10 WO PCT/CN2013/088974 patent/WO2015085485A1/zh active Application Filing
-
2014
- 2014-01-10 BR BR112016013332-3A patent/BR112016013332B1/pt active IP Right Grant
- 2014-01-10 WO PCT/CN2014/070464 patent/WO2015085664A1/zh active Application Filing
- 2014-01-10 US US15/103,772 patent/US10673931B2/en active Active
- 2014-01-10 EP EP14869808.7A patent/EP3068105B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0765062B1 (en) * | 1995-09-25 | 2005-11-23 | International Business Machines Corporation | Synchronization between dissimilar computer server environments |
CN102739808A (zh) * | 2012-07-27 | 2012-10-17 | 优视科技有限公司 | 云存储服务器、用户终端以及云端数据的传输系统及方法 |
CN102882985A (zh) * | 2012-10-23 | 2013-01-16 | 上海够快网络科技有限公司 | 基于云存储的文件共享方法 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10354540B2 (en) | 2013-12-11 | 2019-07-16 | Jian Yan | Method for generating a dedicated format file for a panorama mode teaching system |
CN105072146A (zh) * | 2015-06-30 | 2015-11-18 | 广东欧珀移动通信有限公司 | 一种音乐信息的共享方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
BR112016013332B1 (pt) | 2023-11-14 |
US20160316000A1 (en) | 2016-10-27 |
EP3068105B1 (en) | 2019-09-04 |
EP3068105A1 (en) | 2016-09-14 |
US10673931B2 (en) | 2020-06-02 |
EP3068105A4 (en) | 2016-11-23 |
BR112016013332A2 (pt) | 2018-06-26 |
WO2015085485A1 (zh) | 2015-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015085664A1 (zh) | 一种同步方法及终端、服务器 | |
KR101651764B1 (ko) | 단말 위치 획득 방법, 디바이스, 및 시스템 | |
KR101822221B1 (ko) | 하나 이상의 전기 디바이스에 대한 정보를 배포하는 방법 및 시스템 | |
CN105009549B (zh) | 一种同步方法及终端、服务器 | |
CN104320377B (zh) | 一种流媒体文件的防盗链方法及设备 | |
US9774642B2 (en) | Method and device for pushing multimedia resource and display terminal | |
CN107395658B (zh) | 离线对等辅助通知传输 | |
US9154910B2 (en) | Terminal location obtaining method, device, and system | |
WO2019134306A1 (zh) | 消息处理方法、装置、终端设备及可读存储介质 | |
WO2019019936A1 (zh) | 一种文件传输方法、装置、设备和存储介质 | |
US10645001B2 (en) | Information transmission method and apparatus, device and storage medium | |
US20140302779A1 (en) | Method, device and system for establishing conversation relationship | |
KR20140013058A (ko) | 무선 장치 구성 | |
WO2017162043A1 (zh) | 用于设备间服务的访问方法、配置方法及装置 | |
EP2901660A1 (en) | Termininal interaction methods and related devices and systems | |
WO2016095815A1 (zh) | 名片信息传输方法、装置、终端设备及存储介质 | |
WO2016037497A1 (zh) | 传输视频的方法、网关设备和视频传输系统 | |
CN104967646A (zh) | 文件下载方法及装置 | |
BR112019015131A2 (pt) | Método de exibição e combinação de registro de mensagem e dispositivo terminal | |
WO2017024762A1 (zh) | 用于区分同名无线接入点的方法和设备 | |
WO2022042283A1 (zh) | 信息交互方法、装置及存储介质 | |
CN103324883B (zh) | 一种多媒体播放终端的认证方法、终端、服务器以及系统 | |
CN113613050A (zh) | 视频同步播放方法、装置、电子设备及存储介质 | |
EP3316585A1 (en) | Authentication server, user terminal, content server, control method for these, and computer program | |
US20140089432A1 (en) | Terminal interaction methods and related devices and systems |
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: 14869808 Country of ref document: EP Kind code of ref document: A1 |
|
REEP | Request for entry into the european phase |
Ref document number: 2014869808 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014869808 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 15103772 Country of ref document: US |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112016013332 Country of ref document: BR |
|
ENP | Entry into the national phase |
Ref document number: 112016013332 Country of ref document: BR Kind code of ref document: A2 Effective date: 20160609 |