วิธีการทำให้การดำเนินเกิดขึ้นในเวลาเดียวกัน อุปกรณ์ และสื่อกลางการเก็บ

TH122596BActive Publication Date: 2026-07-03TENCENT TECHNOLOGY (SHENZHEN) CO LTD

Patent Information

Authority / Receiving Office
TH · TH
Patent Type
Patents
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2014-07-01
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

The existing technology cannot realize real-time synchronization of multimedia resource information between different terminals, and the operation is cumbersome and has poor immediacy.

Method used

When receiving the editing operation of multimedia resource information from the first terminal, the data connection information corresponding to the account information used by the terminal is queried. If the data connection information of the second terminal is included, the editing operation is synchronized to the second terminal to realize multimedia resources. Real-time synchronization of information.

Benefits of technology

It realizes real-time synchronization of multimedia resource information between different terminals, improves the immediacy and simplicity of operation, saves query time and achieves load balancing of connection databases.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

แก้ไขบทสรุปการประดิษฐ์31 / 05 / 2559               คำขอนี้เปิดเผยถึงวิธีการทำให้การดำเนินการเกิดขึ้นในเวลาเดียวกันและอุปกรณ์และสื่อกลาง การเก็บซึ่งเป็นส่วนหนึ่งของเขตข้อมูลของเทคโนโลยีเครือข่ายวิธีการจะรวมถึงเมื่อการ ดำเนินการแก้ไขของเครื่องปลายทางที่หนึ่งบนสารสนเทศทรัพยากรสื่อหลายแบบจะได้รับการรับเข้า การปฏิบัติการดำเนินการแก้ไขบนสารสนเทศทรัพยากรสื่อหลายแบบที่การสอบถามสารสนเทศการ เชื่อมต่อข้อมูลที่สอดคล้องกับสารสนเทศบัญชีผู้ใช้ที่ได้รับการใช้โดยเครื่องปลายทางที่หนึ่งการ กำหนดว่าสารสนเทศการเชื่อมต่อข้อมูลที่ได้รับการสอบถามประกอบรวมด้วยสารสนเทศการ เชื่อมต่อข้อมูลของเครื่องปลายทางที่สองหรือไม่เมื่อสารสนเทศการเชื่อมต่อข้อมูลที่ได้รับการ สอบถามประกอบรวมด้วยสารสนเทศการเชื่อมต่อข้อมูลเครื่องปลายทางที่สองการทำให้การ ดำเนินการแก้ไขบนสารสนเทศทรัพยากรสื่อหลายแบบเกิดขึ้นในเวลาเดียวกันกับเครื่องปลายทางที่ สองตามคำขอนี้เมื่อการดำเนินการแก้ไขของเครื่องปลายทางที่หนึ่งบนสารสนเทศทรัพยากรสื่อ หลายแบบได้รับการรับเข้าสารสนเทศการเชื่อมต่อข้อมูลที่สอดคล้องกับสารสนเทศบัญชีผู้ใช้ที่ได้รับ การใช้โดยเครื่องปลายทางที่หนึ่งจะได้รับการสอบถามและเมื่อสารสนเทศการเชื่อมต่อข้อมูลที่ได้รับ การสอบถามรวมถึงสารสนเทศการเชื่อมต่อข้อมูลของเครื่องปลายที่สองการดำเนินการแก้ไขจะ ได้รับการทำให้เกิดขึ้นในเวลาเดียวกันกับเครื่องปลายทางที่สองดังนั้นการทำให้เกิดขึ้นในเวลา เดียวกันในเวลาจริงของสารสนเทศทรัพยากรสื่อหลายแบบเครื่องปลายทางที่ต่างกันเกิดขึ้นจริงได้ -----------------------------------------------------------------------------------------                       คำขอนี้เปิดเผยถึงวิธีการทำให้การดำเนินการเกิดขึ้นในเวลาเดียวกันและอุปกรณ์และ สื่อกลางการเก็บ,ซึ่งเป็นส่วนหนึ่งของเขตข้อมูลของเทคโนโลยีเครือข่ายวิธีการจะรวมถึงเมื่อการ ดำเนินการแก้ไขของเครื่องปลายทางที่หนึ่งบนสารสนเทศทรัพยากรสื่อหลายแบบจะได้รับการรับเข้า, การปฏิบัติการดำเนินการแก้ไขบนสารสนเทศทรัพยากรสื่อหลายแบบที่การสอบถามสารสนเทศการ เชื่อมต่อข้อมูลที่สอดคล้องกับสารสนเทศบัญชีผู้ใช้ที่ได้รับการใช้โดยเครื่องปลายทางที่หนึ่งการ กำหนดว่าสารสนเทศการเชื่อมต่อข้อมูลที่ได้รับการสอบถามประกอบรวมด้วยสารสนเทศการ เชื่อมต่อข้อมูลของเครื่องปลายทางที่สองหรือไม่;เมื่อสารสนเทศการเชื่อมต่อข้อมูลที่ได้รับการ สอบถามประกอบรวมด้วยสารสนเทศการเชื่อมต่อข้อมูลเครื่องปลายทางที่สองการทำให้การ ดำเนินการแก้ไขบนสารสนเทศทรัพยากรสื่อหลายแบบเกิดขึ้นในเวลาเดียวกันกับเครื่องปลายทาง ที่สองตามคำขอนี้เมื่อการดำเนินการแก้ไขของเครื่องปลายทางที่หนึ่งบนสารสนเทศทรัพยากรสื่อ หลายแบบได้รับการรับเข้า,สารสนเทศการเชื่อมต่อข้อมูลที่สอดคล้องกับสารสนเทศบัญชีผู้ใช้ที่ ได้รับการใช้โดยเครื่องปลายทางที่หนึ่งจะได้รับการสอบถาม,และเมื่อสารสนเทศการเชื่อมต่อข้อมูล ที่ได้รับการสอบถามรวมถึงสารสนเทศการเชื่อมต่อข้อมูลของเครื่องปลายที่สองการดำเนินการ แก้ไขจะได้รับการทำให้เกิดขึ้นในเวลาเดียวกันกับเครื่องปลายทางที่สอง,ดังนั้นการทำให้เกิดขึ้นใน เวลาเดียวกันในเวลาจริงของสารสนเทศทรัพยากรสื่อหลายแบบเครื่องปลายทางที่ต่างกันเกิดขึ้น จริงได้;
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This patent application claims priority to Chinese Patent Application No. 201310515956.0, filed on October 28, 2013, by Tencent Technology (Shenzhen) Co., Ltd., entitled "Operation Synchronization Method and Apparatus," the entire contents of which are incorporated herein by reference. Technical Field

[0002] This invention relates to the field of network technology, and particularly to an operation synchronization method, apparatus, and storage medium. Background Art

[0003] With the development of network technology, users can log in to the same multimedia application (web page or software, etc.) on different terminals to download multimedia files, save multimedia files, add multimedia files to playlists, and play multimedia files.

[0004] Taking a music app as an example, if a user adds a song to the playlist on one device, when the user logs into the music app on another device, they can add the same song to the playlist by refreshing the page, thus synchronizing the playlists of the music app on the two devices.

[0005] However, this synchronization process requires the user to log in to the multimedia application on the terminal and perform a refresh operation, which cannot achieve real-time synchronization between different terminals, resulting in poor immediacy and cumbersome operation. (Invention Content)

[0006] To address the problems of existing technologies, embodiments of the present invention provide an operation synchronization method, apparatus, and storage medium. The technical solution is as follows:

[0007] Firstly, an operation synchronization method is provided, the method comprising:

[0008] When an editing operation is received from the first terminal on the multimedia resource information, the editing operation is performed on the multimedia resource information; Query the data connection information corresponding to the account information used by the first terminal;

[0009] Determine whether the retrieved data connection information includes the data connection information of the second terminal;

[0010] If the retrieved data connection information includes the data connection information of a second terminal, the editing operation on the multimedia resource information will be synchronized to the second terminal. Secondly, an operation synchronization device is provided, the device comprising:

[0011] An operation receiving module is used to execute the editing operation on the multimedia resource information when it receives an editing operation on the multimedia resource information from the first terminal;

[0012] The connection information query module is used to query the data connection information corresponding to the account information used by the first terminal.

[0013] The judgment module is used to determine whether the queried data connection information includes the data connection information of the second terminal;

[0014] A synchronization module is used to synchronize the editing operation on the multimedia resource information to the second terminal if the queried data connection information includes the data connection information of the second terminal. In a third aspect, a storage medium containing computer-executable instructions is provided, which, when executed by a computer processor, are used to perform an operation synchronization method, the method comprising: when receiving an editing operation on multimedia resource information from a first terminal, performing the editing operation on the multimedia resource information;

[0015] Query the data connection information corresponding to the account information used by the first terminal;

[0016] Determine whether the retrieved data connection information includes the data connection information of the second terminal;

[0017] If the retrieved data connection information includes the data connection information of the second terminal, the editing operation on the multimedia resource information will be synchronized to the second terminal. The beneficial effects of the technical solution provided by this embodiment of the invention are:

[0018] The method, apparatus, and storage medium provided in this embodiment of the invention, when receiving a request from a first terminal for multiple... When editing media resource information, the system queries the data connection information corresponding to the account information used by the first terminal. If the retrieved data connection information includes the data connection information of the second terminal, the editing operation is synchronized to the second terminal. This achieves real-time synchronization of multimedia resource information across different terminals, offering strong immediacy and ease of operation. (See attached diagram.)

[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 is a flowchart of an operation synchronization method provided in an embodiment of the present invention;

[0021] Figure 2a is a flowchart of an operation synchronization method provided in an embodiment of the present invention;

[0022] Figure 2b is a schematic diagram of the synchronization system framework provided in an embodiment of the present invention;

[0023] Figure 2c is a flowchart illustrating the establishment of a long connection between a proxy server and a terminal according to an embodiment of the present invention; Figure 3 is a schematic diagram illustrating the structure of an operation synchronization device according to an embodiment of the present invention;

[0024] Figure 4 is a schematic diagram of a server structure provided in an embodiment of the present invention. Detailed Description

[0025] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments, and are intended to illustrate the principles of the present invention, not to limit the present invention to these specific embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0026] Figure 1 is a flowchart of an operation synchronization method provided by an embodiment of the present invention. This embodiment can be applied to a system framework consisting of a server and at least one terminal, wherein at least one terminal is equipped with software or website services associated with the server, such as a community, cloud storage, or multimedia application. The at least one terminal can communicate with the server via a long connection or a short connection. Different terminals can log in with the same account information, instructing the server to provide the same application services to these terminals. This embodiment of the invention is applicable to situations where editing operations on multimedia resource information on one terminal corresponding to the account information are synchronized to other terminals corresponding to the same account information. The executing entity of this embodiment is the server. Referring to Figure 1, the method includes:

[0027] 101. When an editing operation on multimedia resource information is received from the first terminal, the editing operation is performed on the multimedia resource information;

[0028] 102. Query the data connection information corresponding to the account information used by the first terminal;

[0029] 103. Determine whether the retrieved data connection information includes the data connection information of the second terminal; 104. If the retrieved data connection information includes the data connection information of the second terminal, synchronize the editing operation of the multimedia resource information to the second terminal.

[0030] The method provided in this embodiment of the invention, when receiving an editing operation on multimedia resource information from a first terminal, queries the data connection information corresponding to the account information used by the first terminal. If the queried data connection information includes the data connection information of a second terminal, the editing operation is synchronized to the second terminal, thereby achieving real-time synchronization of multimedia resource information between different terminals. It is highly immediate and easy to operate.

[0031] Optionally, after receiving the editing operation of the multimedia resource information from the first terminal, the method further includes:

[0032] Determine whether the editing operation on the multimedia resource information meets the preset synchronization conditions. If the editing operation on the multimedia resource information meets the preset synchronization conditions, execute the step of querying the data connection information corresponding to the account information used by the first terminal.

[0033] Optionally, if the retrieved data connection information includes the data connection information of the second terminal, the editing operations on the multimedia resource information will be synchronized to the second terminal, including:

[0034] If the retrieved data connection information includes the data connection information of a second terminal, determine whether the second terminal allows synchronization. If the second terminal allows synchronization, execute the step of synchronizing the editing operations on the multimedia resource information to the second terminal; or,

[0035] If the retrieved data connection information includes the data connection information of a second terminal, then based on the second terminal... The system retrieves the data connection information of the second terminal and determines whether the data connection type of the second terminal is a preset connection type. If the data connection type of the second terminal is the preset connection type, the system executes the step of synchronizing the editing operation of the multimedia resource information to the second terminal.

[0036] Optionally, the multimedia resource information is a playlist, and synchronizing editing operations on the multimedia resource information to the second terminal includes:

[0037] When the editing operation on this multimedia resource information is to create a new playlist, the playlist is created on the second terminal; or,

[0038] When the editing operation on this multimedia resource information is to delete the playlist, delete the playlist on the second terminal; or,

[0039] When the editing operation on the multimedia resource information is to rename the playlist, obtain the new name of the playlist on the first terminal, and rename the playlist on the second terminal to the new name; or,

[0040] When the editing operation on the multimedia resource information is to add notes to the playlist, add the same notes to the playlist on the second terminal; or,

[0041] When the editing operation on the multimedia resource information is to add the multimedia file to the playlist, the multimedia file is added to the playlist on the second terminal; or,

[0042] When the editing operation on the multimedia resource information is to delete a multimedia file from the playlist, the multimedia file is deleted from the playlist on the second terminal; or,

[0043] When the editing operation of the multimedia resource information is to move the multimedia file from the first playlist to the second playlist, the multimedia file is moved from the first playlist to the second playlist on the second terminal.

[0044] Optionally, the multimedia resource information is at least one multimedia file in the playlist, and synchronizing the editing operation of the multimedia resource information to the second terminal includes:

[0045] When the editing operation on this multimedia resource information is to download a multimedia file, the multimedia file is downloaded to the second terminal; or,

[0046] When the editing operation on this multimedia resource information is to delete a multimedia file, the second terminal is deleted. The multimedia file in; or,

[0047] When the editing operation on the multimedia resource information is to rename a multimedia file, obtain the new name of the multimedia file on the first terminal, and rename the multimedia file on the second terminal to the new name; or,

[0048] When the editing operation on the multimedia resource information involves adding comments to the multimedia file, the same comments should be added to the multimedia file on the second terminal; or,

[0049] When the editing operation on the multimedia resource information involves modifying the remarks information of the multimedia file, the same modification is performed on the remarks information of the multimedia file on the second terminal; or,

[0050] When the editing operation of the multimedia resource information is to move the multimedia file from the first folder to the second folder, the multimedia file is moved from the first folder to the second folder on the second terminal.

[0051] Optionally, the multimedia resource information is a collection list, and synchronizing editing operations on this multimedia resource information to the second terminal includes:

[0052] When the editing operation for this multimedia resource information is to create a new favorites list, the favorites list is created on the second terminal; or,

[0053] When the editing operation for this multimedia resource information is to delete the favorites list, delete the favorites list on the second terminal; or,

[0054] When the editing operation for this multimedia resource information is to rename the collection list, obtain the new name of the collection list on the first terminal, and rename the collection list on the second terminal to the new name; or,

[0055] When the editing operation on this multimedia resource information is to add notes to the favorites list, add the same notes to the favorites list on the second terminal; or,

[0056] When the editing operation on the multimedia resource information is to modify the information of a multimedia file in the favorites list, the same modification is performed on the information of that multimedia file in the favorites list on the second terminal; or,

[0057] When the editing operation on this multimedia resource information is to add the multimedia file to the favorites list, The multimedia file is added to the favorites list on the second terminal; or,

[0058] When the editing operation on the multimedia resource information is to delete the multimedia file from the favorites list, the multimedia file is deleted from the favorites list on the second terminal; or,

[0059] When the editing operation of the multimedia resource information is to move the multimedia file from the first collection list to the second collection list, the multimedia file is moved from the first collection list to the second collection list on the second terminal.

[0060] Optionally, the multimedia resource information is a follow list, which is used to follow information from a specified source. Synchronizing editing operations on this multimedia resource information to the second terminal includes:

[0061] When the editing operation on this multimedia resource information is to create a new watchlist, the watchlist is created on this second terminal; or,

[0062] When the editing operation for this multimedia resource information is to delete it from the watchlist, delete the watchlist on the second terminal; or,

[0063] When the editing operation on the multimedia resource information is to rename the watchlist, obtain the new name of the watchlist on the first terminal, and rename the watchlist on the second terminal to the new name; or,

[0064] When the editing operation on the multimedia resource information is to add notes to the watchlist, add the same notes to the watchlist on the second terminal; or,

[0065] When the editing operation on the multimedia resource information is to modify the information of a multimedia file in the watchlist, the same modification is performed on the information of that multimedia file in the watchlist on the second terminal.

[0066] Optionally, the method further includes:

[0067] When a login request carrying the account information is received from the first terminal, a data connection is established with the first terminal;

[0068] Obtain the terminal identifier of the first terminal;

[0069] The data connection information corresponding to the account information is generated and used as the data connection information corresponding to the first terminal.

[0070] Optionally, obtaining the terminal identifier of the first terminal includes: Use the terminal number of the first terminal as the terminal identifier of the first terminal; or,

[0071] Assign an identifier as the terminal identifier for the first terminal.

[0072] Optionally, the method further includes:

[0073] Obtain the feature values ​​of this account information;

[0074] Based on this feature value, query the pre-established correspondence between the feature value and the connected database to determine the connected database corresponding to the account information;

[0075] The data connection information corresponding to the account information of the first terminal is stored in the connection database corresponding to the account information.

[0076] Optionally, querying the data connection information corresponding to the account information used by the first terminal includes: querying the data connection information corresponding to the account information in the connection database. All the above optional technical solutions can be combined in any way to form optional embodiments of the present invention, and will not be elaborated further here.

[0077] Figure 2a is a flowchart of an operation synchronization method provided by an embodiment of the present invention. This embodiment provides a preferred embodiment based on the above embodiments.

[0078] This invention can be applied to the following scenario: when a user accesses an application associated with a server using different terminals, the server establishes a data connection with the terminal accessing the application to provide services such as information display and file download to the terminal accessing the application. The application associated with the server can be software or a website service, such as a community, cloud storage, or multimedia application; the server can be any one of the servers in a server cluster serving the associated software or website, or it can be a functional module within a server serving the associated software or website. This invention does not limit the specific application in this regard.

[0079] The execution subject of this embodiment of the invention is a server. Referring to Figure 2a, the method includes:

[0080] 201. When the server receives a login request from the first terminal carrying account information, it verifies the account information. When the verification is successful, a data connection is established between the server and the first terminal.

[0081] The data connection established between the server and the first terminal can be of different types, such as GPRS (General Packet Radio Service) connection, WiFi (Wireless Fidelity) connection, etc., and this embodiment of the invention does not limit it. Optionally, when the server receives the login request carrying account information, it verifies the account information. If the verification is successful, the server establishes a long connection with the first terminal. Further, the protocol used by the server and the first terminal can be Comet, WebSocket, or a custom protocol. The Comet protocol can use either long poll mode or streaming mode; this embodiment of the invention does not limit either. Preferably, the protocol used by the server and the first terminal uses the Comet protocol in long poll mode.

[0082] 202: The server obtains the terminal identifier of the first terminal;

[0083] In this embodiment of the invention, since users may log in using the same account information on different terminals, one account information may correspond to two or more terminals. In order to distinguish between terminals corresponding to different account information and two or more terminals corresponding to the same account information, it is necessary to obtain the terminal identifier of each terminal.

[0084] In this embodiment of the invention, the terminal identifier is used to uniquely identify the terminal, and step 202 can be implemented in any of the following ways:

[0085] (1) Use the terminal number of the first terminal as the terminal identifier of the first terminal;

[0086] The terminal number can be the device ID of the first terminal, the phone number of the first terminal, or the serial number assigned when the first terminal installed the application. The application is the software or website service associated with the server. The terminal number can be carried when the first terminal sends a login request to the server, or the server can send a terminal number retrieval request to the first terminal, which then sends the terminal number back to the server.

[0087] In this embodiment of the invention, the host name, IP address, or MAC address of the first terminal may also be used as the terminal identifier of the first terminal, and this embodiment of the invention does not limit this.

[0088] (2) Assign an identifier as the terminal identifier of the first terminal.

[0089] Optionally, a 64-bit globally unique identifier is generated as the terminal identifier of the first terminal.

[0090] Optionally, the terminal identifier can be generated based on the login time of the first terminal, or by combining the login time of the first terminal with some account information. For example, based on the login time of the first terminal, October 15, 2013, at 12:00, the terminal identifier 201310151200 can be generated. Alternatively, assuming the account information is 12666666, the terminal identifier 201310151200126 is generated based on the login time and the first three digits of the account information.

[0091] It should be noted that step 202 can be executed when the server receives the login request from the first terminal, or it can be executed after a data connection with the first terminal is established. This embodiment of the invention does not limit this.

[0092] 203. The server generates data connection information corresponding to the terminal identifier for the account information, and uses the generated data connection information as the data connection information corresponding to the first terminal for the account information;

[0093] The data connection information includes the connection type and the time when the data connection was established, and may also include the terminal identifier and operation records of the connected peer of the server, etc., but this embodiment of the invention does not limit this.

[0094] It should be noted that when other terminals, such as a third terminal, log in using this account information, the server also obtains the terminal identifier of the third terminal and generates data connection information corresponding to the terminal identifier of the third terminal for this account information. This means that the final data connection information of this account information can include the data connection information of multiple terminals that are using this account information to log in.

[0095] 204. The server obtains the characteristic value of the account information;

[0096] The feature value can be the account information itself, a portion of the account information, or a feature value calculated according to a preset algorithm. This embodiment of the invention does not limit this.

[0097] For example, the feature value can be the first three digits of the account information, then the feature value of the account information 813025689 is 813. The feature value can also be the sum of the digits of the account information, then the feature value of the account information 813025689 is 42.

[0098] In practical applications, with the development of network technology and the increase in the number of users, to facilitate subsequent queries of data connection information based on account information, data connection information corresponding to account information with different characteristic values ​​can be stored in different connection databases. This allows for the initial routing to determine the connection database when querying the data connection information for a specific account, followed by querying from that database. This improves query speed and allows for the rational allocation of connection databases based on the number of account information entries, achieving load balancing across the connection databases. Balance.

[0099] 205 The server queries the pre-established correspondence between the feature value and the connection database based on the feature value to determine the connection database corresponding to the account information;

[0100] Prior to step 205, the method also includes: pre-establishing multiple connection databases and establishing a correspondence between feature values ​​and connection databases.

[0101] For example, the server can pre-establish a preset number (e.g., N) of connection databases based on the number of users: "Connection Database 1" - "Connection Database N". If the feature value is the first three digits of the account information, a correspondence between the feature value and the connection database can be established. For example, assuming that feature values ​​in the range of "000-099" correspond to "Connection Database 1", feature values ​​in the range of "100-199" correspond to "Connection Database 2", feature values ​​in the range of "200-299" correspond to "Connection Database 3", and so on, then it can be known that the feature value of account information 813025689 is "813", and the corresponding connection database is "Connection Database 9".

[0102] 206. The server stores the data connection information corresponding to the account information for the first terminal in the connection database corresponding to the account information;

[0103] In this embodiment of the invention, steps 204-206 are optional steps. The example given is establishing multiple connection databases and allocating multiple connection databases according to the feature values ​​of the account information. In practice, other classification methods can also be used to allocate connection databases, such as allocating them according to the level of account information and storing different types of data connection information in the corresponding connection databases, or establishing one connection database and storing all data connection information in that connection database. This embodiment of the invention does not limit the method of storing data connection information.

[0104] 207 When the server receives an editing operation from the first terminal on the multimedia resource information, it executes the editing operation on the multimedia resource information;

[0105] When the first terminal detects that the user has triggered an editing operation on the multimedia resource information, it needs to send the editing operation to the server. When the server receives the editing operation from the first terminal, it executes the editing operation to edit the multimedia resource information.

[0106] The multimedia resource information can be a multimedia file or related information about a multimedia file. Information, such as playlists in multimedia applications, multimedia files in playlists, etc., are not limited in this embodiment of the invention.

[0107] 208. The server determines whether the editing operation on the multimedia resource information meets the preset synchronization conditions. If it does, proceed to step 209; otherwise, end the process.

[0108] In practical applications, users may have different synchronization needs for different types of editing operations. For example, a user might want to synchronize editing of a playlist and downloading a text document, but not downloading a movie. Therefore, it's advisable to first determine whether the editing operations on the multimedia resource information meet the preset synchronization conditions; if so, synchronization can then proceed.

[0109] The preset synchronization conditions can be pre-set by the server or by the user through terminal login; this embodiment of the invention does not limit this.

[0110] It should be noted that the step of determining whether the editing operation on the multimedia resource information meets the preset synchronization conditions can be performed by the server when it receives the editing operation, or by the first terminal. When the first terminal performs this step, a synchronization identifier can be used to indicate that the editing operation on the multimedia resource information meets the preset synchronization conditions. Specifically, when the first terminal detects that the user has triggered an editing operation on the multimedia resource information, it determines whether the editing operation meets the preset synchronization conditions. If it does, it adds a synchronization identifier to the editing operation and sends the editing operation to the server, so that when the server detects that the editing operation carries the synchronization identifier, it determines that the editing operation on the multimedia resource information meets the preset synchronization conditions.

[0111] Furthermore, step 208 is an optional step. The server may not need to judge the editing operation, but may directly synchronize all editing operations, or determine whether synchronization is needed based on whether the second terminal allows synchronization. The specific method and timing for judging whether to synchronize are not limited in this embodiment of the invention.

[0112] 209. The server queries the connection database corresponding to the account information for the data connection information.

[0113] This data connection information includes the data connection information of at least one terminal currently logged in corresponding to the account information. When any terminal logs out, the data connection information of that terminal is deleted or logged out. This is to ensure the server's concurrency.

[0114] In this embodiment of the invention, by globally and in real-time monitoring of data connection information, the establishment and closure of data connections between the server and at least one terminal can be detected in real time. This allows for dynamic updating of the data connection information corresponding to the account information, ensuring that the queried data connection information reflects the data connection information of at least one currently logged-in terminal. Furthermore, querying the data connection information in the connection database corresponding to the account information reduces the amount of data queried, saves query time, and improves query efficiency.

[0115] 210. The server determines whether the queried data connection information includes the data connection information of the second terminal. If it does, proceed to step 211; otherwise, end the process.

[0116] In practical applications, the retrieved data connection information may include data connection information for multiple second terminals. In subsequent processes, these multiple second terminals can be judged separately to filter out one or more second terminals that need to be synchronized.

[0117] 211. The server determines whether the second terminal allows synchronization. If yes, proceed to step 212; otherwise, end.

[0118] Optionally, the second terminal can provide a synchronization option, which the user can control whether the second terminal needs to synchronize by enabling or disabling the synchronization option. When the synchronization option is enabled, it indicates that the second terminal allows synchronization; when the synchronization option is disabled, it indicates that the second terminal does not allow synchronization.

[0119] Accordingly, step 211 includes: the server determining whether the synchronization option of the second terminal is enabled; if the server detects that the synchronization option of the second terminal is enabled, it determines that the second terminal is allowed to synchronize, and then executes step 212; if the server detects that the synchronization option of the second terminal is disabled, it determines that the second terminal is not allowed to synchronize, and then the process ends.

[0120] In this embodiment of the invention, the connection types that are allowed to be synchronized can also be preset. Even when the second terminal is allowed to synchronize, it can be further determined whether synchronization is required based on the data connection type of the second terminal. When the data connection type of the second terminal is the preset connection type, synchronization can be performed. Accordingly, step 211 can be replaced by the following steps: The server determines whether the data connection type of the second terminal is a preset connection type based on the data connection information of the second terminal. If yes, step 212 is executed; otherwise, the process ends.

[0121] The preset connection type can be set by the server or by the second terminal; this embodiment of the invention does not limit this.

[0122] If the second terminal sets the preset connection type to WiFi connection, that is, when the data connection between the server and the second terminal is WiFi connection, the second terminal allows synchronization of editing operations on the first terminal; when the data connection between the server and the second terminal is not WiFi connection, the second terminal does not allow synchronization of editing operations on the first terminal.

[0123] In this embodiment of the invention, step 211 can also be replaced by the following steps: The server determines whether the second terminal allows synchronization. When the second terminal allows synchronization, the server determines whether the data connection type of the second terminal is a preset connection type based on the data connection information of the second terminal. When the data connection type of the second terminal is the preset connection type, step 212 is executed. Alternatively, the server determines whether the data connection type of the second terminal is a preset connection type based on the data connection information of the second terminal. When the data connection type of the second terminal is the preset connection type, the server determines whether the second terminal allows synchronization. When the second terminal allows synchronization, step 212 is executed.

[0124] In this embodiment of the invention, by determining whether the second terminal allows synchronization and whether the data connection type of the second terminal is a preset connection type, terminals that need to be synchronized are filtered from the terminals corresponding to the account information, saving network resources and improving the flexibility of synchronization.

[0125] 212. The server will synchronize the editing operations of the multimedia resource information to the second terminal.

[0126] Optionally, when the server and its associated terminal use the iOS operating system, APNS (Apple Push Notification Service) can be used to synchronize the editing operations of the multimedia resource information to the second terminal, so that synchronization can also be performed when the application associated with the server installed on the second terminal is dormant.

[0127] In this embodiment of the invention, the synchronization process differs depending on the type of multimedia resource information and the editing operation. The following will describe the process based on several different types of multimedia resource information. The specific synchronization process will be explained.

[0128] (1) When the multimedia resource information is a playlist, step 212 includes any one of the following: (1-1) When the editing operation of the multimedia resource information is to create a new playlist, create the playlist on the second terminal;

[0129] The multimedia application logged into the first and second terminals includes at least a default playlist for displaying all multimedia files on the terminals. Furthermore, one or more new playlists can be created, and one or more multimedia files from the terminals can be added to any of the newly created playlists. When playing a multimedia file from a newly created playlist, it is not necessary to play all the multimedia files, thus achieving filtered playback of multimedia files. A single multimedia file can be added to different playlists.

[0130] For example, both the first terminal and the second terminal include a default playlist and a playlist A. When the first terminal triggers the operation of creating a new playlist B, that is, the editing operation of the multimedia resource information is to create a new playlist, and the name of the new playlist entered by the user is B, then the server creates a new playlist B on the first terminal and creates a new playlist named B on the second terminal.

[0131] (1-2) When the editing operation of the multimedia resource information is to delete the playlist, delete the playlist on the second terminal;

[0132] Based on the example in step (1-1), when the first terminal triggers the operation of deleting playlist A, the server deletes playlist A on the first terminal and also deletes playlist A on the second terminal.

[0133] (1-3) When the editing operation of the multimedia resource information is to rename the playlist, obtain the new name of the playlist on the first terminal and rename the playlist on the second terminal to the new name;

[0134] Based on the example in step (1-1), when the first terminal triggers the operation of renaming playlist A and enters a new name C, the server obtains the new name C entered by the user, renames playlist A to playlist C, and renames playlist A on the second terminal to playlist C.

[0135] (1-4) When the editing operation of the multimedia resource information is to add notes to the playlist, add the same notes to the playlist on the second terminal; The remarks information may be user comments or automatically generated playback time and playback count, etc., and this embodiment of the invention does not limit this.

[0136] Based on the example of step (1-1), when a user adds comment information to playlist B on the first terminal, the server obtains the comment information and adds the comment information to playlist B on the second terminal. In this embodiment of the invention, since users may play multimedia files on multiple terminals, playback time, playback count, and other notes will be generated on each terminal. By synchronizing the playback time, playback count, and other notes generated on multiple terminals, users can comprehensively and systematically understand the playback status.

[0137] (1-5) When the editing operation of the multimedia resource information is to add the multimedia file to the playlist, the multimedia file is added to the playlist on the second terminal;

[0138] Unlike downloading a multimedia file, adding a multimedia file to a playlist refers to adding the multimedia file to the playlist when it is already saved on the first and second terminals.

[0139] Based on the example in step (1-1), when the first terminal triggers the operation of adding the multimedia file "song a" from the default playlist to playlist A, the server adds "song a" to playlist A on the first terminal and adds "song a" to the playlist on the second terminal.

[0140] (1-6) When the editing operation of the multimedia resource information is to delete the multimedia file from the playlist, the multimedia file is deleted from the playlist of the second terminal;

[0141] Unlike deleting the multimedia file on the second terminal, deleting the multimedia file from the playlist only refers to removing the name and other information of the multimedia file from the playlist, that is, removing the multimedia file from the playlist, without deleting the multimedia file itself.

[0142] Based on the example in steps (1-5), when the first terminal triggers the operation of deleting "song a" from playlist A, the server deletes "song a" from playlist A of the first terminal and also deletes "song a" from playlist A of the second terminal. (1-7) When the editing operation of the multimedia resource information is to move the multimedia file from the first playlist to the second playlist, the multimedia file is moved from the first playlist to the second playlist on the second terminal.

[0143] Based on the example in steps (1-5), when the first terminal triggers the operation of moving "song a" from playlist A to playlist B, the server moves "song a" from playlist A to playlist B on the first terminal and moves "song a" from playlist A to playlist B on the second terminal.

[0144] (2) The multimedia resource information is at least one multimedia file in the playlist, and step 212 includes any of the following:

[0145] (2-1) When the editing operation of the multimedia resource information is to download a multimedia file, the multimedia file is downloaded to the second terminal;

[0146] Unlike adding a multimedia file to a playlist, downloading a multimedia file means downloading the multimedia file to the second terminal when it is not present on the terminal. The downloaded multimedia file can then be added to the default playlist automatically or manually by updating the file library.

[0147] For example, if the first terminal triggers the operation of downloading "file b", then the server downloads "file b" to the default download folder of the first terminal and also downloads "file b" to the default download folder of the second terminal.

[0148] (2-2) When the editing operation of the multimedia resource information is to delete the multimedia file, delete the multimedia file in the second terminal;

[0149] Unlike deleting a multimedia file from a playlist, deleting a multimedia file here means deleting the multimedia file on the second terminal, thus removing the multimedia file from all playlists where it was originally located.

[0150] For example, if the first terminal triggers the operation of deleting "file c", then the server deletes "file c" from the first terminal and also deletes "file c" from the second terminal.

[0151] In steps (2-1) and (2-2), the process involves using a server with a wireless connection to the terminal. This allows for the simultaneous downloading or deletion of multimedia files on different terminals without the need to connect the first and second terminals using a data cable, making the operation simple and time-saving.

[0152] (2-3) When the editing operation of the multimedia resource information is to rename the multimedia file, obtain the new name of the multimedia file on the first terminal and rename the multimedia file on the second terminal to the new name;

[0153] (2-4) When the editing operation of the multimedia resource information is to add notes to the multimedia file, add the same notes to the multimedia file on the second terminal;

[0154] The remarks information may be user comments on the multimedia file or automatically generated information such as playback time and number of plays. This embodiment of the invention does not limit this.

[0155] (2-5) When the editing operation of the multimedia resource information is to modify the remarks information of the multimedia file, the same modification shall be made to the remarks information of the multimedia file on the second terminal;

[0156] Based on the example in steps (1-5), when the first terminal triggers the modification of the comment information for "song a" in playlist A, the server obtains the comment information re-entered by the user, and modifies the comment information of "song a" on the first terminal according to the re-entered comment information, and modifies the comment information of "song a" in playlist A on the second terminal according to the re-entered comment information.

[0157] (2-6) When the editing operation of the multimedia resource information is to move the multimedia file from the first folder to the second folder, the multimedia file is moved from the first folder to the second folder on the second terminal.

[0158] For example, if the first terminal moves "file c" from "folder X" to "folder y", and both "folder X" and "folder y" are folders associated with the server, then the server will move "file c" from "folder X" to "folder y" on the second terminal.

[0159] To facilitate the management of multimedia files, when a multimedia file is moved on the first terminal, the same moving operation can be performed on the second terminal, thus achieving synchronized file management.

[0160] (3) The multimedia resource information is a collection list. Step 212 includes any of the following:

[0161] (3-1) When the editing operation on this multimedia resource information is to create a new collection list, in the second terminal... Create the new collection list on the client;

[0162] In the multimedia applications logged into on the first and second terminals, multimedia files can be added to favorites lists. One or more favorites lists can be created, and multimedia files can be added to any of these lists based on the user's favorite tags. A single multimedia file can be added to different favorites lists.

[0163] When the first terminal triggers an edit operation to create a new collection list, the server creates one or more collection lists on the first terminal and one or more of the same collection lists on the second terminal.

[0164] For example, when the first terminal triggers the operation of creating a new favorites list B, that is, the editing operation of the multimedia resource information is to create a new favorites list, and the name of the new favorites list entered by the user is B, then the server creates a new favorites list B on the first terminal and creates a new favorites list named B on the second terminal.

[0165] (3-2) When the editing operation of the multimedia resource information is to delete the favorites list, delete the favorites list on the second terminal;

[0166] (3-3) When the editing operation of the multimedia resource information is to rename the collection list, obtain the new name of the collection list on the first terminal, and rename the collection list on the second terminal to the new name;

[0167] (3-4) When the editing operation of the multimedia resource information is to add notes to the collection list, add the same notes to the collection list on the second terminal;

[0168] (3-5) When the editing operation on the multimedia resource information is to modify the information of the multimedia file in the collection list, the same modification is performed on the information of the multimedia file in the collection list on the second terminal;

[0169] (3-6) When the editing operation of the multimedia resource information is to add the multimedia file to the favorites list, the multimedia file is added to the favorites list on the second terminal;

[0170] (3-7) When the editing operation for this multimedia resource information is to delete the multimedia file from the favorites list, Delete the multimedia file from the favorites list on the second terminal;

[0171] Unlike deleting the multimedia file on the second terminal, deleting the multimedia file from the favorites list only refers to removing the name and other information of the multimedia file from the favorites list, that is, removing the multimedia file from the favorites list, without deleting the multimedia file itself.

[0172] (3-8) When the editing operation of the multimedia resource information is to move the multimedia file from the first collection list to the second collection list, the multimedia file is moved from the first collection list to the second collection list on the second terminal.

[0173] (4) The multimedia resource information is a watchlist, which is used to watch information from a specified source. Step 212 includes any one of the following:

[0174] (4-1) When the editing operation of the multimedia resource information is to create a new watchlist, the watchlist is created on the second terminal;

[0175] In this embodiment of the invention, a user can follow information from a specified source, such as multimedia files of a specified singer or multimedia files of a specified chart, and create a follow list, so that when the server obtains new information from the specified source, it updates the follow list accordingly.

[0176] For example, if a user triggers the action of following songs by "Faye Wong," the server creates a new following list for "Faye Wong." When the server retrieves a new song by "Faye Wong," it adds that new song to the following list. Alternatively, if a user triggers the action of following "Daily Hot Songs," the server creates a new following list for "Daily Hot Songs." When new songs are added, old songs are deleted, or song rankings are adjusted in the "Daily Hot Songs" chart, the server can update the following list for "Daily Hot Songs."

[0177] If the first terminal triggers an edit operation to create a new follow list, the server creates one or more follow lists on the first terminal and one or more of the same follow lists on the second terminal.

[0178] For example, when the first terminal triggers the operation of creating a new watchlist B, that is, the editing operation on the multimedia resource information is creating a new watchlist, and the name of the new watchlist entered by the user is B, then the... The server creates a new watchlist B on the first terminal and another watchlist named B on the second terminal.

[0179] (4-2) When the editing operation of the multimedia resource information is to delete the watchlist, delete the watchlist on the second terminal;

[0180] In this embodiment of the invention, the user can also unfollow the information from the specified source, and correspondingly, the server deletes the specified source from the follow list.

[0181] (4-3) When the editing operation of the multimedia resource information is to rename the attention list, obtain the new name of the attention list on the first terminal and rename the attention list on the second terminal to the new name;

[0182] (4-4) When the editing operation of the multimedia resource information is to add notes to the attention list, add the same notes to the attention list on the second terminal;

[0183] (4-5) When the editing operation on the multimedia resource information is to modify the information of the multimedia file in the watchlist, the same modification is performed on the information of the multimedia file in the watchlist on the second terminal.

[0184] The method provided in this invention, when receiving an editing operation on multimedia resource information from a first terminal, queries the data connection information corresponding to the account information used by the first terminal. If the queried data connection information includes the data connection information of a second terminal, the editing operation is synchronized to the second terminal, achieving real-time synchronization of multimedia resource information across different terminals. This method is highly immediate and easy to operate. Furthermore, by establishing multiple connection databases and defining a correspondence between feature values ​​and connection databases, the data connection information of the account information is stored in the connection database corresponding to the feature value, saving query time. Moreover, by rationally allocating connection databases according to the number of account information entries, load balancing of the connection databases is achieved.

[0185] The method provided in this embodiment of the invention can also be implemented through a synchronization system, which includes multiple units. Figure 2c is a schematic diagram of a synchronization system framework provided in this embodiment of the invention.

[0186] Referring to Figure 2c, one specific coordination method of the units in this synchronization system is as follows:

[0187] The login server is used to authenticate account information. When the authentication is successful, the first terminal is set to be logged in based on the account information. The proxy server is used to establish and maintain a data connection with the first terminal. It can also provide the first terminal with various communication protocols and JSON (JavaScript Object Notation) output format, etc.

[0188] The identifier generator is used to implement step 206. Specifically, the identifier generator is used to obtain the terminal identifier of the first terminal.

[0189] The memory is used to implement step 206. Specifically, the memory is used to store the data connection information of the account information.

[0190] Router, query server, connection tracker, push server, and storage can be used to implement steps 209 and 210. Specifically, the router is used to determine the connection database corresponding to the account information and send it to the query server. The query server sends a query message to the push server. The push server sends a query message to the connection tracker, so that the connection tracker can obtain the data connection information of the account information from the storage. The query server queries whether the data connection information of the account information includes the data connection information of the second terminal.

[0191] The push server is also used to implement step 212. Specifically, the push server is used to send messages and perform editing operations on the first terminal and the second terminal.

[0192] Of course, the login server, proxy server, identifier generator, storage, router, query server, connection tracker, and push server in this synchronization system can also cooperate in other ways. For example, another specific cooperation method is as follows:

[0193] The login server is used to authenticate account information. When the authentication is successful, the first terminal is set to be logged in based on the account information.

[0194] The proxy server is used to establish and maintain a data connection with the first terminal. It can also provide the first terminal with various communication protocols and JSON (JavaScript Object Notation) output format, etc.; and receive the first terminal's editing operations on multimedia resources through the established data connection.

[0195] The router is used to determine the query server in the query server cluster that manages the account information; the query server queries the multimedia resource information corresponding to the account information stored locally, and performs the query... The retrieved multimedia resource information is used to perform the editing operation, and the editing operation is sent as a synchronous push message to the push server;

[0196] The push server receives the synchronous push message and obtains the data connection information corresponding to the account information from the connection tracker. It then determines the data connection information of the first terminal included in the obtained data connection information and sends the synchronous push message to the first terminal based on the data connection information of the first terminal.

[0197] Among them, the connection tracker connects to the proxy server and is used to register or log out the login account information of the terminal. It can track in real time which terminals have established or closed data connections with the synchronization system through the proxy server.

[0198] The identifier generator is used to obtain the terminal identifier corresponding to the terminal when the connection tracker registers the data connection information of the terminal with the login account information. The memory is used to store the terminal data connection information containing the terminal identifier and send the mapping relationship of its corresponding storage location to the connection tracker.

[0199] Figure 2c is a schematic diagram illustrating the process of establishing a long connection between a proxy server and a terminal according to an embodiment of the present invention. The proxy server is the main entity executing this process. Referring to Figure 2c, the process of establishing this long connection specifically includes the following steps:

[0200] 2100. Receive data connection requests from terminals;

[0201] 2101. Parse the terminal local parameters contained in the data connection request and determine whether the parsing was successful;

[0202] If the parsing is successful, proceed to step 2103; otherwise, proceed to step 2102.

[0203] 2102. Return a parameter parsing error packet to the terminal, close the connection, and end the process;

[0204] 2103. Determine if any account information has been logged in on the terminal;

[0205] If yes, proceed to step 2105; otherwise, proceed to step 2104.

[0206] 2104. Return a "not logged in" packet to the terminal, close the connection, and end the process;

[0207] 2105. Register the account information with the connection tracker corresponding to the terminal's current data connection information; Proceed to step 2106;

[0208] 2106. If the data connection request determines that an initial query for push notifications is required, then the system queries the query server corresponding to the account information for push notifications under that account information via routing, and determines the appropriate method. Whether the inquiry was successful or not;

[0209] If the query is successful, proceed to steps 2107 and 2110; otherwise, proceed to step 2113.

[0210] 2107. Check whether a message sent by the terminal based on account information has been received within the set time; if yes, proceed to step 2108; otherwise, proceed to step 2111.

[0211] 2108. Return the push message packet to the terminal and determine whether the return was successful;

[0212] If successful, proceed to step 2109; otherwise, proceed to step 2113.

[0213] 2109. Determine whether the communication protocol with the terminal is the Comet protocol in long poll mode; if yes, proceed to step 2113; otherwise, determine whether the communication protocol with the terminal is the Comet protocol in stream mode, and return to step 2107.

[0214] 2110. Send the keepalive field to the connection tracker and determine whether the sending was successful;

[0215] If the transmission fails, proceed to step 2114; otherwise, establish a long connection with the terminal and end the process.

[0216] 2111. Determine if the communication protocol with the terminal is the Comet protocol in long poll mode; if yes, proceed to step 2112; otherwise, proceed to step 2110.

[0217] 2112. Return a timeout packet to the terminal; Proceed to step 2113;

[0218] 2113. Unregister the connection; Proceed to step 2114;

[0219] 2114. Close the connection and end the process;

[0220] Figure 3 is a schematic diagram of an operation synchronization device provided in an embodiment of the present invention. Referring to Figure 3, the device includes: an operation receiving module 301, a connection information query module 302, a judgment module 303, and a synchronization module 304.

[0221] The operation receiving module 301 is used to execute the editing operation on the multimedia resource information when it receives an editing operation from the first terminal; the connection information query module 302 is connected to the operation receiving module 301 and is used to query the data connection information corresponding to the account information used by the first terminal; the judgment module 303 is connected to the connection information query module 302 and is used to determine whether the queried data connection information includes the data connection information of the second terminal; the synchronization module 304 is connected to the judgment module 303 and is used to... If the retrieved data connection information includes the data connection information of the second terminal, the editing operations on the multimedia resource information will be synchronized to the second terminal.

[0222] Optionally, the device includes:

[0223] The synchronization condition judgment module is used to determine whether the editing operation on the multimedia resource information meets the preset synchronization condition after the operation receiving module receives the editing operation on the multimedia resource information from the first terminal.

[0224] The connection information query module is specifically used to: when the synchronization condition judgment module determines that the editing operation on the multimedia resource information meets the preset synchronization condition, query the data connection information corresponding to the account information used by the first terminal.

[0225] Optionally, the synchronization module 304 is specifically used for:

[0226] If the retrieved data connection information includes the data connection information of a second terminal, determine whether the second terminal allows synchronization. If the second terminal allows synchronization, execute the editing operation on the multimedia resource information and synchronize it to the second terminal; or,

[0227] If the retrieved data connection information includes the data connection information of the second terminal, determine whether the data connection type of the second terminal is a preset connection type based on the data connection information of the second terminal. If the data connection type of the second terminal is the preset connection type, execute the editing operation of the multimedia resource information to synchronize to the second terminal.

[0228] Optionally, the multimedia resource information is a playlist, and the synchronization module 304 includes:

[0229] The first playlist synchronization unit is used to create a new playlist on the second terminal when the editing operation on the multimedia resource information is to create a new playlist; or,

[0230] The second playlist synchronization unit is used to delete the playlist on the second terminal when the editing operation on the multimedia resource information is to delete the playlist; or,

[0231] The third playlist synchronization unit is used to, when the editing operation on the multimedia resource information is to rename the playlist, obtain the new name of the playlist on the first terminal and rename the playlist on the second terminal to the new name; or,

[0232] The fourth playlist synchronization unit is used when editing the multimedia resource information is for playback. When adding notes to the playlist, the same notes are added to the playlist on the second terminal; or, the fifth playlist synchronization unit is used to add the multimedia file to the playlist on the second terminal when the editing operation on the multimedia resource information is to add the multimedia file to the playlist; or,

[0233] The sixth playlist synchronization unit is used to delete the multimedia file from the playlist on the second terminal when the editing operation on the multimedia resource information is to delete the multimedia file from the playlist; or,

[0234] The seventh playlist synchronization unit is used to move the multimedia file from the first playlist to the second playlist on the second terminal when the editing operation on the multimedia resource information is to move the multimedia file from the first playlist to the second playlist.

[0235] Optionally, the multimedia resource information is at least one multimedia file in the playlist, and the synchronization module 304 includes:

[0236] The first file synchronization unit is used to download the multimedia file to the second terminal when the editing operation on the multimedia resource information is to download the multimedia file; or,

[0237] The second file synchronization unit is used to delete the multimedia file in the second terminal when the editing operation on the multimedia resource information is to delete the multimedia file; or,

[0238] The third file synchronization unit is used to, when the editing operation on the multimedia resource information is to rename the multimedia file, obtain the new name of the multimedia file on the first terminal and rename the multimedia file on the second terminal to the new name; or,

[0239] The fourth file synchronization unit is used to add the same annotation information to the multimedia file on the second terminal when the editing operation on the multimedia resource information is to add annotation information to the multimedia file; or, the fifth file synchronization unit is used to modify the annotation information of the multimedia file on the second terminal when the editing operation on the multimedia resource information is to modify the annotation information of the multimedia file; or,

[0240] The sixth file synchronization unit is used to synchronize the multimedia resource information from the first folder to the second folder on the second terminal when the editing operation on the multimedia resource information is to move the multimedia file from the first folder to the second folder. Move the first folder to this second folder.

[0241] Optionally, the multimedia resource information is a collection list, and the synchronization module 304 includes:

[0242] The first collection list synchronization unit is used to create a new collection list on the second terminal when the editing operation for the multimedia resource information is to create a new collection list; or,

[0243] The second collection list synchronization unit is used to delete the collection list on the second terminal when the editing operation on the multimedia resource information is to delete the collection list; or,

[0244] The third collection list synchronization unit is used to, when the editing operation on the multimedia resource information is to rename the collection list, obtain the new name of the collection list on the first terminal, and rename the collection list on the second terminal to the new name; or,

[0245] The fourth collection list synchronization unit is used to add the same notes to the collection list on the second terminal when the editing operation on the multimedia resource information is to add notes to the collection list; or, the fifth collection list synchronization unit is used to perform the same modification on the information of the multimedia file in the collection list on the second terminal when the editing operation on the multimedia resource information is to modify the information of the multimedia file in the collection list; or,

[0246] The sixth collection list synchronization unit is used to add the multimedia file to the collection list on the second terminal when the editing operation on the multimedia resource information is to add the multimedia file to the collection list; or,

[0247] The seventh collection list synchronization unit is used to delete the multimedia file from the collection list on the second terminal when the editing operation on the multimedia resource information is to delete the multimedia file from the collection list; or,

[0248] The eighth collection list synchronization unit is used to move the multimedia file from the first collection list to the second collection list on the second terminal when the editing operation of the multimedia resource information is to move the multimedia file from the first collection list to the second collection list.

[0249] Optionally, the multimedia resource information is a watchlist, and the synchronization module 304 includes:

[0250] The first attention list synchronization unit is used to create a new attention list on the second terminal when the editing operation on the multimedia resource information is to create a new attention list; or, The second attention list synchronization unit is used to delete the attention list on the second terminal when the editing operation on the multimedia resource information is to delete it from the attention list; or,

[0251] The third attention list synchronization unit is used to, when the editing operation on the multimedia resource information is to rename the attention list, obtain the new name of the attention list on the first terminal, and rename the attention list on the second terminal to the new name; or,

[0252] The fourth attention list synchronization unit is used to add the same note information to the attention list on the second terminal when the editing operation on the multimedia resource information is to add notes to the attention list; or, the fifth attention list synchronization unit is used to make the same modification to the information of the multimedia file in the attention list on the second terminal when the editing operation on the multimedia resource information is to modify the information of the multimedia file in the attention list.

[0253] Optionally, the device further includes:

[0254] The connection establishment module is used to establish a data connection with the first terminal when a login request carrying the account information is received from the first terminal.

[0255] Terminal identifier acquisition module, used to acquire the terminal identifier of the first terminal;

[0256] The connection information generation module is used to generate data connection information corresponding to the terminal identifier of the account information, and to use it as the data connection information corresponding to the first terminal of the account information.

[0257] Optionally, the terminal identifier acquisition module includes:

[0258] The first acquisition unit is configured to use the terminal number of the first terminal as the terminal identifier of the first terminal; or,

[0259] The second acquisition unit is used to allocate an identifier as the terminal identifier of the first terminal.

[0260] Optionally, the device further includes:

[0261] The feature value acquisition module is used to acquire the feature values ​​of the account information.

[0262] The database determination module is used to query the pre-established correspondence between the feature value and the connected database based on the feature value, and determine the connected database corresponding to the account information;

[0263] The storage module is used to store the data connection information of the account information corresponding to the first terminal in the connection database corresponding to the account information. Optionally, the connection information query module is used to query the data connection information corresponding to the account information in the connection database.

[0264] The device provided in this embodiment of the invention, when receiving an editing operation on multimedia resource information from a first terminal, queries the data connection information corresponding to the account information used by the first terminal. If the queried data connection information includes the data connection information of a second terminal, the editing operation is synchronized to the second terminal, thereby realizing real-time synchronization of multimedia resource information between different terminals. It is highly immediate and easy to operate.

[0265] It should be noted that the operation synchronization device provided in the above embodiments is only illustrated by the division of the above functional modules during synchronization. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the server can be divided into different functional modules to complete all or part of the functions described above. In addition, the operation synchronization device and operation synchronization method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0266] Figure 4 is a schematic diagram of a server structure provided in an embodiment of the present invention. The server 400 can vary considerably depending on its configuration or performance, and may include one or more central processing units (CPUs) 422 (e.g., one or more processors) and a memory 432, and one or more storage media 430 (e.g., one or more mass storage devices) for storing application programs 442 or data 444. The memory 432 and storage media 430 may be in the form of temporary or persistent storage. The program stored in the storage media 430 may include one or more modules (not shown in the figure), each module including a series of instruction operations on the server. Furthermore, the CPU 422 may be configured to communicate with the storage media 430, executing a series of instruction operations from the storage media 430 on the CPU 422.

[0267] The server 400 may also include one or more power supplies 426, one or more wired or wireless network interfaces 450, one or more input / output interfaces 458, one or more keyboards 456, and / or one or more operating systems 441 (e.g., Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, etc.).

[0268] The steps performed by the server in the embodiments shown in Figures 1 and 2a above can be based on this. The server shown in Figure 4 is used to execute this.

[0269] Furthermore, embodiments of the present invention also provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform an operation synchronization method, the method comprising:

[0270] When an editing operation on multimedia resource information is received from the first terminal, the editing operation is performed on the multimedia resource information;

[0271] Query the data connection information corresponding to the account information used by the first terminal;

[0272] Determine whether the retrieved data connection information includes the data connection information of the second terminal;

[0273] If the retrieved data connection information includes the data connection information of the second terminal, the editing operation on the multimedia resource information will be synchronized to the second terminal. When the computer-executable instructions are executed by a computer processor, the operation synchronization method is not limited to the above steps; it can also execute the operation synchronization method provided in any embodiment of the present invention. Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.

[0274] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.