Method for synchronizing content among terminals and terminals
First Claim
1. A method for synchronizing content, comprising:
- determining, by a first terminal, first terminal sharing content;
sending, by the first terminal, a synchronization group create message to a second terminal, the first terminal and the second terminal being in a same user group created on an instant messaging application, the synchronization group create message carrying a first terminal identifier and a synchronization group identifier, the synchronization group create message being used for requesting that the second terminal join a synchronization group, and the first terminal sending the synchronization group create message to the second terminal comprising multicasting, by the first terminal, the synchronization group create message to the second terminal in a local area network;
receiving, by the first terminal, a synchronization group join message from the second terminal, the synchronization group join message indicating that the second terminal has agreed to join the synchronization group, the synchronization group join message comprising a second terminal identifier and the synchronization group identifier, the synchronization group being a group in which the first terminal is allowed to automatically synchronize with the second terminal, and the first terminal receiving the synchronization group join message from the second terminal comprising receiving, by the first terminal, the synchronization group join message multicasted in the local area network from the second terminal;
storing, by the first terminal, the second terminal identifier in a group member information;
subsequently discovering, by the first terminal, the second terminal according to the group member information;
establishing, by the first terminal when the first terminal determines that the second terminal belongs to the same synchronization group as the first terminal, a connection to the second terminal according to the second terminal identifier and using a short-range wireless communications technology; and
synchronizing, by the first terminal, the first terminal sharing content and second terminal sharing content.
3 Assignments
0 Petitions
Accused Products
Abstract
A method for synchronizing content among terminals and terminals. The method includes determining, by a first terminal, content for sharing of the first terminal; when the first terminal discovers a second terminal, establishing, by the first terminal, a connection to the second terminal using a short-range wireless communications technology, where the second terminal belongs to a same synchronization group as the first terminal, and can establish a connection to the first terminal using a short-range wireless communications technology, and terminals that belong to a same synchronization group can synchronize content for sharing; and synchronizing, by the first terminal, the content for sharing of the first terminal and content for sharing of the second terminal using the connection established to the second terminal. The method is applicable to the field of communications technologies.
14 Citations
11 Claims
-
1. A method for synchronizing content, comprising:
-
determining, by a first terminal, first terminal sharing content; sending, by the first terminal, a synchronization group create message to a second terminal, the first terminal and the second terminal being in a same user group created on an instant messaging application, the synchronization group create message carrying a first terminal identifier and a synchronization group identifier, the synchronization group create message being used for requesting that the second terminal join a synchronization group, and the first terminal sending the synchronization group create message to the second terminal comprising multicasting, by the first terminal, the synchronization group create message to the second terminal in a local area network; receiving, by the first terminal, a synchronization group join message from the second terminal, the synchronization group join message indicating that the second terminal has agreed to join the synchronization group, the synchronization group join message comprising a second terminal identifier and the synchronization group identifier, the synchronization group being a group in which the first terminal is allowed to automatically synchronize with the second terminal, and the first terminal receiving the synchronization group join message from the second terminal comprising receiving, by the first terminal, the synchronization group join message multicasted in the local area network from the second terminal; storing, by the first terminal, the second terminal identifier in a group member information; subsequently discovering, by the first terminal, the second terminal according to the group member information; establishing, by the first terminal when the first terminal determines that the second terminal belongs to the same synchronization group as the first terminal, a connection to the second terminal according to the second terminal identifier and using a short-range wireless communications technology; and synchronizing, by the first terminal, the first terminal sharing content and second terminal sharing content. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A first terminal, comprising:
-
a transceiver, a memory configured to store executable program code; and a processor coupled to the transceiver and the memory and configured to execute the executable program code to run a program corresponding to the executable program code, which causes the processor to be configured to; determine first terminal sharing content; send, via the transceiver, a synchronization group create message to a second terminal, the first terminal and the second terminal being in a same user group created on an instant messaging application, the synchronization group create message carrying a first terminal identifier and a synchronization group identifier, and the synchronization group create message being used for requesting that the second terminal join a synchronization group; receive, via the transceiver, a synchronization group join message from the second terminal, the synchronization group join message indicating that the second terminal has agreed to join the synchronization group, the synchronization group join message comprising a second terminal identifier and the synchronization group identifier, and the synchronization group being a group in which the first terminal is allowed to automatically synchronize with the second terminal; store the second terminal identifier in a group member information; subsequently discover the second terminal according to the group member information; establish, using the transceiver and a short-range wireless communications technology, a connection to the second terminal according to the second terminal identifier when the first terminal determines that the second terminal belongs to the same synchronization group as the first terminal; synchronize, using the transceiver and the connection, the first terminal sharing content and second terminal sharing content; and multicast, using the transceiver, the synchronization group create message to the second terminal in a local area network; and receive, using the transceiver, the synchronization group join message multicasted in the local area network from the second terminal. - View Dependent Claims (8, 9, 10, 11)
-
Specification