Media content display method and device, equipment, storage medium and product

By determining the target feature moment in real time in the media content display page and dynamically controlling the switching timing of media content, the problem of fixed switching timing of media content in the prior art is solved, and the flexible matching of audio features and media content is achieved, and the viewing experience is improved.

CN119537618AActive Publication Date: 2025-02-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411596795.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2022-06-28
Publication Date
2025-02-28
Estimated Expiration
2042-06-28

AI Technical Summary

Technical Problem

When the existing media content display solution plays audio, the switching timing of media content is fixed, and the audio characteristics of the audio cannot be flexibly matched, resulting in poor viewing experience.

Method used

By determining the target feature moment in real time in the preset display page, dynamically control the switching timing of media content based on the current playback progress of the preset audio and the associated feature time information to match the audio features.

Benefits of technology

It realizes the switching of media content to match the audio characteristics more flexibly, achieves the display effect of real-time card points, and improves the viewing experience of media works.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119537618A_ABST
    Figure CN119537618A_ABST
Patent Text Reader

Abstract

The invention is a divisional application of 202210749375.2. The embodiment of the invention discloses a media content display method, device and equipment, a storage medium and a product, and relates to the technical field of computers. The method comprises the following steps: displaying current media content in a target media work comprising a preset audio and a plurality of media contents in a preset display page, and playing the preset audio, a characteristic moment comprising a time point when an audio characteristic in the preset audio meets a preset condition, the target feature moment is the feature moment of the next media content to be played under the current playing progress of the preset audio, responding to the fact that the target media work is in an automatic switching mode, and when the playing progress of the preset audio reaches the target feature moment, playing the next media content. And controlling the preset display page to be automatically switched from displaying the current media content to displaying the next media content, so that the switching of the media content is more flexibly matched with the audio characteristics of the audio, a real-time sticking point display effect can be achieved, and the watching experience of media works is improved.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202210749375.2, the application date is June 28, 2022, and the name of the invention is "Media content display method, device, equipment and storage medium". Technical Field

[0002] The embodiments of the present disclosure relate to the field of computer technology, and in particular to a method, apparatus, device, storage medium, and product for displaying media content. Background Art

[0003] With the continuous development of Internet technology, applications (APP) can display a variety of media content to users, and different users can share their works with each other in the form of publishing media content such as pictures or videos.

[0004] Currently, media works are loved by many users as a form of work. Media works may include audio and multiple pictures. When displaying the works, the pictures are displayed in sequence at fixed time intervals while the audio is playing. Summary of the invention

[0005] The embodiments of the present disclosure provide a media content display method, apparatus, storage medium, device, and product, which can optimize existing media content display solutions.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for displaying media content, including:

[0007] Displaying the current media content in the target media work on a preset display page and playing the preset audio, wherein the target media work includes the preset audio and a plurality of media contents, and the media contents include pictures and / or videos;

[0008] Determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played by the preset audio at the current playback progress;

[0009] When the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0010] In a second aspect, the embodiments of the present disclosure further provide a media content display device, including:

[0011] A media content display module, used to display the current media content in the target media work in a preset display page and play the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos;

[0012] A target characteristic moment determination module, configured to determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played by the preset audio at the current playback progress;

[0013] The media content switching module is used to control the preset display page to switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic moment.

[0014] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0015] one or more processors;

[0016] a storage device for storing one or more programs,

[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.

[0018] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the media content display method provided by an embodiment of the present disclosure.

[0019] The media content display scheme provided by the disclosed embodiment displays the current media content in the target media work including preset audio and multiple media contents in a preset display page, plays the preset audio, and determines the target characteristic moment according to the current playback progress of the preset audio and the characteristic moment information associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played at the current playback progress of the preset audio, and when the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to automatically switch from displaying the current media content to displaying the next media content. By adopting the above technical scheme, in the process of displaying media works, the switching timing of the media content is dynamically determined according to the characteristic moment that is not played in the preset audio, so that the switching of the media content can more flexibly match the audio features of the audio, and the display effect of real-time card points can be achieved, thereby improving the viewing experience of the media works. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0021] Figure 1 A flowchart of a media content display method provided by an embodiment of the present disclosure;

[0022] Figure 2 A flowchart of a media content display method provided by an embodiment of the present disclosure;

[0023] Figure 3 A schematic diagram of an interface interaction provided by an embodiment of the present disclosure;

[0024] Figure 4 A schematic diagram of another interface interaction provided by an embodiment of the present disclosure;

[0025] Figure 5 A schematic diagram of the structure of a media content display device provided by an embodiment of the present disclosure;

[0026] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0028] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0029] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0030] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0031] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0032] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0033] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0034] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0035] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0036] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0037] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0038] Figure 1 A flow chart of a media content display method provided in an embodiment of the present disclosure is provided. The embodiment of the present disclosure is applicable to situations in which media content is displayed. The method can be executed by a media content display device, which can be implemented in the form of software and / or hardware. Optionally, it can be implemented by an electronic device, which can be a mobile terminal such as a mobile phone, a smart watch, a tablet computer, and a personal digital assistant, or a device such as a personal computer (PC) or a server.

[0039] like Figure 1 As shown, the method includes:

[0040] Step 101: display the current media content in the target media work in a preset display page, and play the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos.

[0041] In the disclosed embodiment, the preset display page may be a page in a preset application. The preset application may provide a media work display function and a media work publishing function, that is, a user may view the media works created by himself or others in the preset application, and may also publish the media works created by himself in the preset application. The media work includes audio and multiple media contents. The media contents may include pictures or videos. The video here may be understood as a continuous multi-frame video image, which may also be called a video clip. For example, the media work may include audio and multiple pictures, which may be called a picture work; may include audio and multiple (segment) videos, which may be called a multi-segment video work; may include audio, at least one picture and at least one video, which may be called a mixed work. Among them, the picture or the video frame of the video may contain image content and / or text content, etc. Multiple media contents may constitute a media content set, and the content display order of each media content in the media content set may be preset, that is, the multiple media contents in the target media work are arranged in a preset order. It is understandable that after the multiple media contents in the target media work are played, the first media content may be played again. The images in the media works can be stored in the image format, the videos can be stored in the video file format, and the audio can be stored in the audio file format, which can generally be stored in the server corresponding to the preset application or locally on the electronic device.

[0042] In the disclosed embodiment, the current media content in the target media work is displayed in the preset display page. The target media work can be understood as the media work currently being displayed in the preset display page. The current media content can be understood as the media content currently being displayed in the preset display page, which can be a picture or a video, and specifically can be any media content in the target media work. While displaying the current media content, the preset audio is played. The preset audio is the audio included in the target media work, which can be understood as the background music of the media content. Among them, the target media work can include the media work to be released and / or the released media work.

[0043] Step 102: determine the target characteristic moment in real time based on the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment when the next media content to be played by the preset audio under the current playback progress.

[0044] For example, in a preset display page, if it is in automatic switching mode, each media content can be automatically displayed in sequence according to the content display order corresponding to the target media work. It can be a single round of display (each media content is displayed once), or it can be a multi-round loop playback (after each media content is displayed once, it will be displayed in sequence starting from the first media content), etc.

[0045] In the related art, in the automatic switching mode, when displaying media content, the duration of a single display of each media content can be set by the default setting of the preset application or by the creator (that is, the user who created the media content work), that is, before the display, the duration has been set and is generally evenly distributed, that is, the duration of a single display of each media content is generally equal. Taking a picture work as an example, assuming that it contains 4 pictures, respectively recorded as picture a, picture b, picture c and picture d, and the picture work also contains audio e, and the display time of each picture is 2 seconds, then when the picture work starts to be displayed, audio e is played and picture a is displayed. After the display time of picture a reaches 2 seconds, it automatically switches to display picture b. After the display time of picture b reaches 2 seconds, it automatically switches to display picture c, and so on, until the display of the picture work is exited. It can be seen that the switching timing of the picture is determined based on whether the display time reaches the specified time, and has nothing to do with the audio, that is, the media content and audio are separated, and the viewing experience is not good.

[0046] In the embodiment of the present disclosure, before switching media content, the next switching time can be dynamically determined based on the current playback progress of the preset audio and the characteristic moment information associated with the preset audio. The characteristic moment point of the music playback corresponding to each media content will vary with the user's playback control operations on the target media work, so that the switching of media content can more flexibly match the audio characteristics of the audio.

[0047] Exemplarily, the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition. Among them, the audio feature in the preset audio may include at least one feature of decibel, frequency, tone, intensity, pitch, amplitude and rhythm included in the preset audio, without specific limitation. The preset condition can be set according to actual needs. For example, the preset condition can be set according to the change of the audio feature, or the preset condition can be set according to whether the value of the audio feature is within a preset range. For example, the audio feature can be intensity or rhythm, and the characteristic moment may include the moment of the accent. The accent can be understood as a sound with a greater intensity in the music, which is the main note that constitutes the rhythm. The accent may include a force accent expressed by increasing the intensity and a melody accent expressed by a change in pitch, etc. The moment of the accent may also be called a rhythm point.

[0048] Exemplarily, after determining the preset audio, the preset audio can be analyzed to determine the multiple characteristic moments contained therein to obtain characteristic moment information, and the characteristic moment information can include multiple characteristic moments arranged in the order of playback. Among them, the characteristic moment can be quantified based on the start and end time of the preset audio. For example, a certain characteristic moment appears at the 1st minute and 20th second in the preset audio, and the characteristic moment can be recorded as 1 minute and 20 seconds. The process of determining the characteristic moment information can be performed before the target media work begins to be displayed. When creating a media work, the creator can select the preset audio from the audio library provided by the server of the preset application, or upload the preset audio from the local electronic device. For the audio in the audio library, the characteristic moment information corresponding to each audio can be obtained by pre-analysis (which can be stored in the configuration file), and stored in association with the corresponding audio for the creator to choose; for the audio uploaded by the creator, the preset application or the corresponding server can analyze the audio selected by the user, and generate characteristic moment information (which can be stored in the configuration file), and associate the generated characteristic moment information with the selected audio. When it is necessary to display the media work (including preview display before release), the server can send the characteristic moment information to the preset application. Of course, the characteristic moment of the preset audio can also be dynamically analyzed during the display of the target media work to obtain the characteristic moment information, which is not specifically limited. It is understandable that when editing the target media work, a switch for automatic music card points can be provided in the editing panel for the creator to choose whether to turn it on. At the same time, it depends on the type of audio features used to determine the characteristic moment point selected by the creator.

[0049] Optionally, in the case where the creator selects preset audio from the audio library, the associated information of the feature moment information can be displayed in the associated area of ​​the option of the alternative audio in the audio library (such as the right side of the option), where the associated information can be, for example, the time interval between every two adjacent feature moments, or the statistical value of the time interval (such as an average value, etc.), which is beneficial for the creator to quickly estimate the rhythm and other related information (such as a slow rhythm or a cheerful rhythm, etc.) of the alternative audio based on the associated information, so that the creator can quickly select audio that is highly matched with his or her own media content, thereby improving the efficiency and accuracy of audio selection and providing convenience for the creator's creation.

[0050] Exemplarily, the current playback progress of the preset audio can be understood as the current playback position in the preset audio. For example, if the preset audio is currently played to the 1st minute and 17th second, the current playback progress can be 1 minute and 17 seconds. According to the current playback progress and the characteristic moment information, the target characteristic moment for media content switching can be determined. The target characteristic moment is the characteristic moment of the next media content to be played at the current playback progress of the preset audio, which can be the Nth (N is a positive integer greater than 1) characteristic moment to be played. Among them, N can be a pre-set fixed value or a dynamically determined value. For example, when the current media content is a picture, N is a fixed value, such as 1, that is, the corresponding target characteristic moment can be the next characteristic moment of the preset audio to be played at the current playback progress; for another example, when the current media content is a video, N is a dynamically determined value, which can be determined according to the video length, that is, the corresponding target characteristic moment is determined according to the video length of the current media content.

[0051] For example, the current media content is a picture, and the corresponding target characteristic moment is the next characteristic moment to be played in the preset audio. The first characteristic moment after 1 minute 17 seconds is 1 minute 20 seconds, so the target characteristic moment is determined to be 1 minute 20 seconds.

[0052] Step 103: When the playback progress of the preset audio reaches the target characteristic moment, control the preset display page to switch from displaying the current media content to displaying the next media content.

[0053] For example, after determining the target feature moment, the current media content can continue to be displayed and the preset audio can continue to be played, and the playback progress of the preset audio can be detected in real time. When the playback progress reaches the target feature moment, the switching of the media content is triggered, that is, the preset display page automatically switches from displaying the current media content to displaying the next media content.

[0054] The media content display method provided by the embodiment of the present disclosure displays the current media content in the target media work including preset audio and multiple media contents in a preset display page, and plays the preset audio, and determines the target characteristic moment according to the current playback progress of the preset audio and the characteristic moment information associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played at the current playback progress of the preset audio, and when the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to automatically switch from displaying the current media content to displaying the next media content. By adopting the above technical solution, in the process of displaying media works, the switching timing of the media content is dynamically determined according to the characteristic moment that is not played in the preset audio, so that the switching of the media content is more flexibly matched with the audio features of the audio, and the display effect of real-time card points can be achieved, thereby improving the viewing experience of the media works.

[0055] In some embodiments, displaying the current media content in the target media work in the preset display page and playing the preset audio includes: in response to the user's media content switching operation, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and continuing to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content. The advantage of such a setting is that it can support the user to manually switch the media content, allowing the user to view the media content in the media work more freely.

[0056] Exemplarily, the media content switching operation may be a first preset gesture operation, specifically a sliding operation, etc., and the switching to the next media content (such as corresponding to sliding to the left) or the previous media content (such as corresponding to sliding to the right) of the current media content can be determined according to the direction of action of the first preset gesture operation. After the switch, the display of the switched target media content is maintained, which can also be understood as switching from automatic switching mode to manual switching mode. At this time, the switching of the media content is performed under the operation of the user, that is, the switching timing is determined according to the input moment of the media content switching operation input by the user. In the manual switching mode, the continued playback of the preset audio can be supported to ensure the viewing experience of the media content.

[0057] In some embodiments, after maintaining the display of the target media content and continuing to play the preset audio, it also includes: in response to the user's automatic switching recovery operation, according to the current playback progress of the preset audio and the characteristic moment information, real-time determination of the target characteristic moment target characteristic moment; when the playback progress of the preset audio reaches the target characteristic moment target characteristic moment, control the preset display page to switch from displaying the current media content to displaying the next media content. The advantage of this setting is that after the automatic switching mode is restored under the user's operation, the target characteristic moment for switching to the next media content is re-determined, and the media content switching that re-matches the audio features is achieved.

[0058] Exemplarily, the automatic switching and recovery operation may be a trigger operation (such as clicking) for a preset recovery button; the automatic switching and recovery operation may also be a second preset gesture operation acting on a preset display page, and the second preset gesture operation may be decomposed into two gesture operations, which may be first inputting a preset pause operation and then inputting a preset play operation, wherein the preset pause operation and the preset play operation may be the same or different, for example, both are click operations. It is understandable that the user's automatic switching and recovery operation may also be that the user has no further operation after a preset time.

[0059] Exemplarily, after the user inputs the automatic switching recovery operation, the playback progress at the time of inputting the operation is taken as the starting point, and the next media content is taken as the first media content, and the automatic switching is restarted. For example, the user slides from the second media content to the third media content through the sliding operation, and the display of the media content will stop at the third media content, while the preset audio continues to play from the second characteristic moment (the progress is not affected). If the user does not continue to switch the media content, and before the preset audio plays to the eighth accent, the automatic switching recovery operation is input to resume the carousel of the media work. At this time, the entire media work can continue to play at the fourth media content and the eighth accent (target characteristic moment) as the new corresponding relationship.

[0060] In some embodiments, the method further includes: in response to a preset pause operation of the user, maintaining the display of the current media content and pausing the playing of the preset audio. The advantage of such a setting is that the user can quickly pause the automatic switching of the media content and the playing of the preset audio by inputting the preset pause operation, thereby improving the convenience of the pause operation.

[0061] In some embodiments, after maintaining the display of the current media content and pausing the playback of the preset audio, it also includes: in response to the user's media content switching operation, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and maintaining the paused playback of the preset audio, wherein the target media content is the next media content or the previous media content of the current media content. The advantage of such a setting is that after pausing the media work, the user is allowed to switch media content freely, and the audio is kept paused during the switching process, thereby meeting the user's diverse media content viewing needs. The media content switching operation here can be the same as the media content switching operation above, and will not be repeated here.

[0062] In some embodiments, the process of maintaining the paused playback of the preset audio further includes: in response to the preset pause cancellation operation of the user, determining the target characteristic moment according to the current playback progress of the preset audio and the characteristic moment information, and continuing to play the preset audio; when the playback progress of the preset audio reaches the target characteristic moment, automatically switching from displaying the current media content to displaying the next media content in the preset display page. The advantage of such a setting is that when the user cancels the pause of the media work, the automatic switching mode can be restored, and the target characteristic moment for switching to the next media content can be re-determined, so as to achieve the switching of media content that re-matches the audio features.

[0063] In some embodiments, when the current media content is a video, the corresponding target characteristic moment is determined according to the video duration of the current media content. Optionally, when the current media content is a video, the corresponding target characteristic moment is the characteristic moment to be played that is a preset number of times from the moment when the current media content is played to the completion time, and can satisfy the complete playback of the current media content under the current playback progress. The advantage of such a setting is that while ensuring the complete playback of the video clip, the switching of the media content can be matched with the characteristic moment. Among them, the preset number can be set according to actual needs, such as 1 or 2.

[0064] Optionally, the preset number is 1, that is, the characteristic moment to be played closest to the moment when the current media content is played. For example, the unplayed time of the current video clip is 10 seconds, the current playing progress is 1 minute and 17 seconds, and the next characteristic moments are 1 minute and 20 seconds, 1 minute and 22 seconds, 1 minute and 26 seconds, and 1 minute and 29 seconds. If the current video clip is played completely, it needs to be played to 1 minute and 27 seconds, which is between 1 minute and 26 seconds and 1 minute and 29 seconds. At this time, 1 minute and 29 seconds can be determined as the target characteristic moment.

[0065] Furthermore, when the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to automatically switch from displaying the current media content to displaying the next media content, including: after all video frames of the current media content are played, the display of the video frame at the preset position in the current media content is maintained, and when the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to automatically switch from displaying the current media content to displaying the next media content. The advantage of such a setting is that after the video is played, if the switching moment has not been reached, the display of the video frame at the preset position (such as the last one) is used to fill the gap, thereby ensuring the continuity of the media content display and thus ensuring the viewing experience.

[0066] In some embodiments, when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content, including: after all video frames of the current media content are played, the first transition picture is displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content. The first transition picture may include at least n frames of the next video, or include n frames of the previous video and n frames of the next video. The advantage of this setting is that after the video is played, if the switching moment has not been reached, the first transition picture is used to fill the gap, thereby ensuring the smoothness of the media content display and making the switching between the previous and next media contents more natural, thereby ensuring the viewing experience.

[0067] Exemplarily, the first transition picture may include the last frame of the previous video and / or the first frame of the next video. The specific transition method is not limited, such as vertical screen pulling, wipe transition, color dissolution transition, and camera movement transition, etc.

[0068] In some embodiments, when the current media content is a video, the corresponding target characteristic moment is a preset number of characteristic moments before the complete playback of the current media content at the current playback progress of the preset audio. This can ensure the continuity of the media content display and thus the viewing experience. The preset number can be set according to actual needs, such as 1 or 2.

[0069] In some embodiments, when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content, including: after the playback progress of the preset audio reaches the target feature moment, a second transition picture is displayed, and the second transition picture includes the video frame of the current media content that has not been played. The advantage of such a setting is that by adding a second transition picture containing an unplayed video frame, the switching of the media content is made more natural on the basis of ensuring that the switching timing matches the audio feature. Among them, the specific transition method is not limited, such as vertical curtain pulling, erasing transition, color dissolution transition, and camera movement transition, etc. Exemplarily, in the case where the current media content is a video, the corresponding target feature moment is the first feature moment before the complete playback of the current media content. After the playback progress of the preset audio reaches the target feature moment, a curtain pulling transition picture is displayed, and the second transition picture includes the unplayed video frames of the current media content from the target feature moment to the completion of the playback.

[0070] In some embodiments, when the current media content is a video, the corresponding target characteristic moment may also be the characteristic moment to be played that is closest to the estimated completion time of the current media content. As in the above example, 1 minute 26 seconds is closer to 1 minute 27 seconds than 1 minute 29 seconds, so 1 minute 26 seconds may be determined as the target characteristic moment. In this way, when the current video clip is not played completely, the next media content will be automatically switched when the target characteristic moment is reached, thereby improving the continuity of the playback of the two media contents.

[0071] In some embodiments, the target characteristic moment is determined in real time according to the characteristic moment information corresponding to the current playback progress of the preset audio and the characteristic moment associated with the preset audio, including: obtaining the target file corresponding to the target media work, the target file including multiple target image resources, target audio resources and configuration files corresponding to multiple media contents, wherein the target image resources and the target audio resources are independent of each other; obtaining the characteristic moment information based on the configuration file; obtaining the current playback progress of the target audio resource, and determining the target characteristic moment based on the current playback progress and the characteristic moment information, wherein the target characteristic moment is used to control the playback of the multiple target image resources. Among them, the image resources may include picture files and video files. The advantage of such a setting is that the target image resources and the target audio resources are independent of each other, so that the resources corresponding to the same media content can be switched at different characteristic moments based on different user operations (for example, different rhythm points can be achieved based on different user operations), while the card point video in the prior art is to pre-combine the picture or video with the audio into one file, so the card point of each media content in the prior art is fixed, and in the technical solution of the embodiment of the present disclosure, a more flexible and real-time card point effect can be achieved.

