CN114339442A - Multimedia channel configuration method and device, electronic equipment and storage medium - Google Patents
Multimedia channel configuration method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114339442A CN114339442A CN202111663999.4A CN202111663999A CN114339442A CN 114339442 A CN114339442 A CN 114339442A CN 202111663999 A CN202111663999 A CN 202111663999A CN 114339442 A CN114339442 A CN 114339442A
- Authority
- CN
- China
- Prior art keywords
- multimedia
- channel
- resource
- configuration information
- multimedia channel
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000008676 import Effects 0.000 claims description 41
- 238000004590 computer program Methods 0.000 claims description 8
- 230000004048 modification Effects 0.000 claims description 8
- 238000012986 modification Methods 0.000 claims description 8
- 238000013500 data storage Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 238000012827 research and development Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 238000004880 explosion Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure provides a configuration method and device of a multimedia channel, electronic equipment and a storage medium. The configuration method of the multimedia channel comprises the following steps: acquiring multimedia channel configuration information input by a target account, wherein the multimedia channel configuration information comprises: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained; determining multimedia resources which are not imported into the resource storage system in the multimedia resources corresponding to the acquired resource identification information, acquiring the determined multimedia resources and importing the multimedia resources into the resource storage system; generating channel display configuration data which can be read and used by a client according to the acquired multimedia channel configuration information; sending the channel display configuration data to the client; and when a request for playing the multimedia resources in the at least one multimedia channel by the client is received, reading the multimedia resources requested by the client from the resource storage system and providing the multimedia resources to the client.
Description
Technical Field
The present disclosure relates generally to the field of computers, and more particularly, to a method and apparatus for configuring multimedia channels, an electronic device, and a storage medium.
Background
With the explosion of the multimedia field, multimedia channels can be provided to users through application clients, and a playlist of each multimedia channel can include a plurality of multimedia resources for users to select to play. For example, a main broadcast may play a multimedia asset in a multimedia channel to a viewer (e.g., in auditorium mode) while being live through an application client (e.g., in a live room). The multimedia channel may be up-and-down-lined over time or at an event, for example, a multimedia channel for subject a may be up-and-down-lined during the period of time that the event a is held, and this multimedia channel may provide video assets for a.
If there is a need to adjust multimedia channels, for example, to add a new multimedia channel and add some multimedia resources under the original multimedia channel, research and development personnel are often required to develop the program codes of the application server, which not only causes severe hysteresis in updating due to the need to develop the codes and the online service, but also occupies human resources.
Disclosure of Invention
An exemplary embodiment of the present disclosure is to provide a method, an apparatus, an electronic device, and a storage medium for configuring a multimedia channel, so as to solve at least one of the problems of the related art described above.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for configuring a multimedia channel, including: acquiring multimedia channel configuration information input by a target account, wherein the multimedia channel configuration information comprises: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained; determining multimedia resources which are not imported into a resource storage system in the multimedia resources corresponding to the acquired resource identification information, acquiring the determined multimedia resources and importing the multimedia resources into the resource storage system; generating channel display configuration data which can be read and used by a client according to the acquired multimedia channel configuration information; the channel display configuration data is sent to a client side, so that the client side displays the identification information and the play list of the at least one multimedia channel according to the channel display configuration data; and when a request for playing the multimedia resources in the at least one multimedia channel by the client is received, reading the multimedia resources requested by the client from the resource storage system and providing the multimedia resources to the client.
Optionally, the multimedia channel configuration information further includes: the arrangement sequence of the at least one multimedia channel, the arrangement sequence of the multimedia resources in the play list of each multimedia channel, the identification information of the multimedia resources to be displayed in the play list, and the starting display time and/or the ending display time of each multimedia channel.
Optionally, the step of generating channel presentation configuration data that can be read and used by the client according to the obtained multimedia channel configuration information includes: storing the acquired multimedia channel configuration information to update the currently stored multimedia channel configuration information; and updating the currently stored channel display configuration data based on the updated multimedia channel configuration information.
Optionally, the step of obtaining the multimedia channel configuration information input by the target account includes: displaying currently stored multimedia channel configuration information to a target account; and responding to the modification operation of the target account on the displayed multimedia channel configuration information, and acquiring the multimedia channel configuration information input by the target account.
Optionally, the configuration method further includes: and when the determined multimedia resource is completely imported into the resource storage system, updating the import state information of the imported multimedia resource at this time.
Optionally, the step of determining a multimedia resource that is not imported into the resource storage system from among the multimedia resources corresponding to the acquired resource identification information includes: inquiring the import state information of the multimedia resource corresponding to the acquired resource identification information; and determining the multimedia resources which are not imported into the resource storage system according to the inquired import state information.
Optionally, the configuration method further includes: and when the message processing system monitors the import ending message, determining that the determined multimedia resource is imported into the resource storage system.
Optionally, the step of storing the obtained multimedia channel configuration information comprises: determining whether the version of the currently stored latest multimedia channel configuration information is higher than the version of the multimedia channel configuration information input by the acquired target account; and when the version of the multimedia channel configuration information input by the acquired target account is determined to be less than or equal to the version of the multimedia channel configuration information input by the acquired target account, storing the acquired multimedia channel configuration information.
According to a second aspect of the embodiments of the present disclosure, there is provided a multimedia channel configuration apparatus, including: a configuration information obtaining unit configured to obtain multimedia channel configuration information input by a target account, wherein the multimedia channel configuration information includes: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained; the resource import unit is configured to determine multimedia resources which are not imported into the resource storage system in the multimedia resources corresponding to the acquired resource identification information, acquire the determined multimedia resources and import the multimedia resources into the resource storage system; the display configuration generating unit is configured to generate channel display configuration data which can be read and used by the client according to the acquired multimedia channel configuration information; the display configuration sending unit is configured to send the channel display configuration data to the client so that the client can display the identification information and the playlist of the at least one multimedia channel according to the channel display configuration data; and the resource providing unit is configured to read the multimedia resource requested by the client from the resource storage system and provide the multimedia resource to the client when receiving a playing request of the client for the multimedia resource in the at least one multimedia channel.
Optionally, the multimedia channel configuration information further includes: the arrangement sequence of the at least one multimedia channel, the arrangement sequence of the multimedia resources in the play list of each multimedia channel, the identification information of the multimedia resources to be displayed in the play list, and the starting display time and/or the ending display time of each multimedia channel.
Optionally, the presentation configuration generating unit is configured to: storing the acquired multimedia channel configuration information to update the currently stored multimedia channel configuration information; and updating the currently stored channel display configuration data based on the updated multimedia channel configuration information.
Optionally, the configuration information obtaining unit is configured to: displaying currently stored multimedia channel configuration information to a target account; and responding to the modification operation of the target account on the displayed multimedia channel configuration information, and acquiring the multimedia channel configuration information input by the target account.
Optionally, the resource importing unit is configured to: and when the determined multimedia resource is completely imported into the resource storage system, updating the import state information of the imported multimedia resource at this time.
Optionally, the resource importing unit is configured to: inquiring the import state information of the multimedia resource corresponding to the acquired resource identification information; and determining the multimedia resources which are not imported into the resource storage system according to the inquired import state information.
Optionally, the resource importing unit is configured to: and when the message processing system monitors the import ending message, determining that the determined multimedia resource is imported into the resource storage system.
Optionally, the presentation configuration generating unit is configured to: determining whether the version of the currently stored latest multimedia channel configuration information is higher than the version of the multimedia channel configuration information input by the acquired target account; and when the version of the multimedia channel configuration information input by the acquired target account is determined to be less than or equal to the version of the multimedia channel configuration information input by the acquired target account, storing the acquired multimedia channel configuration information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: at least one processor; at least one memory storing computer-executable instructions, wherein the computer-executable instructions, when executed by the at least one processor, cause the at least one processor to perform a method of configuring a multimedia channel as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by at least one processor, cause the at least one processor to perform the method of configuring a multimedia channel as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by at least one processor, implement the method of configuring a multimedia channel as described above.
According to the configuration method, the configuration device, the electronic equipment and the storage medium of the multimedia channel of the exemplary embodiment of the disclosure, a manner of flexibly configuring the multimedia channel is provided, and the multimedia channel and the multimedia resource under the channel can be conveniently and rapidly configured (for example, by an operator) according to the real-time requirement without developing codes, so that the timeliness of channel configuration is improved, the configuration threshold of the multimedia channel is reduced, the occupation of research and development personnel is reduced, and the configuration flexibility is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 illustrates a flowchart of a configuration method of a multimedia channel according to an exemplary embodiment of the present disclosure;
fig. 2 illustrates an example of a configuration method of multimedia channels according to an exemplary embodiment of the present disclosure;
fig. 3 illustrates another example of a configuration method of a multimedia channel according to an exemplary embodiment of the present disclosure;
fig. 4 illustrates an example of a method of displaying multimedia channels by a client according to an exemplary embodiment of the present disclosure;
fig. 5 illustrates a block diagram of a configuration apparatus of a multimedia channel according to an exemplary embodiment of the present disclosure;
fig. 6 illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In this case, the expression "at least one of the items" in the present disclosure means a case where three types of parallel expressions "any one of the items", "a combination of any plural ones of the items", and "the entirety of the items" are included. For example, "include at least one of a and B" includes the following three cases in parallel: (1) comprises A; (2) comprises B; (3) including a and B. For another example, "at least one of the first step and the second step is performed", which means that the following three cases are juxtaposed: (1) executing the step one; (2) executing the step two; (3) and executing the step one and the step two.
It should be noted that, the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Fig. 1 illustrates a flowchart of a configuration method of a multimedia channel according to an exemplary embodiment of the present disclosure. For example only, the configuration method may be performed by an application server.
Referring to fig. 1, in step S101, multimedia channel configuration information input by a target account is acquired.
As an example, multimedia channel configuration information entered by the target account through a graphical user interface may be obtained.
The multimedia channel configuration information includes, but is not limited to: the multimedia channel display method comprises the following steps of identifying information of at least one multimedia channel and resource identifying information of multimedia resources to be displayed in a play list of each multimedia channel.
As an example, the multimedia channel configuration information may further include at least one of: the arrangement sequence of the at least one multimedia channel, the arrangement sequence of the multimedia resources in the play list of each multimedia channel, the identification information of the multimedia resources to be displayed in the play list, and the starting display time and/or the ending display time of each multimedia channel. Therefore, the target account can conveniently configure multiple aspects of the multimedia channel, and the configuration threshold of the multimedia channel is lowered.
By way of example, the multimedia assets may include, but are not limited to, at least one of the following types: video, audio.
The identification information of the multimedia asset to be displayed in the playlist, i.e. the information for identifying the multimedia asset in the playlist, may include, for example, but is not limited to, at least one of the following: picture, name, label, type, lead actor.
As an example, the identification information of the multimedia channel included in the multimedia channel configuration information may include, but is not limited to, at least one of: name, picture, channel ID, title.
By way of example, the asset identification information of a multimedia asset may include, but is not limited to, an original ID of the multimedia asset.
As an example, currently stored multimedia channel configuration information may be presented to the target account; and in response to the modification operation of the target account (for example, the account of the operator) on the presented multimedia channel configuration information, acquiring the multimedia channel configuration information input by the target account. For example, the latest version of the multimedia channel configuration information it currently stores may be requested from the configuration storage system. The configuration storage system may be used for storage of configurations as well as real-time updates. According to the embodiment, the target account can conveniently configure the multimedia channel without modifying the code, so that the configuration threshold of the multimedia channel is reduced.
As an example, the modification operation on the presented multimedia channel configuration information may include, but is not limited to, at least one of: the method comprises the following steps of adding a multimedia channel, deleting the multimedia channel, adding a multimedia resource to be shown under a play list of the multimedia channel, and deleting the multimedia resource to be shown under the play list of the multimedia channel.
As an example, the multimedia channel configuration information input by the target account may be obtained by the operation back office. For example, the operator may configure a desired multimedia channel, multimedia resources under the multimedia channel, an online time of the multimedia channel, and the like through a graphical user interface (i.e., a front-end interface) provided by the operation back office.
In step S102, a multimedia resource that is not imported into the resource storage system is determined from the multimedia resources corresponding to the acquired resource identification information, and the determined multimedia resource is acquired and imported into the resource storage system. So that the client can acquire the multimedia resources under the play list from the resource storage system for playing.
It should be understood that the present disclosure does not limit the execution sequence of step S102 and step S103, and step S102 needs to be executed before step S104.
In step S103, according to the obtained multimedia channel configuration information, channel display configuration data that can be read and used by the client is generated.
As an example, the acquired multimedia channel configuration information may be stored to update the currently stored multimedia channel configuration information; and updating the currently stored channel display configuration data based on the updated multimedia channel configuration information. For example, the content at the corresponding location in the currently stored channel presentation configuration data may be updated (e.g., replaced) using the updated multimedia channel configuration information. Therefore, the channel display configuration data can be automatically and quickly generated without manually developing codes.
As an example, the obtained multimedia channel configuration information may be saved to a configuration storage system to update the multimedia channel configuration information in the configuration storage system (i.e., the obtained multimedia channel configuration information is replaced with the original version as the latest version of the multimedia channel configuration information). That is, after the configuration operation is completed through the graphical user interface, the update is uploaded and stored in the configuration storage system.
As an example, when the multimedia channel configuration information input by the target account is acquired, it may be determined whether a version of the latest multimedia channel configuration information in the configuration storage system is higher than a version of the multimedia channel configuration information requested from the configuration storage system and displayed to the target account this time; and when the multimedia channel configuration information is determined to be less than or equal to the configuration information, saving the acquired multimedia channel configuration information input by the target account to the configuration storage system. According to the embodiment, dirty writing can be prevented when a plurality of persons modify the multimedia channel configuration information at the same time through the version mechanism.
As an example, it may be determined by a suitable method whether the latest version of the multimedia channel configuration information in the configuration storage system is higher than the version of the multimedia channel configuration information that is currently requested from the configuration storage system and exposed to the target account. For example, when step S101 is executed, the currently stored multimedia channel configuration information and the version number thereof may be requested from the configuration storage system, and the multimedia channel configuration information requested this time is presented to the target account; when step S103 is executed, when the multimedia channel configuration information input by the target account is acquired, requesting the version number of the currently stored multimedia channel configuration information from the configuration storage system again; when the version number requested in step S103 is not greater than the version number requested in step S101, storing the acquired multimedia channel configuration information input by the target account to the configuration storage system, and adding +1 to the version number of the multimedia channel configuration information; otherwise, updating the multimedia channel configuration information fails, the multimedia channel configuration information input by the target account is not stored in the configuration storage system, and the failure of the target account configuration can be prompted.
According to the embodiment of the disclosure, the multimedia channel resources can be configured and stored in the configuration storage system, and the configuration real-time performance is ensured. In addition, the configuration of the multimedia channel and the configuration of the display channel can be isolated, misoperation of operators is prevented, and the stability of the system is improved.
In step S104, the channel display configuration data is sent to the client, so that the client displays the identification information and the playlist of the at least one multimedia channel according to the channel display configuration data.
In step S105, when a request for playing the multimedia resource in the at least one multimedia channel from the client is received, the multimedia resource requested by the client is read from the resource storage system and provided to the client.
As an example, the channel display configuration data may be issued to the client when the client requests to display the multimedia channel.
As an example, presenting a multimedia channel at a client may include: and displaying the identification information of the multimedia channel and a play list thereof, wherein the play list can comprise the identification information of at least one multimedia resource. For example, the identification information of the multimedia channel presented at the client may include, but is not limited to, at least one of: name, picture, channel ID, title. The identification information of the multimedia asset presented at the client may include, but is not limited to, at least one of: picture, name, label, type, lead actor.
As an example, the method for configuring a multimedia channel according to an exemplary embodiment of the present disclosure may further include: and when the determined multimedia resource is completely imported into the resource storage system, updating the import state information of the imported multimedia resource at this time. According to the embodiment, the multimedia resources which are not imported into the resource storage system in the multimedia resources corresponding to the acquired resource identification information can be conveniently and rapidly determined.
As an example, step S102 may include: inquiring the import state information of the multimedia resource corresponding to the acquired resource identification information; and determining the multimedia resources of the non-imported resource storage system according to the inquired import state information. According to the embodiment, the multimedia resources which are not imported into the resource storage system in the multimedia resources corresponding to the acquired resource identification information can be conveniently determined.
As an example, in step S102, the multimedia asset may be read from the other data storage system and stored in the asset storage system according to the original ID of the multimedia asset.
As an example, the import status information of the multimedia asset may be stored in a corresponding database, and the database may further store a corresponding relationship between the original ID of the multimedia asset and the multimedia channel where the multimedia asset is located.
As an example, after the multimedia resource is imported into the resource storage system, another ID of the multimedia resource for the resource storage system can be obtained, and the corresponding relationship among the original ID of the multimedia resource, the another ID and the multimedia channel where the multimedia resource is located can be stored in the database. When the client requests the multimedia resource through the original ID of the multimedia resource, the server can acquire the other ID corresponding to the original ID of the multimedia resource through the database so as to read the multimedia resource from the resource storage system by using the other ID.
As an example, multimedia assets that are not imported into the asset storage system among the multimedia assets corresponding to the acquired asset identification information may be determined in various suitable manners. For example, resource identification information of the multimedia resources to be presented in the playlist may be requested from the configuration storage system; then, inquiring the import state information of the corresponding multimedia resource according to the resource identification information requested; and then, importing the multimedia resources which are determined based on the import state information of the multimedia resources and are not imported into the resource storage system.
As an example, resource identification information for a multimedia resource in a current latest version of multimedia channel configuration information may be requested from the configuration storage system. As an example, the import status information for a multimedia asset may be queried from a database for storing the import status information for the multimedia asset. As an example, a multimedia resource that does not have import success status information among multimedia resources involved in the current latest version of multimedia channel configuration information may be determined as a multimedia resource of the un-imported resource storage system.
As an example, the step of acquiring the determined multimedia resources not imported into the resource storage system and importing into the resource storage system may be performed by a timing synchronization task, or the step of acquiring the determined multimedia resources not imported into the resource storage system and importing into the resource storage system may be performed each time the multimedia channel configuration information in the configuration storage system is updated. For example, the timing synchronization task may periodically request resource identification information of the multimedia resource in the current latest version of the multimedia channel configuration information from the configuration storage system; then, inquiring the import state information of the multimedia resource according to the resource identification information of the multimedia resource requested; and then, importing the multimedia resources which are determined based on the import state information of the multimedia resources and are not imported into the resource storage system.
As an example, when an import end message is heard through the message processing system, it may be determined that the determined multimedia resource is imported to the resource storage system. Therefore, whether the multimedia resource import is finished or not can be conveniently judged. For example, when an import end message is listened to by the kafka consumer, the import is determined to be complete. That is, according to the present embodiment, the kafka consumer is used to listen to the import of the multimedia resource and update the configuration resource at that time.
Fig. 2 and 3 illustrate examples of a configuration method of a multimedia channel according to an exemplary embodiment of the present disclosure.
As shown in fig. 2 and 3, when a request for configuring a multimedia channel is received, a current version of multimedia channel configuration information and a version number thereof may be acquired from a configuration storage system, and the multimedia channel configuration information may be presented through a graphical user interface in step S201. For example, when the background receives a request for configuring a multimedia channel, the background may obtain the current version of the multimedia channel configuration information and its version number from the configuration storage system, and present the multimedia channel configuration information through the graphical user interface. For example, the multimedia channel configuration information may be presented in the form of a Web page.
In step S202, the multimedia channel configuration information input by the target account is obtained according to the modification operation of the target account of the operator on the displayed multimedia channel configuration information in the graphical user interface.
In step S203, when the multimedia channel configuration information configured through the graphical user interface is acquired, the version number of the latest version of the multimedia channel configuration information currently stored therein is requested from the configuration storage system. For example, when the background obtains the multimedia channel configuration information configured through the graphical user interface, the background may request the version number of the latest version of the multimedia channel configuration information currently stored by the background from the configuration storage system.
In step S204, when the version number requested in step S203 is less than or equal to the version number requested in step S201, the acquired multimedia channel configuration information configured through the graphical user interface is saved to the configuration storage system, and the version number +1 of the multimedia channel configuration information is set. Otherwise, the update configuration fails.
In step S205, resource identification information (e.g., a photo id) of the multimedia resource in the current latest version of the multimedia channel configuration information may be requested from the configuration storage system. For example, resource identification information of a multimedia resource in the current latest version of multimedia channel configuration information may be requested from the configuration storage system by a timing synchronization task.
In step S206, the import status information of the multimedia resource is queried from the database according to the resource identification information of the multimedia resource.
In step S207, a multimedia resource that is determined based on the import status information of the multimedia resource and is not imported to a resource storage system (e.g., a resource middle station) is acquired from another data storage system (e.g., a main station).
In step S208, when the multimedia resource of the non-imported resource storage system is acquired from another data storage system, the resource identification information of the multimedia resource of the non-imported resource storage system and the identification information of the corresponding multimedia channel (for example, the ID of the multimedia channel) are saved in a database.
In step S209, the multimedia resource that is not imported into the resource storage system is imported into the resource storage system.
In step S210, when the kafka consumer monitors the import end message, the import status information of the imported multimedia resource is updated, and the resource identification information of the multimedia resource and the identification information of the corresponding multimedia channel are bound in the database.
Fig. 4 illustrates an example of a method of displaying multimedia channels by a client according to an exemplary embodiment of the present disclosure.
As shown in fig. 4, in step S301, when the client needs to display the multimedia channel, the currently validated channel presentation configuration data for presenting the multimedia channel may be requested from the configuration storage system through the API interface to be sent to the client, so as to display the multimedia channel on the client. For example, the multimedia channel identification information and its multimedia playlist are displayed.
In step S302, when the client needs to play a multimedia asset in the multimedia playlist of the multimedia channel, the identification information of the multimedia asset may be requested from the configuration storage system through the API interface, so that the multimedia asset is requested from the asset storage system through the identification information of the multimedia asset. For example, the method may request the photosid of the multimedia resource from the configuration storage system, then request the resource identification information (e.g., ztphotosoid) of the multimedia resource in the resource storage system corresponding to the photosid from the photosid to the database, and send the resource identification information to the client, and the client may request the corresponding multimedia resource from the resource storage system according to the ztphotosoid.
As an example, when the client requests to display the multimedia channel through the API interface, the API interface may request the channel display configuration data from the configuration storage system, and may determine the starting display time, the ending display time, and the current time of the multimedia channel, and only if the current time is within the effective time range of the multimedia channel, the channel display configuration data of the multimedia channel is issued.
Fig. 5 illustrates a block diagram of a configuration apparatus of a multimedia channel according to an exemplary embodiment of the present disclosure.
Referring to fig. 5, the configuration apparatus 10 of a multimedia channel according to an exemplary embodiment of the present disclosure includes: configuration information acquisition section 101, resource import section 102, presentation configuration generation section 103, presentation configuration transmission section 104, and resource providing section 105.
Specifically, the configuration information obtaining unit 101 is configured to obtain multimedia channel configuration information input by a target account, where the multimedia channel configuration information includes: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained;
the resource importing unit 102 is configured to determine a multimedia resource that is not imported into the resource storage system among the multimedia resources corresponding to the acquired resource identification information, acquire the determined multimedia resource, and import the determined multimedia resource into the resource storage system;
the display configuration generating unit 103 is configured to generate channel display configuration data that can be read and used by the client according to the acquired multimedia channel configuration information;
the display configuration sending unit 104 is configured to send the channel display configuration data to the client, so that the client displays the identification information and the playlist of the at least one multimedia channel according to the channel display configuration data;
the resource providing unit 105 is configured to, upon receiving a request from a client to play a multimedia resource in the at least one multimedia channel, read the multimedia resource requested by the client from the resource storage system and provide the multimedia resource to the client.
As an example, the multimedia channel configuration information may further include: the arrangement sequence of the at least one multimedia channel, the arrangement sequence of the multimedia resources in the play list of each multimedia channel, the identification information of the multimedia resources to be displayed in the play list, and the starting display time and/or the ending display time of each multimedia channel.
As an example, the presentation configuration generation unit 103 may be configured to: storing the acquired multimedia channel configuration information to update the currently stored multimedia channel configuration information; and updating the currently stored channel display configuration data based on the updated multimedia channel configuration information.
As an example, the configuration information acquisition unit 101 may be configured to: displaying currently stored multimedia channel configuration information to a target account; and responding to the modification operation of the target account on the displayed multimedia channel configuration information, and acquiring the multimedia channel configuration information input by the target account.
As an example, the resource importing unit 102 may be configured to: and when the determined multimedia resource is completely imported into the resource storage system, updating the import state information of the imported multimedia resource at this time.
As an example, the resource importing unit 102 may be configured to: inquiring the import state information of the multimedia resource corresponding to the acquired resource identification information; and determining the multimedia resources which are not imported into the resource storage system according to the inquired import state information.
As an example, the resource importing unit 102 may be configured to: and when the message processing system monitors the import ending message, determining that the determined multimedia resource is imported into the resource storage system.
As an example, the presentation configuration generation unit 103 may be configured to: determining whether the version of the currently stored latest multimedia channel configuration information is higher than the version of the multimedia channel configuration information input by the acquired target account; and when the version of the multimedia channel configuration information input by the acquired target account is determined to be less than or equal to the version of the multimedia channel configuration information input by the acquired target account, storing the acquired multimedia channel configuration information.
The specific way in which the respective units perform operations has been described in detail in the embodiments related to the method with respect to the configuration apparatus 10 of multimedia channels in the above-described embodiments, and will not be elaborated upon here.
Further, it should be understood that the respective units in the configuration apparatus 10 of multimedia channels according to the exemplary embodiments of the present disclosure may be implemented as hardware components and/or software components. The individual units may be implemented, for example, using Field Programmable Gate Arrays (FPGAs) or Application Specific Integrated Circuits (ASICs), depending on the processing performed by the individual units as defined by the skilled person.
Fig. 6 illustrates a block diagram of an electronic device according to an exemplary embodiment of the present disclosure. Referring to fig. 6, the electronic device 20 includes: at least one memory 201 and at least one processor 202, said at least one memory 201 having stored therein a set of computer-executable instructions, which when executed by the at least one processor 202, performs the method of configuring multimedia channels as described in the above exemplary embodiments.
By way of example, the electronic device 20 may be a PC computer, tablet device, personal digital assistant, smart phone, or other device capable of executing the set of instructions described above. The electronic device 20 need not be a single electronic device, but can be any collection of devices or circuits that can execute the above instructions (or sets of instructions) individually or in combination. The electronic device 20 may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In the electronic device 20, the processor 202 may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processor 202 may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, or the like.
The processor 202 may execute instructions or code stored in the memory 201, wherein the memory 201 may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
In addition, the electronic device 20 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device 20 may be connected to each other via a bus and/or a network.
According to an exemplary embodiment of the present disclosure, there may also be provided a computer-readable storage medium storing instructions, which when executed by at least one processor, cause the at least one processor to perform the configuration method of multimedia channels as described in the above exemplary embodiment. Examples of the computer-readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD + RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD + RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or compact disc memory, Hard Disk Drive (HDD), solid-state drive (SSD), card-type memory (such as a multimedia card, a Secure Digital (SD) card or a extreme digital (XD) card), magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a magnetic tape, a magneto-optical data storage device, a hard disk, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, A solid state disk, and any other device configured to store and provide a computer program and any associated data, data files, and data structures to a processor or computer in a non-transitory manner such that the processor or computer can execute the computer program. The computer program in the computer-readable storage medium described above can be run in an environment deployed in a computer apparatus, such as a client, a host, a proxy device, a server, and the like, and further, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an exemplary embodiment of the present disclosure, there may also be provided a computer program product, in which instructions are executable by at least one processor to perform the method of configuring a multimedia channel as described in the above exemplary embodiment.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.
Claims (10)
1. A method for configuring multimedia channels, comprising:
acquiring multimedia channel configuration information input by a target account, wherein the multimedia channel configuration information comprises: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained;
determining multimedia resources which are not imported into a resource storage system in the multimedia resources corresponding to the acquired resource identification information, acquiring the determined multimedia resources and importing the multimedia resources into the resource storage system;
generating channel display configuration data which can be read and used by a client according to the acquired multimedia channel configuration information;
the channel display configuration data is sent to a client side, so that the client side displays the identification information and the play list of the at least one multimedia channel according to the channel display configuration data;
and when a request for playing the multimedia resources in the at least one multimedia channel by the client is received, reading the multimedia resources requested by the client from the resource storage system and providing the multimedia resources to the client.
2. The method of claim 1, wherein the multimedia channel configuration information further comprises: the arrangement sequence of the at least one multimedia channel, the arrangement sequence of the multimedia resources in the play list of each multimedia channel, the identification information of the multimedia resources to be displayed in the play list, and the starting display time and/or the ending display time of each multimedia channel.
3. The method according to claim 1, wherein the step of generating channel display configuration data readable by the client according to the obtained multimedia channel configuration information comprises:
storing the acquired multimedia channel configuration information to update the currently stored multimedia channel configuration information;
and updating the currently stored channel display configuration data based on the updated multimedia channel configuration information.
4. The method according to claim 3, wherein the step of obtaining the multimedia channel configuration information inputted by the target account comprises:
displaying currently stored multimedia channel configuration information to a target account;
and responding to the modification operation of the target account on the displayed multimedia channel configuration information, and acquiring the multimedia channel configuration information input by the target account.
5. The configuration method according to claim 1, further comprising:
and when the determined multimedia resource is completely imported into the resource storage system, updating the import state information of the imported multimedia resource at this time.
6. The method according to claim 5, wherein the step of determining the multimedia resources that are not imported into the resource storage system from among the multimedia resources corresponding to the acquired resource identification information comprises:
inquiring the import state information of the multimedia resource corresponding to the acquired resource identification information;
and determining the multimedia resources which are not imported into the resource storage system according to the inquired import state information.
7. An apparatus for configuring multimedia channels, comprising:
a configuration information obtaining unit configured to obtain multimedia channel configuration information input by a target account, wherein the multimedia channel configuration information includes: the method comprises the steps that identification information of at least one multimedia channel and resource identification information of multimedia resources needing to be displayed in a play list of each multimedia channel are obtained;
the resource import unit is configured to determine multimedia resources which are not imported into the resource storage system in the multimedia resources corresponding to the acquired resource identification information, acquire the determined multimedia resources and import the multimedia resources into the resource storage system;
the display configuration generating unit is configured to generate channel display configuration data which can be read and used by the client according to the acquired multimedia channel configuration information;
the display configuration sending unit is configured to send the channel display configuration data to the client so that the client can display the identification information and the playlist of the at least one multimedia channel according to the channel display configuration data;
and the resource providing unit is configured to read the multimedia resource requested by the client from the resource storage system and provide the multimedia resource to the client when receiving a playing request of the client for the multimedia resource in the at least one multimedia channel.
8. An electronic device, comprising:
at least one processor;
at least one memory storing computer-executable instructions,
wherein the computer-executable instructions, when executed by the at least one processor, cause the at least one processor to perform the method of configuring a multimedia channel of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform the method of configuring multimedia channels of any of claims 1 to 6.
10. A computer program product comprising computer instructions, characterized in that said computer instructions, when executed by at least one processor, implement the method of configuring a multimedia channel according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111663999.4A CN114339442B (en) | 2021-12-31 | 2021-12-31 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111663999.4A CN114339442B (en) | 2021-12-31 | 2021-12-31 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114339442A true CN114339442A (en) | 2022-04-12 |
CN114339442B CN114339442B (en) | 2023-11-07 |
Family
ID=81020393
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111663999.4A Active CN114339442B (en) | 2021-12-31 | 2021-12-31 | Method and device for configuring multimedia channels, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114339442B (en) |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030132953A1 (en) * | 2002-01-16 | 2003-07-17 | Johnson Bruce Alan | Data preparation for media browsing |
KR100742347B1 (en) * | 2006-01-31 | 2007-07-25 | 삼성전자주식회사 | Channel searching cancel method of digital multimedia broadcasting receiver |
CN103686317A (en) * | 2013-11-26 | 2014-03-26 | 小米科技有限责任公司 | Method and device for playing television channels |
CN104038825A (en) * | 2013-03-07 | 2014-09-10 | 纬创资通股份有限公司 | Virtual channel management method and network multimedia reproduction system |
CN104572952A (en) * | 2014-12-29 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Identification method and device for live multi-media files |
CN107872685A (en) * | 2017-11-20 | 2018-04-03 | 珠海市魅族科技有限公司 | A kind of player method of multi-medium data, device and computer installation |
CN108549673A (en) * | 2018-03-29 | 2018-09-18 | 优视科技有限公司 | Pre-add support method, client, server and the network system of web page resources |
CN109302385A (en) * | 2018-09-07 | 2019-02-01 | 广州酷狗计算机科技有限公司 | Multimedia resource sharing method, device and storage medium |
CN109446353A (en) * | 2011-08-18 | 2019-03-08 | 苹果公司 | The management of local and remote media item |
CN109656599A (en) * | 2018-12-28 | 2019-04-19 | 苏州思必驰信息科技有限公司 | The method and system updated for client release |
CN111078275A (en) * | 2019-12-17 | 2020-04-28 | 捷开通讯(深圳)有限公司 | Resource allocation method, device, storage medium and server |
CN111638832A (en) * | 2020-04-23 | 2020-09-08 | 北京达佳互联信息技术有限公司 | Information display method, device, system, electronic equipment and storage medium |
CN111711560A (en) * | 2016-01-21 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Resource message generation and resource acquisition method, device, equipment and storage medium |
CN112131410A (en) * | 2020-09-18 | 2020-12-25 | 北京达佳互联信息技术有限公司 | Multimedia resource display method, device, system and storage medium |
CN112149019A (en) * | 2020-09-15 | 2020-12-29 | 北京字节跳动网络技术有限公司 | Method, apparatus, electronic device, and computer-readable medium for displaying information |
CN113094523A (en) * | 2021-03-19 | 2021-07-09 | 北京达佳互联信息技术有限公司 | Resource information acquisition method and device, electronic equipment and storage medium |
CN113420167A (en) * | 2021-05-14 | 2021-09-21 | 北京达佳互联信息技术有限公司 | Multimedia resource processing method and device, electronic equipment and storage medium |
CN113434585A (en) * | 2021-06-29 | 2021-09-24 | 中国联合网络通信集团有限公司 | Resource saving method and equipment |
CN113628097A (en) * | 2020-05-09 | 2021-11-09 | 北京字节跳动网络技术有限公司 | Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment |
CN113743979A (en) * | 2021-07-26 | 2021-12-03 | 山东赤子城网络技术有限公司 | Virtual resource allocation method and device, computer equipment and storage medium |
CN113760536A (en) * | 2021-03-25 | 2021-12-07 | 北京京东拓先科技有限公司 | Data caching method and device, electronic equipment and computer readable medium |
-
2021
- 2021-12-31 CN CN202111663999.4A patent/CN114339442B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030132953A1 (en) * | 2002-01-16 | 2003-07-17 | Johnson Bruce Alan | Data preparation for media browsing |
KR100742347B1 (en) * | 2006-01-31 | 2007-07-25 | 삼성전자주식회사 | Channel searching cancel method of digital multimedia broadcasting receiver |
CN109446353A (en) * | 2011-08-18 | 2019-03-08 | 苹果公司 | The management of local and remote media item |
CN104038825A (en) * | 2013-03-07 | 2014-09-10 | 纬创资通股份有限公司 | Virtual channel management method and network multimedia reproduction system |
CN103686317A (en) * | 2013-11-26 | 2014-03-26 | 小米科技有限责任公司 | Method and device for playing television channels |
CN104572952A (en) * | 2014-12-29 | 2015-04-29 | 乐视网信息技术(北京)股份有限公司 | Identification method and device for live multi-media files |
CN111711560A (en) * | 2016-01-21 | 2020-09-25 | 腾讯科技(深圳)有限公司 | Resource message generation and resource acquisition method, device, equipment and storage medium |
CN107872685A (en) * | 2017-11-20 | 2018-04-03 | 珠海市魅族科技有限公司 | A kind of player method of multi-medium data, device and computer installation |
CN108549673A (en) * | 2018-03-29 | 2018-09-18 | 优视科技有限公司 | Pre-add support method, client, server and the network system of web page resources |
CN109302385A (en) * | 2018-09-07 | 2019-02-01 | 广州酷狗计算机科技有限公司 | Multimedia resource sharing method, device and storage medium |
CN109656599A (en) * | 2018-12-28 | 2019-04-19 | 苏州思必驰信息科技有限公司 | The method and system updated for client release |
CN111078275A (en) * | 2019-12-17 | 2020-04-28 | 捷开通讯(深圳)有限公司 | Resource allocation method, device, storage medium and server |
CN111638832A (en) * | 2020-04-23 | 2020-09-08 | 北京达佳互联信息技术有限公司 | Information display method, device, system, electronic equipment and storage medium |
CN113628097A (en) * | 2020-05-09 | 2021-11-09 | 北京字节跳动网络技术有限公司 | Image special effect configuration method, image recognition method, image special effect configuration device and electronic equipment |
CN112149019A (en) * | 2020-09-15 | 2020-12-29 | 北京字节跳动网络技术有限公司 | Method, apparatus, electronic device, and computer-readable medium for displaying information |
CN112131410A (en) * | 2020-09-18 | 2020-12-25 | 北京达佳互联信息技术有限公司 | Multimedia resource display method, device, system and storage medium |
CN113094523A (en) * | 2021-03-19 | 2021-07-09 | 北京达佳互联信息技术有限公司 | Resource information acquisition method and device, electronic equipment and storage medium |
CN113760536A (en) * | 2021-03-25 | 2021-12-07 | 北京京东拓先科技有限公司 | Data caching method and device, electronic equipment and computer readable medium |
CN113420167A (en) * | 2021-05-14 | 2021-09-21 | 北京达佳互联信息技术有限公司 | Multimedia resource processing method and device, electronic equipment and storage medium |
CN113434585A (en) * | 2021-06-29 | 2021-09-24 | 中国联合网络通信集团有限公司 | Resource saving method and equipment |
CN113743979A (en) * | 2021-07-26 | 2021-12-03 | 山东赤子城网络技术有限公司 | Virtual resource allocation method and device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114339442B (en) | 2023-11-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9747583B2 (en) | Presenting entity profile information to a user of a computing device | |
CN110807710A (en) | Method and system for managing invitation data of user inviting friends | |
US20090248596A1 (en) | Configuration information management apparatus, configuration information management program, and configuration information management method | |
CN107665141B (en) | Database configuration method and equipment thereof | |
JP2020107347A (en) | Methods and apparatuses for storing file path and accessing local file | |
CN113613055A (en) | Information display method and device, electronic equipment and storage medium | |
CN114115623A (en) | Information display method and device and information transmission method and device | |
CN108196902A (en) | For showing the method and apparatus for advertisement of spreading its tail | |
CN113873288A (en) | Method and device for generating playback in live broadcast process | |
US20240015201A1 (en) | Connected cloud applications | |
EP4035103A1 (en) | File sharing aliasing service | |
CN107480269B (en) | Object display method and system, medium and computing equipment | |
CN110647331A (en) | Development tool acquisition method and device, storage medium and electronic equipment | |
CN114339442B (en) | Method and device for configuring multimedia channels, electronic equipment and storage medium | |
CN102984193A (en) | Reception terminal, information processing method, server, transmission terminal, and information processing system | |
CN113365088B (en) | Data processing method, data processing apparatus, electronic device, storage medium, and program product | |
US9087127B1 (en) | Method for providing an integrated video module | |
CN112256654B (en) | Document sharing method and device | |
CN115373831A (en) | Data processing method, device and computer readable storage medium | |
CN114997124A (en) | Table content processing method, device, equipment and storage medium | |
CN116009740A (en) | Content sharing method, device, computer equipment and storage medium | |
JP6114236B2 (en) | Terminal device, electronic magazine creation system, electronic magazine creation method, and computer program | |
CN115277617B (en) | Information processing method and apparatus, electronic device, and computer-readable storage medium | |
CN114339329B (en) | Program playing method and device, electronic equipment and storage medium | |
CN112905427B (en) | Data processing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |