Media content processing methods, apparatus, equipment, readable storage media and products

By maintaining the full collection list on the backend server and merging incremental data on the client, the problem of low efficiency in synchronizing collection data across multiple devices is solved, achieving fast, accurate data synchronization and efficient data transmission.

CN119545122BActive Publication Date: 2026-03-06DOUYIN VISION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-20
Publication Date
2026-03-06

AI Technical Summary

Technical Problem

In existing technologies, the synchronization of collection data between multiple devices is inefficient and consumes a lot of computing resources. Furthermore, data conflicts and cumbersome operations can easily occur when synchronizing different data.

Method used

A complete initial collection list is maintained on the backend server. After user authorization, each client uploads data. When preset conditions are met, incremental list update information is obtained, the local collection list is merged and updated, and only incremental data is transmitted to the server for synchronization.

Benefits of technology

It achieves fast and accurate synchronization of collection data, reduces data transmission volume, improves synchronization efficiency, avoids data conflicts, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545122B_ABST
    Figure CN119545122B_ABST
Patent Text Reader

Abstract

This disclosure provides a media content processing method, apparatus, device, readable storage medium, and product. The method includes: after obtaining full authorization from the user, acquiring at least one collection operation triggered by the user for at least one media content within a time interval; in response to satisfying a preset synchronization condition, acquiring list update information of a pre-stored first collection list added within the time interval from a preset server; performing a collection list update operation on a second collection list corresponding to the current client based on the list update information to obtain an updated target collection list; determining at least one piece of content to be updated based on the first collection list and the target collection list, and sending the at least one piece of content to be updated to the server. This enables accurate synchronization of collection data in the second collection lists of each client based on the first collection list. Furthermore, by only transmitting data for incremental content to be updated, the amount of data transmission is reduced, improving the efficiency of content synchronization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of data processing technology, and in particular to a media content processing method, apparatus, device, readable storage medium, and product. Background Technology

[0002] When users browse media content within an application, they can trigger a save action for that content. In practice, users can install and log in to the same application on multiple electronic devices. How to quickly and accurately synchronize saved data across these devices has become a pressing issue.

[0003] In related technologies, it is generally possible to perform a full synchronization of collection data for each electronic device. However, full data synchronization often involves a large amount of data, resulting in low data synchronization efficiency and high computational resource consumption. Summary of the Invention

[0004] This disclosure provides a media content processing method, apparatus, device, readable storage medium, and product to address the technical problem of low synchronization efficiency of existing collection data.

[0005] In a first aspect, embodiments of this disclosure provide a media content processing method, including:

[0006] The system acquires at least one collection operation triggered by a user for at least one media content within a time interval, wherein the time interval is the interval between the current timestamp and the timestamp corresponding to the last collection list update operation, and the collection operation is acquired after authorization by the user.

[0007] In response to meeting preset synchronization conditions, the system retrieves the list update information of the first collection list added during the time interval from the preset server. The first collection list includes all historical collection data generated by all clients associated with the user for media content, wherein the historical collection data is uploaded to the server after authorization by the user.

[0008] Based on the list update information, perform a collection list update operation on the second collection list corresponding to the current client to obtain the updated target collection list;

[0009] Based on the first collection list and the target collection list, at least one piece of content to be updated is determined, and the at least one piece of content to be updated is sent to the server, so that the server performs a content update operation on the first collection list based on the at least one piece of content to be updated.

[0010] Secondly, embodiments of this disclosure provide a media content processing method, including:

[0011] Obtain at least one piece of content to be updated sent by at least one client, wherein the content to be updated is calculated based on the media content processing method described in the first aspect;

[0012] The first collection list is updated by performing a collection list update operation on the pre-stored first collection list according to the at least one content to be updated, and the updated first collection list is obtained, wherein the first collection list includes all historical collection data generated by all clients associated with the user for media content.

[0013] Thirdly, embodiments of this disclosure provide a media content processing apparatus, including:

[0014] The acquisition module is used to acquire at least one collection operation triggered by the user for at least one media content within a time interval, wherein the time interval is the interval between the current timestamp and the timestamp corresponding to the last collection list update operation, and wherein the collection operation is acquired after authorization by the user;

[0015] A synchronization module is used to retrieve, in response to the satisfaction of preset synchronization conditions, the list update information added to the pre-stored first collection list within the time interval from a preset server. The first collection list includes all historical collection data generated by all clients associated with the user for media content, wherein the historical collection data is uploaded to the server after authorization by the user.

[0016] The update module is used to perform a collection list update operation on the second collection list corresponding to the current client based on the list update information, so as to obtain the updated target collection list;

[0017] The sending module is configured to determine at least one piece of content to be updated based on the first collection list and the target collection list, and send the at least one piece of content to be updated to the server, so that the server can perform a content update operation on the first collection list based on the at least one piece of content to be updated.

[0018] Fourthly, embodiments of this disclosure provide a media content processing apparatus, including:

[0019] A data acquisition module is used to acquire at least one piece of content to be updated sent by at least one client, wherein the content to be updated is calculated based on the media content processing device described in the third aspect;

[0020] The processing module is used to perform a collection list update operation on the pre-stored first collection list according to the at least one content to be updated, and obtain the updated first collection list, wherein the first collection list includes all historical collection data generated by all clients associated with the user for media content.

[0021] Fifthly, embodiments of this disclosure provide an electronic device, including: a processor and a memory;

[0022] The memory stores computer-executed instructions;

[0023] The processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the media content processing method as described in the first aspect and various possible designs of the first aspect or the second aspect and various possible designs of the second aspect.

[0024] Sixthly, embodiments of this disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the media content processing method described in the first aspect and various possible designs of the first aspect, or in the second aspect and various possible designs of the second aspect.

[0025] In a seventh aspect, embodiments of this disclosure provide a computer program product, including a computer program that, when executed by a processor, implements the media content processing method described in the first aspect and various possible designs of the first aspect, or in the second aspect and various possible designs of the second aspect.

[0026] The media content processing method, apparatus, device, readable storage medium, and product provided in this embodiment maintain a complete first collection list in the backend server beforehand. After full authorization from the user, each client associated with the user can upload collection data to this first collection list. This allows for subsequent synchronization of collection data in the second collection lists of each client based on the complete first collection list. Furthermore, when a user performs a collection operation on the client, after full authorization, at least one collection operation triggered by the user since the last collection list update operation can be obtained. When preset synchronization conditions are met, list update information since the last collection list update operation can be obtained from the server. Based on the list update information, the client's local second collection list is updated to obtain the target collection list. Then, based on the first collection list and the target collection list, at least one piece of content to be updated can be determined and sent to the server, enabling the server to perform a content update operation on the first collection list based on this content. By transmitting data only the incremental content to be updated since the last collection list update operation, the data transmission volume is reduced while accurately synchronizing collection data, effectively improving the efficiency of content synchronization. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a system architecture diagram on which this disclosure is based;

[0029] Figure 2 A schematic flowchart illustrating the media content processing method provided in this embodiment of the disclosure;

[0030] Figure 3 This is a schematic diagram of the data structure provided for an embodiment of the present disclosure;

[0031] Figure 4 A schematic flowchart illustrating the media content processing method provided in this embodiment of the disclosure;

[0032] Figure 5 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure;

[0033] Figure 6 A schematic diagram of the collection data chain provided in this embodiment of the disclosure;

[0034] Figure 7 This is a schematic diagram of the structure of the media content processing apparatus provided in the embodiments of this disclosure;

[0035] Figure 8 This is a schematic diagram of the structure of the media content processing apparatus provided in the embodiments of this disclosure;

[0036] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0037] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0038] It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

[0039] For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

[0040] As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0041] It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

[0042] To address the technical problem of low synchronization efficiency of existing collection data, this disclosure provides a media content processing method, apparatus, device, readable storage medium, and product.

[0043] It should be noted that the media content processing methods, apparatus, devices, readable storage media and products provided in this disclosure can be applied to any scenario of synchronizing collection data associated with media content.

[0044] In related technologies, two methods are generally used to synchronize a user's favorite data across multiple devices: full synchronization and differential synchronization. The former performs a full synchronization of favorite data on each device. However, when the volume of favorite data is large, this method is often inefficient and computationally expensive. The latter typically uses a diff algorithm to compare the differences between local and cloud data and submits the discrepancies. However, when using this method, if there are conflicts between favorite data generated by two devices, the user needs to manually compare and merge the data, which is often cumbersome and detrimental to the user experience. For example, if a user simultaneously modifies favorite data on two devices within a short period, and the modified data is not uploaded to the cloud server in a timely manner, accurate subsequent difference calculations cannot be performed.

[0045] In solving the aforementioned technical problems, the inventors discovered through research that, in order to quickly and accurately synchronize collection data across multiple devices, a complete initial collection list can be maintained in the backend. After obtaining full authorization from the user, clients on each device can send content to be updated within a certain time interval to the backend server when preset synchronization conditions are met, so that the backend server can update the initial collection list.

[0046] Furthermore, to ensure data accuracy and avoid data conflicts, before sending the content to be updated to the backend server, the update information of the first collection list generated within the specified time interval can be obtained from the server. Based on this update information, the second collection list maintained by the client is updated to obtain the target collection list. By calculating the difference between the target collection list and the first collection list, the content to be updated is determined.

[0047] Alternatively, to reduce the amount of data transmitted between the client and the server, each data synchronization operation can transmit only the incremental data generated within the time interval.

[0048] Figure 1 The system architecture diagram on which this disclosure is based is as follows: Figure 1 As shown, the system architecture upon which this disclosure is based includes at least a server 11 and at least one terminal device 12. The server 11 can communicate with the terminal device 12, enabling information exchange between them. The terminal device 12 may be equipped with a client for browsing and saving media content.

[0049] Figure 2 This is a flowchart illustrating the media content processing method provided in the embodiments of this disclosure, as shown below. Figure 2 As shown, the method includes:

[0050] Step 201: Obtain at least one collection operation triggered by the user for at least one media content within a time interval, wherein the time interval is the interval between the current timestamp and the timestamp corresponding to the last collection list update operation, and the collection operation is obtained after authorization by the user.

[0051] In this embodiment, the execution entity is a media content processing device. This media content processing device can be coupled to a terminal device. The terminal device can communicate with a backend server, thus enabling synchronization of collection data across multiple devices based on the full first collection list maintained by the backend server.

[0052] Optionally, users can install the same software for browsing media content on multiple devices. This media content includes, but is not limited to, books, short dramas, and audio content. For example, a user can install a reading app on a tablet, desktop computer, and mobile phone, and then add books to their favorites on each device.

[0053] This client can trigger a bookmarks list update operation when preset synchronization conditions are met. Specifically, it can retrieve incremental update content from the server to update a locally maintained second bookmarks list. Additionally, it can send content to be updated to the server to update a pre-stored first bookmarks list, thus maintaining a complete bookmarks list on the server for easy synchronization of bookmarks data with other clients associated with the user.

[0054] Users can trigger at least one collection action within the client, whether offline or online, targeting at least one type of media content. This collection action includes, but is not limited to, adding a media piece of content to a collection, categorizing multiple collected items within a collection, and adding a preset tag to a media piece of content, such as adding a star.

[0055] To reduce the amount of data during the collection data synchronization process, data synchronization can be performed only on collection data generated within the time interval since the last collection list update. Therefore, it is possible to obtain at least one collection operation triggered by the user for at least one media content within the time interval. This collection operation is obtained after the user has fully authorized it. For example, when a user triggers at least one collection operation for at least one media content within the client, whether offline or online, a prompt message can be sent to the user to explicitly inform them that the requested operation will require obtaining and using the user's collection operation. This allows the user to autonomously choose whether to provide the collection operation to the software or hardware such as the electronic device, application, server, or storage medium executing the operation of this disclosed technical solution, based on the prompt message.

[0056] Step 202: In response to meeting the preset synchronization conditions, retrieve the list update information of the first collection list added during the time interval from the preset server. The first collection list includes all historical collection data generated by all clients associated with the user for media content, wherein the historical collection data is uploaded to the server after authorization by the user.

[0057] In this embodiment, to achieve automatic synchronization of collection data, synchronization conditions can be preset. When these conditions are met, the system retrieves updated list information from a pre-stored first collection list within a time interval. The first collection list includes all historical collection data generated by all clients associated with the user for media content, which has been uploaded to the server after full authorization from the user. The list update information can be incremental collection data uploaded to the server by other clients within that time interval.

[0058] For example, users can save media content offline. Therefore, to achieve timely synchronization of offline data, the synchronization condition can be that the network is stable and there is a half-hour interval between the last update of the favorites list, and data synchronization is performed across multiple devices based on the favorites data generated during the offline phase.

[0059] Step 203: Based on the list update information, perform a collection list update operation on the second collection list corresponding to the current client to obtain the updated target collection list.

[0060] In this implementation, since other clients can upload content to be updated during this time interval, but the current client's second collection list does not include this content, to avoid data conflicts, after obtaining the list update information, the list update information can first be merged with the current client's second collection list to obtain a more accurate target collection list.

[0061] Step 204: Based on the first collection list and the target collection list, determine at least one piece of content to be updated, and send the at least one piece of content to be updated to the server, so that the server performs a content update operation on the first collection list based on the at least one piece of content to be updated.

[0062] In this embodiment, after merging the updated information of this list with the second collection list corresponding to the current client, a comprehensive target collection list can be obtained. Therefore, based on the comparison operation between the first collection list and the target collection list, it can be determined that at least one item to be updated needs to be synchronized to the first collection list.

[0063] The content to be updated may include descriptive information associated with the media content, the type of the collection operation, the operation time, the last viewing time triggered by the user for the media content, and the processing actions for the collection data corresponding to the media content. The processing action can be any one of the following: data update, data deletion, or data addition.

[0064] Furthermore, at least one piece of content to be updated can be sent to the server so that the server can update the first collection list based on at least one piece of content to be updated, thereby maintaining a more comprehensive collection list on the server.

[0065] As one feasible approach, after synchronizing the data of the first collection list, the collection data of all clients associated with the user can be synchronized based on this first collection list. For example, the synchronization content corresponding to a client can be determined based on the first collection list and the collection lists maintained by each client, and this synchronization content can be sent to the client so that the client can perform the data synchronization operation.

[0066] Optionally, based on any of the above embodiments, before step 201, the method further includes:

[0067] In response to the installation operation for the client, a first collection list is obtained from the server, and the first collection list is determined as the second collection list.

[0068] or,

[0069] In response to the previous collection list update operation, the collection list stored in the current client is updated based on the list update information corresponding to the previous collection list update operation to obtain the second collection list.

[0070] In this embodiment, the client can maintain a local favorites list. This second favorites list can be the first favorites list retrieved from the server when the client first installs the app. Alternatively, the second favorites list can be the list updated multiple times.

[0071] Optionally, in response to an installation operation on a client, the full first collection list maintained by the server can be obtained from the server, and the first collection list can be used as the second collection list.

[0072] Alternatively, in response to the previous favorites list update operation, the current favorites list stored on the client is updated based on the list update information corresponding to the previous favorites list update operation to obtain a second favorites list.

[0073] The media content processing method provided in this embodiment maintains a complete first collection list in the backend server beforehand, and each client associated with a user can upload collection data to this first collection list. This allows for subsequent synchronization of collection data in the second collection lists of each client based on the complete first collection list. Furthermore, when a user performs a collection operation on the client, at least one collection operation triggered since the last collection list update can be obtained. When preset synchronization conditions are met, list update information since the last collection list update operation can be obtained from the server. Based on the list update information, the client's local second collection list is updated to obtain the target collection list. Then, based on the first collection list and the target collection list, at least one piece of content to be updated can be determined and sent to the server, enabling the server to perform a content update operation on the first collection list based on this content. By transmitting data only the incremental content to be updated since the last collection list update operation, the amount of data transmission can be reduced while accurately synchronizing collection data, effectively improving the efficiency of content synchronization.

[0074] Optionally, based on any of the above embodiments, step 202 includes:

[0075] In response to the network currently connected to the client meeting preset conditions, and the interval between the current timestamp and the timestamp corresponding to the last update operation of the collection list reaching a preset time interval threshold, the pre-stored list update information of the first collection list added within the time interval is obtained from a preset server.

[0076] or,

[0077] In response to the network connected to the current client meeting preset conditions, and in response to the user triggering a preset control within the current client, the system retrieves the list update information of the first collection list added within the time interval from the preset server.

[0078] In this embodiment, to achieve automatic synchronization of collection data, synchronization conditions can be preset. When these conditions are met, the updated list information of the first collection list added within the time interval is retrieved from a preset server.

[0079] Optionally, when a user saves media content offline, data synchronization is required when there is a stable network connection.

[0080] Therefore, the preset synchronization conditions can be that the network currently connected to the client meets preset conditions, and the interval between the current timestamp and the timestamp corresponding to the last update operation of the collection list reaches a preset time interval threshold. Then, the pre-stored list update information of the first collection list added within the time interval is retrieved from the preset server. These preset conditions can include the existence of a network connection or the network speed reaching a preset speed threshold. The time interval threshold can be set by the user according to actual needs, or it can be a preset empirical value, such as 30 minutes.

[0081] For example, if the current network is smooth and more than half an hour has passed since the last update of the favorites list, the updated list information of the first favorites list added within the time interval can be obtained from the preset server to realize the data synchronization operation.

[0082] Alternatively, the preset synchronization condition can be that the network currently connected to the client meets preset conditions, and in response to the user's trigger operation on the preset control within the current client, it retrieves the list update information of the first collection list added within the time interval from the preset server. The preset condition can be the existence of a network connection, or the network speed reaching a preset speed threshold, etc. The preset control can be a personal homepage control, a collection control, etc.

[0083] For example, if the network is currently working properly and the user triggers the favorites control, the system can retrieve the updated list information of the first favorites list added within the time interval from the preset server to achieve data synchronization.

[0084] The media content processing method provided in this embodiment, by pre-setting synchronization conditions, can obtain list update information after the client connects to the network when the interval between the current timestamp and the timestamp corresponding to the last update operation of the collection list reaches a preset time interval threshold, or when the user triggers a specified control, so as to realize the synchronization of collection data between multiple devices, and can realize timely synchronization of collection data generated in the offline stage.

[0085] Furthermore, based on any of the above embodiments, step 204 includes:

[0086] For each collection data in the target collection list, if the collection data is not included in the first collection list, then the collection data will be added to the first collection list and determined as the content to be updated.

[0087] For each collection data that exists in both the first collection list and the target collection list, if the modification time of the collection data in the first collection list is less than the modification time of the collection data in the target collection list, then the collection data in the first collection list will be updated based on the modification information associated with the collection data in the target collection list, and this will be determined as the content to be updated.

[0088] For each collection data in the first collection list, if the collection data does not exist in the target collection list, then the collection data to be deleted from the first collection list is determined as the content to be updated.

[0089] In this embodiment, the content to be updated that needs to be synchronized in the first collection list can be determined by comparing the first collection list and the second collection list.

[0090] Optionally, for each piece of collected data in the target collection list, if the data is not included in the first collection list, then adding the collected data to the first collection list will be considered as content to be updated. For example, a user can trigger a collection operation on media content offline on their current device, and synchronize the data when the network is stable and preset synchronization conditions are met. In this case, the data in the target collection list may be newer and more comprehensive. Therefore, if a piece of collected data exists in the target collection list but not in the first collection list, it can be added to the first collection list. Thus, adding collected data to the first collection list can be considered as content to be updated.

[0091] Optionally, for each collection data item that exists in both the first collection list and the target collection list, if the modification time of the collection data in the first collection list is less than the modification time of the collection data in the target collection list, then updating the collection data in the first collection list based on the modification information associated with the collection data in the target collection list is determined as content to be updated. For example, both the first collection list and the target collection list contain collection data associated with media content A. However, during offline browsing, users can perform group operations on the collection data associated with media content A. When the synchronization condition is met, if it is detected that the modification time of the collection data in the first collection list is less than the modification time of the collection data in the target collection list, then updating the collection data in the first collection list can be performed based on the data in the target collection list. Therefore, updating the collection data in the first collection list based on the modification information associated with the collection data in the target collection list can be determined as content to be updated.

[0092] Optionally, for each collection in the first collection list, if the collection does not exist in the target collection list, the collection in the first collection list will be deleted and designated as content to be updated. For example, a user can trigger a collection operation for media content offline on the current device, and the data will be synchronized when the network is stable and the preset synchronization conditions are met. At this time, the data in the target collection list may be newer and more complete. Therefore, if there is a collection in the first collection list that has not been deleted from the target collection list, the collection in the first collection list can be deleted synchronously.

[0093] The media content processing method provided in this embodiment can accurately determine the content to be updated in the first collection list by comparing the first collection list and the second collection list. Furthermore, since the target collection list is obtained by synchronizing the second collection list based on the list update information, it can effectively avoid data conflicts with other devices and improve the accuracy of collection data synchronization.

[0094] Furthermore, based on any of the above embodiments, step 204 includes:

[0095] For each piece of content to be updated, the associated fields of the content to be updated are determined based on a preset data structure. The associated fields include description information of the media content associated with the content to be updated, modification information of the collection operation of the media content, browsing information of the media content, and action type. The action type includes any one of update type, delete type, and add type.

[0096] The content to be transmitted is constructed according to the data structure and the associated fields, and the content to be transmitted is sent to the server.

[0097] In this embodiment, in order to facilitate the server to update the first collection list based on the content to be transmitted, a data structure can be pre-set, and data transmission operations can be performed according to the data structure.

[0098] Optionally, for each piece of content to be updated, associated fields are determined based on a preset data structure. These associated fields include descriptions of the media content associated with the content to be updated, modification information regarding the media content's collection operations, browsing information for the media content, and an action type. The action type includes any one of update, delete, or add types. The content to be transmitted is then constructed according to the data structure and associated fields and sent to the server.

[0099] Figure 3 This is a schematic diagram of the data structure provided for an embodiment of the present disclosure, such as... Figure 3As shown, the content to be transmitted 31 may include description information 32 of the media content, which includes, but is not limited to, media content identifier, media content type, etc.; modification information 33 for the collection operation of the media content, wherein the modification information 33 includes, but is not limited to, the timestamp of the last modification operation; browsing information 34 for the media content, wherein the browsing information 34 includes, but is not limited to, the last consumption time of the user for the media content; and action type 35, which includes any one of update type, delete type, and add type.

[0100] The media content processing method provided in this embodiment, by pre-setting a data structure, can construct the content to be transmitted based on the data structure after obtaining the content to be updated. It can describe information such as the cause and time of the occurrence of the content to be updated, thereby enabling the server to accurately synchronize the collection data.

[0101] Furthermore, based on any of the above embodiments, step 203 includes:

[0102] For each collection data associated with the list update information, if the modification time of the collection data in the list update information is later than the modification time of the collection data in the second collection list, then the collection data in the second collection list is replaced based on the collection data in the list update information.

[0103] For each collection data associated with the list update information, if the collection data in the second collection list is in a deleted state, then the collection data to be deleted from the first collection list is determined as the content to be updated.

[0104] For each collection data associated with the list update information, if the browsing time of the media content associated with the collection data in the list update information is later than the browsing time of the media content associated with the collection data in the second collection list, then the browsing data of the media content associated with the collection data in the second collection list is replaced based on the list update information.

[0105] For each collection data associated with the list update information, if the collection data is not included in the second collection list, then the collection data is added to the second collection list.

[0106] In this embodiment, after obtaining the list update information from the server since the last list update operation, the second collection list can be updated based on the list update information to avoid data conflicts between multiple devices.

[0107] Optionally, for each collection data associated with the list update information, if the modification time of the collection data in the list update information is later than the modification time of the collection data in the second collection list, then the collection data in the second collection list is replaced based on the collection data in the list update information. For example, a user modifies collection data on both a first device and the current device. The modification operation associated with the first device is later than that associated with the current device, and the first device has already generated content to be updated based on this modification operation and uploaded it to the server. The current device, due to offline operation, has not synchronized its historically generated collection data to the server. Therefore, after obtaining the list update information, if it is determined that the modification time of the collection data generated by the first device stored on the server is later than that of the current device, it indicates that the collection data stored on the server is more accurate. Therefore, the collection data in the second collection list can be replaced based on the collection data in the list update information.

[0108] Optionally, when the collection data in the current device is synchronized to the server, for each collection data associated with the list update information, if the collection data in the second collection list is in a deleted state, then deleting the collection data in the first collection list is determined as content to be updated. If there is a collection data in the list update information, but it has been deleted by the user in the second collection list, then the collection data in the first collection list can be deleted synchronously. Therefore, deleting the collection data in the first collection list can be determined as content to be updated, so that the content to be updated can be transmitted to the server, enabling the server to perform the collection data deletion operation based on the content to be updated.

[0109] Optionally, when the collection data in the current device is synchronized to the server, for each collection data associated with the list update information, if the browsing time of the media content associated with the collection data in the list update information is later than the browsing time of the media content associated with the collection data in the second collection list, then the browsing data of the media content associated with the collection data in the second collection list is replaced based on the list update information.

[0110] Optionally, for each collection data associated with the list update information, if the collection data is not included in the second collection list, then the collection data is added to the second collection list. For example, if a user triggers a collection operation on a media content on a first device and synchronizes the collection operation to the first collection list, but the collection data is not synchronized on the current device, then the collection data can be added to the second collection list on the current device.

[0111] The media content processing method provided in this embodiment can accurately update the second collection list based on the list update information by comparing the status, modification time, browsing time and other information of each collection data after obtaining the list update information, so as to avoid data conflicts caused by collection data update operations between multiple devices.

[0112] Figure 4 This is a flowchart illustrating the media content processing method provided in the embodiments of this disclosure, as shown below. Figure 4 As shown, the method includes:

[0113] Step 401: Obtain at least one piece of content to be updated sent by at least one client, wherein the content to be updated is calculated based on the media content processing method described in any of the above embodiments.

[0114] Step 402: Update the pre-stored first collection list according to the at least one content to be updated, and obtain the updated first collection list, wherein the first collection list includes all historical collection data generated by all clients associated with the user for media content.

[0115] In this embodiment, the execution entity is a media content processing device, which can be coupled to a server. The server is communicatively connected to at least one terminal device, which may have a client pre-installed for browsing and collecting media content.

[0116] In this embodiment, users can trigger a collection operation on media content while the client is offline or online. When the preset synchronization conditions are met, the content to be updated between the last update timestamp and the current timestamp is determined and sent to the server so that the server can maintain a full and accurate first collection list.

[0117] Optionally, the server can obtain at least one piece of content to be updated sent by a preset client in the terminal device. The content to be updated may include description information of media content associated with the user-triggered collection operation, modification information of the collection operation on the media content, browsing information of the media content, and action type, which includes, but is not limited to, update operation, delete operation, add operation, etc.

[0118] Furthermore, the server can pre-store a first collection list, which includes all historical collection data generated by all clients associated with the user for media content. When preset synchronization conditions are met, the associated clients can send content to be updated to the server. The server can then create and maintain a complete and accurate first collection list based on the content to be updated sent by each client. Therefore, after obtaining at least one piece of content to be updated, the server can update the pre-stored first collection list based on that content to obtain the updated first collection list.

[0119] The media content processing method provided in this embodiment updates the first collection list based on the content to be updated after obtaining it, thereby maintaining an accurate and comprehensive collection data list on the backend server. This enables data synchronization between multiple devices based on the first collection list.

[0120] Furthermore, based on any of the above embodiments, the historical collection data is associated with the operation type corresponding to each collection operation. After step 402, the method further includes:

[0121] The updated first collection list is categorized according to preset operation types to obtain sub-lists corresponding to each operation type. The operation types include any one of collection type, grouping type, and add tag type.

[0122] For each operation type, the sublist is sent to the preset storage path corresponding to the operation type for data storage.

[0123] In this embodiment, user-triggered collection operations for media content may include collection, grouping of collected content, and adding tags to collected content. Historical collection data is associated with the operation type corresponding to each collection operation, which may include any one of the following: collection type, grouping type, or adding tags type. Therefore, to facilitate the management of historical collection data for different operation types, storage paths corresponding to different operation types can be pre-set, allowing for targeted storage and management of historical collection data based on these storage paths.

[0124] Optionally, after obtaining the full first collection list, the updated first collection list is categorized according to preset operation types to obtain sub-lists corresponding to each operation type. For each sub-list corresponding to an operation type, the sub-list is sent to the preset storage path corresponding to that operation type for data storage.

[0125] Figure 5 This is a schematic diagram illustrating an application scenario provided by an embodiment of this disclosure, such as... Figure 5 As shown, after obtaining the updated first collection list 51, it can be categorized according to the operation type associated with each collection data. The categorization results are then stored in the preset storage paths corresponding to the operation types. These preset storage paths include the collection service path 52, the grouping service path 53, and the tagging service path 54.

[0126] The media content processing method provided in this embodiment improves the management efficiency of the first collection list by classifying and storing the collection data in the first collection list based on the operation type.

[0127] Furthermore, based on any of the above embodiments, each historical collection data is associated with a modification time. Following step 402, the method further includes:

[0128] For each historical collection data in the updated first collection list, the historical collection data is stored in a chain according to the modification time associated with the historical collection data and a preset format to obtain a collection data chain. The preset format includes modification time, media content identification information, and collection operation triggered by the media content.

[0129] In this embodiment, each historical collection data is associated with a modification time. To facilitate subsequent data location and retrieval, for each historical collection data in the updated first collection list, the historical collection data is chained and stored according to the modification time associated with the historical collection data and a preset format to obtain a collection data chain. The preset format includes the modification time, media content identification information, and the collection operation triggered by the media content.

[0130] Figure 6 This is a schematic diagram of the collection data chain provided in an embodiment of the present disclosure, such as... Figure 6 As shown, the collection data chain 61 can store historical collection data 62 in a chain according to time sequence. The historical collection data 62 can include the modification time associated with the collection operation, the action type, and at least one associated media content.

[0131] Furthermore, based on any of the above embodiments, the method further includes:

[0132] Obtain the content retrieval request sent by the client, wherein the content retrieval request includes the target timestamp corresponding to the client's last update operation of the favorites list.

[0133] Determine the time interval between the current timestamp and the target timestamp.

[0134] According to the time interval, retrieve the list update information that matches the time interval from the collection data chain.

[0135] The list update information is sent to the client so that the client can update the second collection list stored in the client based on the list update information.

[0136] In this embodiment, after storing historical collection data in a chain according to time sequence in advance, the list update information within a specified time interval can be located and obtained based on the collection data chain.

[0137] Optionally, the client can send a content retrieval request to the server. This content retrieval request can be triggered upon initial installation of the client, or it can be triggered when preset synchronization conditions are met. The content retrieval request can carry the target timestamp corresponding to the client's last update operation to the favorites list. When the client is installing for the first time, this target timestamp can be the current timestamp.

[0138] Furthermore, since historical collection data is pre-stored in a chain according to chronological order to obtain a collection data chain, the time interval between the current timestamp and the target timestamp can be determined. Based on this time interval, list update information matching the time interval is retrieved from the collection data chain. This enables the retrieval of incremental collection data within a specified time interval. The list update information can then be sent to the client, allowing the client to update its pre-stored second collection list based on the updated information.

[0139] The media content processing method provided in this embodiment stores each historical collection data in a chain according to time sequence. This allows the system to locate and feed back list update information within a specified time interval based on the collection data chain, enabling the client to perform accurate data synchronization based on the list update information.

[0140] Furthermore, based on any of the above embodiments, the content to be updated includes description information of the media content, modification information of the collection operation of the media content, browsing information of the media content, and action type.

[0141] Step 402 includes:

[0142] For each piece of content to be updated, the target media content associated with the content to be updated is determined based on the description information of the media content.

[0143] Based on the action type, the historical collection data associated with the target media content is updated. The action type includes any one of update, delete, or add types.

[0144] In this embodiment, after obtaining the content to be updated, the first collection list can be updated based on the content to be updated.

[0145] Optionally, the content to be updated includes descriptive information of the media content, modification information for the collection operation of the media content, browsing information of the media content, and action type. For each piece of content to be updated, the target media content associated with the content to be updated can be determined based on the descriptive information of the media content. This descriptive information may include the identification information, type, etc., of the media content.

[0146] Furthermore, after locating the media content for which collection data synchronization is required, a data update operation can be performed on the historical collection data associated with the target media content based on the action type, wherein the action type includes any one of update, delete, or add. For example, existing historical collection data can be deleted; existing historical collection data can be updated according to parameters in the content to be updated; collection data can be added to the first collection list based on the content to be updated, etc.

[0147] For example, the update could be deleting the book's associated collection data. Therefore, after locating book content A in the first collection list based on its description, its associated collection data can be deleted. Alternatively, the update could be adding short drama content B to the collection. Therefore, short drama content B, along with its associated collection time, viewing time, and other information, can be added to the first collection list.

[0148] The media content processing method provided in this embodiment updates the first collection list based on the content to be updated after obtaining it, thereby maintaining an accurate and comprehensive collection data list on the backend server. This enables data synchronization between multiple devices based on the first collection list.

[0149] Figure 7 This is a schematic diagram of the structure of the media content processing apparatus provided in the embodiments of this disclosure, such as... Figure 7As shown, the device includes: an acquisition module 71, a synchronization module 72, an update module 73, and a sending module 74. The acquisition module 71 is used to acquire at least one collection operation triggered by a user for at least one media content within a time interval, where the time interval is the interval between the current timestamp and the timestamp corresponding to the last collection list update operation, wherein the collection operation is acquired after authorization by the user. The synchronization module 72 is used to, in response to satisfying preset synchronization conditions, acquire list update information added to a pre-stored first collection list within the time interval from a preset server. The first collection list includes all historical collection data generated by all clients associated with the user for media content, wherein the full historical collection data is uploaded to the server after authorization by the user. The update module 73 is used to perform a collection list update operation on a second collection list corresponding to the current client based on the list update information to obtain an updated target collection list. The sending module 74 is used to determine at least one content to be updated based on the first collection list and the target collection list, and send the at least one content to be updated to the server, so that the server performs a content update operation on the first collection list based on the at least one content to be updated.

[0150] Further, based on any of the above embodiments, the synchronization module is configured to: in response to the network currently connected to the client meeting preset conditions, and the interval between the current timestamp and the timestamp corresponding to the last update operation of the collection list reaching a preset time interval threshold, retrieve from a preset server the list update information of the pre-stored first collection list added within the time interval. Alternatively, in response to the network currently connected to the client meeting preset conditions, and in response to the user triggering a preset control within the current client, retrieve from a preset server the list update information of the pre-stored first collection list added within the time interval.

[0151] Further, based on any of the above embodiments, the sending module is configured to: for each collection data in the target collection list, if the collection data is not included in the first collection list, add the collection data to the first collection list and determine it as the content to be updated. For each collection data that exists in both the first collection list and the target collection list, if the modification time of the collection data in the first collection list is less than the modification time of the collection data in the target collection list, update the collection data in the first collection list based on the modification information associated with the collection data in the target collection list and determine it as the content to be updated. For each collection data in the first collection list, if the collection data does not exist in the target collection list, delete the collection data in the first collection list and determine it as the content to be updated.

[0152] Further, based on any of the above embodiments, the sending module is configured to: for each piece of content to be updated, determine the associated fields of the content to be updated based on a preset data structure, wherein the associated fields include description information of the media content associated with the content to be updated, modification information of the collection operation of the media content, browsing information of the media content, and action type, wherein the action type includes any one of update type, delete type, and add type. The module then constructs content to be transmitted according to the data structure and the associated fields, and sends the content to be transmitted to the server.