[0072] It is understandable that when the viewing user wishes to download the target media work, the files can be synthesized according to the above-mentioned multiple target image resources, target audio resources and configuration files to generate a card point video for the user to download.

[0073] Figure 2 The following is a flow chart of a method for displaying media content provided by an embodiment of the present disclosure. The present disclosure embodiment is optimized based on the various optional solutions in the above embodiments. Taking the media work as a picture work as an example, the method specifically includes the following steps:

[0074] Step 201: Display the current media content in the target media work in a preset display page, and play the preset audio.

[0075] The target media work includes preset audio and multiple media contents, and the media contents include pictures.

[0076] Figure 3 A schematic diagram of an interface interaction provided by an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the first picture in the target media work, the star picture, is displayed in the preset display page 301. Short lines can be used at the bottom of the preset display page 301 to indicate the number of pictures in the target media work. Bold short lines indicate pictures that have been displayed or are being displayed in this round, and thin short lines indicate pictures that have not been displayed in this round.

[0077] Step 202: Determine the first target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio.

[0078] The characteristic moment includes the moment of the accent, and the target characteristic moment is the next characteristic moment to be played in the preset audio under the current playback progress.

[0079] like Figure 3 As shown, for the sake of convenience, the playback progress bar of the preset audio (corresponding to the characteristic moment information) is shown above each interface image. The characteristic moments in the preset audio include 2s (seconds), 5s, 6s, 8s and 11s, etc., and the subsequent characteristic moments are omitted and not shown. When the first picture is displayed, the next characteristic moment to be played can be determined as the first target characteristic moment based on the current playback progress of the preset audio (such as the progress is 0s or close to 0s when the playback starts) and the characteristic moment information associated with the preset audio. Figure 3 , the first target characteristic moment at this time is 2s.

[0080] Step 203: When the playback progress of the preset audio reaches the first target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0081] For example, as the preset audio is played, the playing progress continues to advance, and when the first target feature moment is reached, it automatically switches to displaying the next picture. Figure 3 As shown, the black bold line in the playback progress bar is used to indicate the playback progress. When the playback progress reaches 2s, it automatically switches to display the second picture, the moon picture.

[0082] Step 204 , in response to the user's media content switching operation, control the preset display page to switch from displaying the current media content to displaying the first target media content, maintain the display of the first target media content, and continue to play the preset audio.

[0083] The first target media content is the next media content or the previous media content of the current media content.

[0084] For example, Figure 3As shown, when the moon picture is displayed, the corresponding first target characteristic moment can be determined to be 5s. Before the playback progress of the preset audio reaches 5s (such as 3.5s in the figure), the user inputs a left sliding operation (media content switching operation). At this time, there is no need to wait for 5s, and the user's operation can be responded to immediately, switching to display the third picture, the sun picture. At this time, the sun picture will be displayed and the preset audio will continue to be played. Subsequently, while continuing to play the preset audio, the user can continue to switch pictures freely by inputting a left sliding operation or a right sliding operation. During the user's free switching process, the picture is no longer played at a fixed point but completely follows the user's control.

[0085] Step 205: In response to the user's automatic switching recovery operation, determine the second target characteristic moment according to the current playback progress and characteristic moment information of the preset audio.

[0086] like Figure 3 As shown, during the display of the sun picture, if the user wants to restore the automatic switching mode of the picture, the user can enter the automatic switching recovery operation (entered at 7s in the figure). If the preset pause operation (such as a click operation) is first entered, and then the preset pause cancel operation (such as a click operation for the playback control) is entered, it can be considered that the user has triggered the restoration of the automatic switching mode. At this time, according to the current playback progress and feature moment information, the current second target feature moment can be determined as the next feature moment to be played, that is, 8s, and the display of the sun picture can continue.

[0087] Step 206: When the playback progress of the preset audio reaches the second target characteristic moment, the preset display page is controlled to switch from displaying the target media content to displaying the next media content.

[0088] like Figure 3 As shown, as the preset audio continues to play, when the playing progress reaches 8s, it can automatically switch to display the fourth picture, a landscape picture.

[0089] Step 207: In response to the user's preset pause operation, the display of the current media content is maintained, and the playing of the preset audio is paused.

[0090] Figure 4 Another interface interaction diagram provided by the embodiment of the present disclosure is provided. Assume that Figure 3 Based on the last interface, the playback continues. Before reaching the next characteristic moment of 11 seconds, the user inputs a preset pause operation (such as a click operation) (such as input at 9 seconds), keeps displaying the landscape picture, and pauses playback of the preset audio.

[0091] Step 208 , in response to the user's media content switching operation, control the preset display page to switch from displaying the current media content to displaying the second target media content, keep displaying the second target media content, and keep pausing the playback of the preset audio.

[0092] The second target media content is the next media content or the previous media content of the current media content.

[0093] like Figure 4 As shown, the user can input a right sliding operation to browse the previous sun picture. During the process of switching pictures, the preset audio remains paused and the progress bar does not move.

[0094] Step 209: In response to the user's preset pause cancel operation, determine the third target characteristic moment according to the current playing progress and characteristic moment information of the preset audio, and continue to play the preset audio.

[0095] like Figure 4 As shown, when the user inputs the preset pause cancel operation (such as a click operation on the play control), the preset audio can continue to be played, and the next characteristic moment is determined as the third target characteristic moment, that is, 11s.

[0096] Step 210: When the playback progress of the preset audio reaches the third target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0097] like Figure 4 As shown, when the playback progress of the preset audio reaches 11 seconds, it automatically switches to the next landscape picture showing the sun picture.

[0098] It should be noted that the sequence of the above steps may be changed. For example, steps 207 to 210 may be placed before steps 204 to 206.

[0099] The media content display method provided by the embodiment of the present disclosure determines the switching timing of the media content dynamically according to the unplayed characteristic moments in the preset audio in the automatic switching mode during the display of the media work, and supports entering the manual switching mode. In the manual switching mode, the user can freely control the switching of pictures and flexibly control the pause and play of the preset audio. After the automatic switching mode is restored, the automatic switching timing of the media content can continue to be dynamically determined according to the unplayed characteristic moments in the preset audio. There is no strict binding relationship between the media content and the characteristic moments. When the card point playback is restored after the user manually switches the media content, the music will not jump, so that the switching of the media content can more flexibly match the audio characteristics of the audio, and the real-time card point display effect can be achieved. While ensuring the user's autonomous switching ability, the viewing experience of the media work is improved.

[0100] Figure 5 A structural diagram of a media content display device provided by an embodiment of the present disclosure is shown in FIG. Figure 5 As shown, the device includes: a media content display module 501, a target feature moment determination module 502 and a media content switching module 503.

[0101] The media content display module 501 is used to display the current media content in the target media work in a preset display page and play the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos;

[0102] The target characteristic moment determination module 502 is used to determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played by the preset audio at the current playback progress;

[0103] The media content switching module 503 is used to control the preset display page to switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic time.

[0104] The media content display device provided by the embodiment of the present disclosure displays the current media content in the target media work including preset audio and multiple media contents in a preset display page, and plays the preset audio, and determines the target characteristic moment according to the current playback progress of the preset audio and the characteristic moment information associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment to be played in the preset audio. When the playback progress of the preset audio reaches the target characteristic moment, the preset display page automatically switches from displaying the current media content to displaying the next media content. By adopting the above technical solution, in the process of displaying media works, the switching timing of the media content is dynamically determined according to the characteristic moment that is not played in the preset audio, so that the switching of the media content can more flexibly match the audio features of the audio, and the display effect of real-time card points can be achieved, thereby improving the viewing experience of the media works.

[0105] Optionally, the media content display module is specifically used to respond to the user's media content switching operation, control the preset display page to switch from displaying the current media content to displaying the target media content, maintain the display of the target media content, and continue to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.

[0106] Optionally, the device further comprises:

[0107] A recovery operation response module, configured to determine a target characteristic moment in real time according to a current playing progress of the preset audio and the characteristic moment information in response to the user's automatic switching recovery operation after the display of the target media content is maintained and the preset audio is continued to be played;

[0108] The media content switching module is further configured to control the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic moment.

[0109] Optionally, the device further comprises:

[0110] The pause response module is used to respond to the user's preset pause operation, keep the display of the current media content, and pause the playback of the preset audio.

[0111] Optionally, the device further comprises:

[0112] The second switching operation response module is used to control the preset display page to switch from displaying the current media content to displaying the target media content, maintain the display of the target media content, and keep the preset audio paused, in response to the user's media content switching operation, after maintaining the display of the current media content and pausing the playback of the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.

[0113] Optionally, the device further comprises:

[0114] A pause cancellation response module, used to, in the process of maintaining the paused playback of the preset audio, respond to the preset pause cancellation operation of the user, determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information, and continue to play the preset audio;

[0115] The media content switching module is further configured to control the preset display page to switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic moment.

[0116] Optionally, when the current media content is a picture, the corresponding target characteristic moment is the next characteristic moment of the preset audio to be played at the current playback progress.

[0117] Optionally, when the current media content is a video, the corresponding target feature moment is determined according to the video length of the current media content.

[0118] Optionally, when the current media content is a video, the corresponding target feature moment is the feature moment to be played that is a preset number of times from the moment the current media content is played to the completion moment and the preset audio can satisfy the complete playback of the current media content under the current playback progress.

[0119] Optionally, when the playback progress of the preset audio reaches the target characteristic moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0120] After all video frames of the current media content are played, the video frames at the preset position in the current media content are kept displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0121] Optionally, the characteristic moment includes the moment of the accent.

[0122] Optionally, when the playback progress of the preset audio reaches the target characteristic moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0123] After all video frames of the current media content are played, the first transition picture is displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0124] Optionally, when the current media content is a video, the corresponding target feature moment is a preset number of feature moments before the complete playback of the current media content at the current playback progress of the preset audio.

[0125] Optionally, when the playback progress of the preset audio reaches the target characteristic moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0126] After the playback progress of the preset audio reaches the target feature moment, a second transition picture is displayed, where the second transition picture includes video frames of the current media content that have not been played.

[0127] Optionally, the target feature moment determination module includes:

[0128] A file acquisition unit, configured to acquire a target file corresponding to the target media work, wherein the target file includes a plurality of target image resources, a target audio resource, and a configuration file corresponding to a plurality of media contents, wherein the target image resource and the target audio resource are independent of each other;

[0129] A characteristic moment information acquisition unit, configured to acquire the characteristic moment information based on the configuration file;

[0130] A target characteristic moment determination unit is used to obtain the current playback progress of the target audio resource, and determine the target characteristic moment based on the current playback progress and the characteristic moment information, wherein the target characteristic moment is used to control the playback of the multiple target image resources.

[0131] The media content display device provided in the embodiments of the present disclosure can execute the media content display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0132] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0133] Figure 6 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Figure 6 , which shows an electronic device (eg, Figure 6 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0134] like Figure 6As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An edit / output (I / O) interface 605 is also connected to the bus 604.

[0135] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0136] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0137] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0138] The electronic device provided by the embodiment of the present disclosure and the media content display method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0139] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the media content display method provided in the above embodiments is implemented.

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

[0141] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0142] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device.

[0143] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: displays the current media content in the target media work in a preset display page and plays the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos; determines the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment when the next media content to be played by the preset audio under the current playback progress; when the playback progress of the preset audio reaches the target characteristic moment, controls the preset display page to switch from displaying the current media content to displaying the next media content.

[0144] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0145] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0146] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a module does not limit the module itself in some cases. For example, a media content switching module may also be described as "a module that controls the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target feature moment".

[0147] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

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

[0149] According to one or more embodiments of the present disclosure, Example 1 provides a media content display method, including:

[0150] Displaying the current media content in the target media work on a preset display page and playing the preset audio, wherein the target media work includes the preset audio and a plurality of media contents, and the media contents include pictures and / or videos;

[0151] Determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played by the preset audio at the current playback progress;

[0152] When the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0153] According to one or more embodiments of the present disclosure, Example 2 is a method according to Example 1, wherein displaying the current media content in the target media work in a preset display page and playing preset audio includes:

[0154] In response to the user's media content switching operation, the preset display page is controlled to switch from displaying the current media content to displaying the target media content, the display of the target media content is maintained, and the preset audio is continued to be played, wherein the target media content is the next media content or the previous media content of the current media content.

[0155] According to one or more embodiments of the present disclosure, Example 3 is the method according to Example 2, after maintaining the display of the target media content and continuing to play the preset audio, further comprising:

[0156] In response to the user's automatic switching recovery operation, determining the target characteristic moment in real time according to the current playing progress of the preset audio and the characteristic moment information;

[0157] When the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0158] According to one or more embodiments of the present disclosure, Example 4 is the method according to Example 1, further comprising:

[0159] In response to a preset pause operation of the user, maintaining the display of the current media content and pausing the playing of the preset audio;

[0160] In response to the user's media content switching operation, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and maintaining the paused playback of the preset audio, wherein the target media content is the next media content or the previous media content of the current media content;

[0161] In response to the preset pause cancel operation of the user, determining the target characteristic moment in real time according to the current playing progress of the preset audio and the characteristic moment information, and continuing to play the preset audio;

[0162] When the playback progress of the preset audio reaches the target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0163] According to one or more embodiments of the present disclosure, Example 5 is based on the method described in Example 1. When the current media content is a picture, the corresponding target feature moment is the next feature moment of the preset audio to be played at the current playback progress.

[0164] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 1, and when the current media content is a video, the corresponding target feature moment is determined according to the video length of the current media content.

[0165] According to one or more embodiments of the present disclosure, Example 7 is based on the method described in Example 6. When the current media content is a video, the corresponding target feature moment is the feature moment to be played that is a preset number of times from the moment the current media content is played to the completion moment, and the preset audio can satisfy the complete playback of the current media content under the current playback progress.

[0166] According to one or more embodiments of the present disclosure, Example 8 is the method according to Example 7, wherein when the playback progress of the preset audio reaches the target feature moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0167] After all video frames of the current media content are played, the video frames at the preset position in the current media content are kept displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0168] According to one or more embodiments of the present disclosure, Example 9 is the method according to Example 8, wherein when the playback progress of the preset audio reaches the target feature moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0169] After all video frames of the current media content are played, the first transition picture is displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.

[0170] According to one or more embodiments of the present disclosure, Example 10 is based on the method described in Example 6. When the current media content is a video, the corresponding target feature moment is a preset number of feature moments before the complete playback of the current media content at the current playback progress of the preset audio.

[0171] According to one or more embodiments of the present disclosure, Example 11 is the method according to Example 10, wherein when the playback progress of the preset audio reaches the target feature moment, controlling the preset display page to switch from displaying the current media content to displaying the next media content includes:

[0172] After the playback progress of the preset audio reaches the target feature moment, a second transition picture is displayed, where the second transition picture includes video frames of the current media content that have not been played.

[0173] According to one or more embodiments of the present disclosure, Example 12 is a method according to Example 1, wherein determining the target characteristic moment in real time according to the characteristic moment information corresponding to the characteristic moment associated with the preset audio and the current playback progress of the preset audio includes:

[0174] Acquire a target file corresponding to the target media work, wherein the target file includes a plurality of target image resources, a target audio resource, and a configuration file corresponding to a plurality of media contents, wherein the target image resource and the target audio resource are independent of each other;

[0175] Acquire the characteristic moment information based on the configuration file;

[0176] Obtain the current playback progress of the target audio resource, and determine the target characteristic moment based on the current playback progress and the characteristic moment information, wherein the target characteristic moment is used to control the playback of the multiple target image resources

[0177] According to one or more embodiments of the present disclosure, Example 13 provides a media content presentation device, including:

[0178] A media content display module, used to display the current media content in the target media work in a preset display page and play the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos;

[0179] A target characteristic moment determination module, configured to determine the target characteristic moment in real time according to the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes the time point when the audio feature in the preset audio meets the preset condition, and the target characteristic moment is the characteristic moment of the next media content to be played by the preset audio at the current playback progress;

[0180] The media content switching module is used to control the preset display page to switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic moment.

[0181] According to one or more embodiments of the present disclosure, Example 14 is a device according to Example 13, comprising: a module for executing the method described in any one of Examples 2-12.

[0182] According to one or more embodiments of the present disclosure, Example 15 provides an electronic device, the electronic device comprising:

[0183] one or more processors;

[0184] a storage device for storing one or more programs,

[0185] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.

[0186] According to one or more embodiments of the present disclosure, Example 16 provides a storage medium containing computer executable instructions, which are used to execute the media content presentation method provided by the embodiment of the present disclosure when executed by a computer processor.

[0187] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0188] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0189] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A method for displaying media content, characterized in that: include: Displaying the current media content in the target media work on a preset display page and playing the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos; In response to the target media work being in automatic switching mode, when the playback progress of the preset audio reaches a target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content, the target characteristic moment being the characteristic moment of the next media content to be played at the current playback progress of the preset audio, the characteristic moment including the time point when the audio feature in the preset audio meets the preset condition; In response to the user's media content switching operation, the display of the target media work is switched to a manual switching mode, and the switching between the multiple media contents is performed based on the current user operation. During the switching between the multiple media contents based on the current user operation, the preset audio maintains the original process and continues to play.

2. The method according to claim 1, characterized in that The method further comprises: The target characteristic moment is determined in real time according to the current playing progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio.

3. The method according to claim 1, characterized in that The switching between the plurality of media contents based on the current user operation comprises: In response to the user's media content switching operation, the preset display page switches from displaying the current media content to displaying the target media content, maintains the display of the target media content, and continues to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.

4. The method according to claim 3, characterized in that After maintaining the display of the target media content and continuing to play the preset audio, the method further includes: In response to the user's automatic switching recovery operation, determining the target characteristic moment in real time according to the current playing progress of the preset audio and the characteristic moment information; When the playback progress of the preset audio reaches the target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content.

5. The method according to claim 1, characterized in that Also includes: In response to a preset pause operation of the user, maintaining the display of the current media content and pausing the playing of the preset audio; In response to the user's media content switching operation, the preset display page switches from displaying the current media content to displaying the target media content, keeps displaying the target media content, and keeps pausing the preset audio, wherein the target media content is the next media content or the previous media content of the current media content; In response to the preset pause cancel operation of the user, determining the target characteristic moment in real time according to the current playing progress of the preset audio and the characteristic moment information, and continuing to play the preset audio; When the playback progress of the preset audio reaches the target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content.

6. The method according to claim 2, characterized in that The real-time determination of the target characteristic moment includes at least one of the following: In response to the current media content being a picture, determining the next characteristic moment of the preset audio to be played at the current playing progress as the target characteristic moment; In response to the current media content being a video, the target feature moment is determined based on the video duration of the current media content.

7. The method according to claim 6, characterized in that In response to the current media content being a video, determining the target feature moment based on the video duration of the current media content includes: In response to the current media content being a video, the preset audio is set to satisfy the complete playback of the current media content under the current playback progress, and the feature moment to be played that is a preset number of times away from the moment when the current media content is played is determined as the target feature moment.

8. The method according to claim 7, characterized in that When the playback progress of the preset audio reaches the target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content, including: After all video frames of the current media content are played, the video frames at the preset position in the current media content are kept displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page switches from displaying the current media content to displaying the next media content.

9. The method according to claim 8, characterized in that When the playback progress of the preset audio reaches the target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content, including: After all video frames of the current media content are played, the first transition picture is displayed, and when the playback progress of the preset audio reaches the target feature moment, the preset display page switches from displaying the current media content to displaying the next media content.

10. The method according to claim 6, characterized in that In response to the current media content being a video, determining the target feature moment based on the video duration of the current media content includes: In response to the current media content being a video, a preset number of feature moments before the complete playback of the current media content at the current playback progress of the preset audio are determined as the target feature moments.

11. The method according to claim 10, characterized in that When the playback progress of the preset audio reaches the target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content, including: After the playback progress of the preset audio reaches the target feature moment, a second transition picture is displayed, where the second transition picture includes video frames of the current media content that have not been played.

12. The method according to claim 1, characterized in that The step of determining the target characteristic moment in real time according to the current playing progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio includes: Acquire a target file corresponding to the target media work, wherein the target file includes a plurality of target image resources, a target audio resource, and a configuration file corresponding to a plurality of media contents, wherein the target image resource and the target audio resource are independent of each other; Acquire the characteristic moment information based on the configuration file; The current playback progress of the target audio resource is obtained, and a target characteristic moment is determined based on the current playback progress and the characteristic moment information, wherein the target characteristic moment is used to execute playback of the multiple target image resources.

13. A media content display device, characterized in that: include: A media content display module, used to display the current media content in the target media work in a preset display page and play the preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media contents include pictures and / or videos; A media content automatic switching module, for responding to the target media work being in automatic switching mode, when the playback progress of the preset audio reaches a target characteristic moment, the preset display page switches from displaying the current media content to displaying the next media content, the target characteristic moment being the characteristic moment of the next media content to be played at the current playback progress of the preset audio, the characteristic moment including the time point when the audio feature in the preset audio meets the preset condition; The media content manual switching module is used to respond to the user's media content switching operation, switch the display of the target media work to a manual switching mode, execute the switching between the multiple media contents based on the current user operation, and during the switching between the multiple media contents based on the current user operation, the preset audio maintains the original process and continues to play.

14. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method as described in any one of claims 1-12.

15. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the media content presentation method as described in any one of claims 1 to 12 when executed by a computer processor.

16. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the media content display method as described in any one of claims 1 to 12.

Citation Information

Patent Citations

  • Picture switching method and picture switching device for picture video playing

    CN105142017A

  • Picture play method and device

    CN105550251A

  • Text display method and device

    CN106210840A

  • Multimedia file playing method, device, equipment and medium

    CN112527171A

  • Sticking point video generation method and device, electronic equipment and storage medium

    CN113099297A