CN113407740A - Multimedia collection management method and device and electronic equipment - Google Patents

Multimedia collection management method and device and electronic equipment Download PDF

Info

Publication number
CN113407740A
CN113407740A CN202110513538.2A CN202110513538A CN113407740A CN 113407740 A CN113407740 A CN 113407740A CN 202110513538 A CN202110513538 A CN 202110513538A CN 113407740 A CN113407740 A CN 113407740A
Authority
CN
China
Prior art keywords
multimedia
target
service
collection
interface
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
CN202110513538.2A
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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202110513538.2A priority Critical patent/CN113407740A/en
Publication of CN113407740A publication Critical patent/CN113407740A/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/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
    • 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/45Clustering; Classification
    • 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/48Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The application provides a method and a device for managing a multimedia collection, wherein the method comprises the following steps: determining a target service for providing the user terminal to use from all the services provided by the multimedia collection service terminal; creating a functional interface for calling a target service; and responding to the calling operation of the target function interface in the at least one function interface, and executing the management operation of the multimedia set according to the target service corresponding to the target function interface. In the application, the functional interface for calling the target service is created and provided for the user side to use, so that the user side can conveniently call and access the multimedia collection service through the interface, all or part of functions of the multimedia collection service are used, the user side can further improve the service logic of the user side by using the multimedia collection service, the multimedia collection service can further optimize the coverage rate of the service in the process, and the purpose of cooperative win-win is achieved.

Description

Multimedia collection management method and device and electronic equipment
Technical Field
Embodiments of the present application relate to the field of computer technologies, and in particular, to a method and an apparatus for managing a multimedia collection, an electronic device, a computer storage medium, and a computer program product.
Background
With the rapid development of the short video industry, short video sets based on short videos often appear on various video service platforms, and there are correlations between the short videos in one set, such as content continuity, topic correlation, and the like.
In the related art, the short video aggregation service is generally integrated as an independent service under the overall architecture of a video service platform, and the short video aggregation service essentially classifies short videos to help users find a type of short videos suitable for their own appeal.
However, in the current scheme, the architecture of the short video aggregation service is relatively closed, and only the playing form in the form of the short video aggregation can be independently provided, so that it is difficult to provide richer aggregation service in the overall architecture of the video service platform.
Disclosure of Invention
The embodiment of the application provides a multimedia collection management method and device, electronic equipment, a computer storage medium and a computer program product, which are used for solving the problems that in the related art, the short video collection service architecture is relatively closed and more abundant collection services are difficult to provide in the whole architecture of a video service platform.
In a first aspect, an embodiment of the present application provides a method for managing a multimedia collection, which is applied to a multimedia collection server, and the method includes:
determining a target service for providing the user terminal to use from all the services provided by the multimedia collection service terminal;
creating a functional interface for calling the target service;
responding to the calling operation of a target function interface in the at least one function interface, and executing the management operation of the multimedia set according to a target service corresponding to the target function interface; the calling operation is sent by the user side.
In an optional implementation manner, in a case where the target function interface includes an interface for invoking a target service for editing the multimedia collection, the performing, according to the target service corresponding to the target function interface, a management operation on the multimedia collection includes:
acquiring establishment information or updating information aiming at a target multimedia set, which is sent by the user side;
and establishing the target multimedia set in a local cache according to the establishment information, or updating the target multimedia set in the local cache according to the updating information.
In an optional implementation manner, in a case where the target function interface includes an interface for invoking a target service for querying the multimedia collection, the performing, according to the target service corresponding to the target function interface, a management operation on the multimedia collection includes:
acquiring index information aiming at a target multimedia set;
and extracting the target multimedia set from the local cache according to the index information, and adding the target multimedia set into the response aiming at the calling operation so that the user side can acquire the target multimedia set from the response aiming at the calling operation and watch the target multimedia set.
In an alternative embodiment, the index information includes keywords; the extracting the target multimedia set in the local cache according to the index information includes:
inquiring target multimedia content matched with the keywords, wherein the title or classification category or brief introduction of the target multimedia content comprises the keywords;
and adding the target multimedia content and the corresponding relation between the target multimedia content and the multimedia set to which the target multimedia content belongs into a response aiming at the calling operation.
In an optional implementation manner, in a case where the target function interface includes an interface for invoking a target service for recording a history of the multimedia collection, the performing a management operation on the multimedia collection according to the target service corresponding to the target function interface includes:
acquiring an access record of a multimedia set stored in a local cache;
and converting the access record into a binary log format and uploading the binary log format to an external storage end so that the user side can obtain the access record from the external storage end.
In an optional implementation manner, in a case where the target function interface includes an interface for invoking a target service for recording a subscription record of the multimedia collection, the performing a management operation on the multimedia collection according to the target service corresponding to the target function interface includes:
acquiring a subscription record of a multimedia collection stored in a local cache;
and converting the subscription record into a binary log format and uploading the binary log format to an external storage end so that the user side can obtain the subscription record from the external storage end.
In an optional implementation, in a case that the target function interface includes an interface for invoking a target service for rendering the multimedia collection, the performing the management operation on the multimedia collection according to the target service corresponding to the target function interface includes:
under the condition of acquiring a multimedia set to be rendered, which is sent to the user side, a rendering rule is acquired according to a target service for rendering the multimedia set;
and adding the rendering rule and the multimedia set for sending to the user side into a response aiming at the calling operation, so that the user side can acquire the target multimedia set and the rendering rule from the response aiming at the calling operation and perform rendering and viewing.
In a second aspect, an embodiment of the present application provides an apparatus for managing a multimedia collection, where the apparatus includes:
the determining module is configured to determine a target service for providing the user terminal to use from all the services provided by the multimedia collection service terminal;
a creation module configured to create a functional interface for invoking the target service;
a response module configured to respond to a calling operation of a target function interface in the at least one function interface and execute a management operation of a multimedia set according to a target service corresponding to the target function interface; the calling operation is sent by the user side.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service for editing the multimedia collection, the response module comprises:
the first acquisition submodule is configured to acquire establishment information or update information aiming at a target multimedia set, which is sent by the user side;
and the editing submodule is configured to establish the target multimedia set in a local cache according to the establishment information, or update the target multimedia set in the local cache according to the update information.
In an optional implementation, in a case where the target function interface includes an interface for invoking a target service for querying the multimedia collection, the response module includes:
a second obtaining sub-module configured to obtain index information for the target multimedia set;
and the query submodule is configured to extract the target multimedia set from the local cache according to the index information, and add the target multimedia set into the response aiming at the calling operation, so that the user side can acquire the target multimedia set from the response aiming at the calling operation and watch the target multimedia set.
In an alternative embodiment, the query submodule includes:
a query unit configured to query a target multimedia content matching the keyword, the target multimedia content having a title or classification category or profile including the keyword;
and the adding unit is configured to add the target multimedia content and the corresponding relation between the target multimedia content and the multimedia set to which the target multimedia content belongs into the response aiming at the calling operation.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service that records a history of the collection of multimedia, the response module comprises:
a third obtaining submodule configured to obtain an access record of the multimedia set stored in the local cache;
and the history record submodule is configured to convert the access record into a binary log format and upload the binary log format to an external storage terminal, so that the user terminal can obtain the access record from the external storage terminal.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service for recording a subscription record of the multimedia collection, the response module comprises:
a fourth obtaining submodule configured to obtain a subscription record for the multimedia collection stored in the local cache;
and the subscription record submodule is configured to convert the subscription record into a binary log format and upload the binary log format to an external storage terminal, so that the user terminal can obtain the subscription record from the external storage terminal.
In an alternative embodiment, in the case where the target-function interface comprises an interface for invoking a target service for rendering the collection of multimedia, the response module comprises:
a fifth obtaining sub-module, configured to, in a case where a to-be-rendered multimedia set for sending to the user side is obtained, obtain a rendering rule according to a target service for rendering the multimedia set;
and the rendering submodule is configured to add the rendering rule and the multimedia set for sending to the user side into a response aiming at the calling operation, so that the user side can acquire the target multimedia set and the rendering rule from the response aiming at the calling operation and perform rendering and viewing.
In a third aspect, an embodiment of the present application further provides an electronic device, including a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to enable management of the multimedia collection.
In a fourth aspect, the present application further provides a computer storage medium, where instructions of the computer storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the management of the multimedia collections.
In a fifth aspect, the present application further provides a computer program product, including a computer program, where the computer program, when executed by a processor, implements the management of the multimedia collections.
In the embodiment of the application, the target service for providing the user terminal for use can be determined, and the functional interface for calling the target service is created and provided for the user terminal for use, so that the user terminal can conveniently call and access the multimedia union service through the interface and use all or part of functions of the multimedia union service, the user terminal can further improve the service logic of the user terminal by using the multimedia union service, the multimedia union service can further optimize the coverage rate of the service in the process, and the purpose of cooperative win-win is achieved.
The foregoing description is only an overview of the technical solutions of the present application, and the present application can be implemented according to the content of the description in order to make the technical means of the present application more clearly understood, and the following detailed description of the present application is given in order to make the above and other objects, features, and advantages of the present application more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating steps of a method for managing a multimedia collection according to an embodiment of the present application;
FIG. 2 is an architecture diagram of a multimedia service platform provided in an embodiment of the present application;
fig. 3 is an architecture diagram of a multimedia aggregation service provided in an embodiment of the present application;
FIG. 4 is an interface diagram provided by an embodiment of the present application;
FIG. 5 is another interface diagram provided by embodiments of the present application;
FIG. 6 is another interface diagram provided by embodiments of the present application;
fig. 7 is a block diagram of an apparatus for managing a multimedia collection according to an embodiment of the present disclosure;
FIG. 8 is a logical block diagram of an electronic device of one embodiment of the present application;
fig. 9 is a logic block diagram of an electronic device according to another embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating steps of a method for managing a multimedia collection according to an embodiment of the present application, and as shown in fig. 1, the method is applied to a multimedia collection server, and the method may include:
step 101, determining a target service for providing to a user terminal for use from all services provided by the multimedia collection service terminal.
The method for managing the multimedia collection provided by the embodiment of the application can be specifically integrated in a multi-platform service platform, and the multi-platform service platform can provide other services, such as content recommendation service and the like, besides the multimedia collection service. Referring to fig. 2, an architecture diagram of a multimedia service platform provided in an embodiment of the present application is shown, where a multimedia collection service integrated in the multimedia service platform can be implemented based on a multimedia collection server, and mainly provides a multimedia browsing form in a multimedia collection mode for classifying multimedia contents and providing a user terminal with the multimedia contents, and specifically, the multimedia collection service may include a collection editing service, a collection query service, a history recording service, a subscription recording service, and the like.
The collection editing service is used for providing the functions of creating and updating collections; the collection inquiry service is used for providing the inquiry and play service of the collection; the history recording service is used for providing a history viewing recording function for the collection; the subscription record service is used to provide subscription record functionality for collections.
In the embodiment of the application, because the multimedia union service is a more important service in the multimedia service platform, in order to provide an open source architecture environment based on the multimedia union service, other services and other platform services in the multimedia service platform can access the multimedia union service, so that the service logic of the multimedia union service can be further improved by using the multimedia union service, and the coverage rate of the multimedia union service can be further optimized in the process, thereby achieving the purpose of cooperative win-win.
For example, if a recommendation service is further included in the internal architecture of the multimedia aggregate service, the recommendation service may be respectively accessed to the aggregate editing service, the aggregate query service, the history record service, and the subscription record service, so that the recommendation service may query the specified multimedia aggregate based on the aggregate query service, the history record service, and the subscription record service, analyze the recommendation value of the specified multimedia aggregate based on the history record and the subscription record of the specified multimedia aggregate, update the corresponding recommendation rule, and edit and adjust the specified multimedia aggregate through the aggregate editing service according to the superiority and inferiority of the recommendation value, thereby achieving the improvement of the business logic of the aggregate editing service and the recommendation service.
It should be noted that the multimedia collection includes multimedia contents in forms including, but not limited to, video, image, text, audio; the user side may include other services of the internal architecture of the multimedia service platform, such as content recommendation service, and the like, and in addition, the user side may also include services of other platforms, such as a drainage service of another multimedia platform, a collection service of the network material library platform, and the like.
In the embodiment of the application, the multimedia collection service can determine a target service for providing the user terminal to use from all the provided services according to the self requirement; as in fig. 2, the multimedia collection service may provide a collection edit service, a collection query service, a history service, a subscription record service for other services of the same platform, and may provide only a collection edit service, a collection query service for other platform services due to the sensitivity of history and subscription records.
And 102, creating a function interface for calling the target service.
In the embodiment of the present application, after determining the target services for providing to the user side, in order to enable the user side to access the target services conveniently, functional interfaces for invoking the target services may be created based on the multimedia aggregation service, and the functional interfaces may be interfaces under a Remote invocation framework (Grpc) of Google open source. For example, in fig. 2, the collection editing service call interface, the collection query service call interface, the history recording service call interface, and the subscription recording service call interface may all be implemented by a Grpc interface.
The so-called Remote Procedure Call (RPC) framework actually provides a set of mechanisms to enable communication between applications, and when in use, the user terminal calls an interface provided by the multimedia collection service terminal as if calling a local function. Specifically, the Grpc interface may define the interface through protobuf (a tool library with an efficient protocol data exchange format), so that there may be a stricter interface constraint condition. In addition, the Grpc interface can serialize the data into binary codes through protobuf, which can greatly reduce the data amount to be transmitted, thereby greatly improving the performance.
In the embodiment of the present application, an interface may define actions that an entity may issue, but only defines prototypes of the actions, and does not implement or have any state information, so the interface is similar to a specification and a protocol, and is an abstract concept.
103, responding to the calling operation of a target function interface in the at least one function interface, and executing the management operation of the multimedia set according to the target service corresponding to the target function interface; the calling operation is sent by the user side.
In this embodiment of the present application, the user side may execute a call operation on the target function interface, so that the multimedia collection server side may respond to the call operation on the target function interface and execute a management operation on the multimedia collection according to the target service corresponding to the target function interface.
For example, referring to fig. 2, assuming that other services of the platform may include a recommendation service, the recommendation service may be respectively accessed to a collection editing service, a collection query service, a history recording service, and a subscription recording service, so that the recommendation service may query a specified multimedia collection based on the collection query service, the history recording service, and the subscription recording service, analyze a recommendation value of the specified multimedia collection based on the history recording and the subscription recording of the specified multimedia collection, update a corresponding recommendation rule, and edit and adjust the specified multimedia collection through the collection editing service according to advantages and disadvantages of the recommendation value, thereby achieving perfection of business logic of both the collection editing service and the recommendation service.
Further, assuming that the multimedia services of other platforms respectively access the collection editing service and the collection query service, the users of the multimedia services of other platforms can create and edit the multimedia collection at the multimedia collection service end through the collection editing service, and query and view the multimedia collection in the multimedia collection service end through the collection query service.
In the embodiment of the application, the functional interface created by the multimedia collection server for calling the target service is optional, and the user side can select all or part of the functional interfaces to meet the self requirement according to the self requirement on the development amount, so that the user side can access the multimedia collection service from different levels, and different levels correspond to different development costs, thereby achieving a multi-level access scheme.
The first hierarchical access scheme includes: the user side is accessed to all functional interfaces provided by the multimedia collection server side, the flexibility of the access mode is highest, the multimedia collection server side only provides basic capabilities of collection services, such as collection storage, classification, watching, history recording, subscription record inquiry and the like, and the user side can develop the multimedia collection server side by itself if more refined individual services are to be realized.
The second tier access scheme comprises: the user terminal selectively accesses part of the functional interfaces provided by the multimedia collection server terminal according to actual requirements, for example, the user terminal only uses the multimedia collection editing service, and the collection query service is developed and customized by the user terminal.
The third tier access scheme comprises: the user side directly multiplexes the multimedia collection service provided by the multimedia collection service side without developing the user side.
In a specific application link, the user side may first adopt a third-tier access scheme to quickly verify the effect of the multimedia aggregation service, and if the effect is better, a lower-tier access scheme may be further adopted.
Optionally, referring to fig. 3, which shows an architecture diagram of a multimedia collection service provided in an embodiment of the present application, in a case that the target function interface includes an interface for invoking a target service for editing the multimedia collection, step 103 may specifically include:
and a substep 1031 of obtaining the setup information or update information for the target multimedia set sent by the user terminal.
And a substep 1032 of establishing the target multimedia set in a local cache according to the establishment information, or updating the target multimedia set in the local cache according to the updating information.
In the embodiment of the present application, the architecture of the multimedia collection service includes functional interfaces for invoking a target service, such as a collection editing service invocation interface, a collection query service invocation interface, a history recording service invocation interface, a subscription recording service invocation interface, and a local cache, a non-local cache, and database software of the multimedia collection service.
The service calling interface of the collection editing service can be used for calling the collection editing service, and the collection editing service is used for providing functions of creating and updating collections. Specifically, after responding to the call operation of the set editing service call interface, the set creating information for the target multimedia set sent by the user side can be received according to the set editing service, and the set creating information can be written into the local cache for storage after being analyzed by the database software, so that the purpose of creating a new target multimedia set in the local cache is achieved.
For example, referring to fig. 4, which shows an interface diagram provided by the embodiment of the present application, the collection editing service may provide a collection establishment application page shown in fig. 4, wherein the user side may fill in a collection title, a collection profile, a collection category, a collection presentation manner, and add multimedia content included in the collection. And after filling, the creation of the multimedia collection can be completed through collection verification. The auditing of the multimedia collection can be only performed for the user terminal of other platforms, and the trust can be selected and the auditing operation is not performed for the condition that other services of the same platform are used as the user terminal.
In addition, after responding to the calling operation of the set editing service calling interface, the updating information aiming at the target multimedia set sent by the user side can be received according to the set editing service, and the updating information can be written into the local cache to update and edit the target multimedia set after being analyzed by the database software, so that the aim of updating the multimedia set in the local cache is fulfilled.
Optionally, when the target function interface includes an interface for invoking a target service for querying the multimedia collection, step 103 may specifically include:
substep 1033, obtaining index information for the target multimedia collection.
Substep 1034, extracting the target multimedia set from the local cache according to the index information, and adding the target multimedia set into the response aiming at the calling operation, so that the user end can obtain the target multimedia set from the response aiming at the calling operation and watch the target multimedia set.
In the embodiment of the present application, referring to fig. 3, the collection query service is used to provide a collection query and play service. Specifically, after responding to the call operation of the set query service call interface, the target multimedia set can be queried in the local cache according to the index information of the target multimedia set sent by the user side, and the queried target multimedia set is returned to the user side for the user side to view the target multimedia set. The aggregate query service can bear the request amount of 10000 times per second at most under the hardware condition of 8 cores and 16G memory.
Specifically, the process of viewing the target multimedia set by the user side is also called consumption of the target multimedia set, the user side is provided with a collection player, in the process of consuming the collection, the user side can select multimedia contents through a collection interface and enter the collection player, and finally, videos in the collection can be further viewed in the collection player.
Optionally, the index information includes a keyword; sub-step 1034 may specifically include:
sub-step a1, querying the target multimedia content matching the keyword, the target multimedia content having a title or classification category or brief description containing the keyword.
Substep a2, adding the target multimedia content and the corresponding relationship between the target multimedia content and the multimedia set to which the target multimedia content belongs into the response to the calling operation.
In the embodiment of the application, a function of querying the target multimedia content and the multimedia set to which the target multimedia content belongs according to the keyword is provided. Therefore, the user side can retrieve the target multimedia content through the keywords and then enter the corresponding multimedia collection through the target multimedia content, so that a new interactive experience is formed, which is different from a mode of directly querying the multimedia collection and consuming the content in the multimedia collection in the related technology.
Optionally, in a case that the target function interface includes an interface for invoking a target service for recording a history of the multimedia collection, step 103 may specifically include:
sub-step 1035, obtain a record of access to the multimedia collection stored in the local cache.
And a substep 1036 of converting the access record into a binary log format and uploading the binary log format to an external storage end, so that the user side can obtain the access record from the external storage end.
In this embodiment, referring to fig. 3, the history service is configured to provide a history viewing record function for a collection, and after responding to a call operation on a history service call interface, an access record of a multimedia collection stored in a local cache may be read from the local cache, and the extracted access record is parsed by a binlog (a binary log generated when MySql is used by a query statement) parser of database software (e.g., MySql, a relational database management system), and then written into an external non-local cache (e.g., a Redis cache, a cache providing a remote dictionary service), so that a user may subsequently query the binary access record log in the non-local cache through a multimedia collection service, thereby providing the user with a function of querying a history access record of the multimedia collection.
Optionally, in a case that the target function interface includes an interface for invoking a target service for recording a subscription record of the multimedia collection, step 103 may specifically include:
sub-step 1037, obtaining a subscription record for the multimedia collection stored in the local cache.
And a substep 1038 of converting the subscription record into a binary log format and uploading the binary log format to an external storage end, so that the user side can obtain the subscription record from the external storage end.
In the embodiment of the present application, referring to fig. 3, the subscription recording service is used to provide a subscription recording function for a collection, and the subscription function means that when a certain user expresses interest in a certain collection, the collection can be subscribed through a subscription operation. After responding to the calling operation of the subscription record service calling interface, the subscription record of the multimedia collection stored in the local cache can be read from the local cache, and the extracted subscription record is analyzed by a binlog analyzer of database software and then written into an external non-local cache, so that the user terminal can inquire the binary access subscription record in the non-local cache through the multimedia collection server terminal, and the function of inquiring the subscription record of the multimedia collection is provided for the user terminal.
Optionally, when the target function interface includes an interface for invoking a target service for rendering the multimedia collection, step 103 may specifically include:
and a substep 1039 of acquiring a rendering rule according to a target service for rendering the multimedia collection when the multimedia collection to be rendered is acquired and sent to the user side.
And a substep 10310, adding the rendering rule and the multimedia set for sending to the user side into a response aiming at the calling operation, so that the user side obtains the target multimedia set and the rendering rule from the response aiming at the calling operation, and performs rendering and viewing.
In the embodiment of the application, in the process of consuming the multimedia collections, the user side needs to render and view the contents in the multimedia collections based on a special collection player and a rendering rule aiming at the collections, in order to reduce the development difficulty when the user side constructs the rendering rule aiming at the collections, the multimedia collection server side can construct a functional interface for calling the target service for rendering the multimedia collections, and the user side accesses the functional interface to obtain the rendering rule special for the collections from the multimedia collection server side, so that the user side is prevented from constructing the rendering rule by itself, and the development difficulty and the development quantity when the user side consumes the multimedia collections are reduced.
The application also provides a specific application embodiment for realizing the processing of the multimedia collection by calling the service provided by the multimedia collection server side by the user side, which specifically comprises the following steps:
assuming that the user needs to create a video collection with video a, video B, and video C, the user can view different target services provided by the video collection service from the interface of the application providing the video collection service, such as: the user side can select the video collection editing service in the interface of the user side, the video collection service side calls a functional interface corresponding to the video collection editing service after responding to the selection operation, provides the user side with an access link of a collection establishment application page shown in figure 4, and provides the user side with the access link for displaying the collection establishment application page, and the user can fill a collection title, a collection introduction, select collection classification and collection display modes and the like in the collection establishment application page, and uploads a video A, a video B and a video C contained in the video collection at a content adding position, so that the establishment application of the video collection is completed.
Further, if the user side is another platform user, the creation application of the video aggregate needs to be audited, the user side can send the creation application request for creating the video aggregate including video a, video B, and video C to the video aggregate server, the video aggregate server sends the creation application request to the operator side, the operator of the operator side can display information included in the creation application request through the aggregate creation application request audit page shown in fig. 5, and the operator can click a pass button in the aggregate creation application request audit page if the operator considers that the creation is legal, so that the video aggregate including video a, video B, and video C is created locally at the video aggregate server through the creation application request. If the operator considers that the creation is illegal, the operator can click a reject button in the review page of the aggregate creation application request to reject the creation request.
After the user creates the video aggregate, if the user wants to watch and consume the video aggregate, the video aggregate query service can be selected, the video aggregate server responds to the selection operation, calls a functional interface corresponding to the video aggregate query service, locally queries the video aggregate containing the video A, the video B and the video C, provides an access link of an aggregate consumption page shown in figure 6 for the user to display the aggregate consumption page, and can watch the situation that the video aggregate contains the video A, the video B and the video C in the aggregate consumption page and select one of the videos to watch and consume.
When a user watches a certain video of a certain video collection at the user terminal, the user terminal can automatically call the history record service, the video collection service terminal records the watching record, and the watching record is stored locally as the history record. Furthermore, the user can also directly select the history record service in the interface of the user side, and the video collection service side responds to the selection operation and calls the functional interface of the history record service to search all the history records of the user and provide the history records to the user side for the user of the user side to check.
When a user subscribes to a certain video aggregate at the user end, the user end can automatically call subscription record service, and the video aggregate server end records the subscription record and stores the subscription record locally. Furthermore, the user can also directly select the subscription record service in the interface of the user side, and the video collection service side responds to the selection operation and calls the functional interface of the subscription record service to search all the subscription records of the user and provide the subscription records to the user side for the user of the user side to check.
In the above embodiment, the user side can implement application of diverse functions to the video aggregate by using multiple services provided by the video aggregate server, and the user side can implement application of the functions of the services by calling the interfaces of the services provided by the video aggregate server, without multiplexing the bottom logic of the services in the video aggregate server in advance by the user side, thereby achieving a more flexible mode of accessing the user side to the video aggregate server.
To sum up, the method for managing a multimedia collection provided by the embodiment of the present application can determine a target service for providing to a user terminal, and create a functional interface for invoking the target service to provide to the user terminal for use, so that the user terminal can conveniently invoke and access the multimedia collection service through the interface, and use all or part of functions of the multimedia collection service, and thus the user terminal can further improve its own business logic by using the multimedia collection service, and the multimedia collection service can further optimize the coverage of the service in the process, thereby achieving the goal of cooperative win-win.
Fig. 7 is a block diagram of a device for managing a multimedia collection according to an embodiment of the present application, as shown in fig. 7, including: a determination module 301, a creation module 302, a response module 303.
A determining module 301 configured to determine a target service for providing to a user terminal to use from all services provided by the multimedia collection service terminal;
a creation module 302 configured to create a functional interface for invoking the target service;
a response module 303, configured to, in response to a call operation to a target function interface of the at least one function interface, execute a management operation on a multimedia collection according to a target service corresponding to the target function interface; the calling operation is sent by the user side.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service for editing the multimedia collection, the response module comprises:
the first acquisition submodule is configured to acquire establishment information or update information aiming at a target multimedia set, which is sent by the user side;
and the editing submodule is configured to establish the target multimedia set in a local cache according to the establishment information, or update the target multimedia set in the local cache according to the update information.
In an optional implementation, in a case where the target function interface includes an interface for invoking a target service for querying the multimedia collection, the response module includes:
a second obtaining sub-module configured to obtain index information for the target multimedia set;
and the query submodule is configured to extract the target multimedia set from the local cache according to the index information, and add the target multimedia set into the response aiming at the calling operation, so that the user side can acquire the target multimedia set from the response aiming at the calling operation and watch the target multimedia set.
In an alternative embodiment, the query submodule includes:
a query unit configured to query a target multimedia content matching the keyword, the target multimedia content having a title or classification category or profile including the keyword;
and the adding unit is configured to add the target multimedia content and the corresponding relation between the target multimedia content and the multimedia set to which the target multimedia content belongs into the response aiming at the calling operation.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service that records a history of the collection of multimedia, the response module comprises:
a third obtaining submodule configured to obtain an access record of the multimedia set stored in the local cache;
and the history record submodule is configured to convert the access record into a binary log format and upload the binary log format to an external storage terminal, so that the user terminal can obtain the access record from the external storage terminal.
In an alternative embodiment, in the case where the target function interface comprises an interface for invoking a target service for recording a subscription record of the multimedia collection, the response module comprises:
a fourth obtaining submodule configured to obtain a subscription record for the multimedia collection stored in the local cache;
and the subscription record submodule is configured to convert the subscription record into a binary log format and upload the binary log format to an external storage terminal, so that the user terminal can obtain the subscription record from the external storage terminal.
In an alternative embodiment, in the case where the target-function interface comprises an interface for invoking a target service for rendering the collection of multimedia, the response module comprises:
a fifth obtaining sub-module, configured to, in a case where a to-be-rendered multimedia set for sending to the user side is obtained, obtain a rendering rule according to a target service for rendering the multimedia set;
and the rendering submodule is configured to add the rendering rule and the multimedia set for sending to the user side into a response aiming at the calling operation, so that the user side can acquire the target multimedia set and the rendering rule from the response aiming at the calling operation and perform rendering and viewing.
To sum up, the management device for a multimedia collection provided in the embodiments of the present application can determine a target service for providing to a user terminal, and create a functional interface for invoking the target service to provide to the user terminal for use, so that the user terminal can conveniently invoke and access the multimedia collection service through the interface, and use all or part of functions of the multimedia collection service, and thus the user terminal can further improve its own business logic by using the multimedia collection service, and the multimedia collection service can further optimize the coverage of the service in this process, thereby achieving the goal of cooperative win-win.
Fig. 8 is a block diagram illustrating an electronic device 600 according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is used to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, multimedia, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of electronic device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen that provides an output interface between the electronic device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense demarcations of a touch or slide action, but also detect a duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 600 is in an operation mode, such as a photographing mode or a multimedia mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is used to output and/or input audio signals. For example, the audio component 610 may include a Microphone (MIC) for receiving external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor component 614 may detect an open/closed state of the electronic device 600, the relative positioning of components, such as a display and keypad of the electronic device 600, the sensor component 614 may also detect a change in the position of the electronic device 600 or a component of the electronic device 600, the presence or absence of user contact with the electronic device 600, orientation or acceleration/deceleration of the electronic device 600, and a change in the temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is operable to facilitate wired or wireless communication between the electronic device 600 and other devices. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for implementing a method for managing multimedia collections provided by embodiments of the present application.
In an exemplary embodiment, a non-transitory computer storage medium including instructions, such as the memory 604 including instructions, executable by the processor 620 of the electronic device 600 to perform the above-described method is also provided. For example, the non-transitory storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 9 is a block diagram illustrating an electronic device 700 in accordance with an example embodiment. For example, the electronic device 700 may be provided as a server. Referring to fig. 9, electronic device 700 includes a processing component 722 that further includes one or more processors, and memory resources, represented by memory 732, for storing instructions, such as applications, that are executable by processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 722 is configured to execute instructions to perform a method for managing multimedia collections provided by the embodiments of the present application.
The electronic device 700 may also include a power component 726 that is configured to perform power management of the electronic device 700, a wired or wireless network interface 750 that is configured to connect the electronic device 700 to a network, and an input output (I/O) interface 758. The electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
An embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method for managing a multimedia collection is implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice in the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A method for managing a multimedia collection is applied to a multimedia collection server, and is characterized in that the method comprises the following steps:
determining a target service for providing the user terminal to use from all the services provided by the multimedia collection service terminal;
creating a functional interface for calling the target service;
responding to the calling operation of a target function interface in the at least one function interface, and executing the management operation of the multimedia set according to a target service corresponding to the target function interface; the calling operation is sent by the user side.
2. The method according to claim 1, wherein, in a case where the target function interface includes an interface for invoking a target service for editing the multimedia collection, the performing the management operation on the multimedia collection according to the target service corresponding to the target function interface includes:
acquiring establishment information or updating information aiming at a target multimedia set, which is sent by the user side;
and establishing the target multimedia set in a local cache according to the establishment information, or updating the target multimedia set in the local cache according to the updating information.
3. The method according to claim 1, wherein, in the case where the target function interface includes an interface for invoking a target service for querying the multimedia collection, said performing the management operation on the multimedia collection according to the target service corresponding to the target function interface comprises:
acquiring index information aiming at a target multimedia set;
and extracting the target multimedia set from the local cache according to the index information, and adding the target multimedia set into the response aiming at the calling operation so that the user side can acquire the target multimedia set from the response aiming at the calling operation and watch the target multimedia set.
4. The method of claim 3, wherein the index information comprises keywords; the extracting the target multimedia set in the local cache according to the index information includes:
inquiring target multimedia content matched with the keywords, wherein the title or classification category or brief introduction of the target multimedia content comprises the keywords;
and adding the target multimedia content and the corresponding relation between the target multimedia content and the multimedia set to which the target multimedia content belongs into a response aiming at the calling operation.
5. The method according to claim 1, wherein, in the case where the target function interface comprises an interface for invoking a target service for recording a history of the multimedia collection, the performing the management operation on the multimedia collection according to the target service corresponding to the target function interface comprises:
acquiring an access record of a multimedia set stored in a local cache;
and converting the access record into a binary log format and uploading the binary log format to an external storage end so that the user side can obtain the access record from the external storage end.
6. The method according to claim 1, wherein, in a case where the target function interface includes an interface for invoking a target service for recording a subscription record of the multimedia collection, the performing the management operation on the multimedia collection according to the target service corresponding to the target function interface includes:
acquiring a subscription record of a multimedia collection stored in a local cache;
and converting the subscription record into a binary log format and uploading the binary log format to an external storage end so that the user side can obtain the subscription record from the external storage end.
7. An apparatus for managing a collection of multimedia, the apparatus comprising:
the determining module is configured to determine a target service for providing the user terminal to use from all the services provided by the multimedia collection service terminal;
a creation module configured to create a functional interface for invoking the target service;
a response module configured to respond to a calling operation of a target function interface in the at least one function interface and execute a management operation of a multimedia set according to a target service corresponding to the target function interface; the calling operation is sent by the user side.
8. An electronic device, comprising: a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 6.
9. A computer storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-6.
10. A computer program product comprising a computer program, characterized in that the computer program realizes the method of any of claims 1-6 when executed by a processor.
CN202110513538.2A 2021-05-11 2021-05-11 Multimedia collection management method and device and electronic equipment Pending CN113407740A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110513538.2A CN113407740A (en) 2021-05-11 2021-05-11 Multimedia collection management method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110513538.2A CN113407740A (en) 2021-05-11 2021-05-11 Multimedia collection management method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113407740A true CN113407740A (en) 2021-09-17

Family

ID=77678392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110513538.2A Pending CN113407740A (en) 2021-05-11 2021-05-11 Multimedia collection management method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113407740A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684211B1 (en) * 1998-04-01 2004-01-27 Planetweb, Inc. Multimedia communication and presentation
US20130339180A1 (en) * 2012-03-16 2013-12-19 Ronald Aaron LaPierre Collection creator and organizer for social media
CN103514351A (en) * 2012-06-28 2014-01-15 三星电子(中国)研发中心 Method, device and system for editing multi-media file
CN104866591A (en) * 2015-05-29 2015-08-26 北京金山安全软件有限公司 Video recommendation method and device
CN105117187A (en) * 2015-08-13 2015-12-02 小米科技有限责任公司 Multimedia information display method and apparatus
CN105117186A (en) * 2015-08-13 2015-12-02 小米科技有限责任公司 Multimedia information displaying method and apparatus
US10430838B1 (en) * 2016-06-28 2019-10-01 Snap Inc. Methods and systems for generation, curation, and presentation of media collections with automated advertising
CN110572716A (en) * 2019-09-27 2019-12-13 腾讯科技(深圳)有限公司 Multimedia data playing method, device and storage medium
CN111552551A (en) * 2020-04-27 2020-08-18 深圳壹账通智能科技有限公司 User management method and device based on master-slave system, computer equipment and medium
CN111918085A (en) * 2020-08-06 2020-11-10 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6684211B1 (en) * 1998-04-01 2004-01-27 Planetweb, Inc. Multimedia communication and presentation
US20130339180A1 (en) * 2012-03-16 2013-12-19 Ronald Aaron LaPierre Collection creator and organizer for social media
CN103514351A (en) * 2012-06-28 2014-01-15 三星电子(中国)研发中心 Method, device and system for editing multi-media file
CN104866591A (en) * 2015-05-29 2015-08-26 北京金山安全软件有限公司 Video recommendation method and device
CN105117187A (en) * 2015-08-13 2015-12-02 小米科技有限责任公司 Multimedia information display method and apparatus
CN105117186A (en) * 2015-08-13 2015-12-02 小米科技有限责任公司 Multimedia information displaying method and apparatus
US10430838B1 (en) * 2016-06-28 2019-10-01 Snap Inc. Methods and systems for generation, curation, and presentation of media collections with automated advertising
CN110572716A (en) * 2019-09-27 2019-12-13 腾讯科技(深圳)有限公司 Multimedia data playing method, device and storage medium
CN111552551A (en) * 2020-04-27 2020-08-18 深圳壹账通智能科技有限公司 User management method and device based on master-slave system, computer equipment and medium
CN111918085A (en) * 2020-08-06 2020-11-10 腾讯科技(深圳)有限公司 Live broadcast processing method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107329743B (en) Application page display method and device and storage medium
CN106569800B (en) Front-end interface generation method and device
CN107153541B (en) Browsing interaction processing method and device
CN109657236B (en) Guidance information acquisition method, apparatus, electronic apparatus, and storage medium
CN106547547B (en) data acquisition method and device
CN105373580A (en) Method and device for displaying subjects
CN115062046A (en) Database query method and device, electronic equipment and storage medium
CN107402767B (en) Method and device for displaying push message
US20100260421A1 (en) Tagging method and apparatus of portable terminal
CN115729534A (en) Method for creating and displaying low-code page, device, equipment and medium
CN105468606B (en) Webpage saving method and device
CN111246255B (en) Video recommendation method and device, storage medium, terminal and server
CN112433787A (en) Target object serialization method and device, electronic device and storage medium
CN111695064A (en) Embedded point loading method and device
CN110928854A (en) Data import method and device and electronic equipment
CN111079040A (en) Resource sniffing method, device, terminal, server and storage medium
CN116028568A (en) Financial service data export method and device and electronic equipment
CN113407740A (en) Multimedia collection management method and device and electronic equipment
CN113128181B (en) Information processing method and device
CN114239531A (en) Template recommendation method and device, electronic equipment and storage medium
CN112988822A (en) Data query method, device, equipment, readable storage medium and product
CN112230982A (en) Material processing method and device, electronic equipment and storage medium
CN113378022A (en) In-station search platform, search method and related device
CN110989987A (en) Portal webpage generation method, portal webpage generation device, client, server and storage medium
CN112860625B (en) Data acquisition method, data storage method, device, 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