[0153] Further, based on any of the above embodiments, the update module is configured to: for each collection data associated with the list update information, if the modification time of the collection data in the list update information is later than the modification time of the collection data in the second collection list, then perform a replacement operation on the collection data in the second collection list based on the collection data in the list update information. For each collection data associated with the list update information, if the status of the collection data in the second collection list is deleted, then determine the deleted collection data in the first collection list as the content to be updated. For each collection data associated with the list update information, if the browsing time of the media content associated with the collection data in the list update information is later than the browsing time of the media content associated with the collection data in the second collection list, then perform a replacement operation on the browsing data of the media content associated with the collection data in the second collection list based on the list update information. For each collection data associated with the list update information, if the collection data is not included in the second collection list, then add the collection data to the second collection list.

[0154] Furthermore, based on any of the above embodiments, the apparatus further includes: an acquisition module, configured to, in response to an installation operation for the client, acquire a first collection list from the server and determine the first collection list as the second collection list. Alternatively, an update module, configured to, in response to a previous collection list update operation, update the collection list currently stored on the client based on the list update information corresponding to the previous collection list update operation, to obtain the second collection list.

[0155] Figure 8 This is a schematic diagram of the structure of the media content processing apparatus provided in the embodiments of this disclosure, such as... Figure 8As shown, the device includes a data acquisition module 81 and a processing module 82. The data acquisition module 81 is used to acquire at least one piece of content to be updated sent by at least one client, wherein the content to be updated is calculated based on the media content processing device described in any of the above embodiments. The processing module 82 is used to perform a collection list update operation on a pre-stored first collection list according to the at least one piece of content to be updated, to obtain an updated first collection list, wherein the first collection list includes all historical collection data generated by all clients associated with the user for media content.

[0156] Furthermore, based on any of the above embodiments, the historical collection data is associated with the operation type corresponding to each collection operation. The device further includes: a classification module, used to classify the updated first collection list according to preset operation types to obtain sub-lists corresponding to each operation type, wherein the operation type includes any one of collection type, grouping type, and adding tag type; and a storage module, used to send the sub-lists corresponding to each operation type to a preset storage path for data storage.

[0157] Furthermore, based on any of the above embodiments, each historical collection data is associated with a modification time. The device further includes: a storage module, used to perform chained storage of each historical collection data in the updated first collection list according to the modification time associated with the historical collection data and a preset format to obtain a collection data chain, wherein the preset format includes modification time, media content identification information, and collection operation triggered by the media content.

[0158] Further, based on any of the above embodiments, the apparatus further includes: a data acquisition module, configured to acquire a content acquisition request sent by a client, wherein the content acquisition request includes a target timestamp corresponding to the client's last update operation of the favorites list; a determination module, configured to determine the time interval between the current timestamp and the target timestamp; a processing module, configured to acquire list update information matching the time interval from the favorites data chain; and a transmission module, configured to send the list update information to the client, so that the client performs a favorites list update operation on the client's pre-stored second favorites list based on the list update information.

[0159] Furthermore, based on any of the above embodiments, the content to be updated includes description information of the media content, modification information of the collection operation for the media content, browsing information of the media content, and action type. The processing module is configured to: for each piece of content to be updated, determine the target media content associated with the content to be updated based on the description information of the media content; and perform a data update operation on the historical collection data associated with the target media content based on the action type, wherein the action type includes any one of update type, delete type, and add type.

[0160] The device provided in this embodiment can be used to execute the technical solutions of the above method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0161] To implement the above embodiments, this disclosure also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the media content processing method as described in any of the above embodiments.

[0162] To implement the above embodiments, this disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the media content processing method as described in any of the above embodiments.

[0163] To implement the above embodiments, this disclosure also provides an electronic device, including: a processor and a memory;

[0164] The memory stores computer-executed instructions;

[0165] The processor executes computer execution instructions stored in the memory, causing the processor to perform the media content processing method as described in any of the above embodiments.

[0166] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. The electronic device 900 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 9 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0167] like Figure 9 As shown, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0168] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 An electronic device 900 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0169] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by a processing device 901, it performs the functions defined in the methods of embodiments of this disclosure.

[0170] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0171] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.

[0172] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.

[0173] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0174] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0175] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The name of a unit does not necessarily limit the unit itself; for example, the first acquisition unit can also be described as "a unit that acquires at least two Internet Protocol addresses".

[0176] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

[0177] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.

[0178] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0179] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0180] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. A method of processing media content, the method comprising: The method comprises: obtaining at least one collection operation triggered by a user for at least one media content within a time interval, the time interval being an interval between a current timestamp and a timestamp corresponding to a last collection list update operation, wherein the collection operation is obtained after authorization by the user; in response to satisfying a preset synchronization condition, obtaining, from a preset server, list update information of a first collection list pre-stored in the preset server and added within the time interval, the first collection list including full-amount historical collection data generated by all clients associated with the user for media content, wherein the full-amount historical collection data is uploaded to the server after authorization by the user; performing a collection list update operation on a second collection list corresponding to a current client based on the list update information to obtain an updated target collection list; determining at least one content to be updated based on the first collection list and the target collection list, and sending the at least one content to be updated to the server to enable the server to perform a content update operation on the first collection list based on the at least one content to be updated.

2. The method of claim 1, wherein, The method further comprises: in response to the network connected by the current client satisfying a preset condition and the interval between the current timestamp and the timestamp corresponding to the last collection list update operation reaching a preset time interval threshold, obtaining, from the preset server, the list update information of the first collection list pre-stored in the preset server and added within the time interval; or in response to the network connected by the current client satisfying a preset condition and in response to the user triggering a preset control in the current client, obtaining, from the preset server, the list update information of the first collection list pre-stored in the preset server and added within the time interval.

3. The method of claim 1, wherein, The method further comprises: for each collection data in the target collection list, if the first collection list does not include the collection data, adding the collection data to the first collection list is determined as the content to be updated; for each collection data existing in both the first collection list and the target collection list, if the modification time of the collection data in the first collection list is less than the modification time of the collection data in the target collection list, updating the collection data in the first collection list based on the modification information associated with the collection data in the target collection list is determined as the content to be updated; for each collection data in the first collection list, if the target collection list does not include the collection data, deleting the collection data in the first collection list is determined as the content to be updated.

4. The method of claim 3, wherein, The method further comprises: For each to-be-updated content, determine an associated field of the to-be-updated content based on a preset data structure, wherein the associated field includes description information of media content associated with the to-be-updated content, modification information of a collection operation for the media content, browsing information for the media content, and an action type, the action type including any one of an update type, a deletion type, and an addition type; construct to-be-transmitted content according to the data structure and the associated field, and send the to-be-transmitted content to the server.

5. The method of claim 1, wherein, The collection list updating operation on the second collection list corresponding to the current client based on the list updating information includes: For each collection data associated with the list updating information, if the modification time of the collection data in the list updating information is later than the modification time of the collection data in the second collection list, replace the collection data in the second collection list based on the collection data in the list updating information; For each collection data associated with the list updating information, if the state of the collection data in the second collection list is a deleted state, determine that deleting the collection data in the first collection list is the to-be-updated content; For each collection data associated with the list updating information, if the browsing time of the media content associated with the collection data in the list updating information is later than the browsing time of the media content associated with the collection data in the second collection list, replace the browsing data of the media content associated with the collection data in the second collection list based on the list updating information; For each collection data associated with the list updating information, if the second collection list does not include the collection data, add the collection data to the second collection list.

6. The method according to any one of claims 1 to 5, characterized in that, Before the collection list updating operation on the second collection list corresponding to the current client based on the list updating information, further includes: in response to an installation operation for the client, obtaining a first collection list from the server, and determining the first collection list as the second collection list; or, in response to a previous collection list updating operation, updating the collection list stored by the current client based on the list updating information corresponding to the previous collection list updating operation to obtain the second collection list.

7. A media content processing method, characterized by, includes: obtain at least one to-be-updated content sent by at least one client, wherein the to-be-updated content is calculated based on the media content processing method of any one of claims 1-6; perform a collection list updating operation on a pre-stored first collection list according to the at least one to-be-updated content to obtain an updated first collection list, wherein the first collection list includes all historical collection data generated by all clients associated with a user for media content.

8. The method of claim 7, wherein, The historical collection data is associated with an operation type corresponding to each collection operation; after the collection list updating operation on the pre-stored first collection list according to the at least one to-be-updated content to obtain the updated first collection list, further includes: The updated first collection list is classified according to a preset operation type, and a sub-list corresponding to each operation type is obtained, wherein the operation type includes any one of a collection type, a grouping type, and an adding mark type; The sub-list is sent to a storage path corresponding to the preset operation type for data storage.

9. The method of claim 7, wherein, Each historical collection data is associated with a modification time; after the first collection list is updated according to the at least one to-be-updated content, the following steps are further included: For each historical collection data in the updated first collection list, the historical collection data is chain-stored according to the modification time associated with the historical collection data and a preset format, and a collection data chain is obtained, wherein the preset format includes the modification time, media content identification information, and a collection operation triggered for the media content.

10. The method of claim 9, wherein, The method further includes: obtaining a content acquisition request sent by a client, wherein the content acquisition request includes a target timestamp corresponding to a last collection list update operation performed by the client; determining a time interval between a current timestamp and the target timestamp; acquiring list update information matching the time interval from the collection data chain according to the time interval; sending the list update information to the client, so that the client performs a collection list update operation on a second collection list pre-stored by the client based on the list update information.

11. The method according to any one of claims 7-9, characterized in that, The to-be-updated content includes description information of media content, modification information of a collection operation for the media content, browsing information for the media content, and an action type; The first collection list is updated according to the at least one to-be-updated content, and an updated first collection list is obtained, including: For each to-be-updated content, determining a target media content associated with the to-be-updated content according to the description information of the media content; performing a data update operation on historical collection data associated with the target media content based on the action type, wherein the action type includes any one of an update type, a deletion type, and an addition type.

12. A media content processing apparatus, characterized by, including: an acquisition module, configured to acquire at least one collection operation triggered by a user for at least one media content within a time interval, the time interval being an interval between a current timestamp and a timestamp corresponding to a last collection list update operation, wherein the collection operation is acquired after being authorized by the user; a synchronization module, configured to acquire, in response to a preset synchronization condition being met, list update information of a first collection list pre-stored in a preset server and added within the time interval, the first collection list including full historical collection data generated by all clients associated with the user for media content, wherein the full historical collection data is uploaded to the server after being authorized by the user; an update module, configured to perform a collection list update operation on a second collection list corresponding to a current client based on the list update information, and obtain an updated target collection list. The sending module is configured to determine at least one to-be-updated content based on the first collection list and the target collection list, and send the at least one to-be-updated content to the server, so that the server performs a content updating operation on the first collection list based on the at least one to-be-updated content.

13. A media content processing apparatus, characterized by: The method comprises the following steps: The data obtaining module is configured to obtain at least one to-be-updated content sent by at least one client, wherein the to-be-updated content is obtained by the media content processing device based on claim 12; The processing module is configured to perform a collection list updating operation on a pre-stored first collection list according to the at least one to-be-updated content, and obtain an updated first collection list, wherein the first collection list comprises all historical collection data of all clients associated with a user for media content.

14. An electronic device, comprising: The method comprises the following steps: A processor and a memory are included. The memory stores computer-executable instructions. The processor executes the computer-executable instructions stored in the memory, so that the processor executes the media content processing method according to any one of claims 1 to 6 or 7-11.

15. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, and when the processor executes the computer-executable instructions, the media content processing method according to any one of claims 1 to 6 or 7-11 is implemented.

16. A computer program product comprising a computer program, characterized in that, The computer program is executed by the processor to implement the media content processing method according to any one of claims 1 to 6 or 7-11.

Citation Information

Patent Citations

  • Server-based data updating method and server

    CN103002011A

  • Collected music synchronization method and device

    CN113360509A