CN114090692A - Full-media-asset data synchronization method, system, device and computer-readable storage medium - Google Patents

Full-media-asset data synchronization method, system, device and computer-readable storage medium Download PDF

Info

Publication number
CN114090692A
CN114090692A CN202111427396.4A CN202111427396A CN114090692A CN 114090692 A CN114090692 A CN 114090692A CN 202111427396 A CN202111427396 A CN 202111427396A CN 114090692 A CN114090692 A CN 114090692A
Authority
CN
China
Prior art keywords
full
asset data
media
data synchronization
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111427396.4A
Other languages
Chinese (zh)
Inventor
罗孜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xiaopai Technology Co ltd
Original Assignee
Shenzhen Xiaopai Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Xiaopai Technology Co ltd filed Critical Shenzhen Xiaopai Technology Co ltd
Priority to CN202111427396.4A priority Critical patent/CN114090692A/en
Publication of CN114090692A publication Critical patent/CN114090692A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/41Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a full media asset data synchronization method, a system, a device and a computer readable storage medium. The full-media-asset data synchronization method is applied to a full-media asset system, the full-media asset system comprises a cache middleware, and the full-media asset data synchronization method comprises the following steps: receiving associated film information sent by a service system, and storing the associated film information into a cache middleware; updating the cache middleware when a preset condition is met; and if the request information sent by the service system is received, returning the media asset data corresponding to the request information to the service system based on the updated cache middleware. The invention can solve the technical problem of low efficiency of the existing full media asset data synchronization.

Description

Full-media-asset data synchronization method, system, device and computer-readable storage medium
Technical Field
The present invention relates to the field of network resource technologies, and in particular, to a method, a system, an apparatus, and a computer-readable storage medium for full-media asset data synchronization.
Background
With the increase of the synchronous third-party medium asset data of the full medium asset system, the data volume of the medium asset database is increased, and the data in the database table is also enlarged. At present, when a service system requests the latest media asset data from a full media asset system, a cache may not be hit, so that a large database table needs to be used for query, which is time-consuming and low in efficiency. Therefore, the data synchronization efficiency between the full-media resource system and the service system is low in the conventional mode at present.
Disclosure of Invention
The invention mainly aims to provide a full-media-asset data synchronization method, a system, a device and a computer readable storage medium, aiming at solving the technical problem of low full-media-asset data synchronization efficiency.
In order to achieve the above object, the present invention provides a full-funding data synchronization method, which is applied to a full-funding system, and the full-funding data synchronization method includes:
receiving associated film information sent by a service system, and storing the associated film information into a cache middleware;
updating the cache middleware when a preset condition is met;
and if the request information sent by the service system is received, returning the media asset data corresponding to the request information to the service system based on the updated cache middleware.
Optionally, when a preset condition is met, the step of updating the cache middleware includes:
if the preset timing task is met, acquiring an associated film set of the cache middleware;
acquiring latest media asset data according to the associated film set, and updating the latest media asset data into the cache middleware;
optionally, the full-media asset system includes a database large table, and the step of acquiring the latest media asset data according to the associated movie set includes:
traversing all the associated film identifications in the associated film set, and determining traversal media asset data corresponding to the associated film identifications in the database large table;
and taking the traversal media asset data corresponding to the associated film identification as the latest media asset data.
Optionally, when a preset condition is met, the step of updating the cache middleware includes:
receiving an updating signal and acquiring third-party movie information in the updating signal;
judging whether correlated film information matched with the third-party film information exists in the cache middleware or not;
and if so, determining that a preset condition is met, and updating the cache middleware according to the third-party movie information.
Optionally, the step of updating the caching middleware according to the third-party movie information includes:
determining target third-party movie information which is the same as the associated movie information;
and updating the third-party media asset data corresponding to the target third-party movie information into the cache middleware.
In order to achieve the above object, the present invention further provides a full-funding data synchronization method, where the full-funding data synchronization method is applied to a service system, and the full-funding data synchronization method includes:
if the preset integration logic is triggered, integrating the associated film associated with the service system to obtain associated film information;
sending the associated film information to a full media resource system;
and if the request information is sent to the full media resource system, receiving media resource data which is returned by the full media resource system based on the associated film information and corresponds to the request information.
Optionally, if it is detected that the preset integration logic is triggered, the step of integrating the associated movie associated with the service system includes:
and if the business system is detected to increase or decrease the associated films, triggering an integration logic and integrating the associated films associated with the business system.
In addition, in order to achieve the above object, a full-media-asset data synchronization system is characterized in that the full-media-asset data synchronization system comprises a full-media asset system and a service system;
the full media resource system is used for receiving the associated film information sent by the service system and storing the associated film information into the cache middleware;
the full media resource system is used for updating the cache middleware when a preset condition is met;
the full-media asset system is used for returning media asset data corresponding to the request information to the service system based on the updated cache middleware if the request information sent by the service system is received;
the service system is used for integrating the associated film associated with the service system to obtain associated film information if the preset integration logic is triggered;
the business system is used for sending the associated film information to a full media resource system;
and the service system is used for receiving the media asset data which is returned by the full media asset system based on the associated film information and corresponds to the request information if the request information is sent to the full media asset system.
In addition, in order to achieve the above object, the present invention further provides a full-funded data synchronization device, where the full-funded data synchronization device includes a memory, a processor, and a funded data synchronization program stored in the memory and capable of running on the processor, and when the funded data synchronization program is executed by the processor, the steps of the full-funded data synchronization method are implemented.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having a medium asset data synchronization program stored thereon, where the medium asset data synchronization program, when executed by a processor, implements the steps of the full medium asset data synchronization method as described above.
The invention provides a full-media data synchronization method, a system, a device and a computer readable storage medium, the full-media data synchronization method is applied to a full-media system, the full-media system comprises a cache middleware, firstly, associated film information sent by a service system is received, the associated film information is stored in the cache middleware, associated film information used by the service system in an associated way is stored in the cache middleware of the full-media system, the subsequent service system can conveniently obtain media data corresponding to the associated film information from the cache middleware, the full-media system updates the cache middleware when meeting preset conditions, the cache middleware is refreshed by setting the preset conditions so as to keep the media data in the cache middleware in a latest state, and finally, if request information sent by the service system is received, the media data corresponding to the request information is returned based on the updated cache middleware, the service system can obtain the latest media asset data from the cache, and the condition that the media asset data is queried through the cache and a large table of a media asset library is avoided, so that the time for querying the media asset data can be greatly saved, and the synchronization efficiency of the full media asset data is improved.
Drawings
Fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a full-media-asset data synchronization method according to a first embodiment of the present invention;
FIG. 3 is a flowchart illustrating a full-media-asset data synchronization method according to a second embodiment of the present invention;
FIG. 4 is a schematic flow chart of an application scenario according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of another application scenario according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a system architecture according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal in the embodiment of the present invention may be a Personal Computer (PC), or may be a terminal device such as a smart phone, a tablet Computer, a portable Computer, or a server.
As shown in fig. 1, the terminal may include: a processor 1001, such as a CPU (Central Processing Unit), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wi-Fi interface, Wireless-Fidelity, Wi-Fi interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the terminal structure shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a media data synchronization program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client and performing data communication with the client; and processor 1001 may be configured to invoke the asset data synchronization program stored in memory 1005 and perform the following operations:
receiving associated film information sent by a service system, and storing the associated film information into a cache middleware;
updating the cache middleware when a preset condition is met;
and if the request information sent by the service system is received, returning the media asset data corresponding to the request information to the service system based on the updated cache middleware.
Based on the hardware structure, the invention provides all embodiments of the full media asset data synchronization method.
The invention provides a full-media-asset data synchronization method.
Referring to fig. 2, fig. 2 is a flowchart illustrating a full-media-asset data synchronization method according to a first embodiment of the present invention.
In this embodiment, the full-media-asset data synchronization method is applied to a full-media asset system, and the full-media-asset data synchronization method includes:
step S10, receiving the associated film information sent by the service system, and storing the associated film information into the cache middleware;
in this embodiment, the full media asset refers to the multimedia resource information, and the full media asset system refers to a system for processing and controlling the multimedia resource information by using a computer technology and a digital communication network technology. With the continuous updating of various media resource data, various latest video resources such as big-brand movies, TV shows, comprehensive arts, NBA sports, children movies and the like are rapidly increased day by day. The service system needs to acquire the media asset data from the full media asset system, in this embodiment, the full media asset system receives the associated film information sent by the service system, and stores the associated film information in the cache middleware, where the film information may include film name data, metadata describing a film, and the like. The associated movie information is movie information corresponding to an associated movie being used by the service system, and in this embodiment, the associated movie information is a movie id set, and a specific process of generating the movie id set may be as follows: the method comprises the steps of identifying each piece of associated film information to generate corresponding id fields, integrating all the id fields to obtain a character string set, namely a film id set, and identifying the id fields to determine the unique associated film so as to obtain all detailed information of the associated film. In this embodiment, the cache middleware may be a storage system or a storage table and other modules having a storage function, and in this embodiment, a redis cache is used as the cache middleware, namely, a remote Dictionary service, and compared with the storage table, the redis is stored in a key-value manner, so that the storage rate can be improved.
Step S20, when a preset condition is met, updating the cache middleware;
step S30, if request information sent by the service system is received, returning media asset data corresponding to the request information to the service system based on the updated cache middleware;
in this embodiment, the media asset data like tv series in the full media asset system may be updated at irregular time, and the full media asset system may trigger the refresh logic when meeting the preset condition, and update the cache middleware according to the refresh logic, so that the media asset data and the associated movie information in the cache middleware keep the latest state. And then if the full media asset system receives the request information sent by the service system, the request information is the request information for requesting the media asset data, and the request information can include a movie id identifier, returning the media asset data corresponding to the movie id identifier in the request information to the service system based on the updated cache middleware.
In this embodiment, the full media asset system provides an interface for the service system to only go around the redis cache middleware, refreshes the redis cache middleware when a preset condition is met, maintains the redis cache middleware in time, and returns the latest media asset data corresponding to the request information based on the redis cache middleware with the latest media asset data if the request information sent by the service system is received. And receiving a film id identifier sent by a service system, acquiring the latest media asset data according to the film id identifier, and storing the latest media asset data in a key + value mode in the cache middleware. The latest media asset data can be acquired according to the request information, and all the media asset data corresponding to the request information can also be acquired.
Further, as an updating method of the cache middleware, in step S20, when a preset condition is met, the updating the cache middleware includes:
step A, if a preset timing task is met, acquiring an associated film set of the cache middleware;
and B, acquiring the latest media asset data according to the associated film set, and updating the latest media asset data into the cache middleware.
In this embodiment, the way of refreshing the cache middleware may be: if the condition of the preset timing task is met, automatically triggering a refreshing logic, namely creating the timing task, triggering the refreshing logic according to the created timing task, and refreshing the latest media asset data to the redis cache middleware.
The full-media resource system receives the associated film set sent by the service system, stores the associated film set of the service system into the redis cache middleware, acquires the associated film set in the redis cache middleware when a preset timing task is met, acquires the latest media resource data according to the associated film set, and updates the latest media resource data into the cache middleware. In this embodiment, the associated movie sets are movie id sets, an id set of the redis cache middleware is obtained, the corresponding latest media asset data is obtained according to the id of each associated movie, and the latest media asset data is updated to the redis cache middleware.
In the embodiment, the redis cache middleware is regularly refreshed by creating the timing task trigger refresh logic, so that the redis middleware always stores the media asset data required by the service system, and the service system can obtain the media asset data directly from the redis cache middleware, thereby avoiding the problem that the request interface cannot hit in the cache during the first time or the cache failure period of the service system and then needs to go to a large table for query to obtain the media asset data, and further improving the response speed of the interface.
Further, in the step B, the step of acquiring the latest media asset data according to the associated movie set includes:
step B1, traversing all the associated movie identifications in the associated movie set, and determining traversal media asset data corresponding to the associated movie identifications in the database large table;
and step B2, taking the traversal asset data corresponding to the associated movie identification as the latest asset data.
In this embodiment, an associated movie set in the redis cache middleware is obtained, all associated movie identifiers in the associated movie set are traversed, traversal media data corresponding to the associated movie identifiers in the database large table is determined, the traversal media data corresponding to the associated movie identifiers are used as the latest media data, wherein the associated movie set is an associated movie id set, the associated movie identifiers are associated movie id identifiers, referring to fig. 5, if a timing task triggers a timing refresh logic, the timing refresh logic is triggered in the background, the full media system traverses the associated movie id set in the redis cache middleware, obtains all associated movie id identifiers in the associated movie id set, uses the associated movie id identifiers as keys (keywords), queries traversal media data corresponding to the associated movie id identifiers in the database large table, and uses the traversal data corresponding to the associated movie id identifiers as the latest media data, according to the key: movie id identification-value: the form of the media asset data is refreshed into the redis caching middleware.
According to the method and the device, the latest media asset data corresponding to the associated film set in the redis cache middleware are refreshed at regular time through the creation of the timing task, the media asset data in the large database table with the latest media asset data are refreshed in time to the redis cache middleware, and the service system is guaranteed to obtain the latest media asset data directly from the redis cache middleware, so that the situation that the media asset data are obtained from the cache to the large database table is avoided, the query time is saved, and the synchronization efficiency of the full media asset data is improved.
Further, as another updating method of the cache middleware, in this embodiment, in step S20, when the preset condition is met, the step of updating the cache middleware includes:
step C, receiving an updating signal and acquiring third-party movie information in the updating signal;
step D, judging whether correlated film information matched with the third-party film information exists in the cache middleware or not;
and E, if the third party movie information exists, determining that a preset condition is met, and updating the cache middleware according to the third party movie information.
In this embodiment, referring to fig. 5, if a data update signal is received, a third party refresh logic may be triggered, and the cache middleware is refreshed according to the third party logic, where the update signal is an update signal sent by a third party platform, for example, the third party platform may be an arcade third party platform, an Tencent third party platform, or the like, and if the full-media asset system receives the data update signal sent by the third party platform, it indicates that the third party platform updates the latest media asset data, and at this time, the third party refresh logic is triggered, so as to refresh the latest media asset data into the redis cache middleware according to the update signal. Specifically, in this embodiment, the associated movie information sent by the service system is stored in the cache middleware of the full media asset system, and if the full media asset system receives an update signal sent by a third-party platform, the third-party movie information in the update signal is acquired, and it is determined whether the associated movie information matching the third-party movie information exists in the cache middleware, and if the associated movie information matching the third-party movie information exists in the cache middleware, that is, it indicates that the update information sent by the third-party platform includes an associated movie in use by the service system, it is determined that a preset condition is satisfied, and then the cache middleware can be updated according to the third-party movie information.
In this embodiment, if an update signal is received, a third party may be triggered to refresh the redis cache middleware through a refresh logic, and media asset data required by a service system in the redis cache middleware is updated in time, so that the service system directly transports the media asset data from the redis cache middleware, thereby avoiding the problem that the media asset data cannot be hit in the cache and can be acquired only by walking to a large table for query, and thus improving the interface response speed.
Further, in the step E, the step of updating the caching middleware according to the third-party movie information includes:
step E1, determining the same target third party movie information as the associated movie information;
step E2, updating third party media asset data corresponding to the target third party movie information into the caching middleware;
in this embodiment, if an update signal sent by a third party platform is received, third party movie information in the update signal and third party media asset data corresponding to the third party movie information are obtained, in this embodiment, the third party movie information is information that can be matched with associated movie information, for example, the third party movie information includes a third party movie name, and can be matched with the associated movie name according to the third party movie name, or the third party movie information includes a third party movie name and/or movie detail information, and can be matched with the associated movie information according to the third party movie name and/or movie detail information. In this embodiment, the third-party movie information is a third-party movie id, and the third-party asset data corresponding to the third-party movie information may be the latest asset data corresponding to the third-party movie id or all asset data corresponding to the third-party movie id.
In this embodiment, if associated movie information matched with the third-party movie information exists in the cache middleware, it is determined that a preset condition is met, target third-party movie information identical to the associated movie information is determined, and third-party media asset data corresponding to the target third-party movie information is updated to the redis cache middleware, where the target third-party movie information is the third-party movie information identical to the associated movie information.
Further, if the associated movie information matched with the third-party movie information does not exist in the cache middleware, it indicates that the service system does not use the movie in the update information sent by the third-party platform, and at this time, it is not necessary to update the data in the update information to the redis cache middleware. As shown in fig. 5, the third party platform sends a data update signal to the full media asset system, the full media asset system performs database update, and determines whether an associated movie id matched with the update signal exists in an associated movie id set in the redis cache middleware, if not, the data in the update signal is finished or stored in a database large table, and if so, media asset data in the update signal identical to the associated movie id is correspondingly newly added or replaced in the redis cache middleware. For example, after the full media asset system synchronizes the resources in the azygos, and updates information (a film a, media asset data corresponding to the film a) to the full media asset system through a third-party film platform of the azygos, the full media asset system judges whether the film a is used by the service system, that is, whether an id set in the redis cache middleware has an id identifier associated with the film a is searched, if so, cache refreshing is required to be performed to ensure that the latest media asset data associated with the film a can be obtained in the redis cache middleware in time, and if the service system does not use the film a, data corresponding to the film a is stored in a database large table.
In this embodiment, the full media asset system triggers a third party refresh logic when receiving an update signal sent by a third party platform, acquires third party film information in the update signal and third party media asset data corresponding to the third party film information when the third party refresh logic is triggered, determines whether associated film information identical to the third party film information exists in the cache middleware, determines target third party film information identical to the associated film information if the associated film information exists, and updates the third party media asset data corresponding to the target third party film information to the cache middleware, so that the latest media asset data can be updated to the cache middleware in time, and the situation that the timeliness cannot be normally guaranteed if the full media asset system receives data update in an effective period of cache is avoided.
In this embodiment, the manner of refreshing the cache middleware may be a timed refresh logic and/or a third party refresh logic.
In this embodiment, when the full media asset system maintains the media asset cache, the full media asset data is actually maintained, but the percentage of the media asset data amount actually used by the service system to the whole media asset data is less than 10%, so that in this embodiment, the cache middleware in the full media asset system is maintained for the associated movie information sent by the service system, the accuracy of the media asset data is improved, the waste of resources is reduced, and the data of the media asset system is synchronized to the service system with high timeliness, accuracy and efficiency.
Further, based on the above embodiments, a second embodiment of the full-media-asset data synchronization method of the present invention is provided. Referring to fig. 3, fig. 3 is a flowchart illustrating a full-media-asset data synchronization method according to a second embodiment of the present invention.
In this embodiment, a full-media-asset data synchronization method is applied to a service system, and the full-media-asset data synchronization method includes the steps of:
step E, if the preset integration logic is triggered, integrating the associated film associated with the service system to obtain associated film information;
step F, sending the associated film information to a full media resource system;
and G, if request information is sent to the full media asset system, receiving media asset data corresponding to the request information, which is returned by the full media asset system based on the associated film information.
In this embodiment, the associated films associated with the service system are all associated films used by the service system, and if it is detected that the preset integration logic is triggered, the associated films associated with the service system are integrated to obtain associated film information, and the id fields of the associated films of the service system can be integrated to obtain associated film information, that is, an associated film id set, which is sent to the full media resource system through the network interface, and after the full media resource system receives the associated film information, the associated film id set is cached in the redis caching middleware.
When the media asset data needs to be acquired, the service system sends request information to the full media asset system, the full media asset system receives the request information sent by the service system and returns the media asset data corresponding to the request information based on the updated cache middleware, and the service system can receive the media asset data returned by the full media asset system based on the redis cache middleware.
In step E, if it is detected that the preset integration logic is triggered, the step of integrating the associated movie associated with the service system includes:
and step E1, if the business system is detected to increase or decrease the associated films, triggering an integration logic, and integrating the associated films associated with the business system.
In this embodiment, if it is detected that the service system increases or decreases the associated movie, the integration logic is triggered, and the associated movie ids associated with the service system are integrated. As another embodiment, the present implementation may also create a timing task through the service system to automatically trigger a data integration logic, refer to fig. 4, and as shown in fig. 4, perform data integration at a timing through the pre-created timing task, perform data integration by the service system to obtain an associated movie id set, send the associated movie id set to the full mordant system, and cache the associated movie id set in the redis caching middleware by the full mordant system. The preset timing task can be created through an actual scene, and associated film data can be automatically integrated at regular time, so that repeated data of the service system can be merged and unified, the situation that an interface is repeatedly requested to update film information due to the fact that films used by different modules in the service system are repeated can be effectively avoided, and the synchronization accuracy of the full-media data is improved.
The invention also provides a full-media-asset data synchronization system, as shown in fig. 5, the full-media-asset data synchronization system comprises a full-media asset system and a service system;
the full media resource system is used for receiving the associated film information sent by the service system and storing the associated film information into the cache middleware;
the full media resource system is used for updating the cache middleware when a preset condition is met;
the full-media asset system is used for returning media asset data corresponding to the request information to the service system based on the updated cache middleware if the request information sent by the service system is received;
the service system is used for integrating the associated film associated with the service system to obtain associated film information if the preset integration logic is triggered;
the business system is used for sending the associated film information to a full media resource system;
and the service system is used for receiving the media asset data which is returned by the full media asset system based on the associated film information and corresponds to the request information if the request information is sent to the full media asset system.
The specific embodiment of the system for synchronizing full media asset data of the present invention is basically the same as the embodiments of the method for synchronizing full media asset data, and is not described herein again.
The invention also provides a full-fundament data synchronization device, which is characterized by comprising a memory, a processor and a fundament data synchronization program which is stored on the memory and can run on the processor, wherein the step of the full-fundament data synchronization method is realized when the fundament data synchronization program is executed by the processor.
The specific embodiment of the full-media-asset data synchronization device of the present invention is basically the same as the embodiments of the full-media-asset data synchronization method described above, and will not be described herein again.
The present invention also provides a computer-readable storage medium, on which a asset data synchronization program is stored, where the asset data synchronization program, when executed by a processor, implements the steps of the full asset data synchronization method according to any one of the above embodiments.
The specific embodiment of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the above-mentioned full-medium asset data synchronization method, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A full-media-asset data synchronization method is characterized in that the full-media-asset data synchronization method is applied to a full-media asset system, the full-media asset system comprises a cache middleware, and the full-media-asset data synchronization method comprises the following steps:
receiving associated film information sent by a service system, and storing the associated film information into a cache middleware;
updating the cache middleware when a preset condition is met;
and if the request information sent by the service system is received, returning the media asset data corresponding to the request information to the service system based on the updated cache middleware.
2. The full-asset data synchronization method according to claim 1, wherein the step of updating the cache middleware when a preset condition is satisfied comprises:
if the preset timing task is met, acquiring an associated film set of the cache middleware;
and acquiring the latest media asset data according to the associated film set, and updating the latest media asset data into the cache middleware.
3. The full-funding data synchronization method according to claim 2, wherein the full-funding system comprises a database large table, and the step of obtaining the latest funding data according to the associated movie set comprises:
traversing all the associated film identifications in the associated film set, and determining traversal media asset data corresponding to the associated film identifications in the database large table;
and taking the traversal media asset data corresponding to the associated film identification as the latest media asset data.
4. The full-asset data synchronization method according to claim 1, wherein the step of updating the cache middleware when a preset condition is satisfied comprises:
receiving an updating signal and acquiring third-party movie information in the updating signal;
judging whether correlated film information matched with the third-party film information exists in the cache middleware or not;
and if so, determining that a preset condition is met, and updating the cache middleware according to the third-party movie information.
5. The full-asset data synchronization method according to claim 4, wherein the step of updating the caching middleware according to the third-party movie information comprises:
determining target third-party movie information which is the same as the associated movie information;
and updating the third-party media asset data corresponding to the target third-party movie information into the cache middleware.
6. A full-media-asset data synchronization method is characterized in that the full-media-asset data synchronization method is applied to a service system, and the full-media-asset data synchronization method comprises the following steps:
if the preset integration logic is triggered, integrating the associated film associated with the service system to obtain associated film information;
sending the associated film information to a full media resource system;
and if the request information is sent to the full media resource system, receiving media resource data which is returned by the full media resource system based on the associated film information and corresponds to the request information.
7. The full-media-asset data synchronization method according to claim 6, wherein the step of integrating the associated movies associated with the service system if it is detected that a preset integration logic is triggered comprises:
and if the business system is detected to increase or decrease the associated films, triggering an integration logic and integrating the associated films associated with the business system.
8. A full-media-asset data synchronization system is characterized in that the full-media-asset data synchronization system comprises a full-media asset system and a service system;
the full media resource system is used for receiving the associated film information sent by the service system and storing the associated film information into the cache middleware;
the full media resource system is used for updating the cache middleware when a preset condition is met;
the full-media asset system is used for returning media asset data corresponding to the request information to the service system based on the updated cache middleware if the request information sent by the service system is received;
the service system is used for integrating the associated film associated with the service system to obtain associated film information if the preset integration logic is triggered;
the business system is used for sending the associated film information to a full media resource system;
and the service system is used for receiving the media asset data which is returned by the full media asset system based on the associated film information and corresponds to the request information if the request information is sent to the full media asset system.
9. A full-asset data synchronization device, characterized in that the full-asset data synchronization device comprises a memory, a processor, and an asset data synchronization program stored on the memory and operable on the processor, wherein the asset data synchronization program, when executed by the processor, implements the steps of the full-asset data synchronization method according to any one of claims 1 to 5 and 6 to 7.
10. A computer-readable storage medium, having stored thereon a asset data synchronization program, which when executed by a processor, implements the steps of the full asset data synchronization method according to any one of claims 1 to 5, 6 to 7.
CN202111427396.4A 2021-11-24 2021-11-24 Full-media-asset data synchronization method, system, device and computer-readable storage medium Pending CN114090692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111427396.4A CN114090692A (en) 2021-11-24 2021-11-24 Full-media-asset data synchronization method, system, device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111427396.4A CN114090692A (en) 2021-11-24 2021-11-24 Full-media-asset data synchronization method, system, device and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN114090692A true CN114090692A (en) 2022-02-25

Family

ID=80305234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111427396.4A Pending CN114090692A (en) 2021-11-24 2021-11-24 Full-media-asset data synchronization method, system, device and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN114090692A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226682A1 (en) * 2022-05-25 2023-11-30 京东方科技集团股份有限公司 Data processing method and apparatus, server, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023226682A1 (en) * 2022-05-25 2023-11-30 京东方科技集团股份有限公司 Data processing method and apparatus, server, and storage medium

Similar Documents

Publication Publication Date Title
CN108228817B (en) Data processing method, device and system
US11106816B2 (en) Database public interface
US9910895B2 (en) Push subscriptions
CN107784044B (en) Table data query method and device
US20140258234A1 (en) Synchronization of cms data to mobile device storage
US11310066B2 (en) Method and apparatus for pushing information
CN107423070B (en) Page generation method and device
US20170161511A1 (en) Database public interface
US20190377827A1 (en) Method and system for scalable search using microservice and cloud based search with records indexes
US20170134364A1 (en) Note update method and device
CN107844488B (en) Data query method and device
US20220261451A1 (en) Method and system for creating and using persona in a content management system
CN114791961A (en) Media data processing method and device and terminal equipment
CN114090692A (en) Full-media-asset data synchronization method, system, device and computer-readable storage medium
US20160006787A1 (en) Methods and devices for visiting a webpage
JP2017511556A (en) Address filtering method, apparatus, program, and recording medium
US9824163B2 (en) Method and apparatus for providing a search tool in connection with address management
CN112559913A (en) Data processing method and device, computing equipment and readable storage medium
CN111143662B (en) Content recommendation method, device and computer storage medium
CN112883307B (en) Cache updating method and device and social network system
US10114864B1 (en) List element query support and processing
CN113824675B (en) Method and device for managing login state
US11366796B2 (en) Systems and methods for compressing keys in hierarchical data structures
US20220035741A1 (en) Persisted Data Cache Service
CN114238264A (en) Data processing method, data processing device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination