主权项 |
1. A method for synchronizing browser bookmarks, comprising:
receiving, by a server, a bookmark collection sent by a first terminal browser, wherein the bookmark collection contains one or more bookmarks; and pushing, by the server, the bookmark collection to a second terminal browser for the second terminal browser to simultaneously add the one or more bookmarks contained in the bookmark collection as bookmarks of the second terminal browser, wherein, before the pushing of the bookmark collection to the second terminal browser, the method further includes:
sending, by the first terminal browser, a bookmark sharing request to the second terminal browser, the bookmark sharing request containing an identifier of the first terminal browser, wherein the identifier is a globally unique identifier (GUID) of the first terminal browser managed by the server;extracting, by the second terminal browser, the identifier of the first terminal browser from the bookmark sharing request; andsending, by the second terminal browser, a bookmark synchronization request to the server, the bookmark synchronization request containing the identifier of the first terminal browser; and wherein the pushing of the bookmark collection to the second terminal browser includes: pushing, by the server, the bookmark collection to the second terminal browser according to the identifier of the first terminal browser contained in the bookmark synchronization request. |