CN115373786A - Multimedia playing method, device, equipment and storage medium - Google Patents

Multimedia playing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115373786A
CN115373786A CN202211024481.0A CN202211024481A CN115373786A CN 115373786 A CN115373786 A CN 115373786A CN 202211024481 A CN202211024481 A CN 202211024481A CN 115373786 A CN115373786 A CN 115373786A
Authority
CN
China
Prior art keywords
target
video
text
page
style
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211024481.0A
Other languages
Chinese (zh)
Inventor
黄荣强
吴雨潼
贾东兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202211024481.0A priority Critical patent/CN115373786A/en
Publication of CN115373786A publication Critical patent/CN115373786A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a multimedia playing method, device, equipment and storage medium. The method comprises the following steps: responding to a switching trigger operation on a video page, and displaying a text page corresponding to a target video played in the video page; determining a target style based on at least two video nodes contained in the target video; wherein the number of target styles is less than or equal to the number of video nodes; and displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style on the basis of the target style. According to the embodiment of the disclosure, the way/mode of consuming videos by a user can be increased, and the acquisition efficiency of video information is greatly improved.

Description

Multimedia playing method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of multimedia technologies, and in particular, to a multimedia playing method, apparatus, device, and storage medium.
Background
With the development of network technology and video technology, video modes such as small video, short video, long video and the like have become mainstream modes for people to communicate network information.
The video interaction modes provided by various current information platforms mainly include that a user manually triggers video switching and playing and the video is automatically switched and played in an information stream mode. However, these video interaction methods all require the user to stay on the video page for watching and listening in the whole process, so that the user can acquire the information contained in the video, which results in low information acquisition efficiency.
Disclosure of Invention
In order to solve the technical problem, the present disclosure provides a multimedia playing method, apparatus, device and storage medium.
In a first aspect, the present disclosure provides a multimedia playing method, including:
responding to the switching trigger operation of a video page, and displaying a text page corresponding to a target video played in the video page;
determining a target style based on at least two video nodes contained in the target video; wherein the number of target styles is less than or equal to the number of video nodes;
and displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style on the basis of the target style.
In a second aspect, the present disclosure provides a multimedia playing apparatus, including:
the text page display module is used for responding to the switching trigger operation of the video page and displaying a text page corresponding to a target video played in the video page;
the target pattern determining module is used for determining a target pattern based on at least two video nodes contained in the target video; wherein the number of target styles is less than or equal to the number of video nodes;
and the target text display module is used for displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style on the basis of the target style.
In a third aspect, the present disclosure provides an electronic device comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is used for reading the executable instructions from the memory and executing the executable instructions to realize the multimedia playing method explained in any embodiment of the disclosure.
In a fourth aspect, the present disclosure provides a computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to implement a multimedia playing method explained in any of the embodiments of the present disclosure.
The multimedia playing method, the multimedia playing device, the multimedia playing equipment and the multimedia playing storage medium can respond to the switching trigger operation of the video page, display a text page corresponding to a target video played in the video page, determine a target pattern which is less than or equal to the number of the video nodes based on at least two video nodes contained in the target video, display a target text corresponding to the corresponding video node in the target video according to the target pattern in the text page, and highlight text content of the target text corresponding to the playing progress of the target video in the playing pattern on the basis of the target pattern; the method and the device have the advantages that the video page is switched to the text page in the video playing process, the corresponding target texts are displayed in the text page according to the target styles corresponding to the video nodes, so that a user can more quickly acquire the video information through reading the target texts displayed in different target styles, ways/modes of consuming videos by the user are increased, the problem of low efficiency of acquiring the video information when the video duration is long in a noisy environment is solved, and the efficiency of acquiring the video information is greatly improved.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and features are not necessarily drawn to scale.
Fig. 1 is a schematic flowchart of a multimedia playing method according to an embodiment of the disclosure;
fig. 2 is a schematic display diagram of a video page provided in the embodiment of the present disclosure;
fig. 3 is a schematic display diagram of a text page provided in the embodiment of the present disclosure;
FIG. 4 is a schematic illustration of a display of another video page provided by an embodiment of the present disclosure;
FIG. 5 is a schematic illustration of a display of another text page provided by an embodiment of the present disclosure;
FIG. 6 is a schematic diagram illustrating a display of a page switching animation according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram illustrating another exemplary display of a page-switching animation according to an embodiment of the present disclosure;
fig. 8 is a schematic display diagram of a lock screen page/information screen page provided in the embodiment of the present disclosure;
fig. 9 is a schematic flowchart of another multimedia playing method according to an embodiment of the disclosure;
fig. 10 is a schematic flowchart illustrating another multimedia playing method according to an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a multimedia playing device according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order, and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will appreciate that references to "one or more" are intended to be exemplary and not limiting unless the context clearly indicates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
At present, when a user consumes a video, the user needs to watch a video picture and listen to a video and an audio in the whole process to completely acquire information in the video. However, when the time of the user is limited or the user is not suitable for watching the video in the environment (quiet public places, noisy places, etc.), the user cannot consume the video normally, so that the consumption scene of the video is limited, and the user cannot acquire the information in the video well and efficiently, so that the information acquisition efficiency of the video is low.
Based on the above situation, the embodiment of the present disclosure provides a technical solution for multimedia playing, so as to provide a text corresponding to a video while playing the video, and display the text by switching a video page to a text page, so that a user can quickly read/browse main information included in the video, thereby not only expanding consumption ways/modes of the video, but also improving information acquisition efficiency of the video.
The multimedia playing method provided by the embodiment of the disclosure is applicable to playing scenes of multimedia related to videos on various information platforms. The method can be executed by a multimedia playing device, which can be implemented by software and/or hardware, and can be integrated in an electronic device capable of playing multimedia information. The electronic device may include, but is not limited to, smart home devices such as a smart phone, a Personal Digital Assistant (PDA), a Tablet PC, a notebook Computer, a wearable device, a vehicle-mounted terminal, a Digital television, a desktop Computer, and the like.
Fig. 1 shows a flow chart of a multimedia playing method provided by an embodiment of the present disclosure. As shown in fig. 1, the multimedia playing method may include the following steps:
and S110, responding to the switching trigger operation of the video page, and displaying a text page corresponding to the target video played in the video page.
The video page is a page for playing a video. The switching trigger operation is a trigger operation for switching one page to another page. The trigger operation may be, for example, a contact-type interactive operation such as a click, a touch, or a slide, or a non-contact-type interactive trigger operation such as an eye movement control or a voice control. The target video is a video being played in a video page, which may be a small video, a short video, a long video, and the like. The text page is a page for displaying text content corresponding to the target video.
Specifically, in order to implement the function of reading the text corresponding to the video, the electronic device is provided with a page switching function in the video page. When the user triggers the page switching function, the electronic equipment detects the switching triggering operation of the video page. At this time, the electronic device executes page switching operation, the video page is switched to the text page, and the display content in the text page corresponds to the target video.
In some embodiments, the function of page switching in the video page is triggered by a page switching control or by a sliding operation in a preset direction on the video page. In this way, the electronic device can trigger the execution of page switching by detecting a control triggering operation of the page switching control or a sliding operation on the page.
In one example, S110 includes: and responding to the selected triggering operation of the page switching control displayed in the video page, and displaying the text page.
The page switching control is a function control which is arranged in the page and can be triggered by interaction.
In particular, the electronic device can display a page switch control in a video page. After the user executes the trigger operation on the page switching control, the electronic device can detect the corresponding selected trigger operation. Then, a page switch response is executed to switch the video page to the text page.
For example, referring to fig. 2, the electronic device 200 displays a page switching control 202 having a control content of "switch to text/audio" at a position midway down a video page 201. When the user clicks the page switching control 202, the electronic device 200 switches from the video page 201 to the text page, and the display effect can be seen in fig. 3.
As another example, in fig. 4, the electronic device 400 displays a page switching control 402 with control contents of "see video" and "see text/listen to audio", respectively, at a top position of a video page 401. When the user clicks the page switching control 402 with the control content of "see text/listen to audio", the electronic device 400 is switched from the video page 401 to the text page, and the display effect can be seen in fig. 5.
In another example, S110 includes: and responding to a sliding trigger operation of the video page along a preset direction, and displaying the text page.
The preset direction is a sliding direction determined according to the arrangement relation of the video page and the text page. For example, the text page is arranged on the right side of the video page, and then the preset direction is a leftward direction in the case of displaying the video page, and a rightward direction in the case of displaying the text page.
Specifically, the page switching function in this example is triggered by a swipe gesture. As shown in fig. 4, when the user performs a sliding operation on the video page 401 to the left, the electronic device 400 may switch from the video page 401 to the text page in response to the sliding trigger operation, and the display effect thereof may be as shown in fig. 5.
In some embodiments, S110 comprises: and responding to the switching trigger operation, playing the page switching animation, and covering the video page by using the text page corresponding to the playing progress after the animation is played.
And generating the page switching animation based on the target text corresponding to the playing progress.
Specifically, to increase the interest of switching between video and text, a page switching animation may be played during the page switching process. The page-switching animation is animation related to both video and text.
For example, referring to fig. 6, when the user performs a switch trigger operation to switch from the video page 201 shown in fig. 2 to the text page 301 shown in fig. 3, the electronic device 600 may play a page switch animation. The page switching animation generates a thumbnail from a text page formed by text content corresponding to the playing progress of the target video, displays the thumbnail from the center position/edge position of the video page 201 on the basis of the video page 201, and gradually enlarges the thumbnail until the thumbnail completely covers the video page. After the page switching animation is played, the electronic device displays the text page 301.
For another example, referring to fig. 7, when the user performs a switch trigger operation to switch from the video page 401 shown in fig. 4 to the text page 501 shown in fig. 5, the electronic device 700 may play a page switch animation. The page switching animation is a text page formed by text contents corresponding to the playing progress of the target video through gradual sliding transition of the video page until the text page is completely displayed. After the page switching animation is played, the electronic device displays the text page 501.
And S120, determining a target style based on at least two video nodes contained in the target video.
The video node is a key progress position in the video, and marks the whole video as a plurality of local video small segments. The video node may be a mark point set by a video provider, or a mark point obtained by analyzing a video through a video analysis program. The video nodes may include, for example, a video start node, a video end node, a video climax node/a video focus node/a video highlight node where video content is important, a video hot node where video attention is high, a transition node of a video transition special effect, and the like. The target style is a style for displaying text, which may include at least a text layout structure and/or a text display style. The text layout structure refers to a layout style of each target text in a text page, and may be, for example, a segmented structure, a columnar structure, or the like. The text display style refers to a display style of each target text, and may be, for example, a font size, a font style, whether bold, italics, or the like. The number of target styles in the embodiments of the present disclosure is less than or equal to the number of video nodes.
Specifically, in view of the fact that the content of the text corresponding to the video may be many, when the text is displayed in a uniform manner, the user needs to carefully read the full text to acquire the information included in the video, so that the information acquisition efficiency of the video is still not high enough. Based on this, in order to further improve the information acquisition efficiency of the video, in the embodiment of the present disclosure, a target style may be set for local text content (referred to as a target text) corresponding to the target video according to each video node included in the target video, so that a user may read the text as needed through different display styles.
In specific implementation, the electronic device may first obtain each video node included in the target video. For example, the electronic device may pull each video node it contains from a provider or server of the target video. For another example, the electronic device may analyze the target video through a video analysis program to obtain the video nodes. Then, the electronic device can determine the target style of the target text according to the relevant attributes (such as node type and/or node number) of each video node, so that the text content in the text page has a certain degree of distinction, and the text reading efficiency is improved.
In an example, the electronic device may determine the target style as a text structure of columns and/or segments that is consistent with the type number of the node type or consistent with the number of the nodes according to the node type and/or the number of the nodes to which each video node belongs. For example, the electronic device may first segment a complete text (i.e., an initial text) corresponding to a target video into different target texts according to the node type, and determine a target style of each target text as a text structure with a larger column pitch (or segment pitch); and further dividing the target text belonging to the corresponding node type into shorter target texts according to the number of nodes corresponding to each node type, and determining the target style of each target text into a text structure with smaller column spacing (or segment spacing).
In another example, the electronic device may determine the target styles of different target texts as different text display styles according to the node type and/or the node number to which each video node belongs.
In some embodiments, S120 comprises: decomposing an initial text corresponding to a target video into a plurality of target texts based on each video node; and determining a target style corresponding to each target text based on the node type of the video node.
Wherein the initial text is the complete text content corresponding to the target video. The target text is the local text content contained in the video small segment corresponding to one video node. The node type is a type of video node that may include at least a content type related to the video-talkback content and a transition type unrelated to the video-talkback content.
Specifically, the target video may include video main content, transitional transition effects between sections of video main content, expressive transition effects matched with certain video main content, and the like. Also, the type of attention may be different for different users. For example, some users may only be interested in video-talkback content, while some users may prefer to know transition special effects, etc. Based on this, in this embodiment, a target style may be set according to the node type to differently display a target text corresponding to the video main talk content and a target text corresponding to the transition special effect.
In specific implementation, the electronic device may pull the initial text corresponding to the target video from a provider of the target video, or perform audio recognition on the target audio corresponding to the target video to obtain the initial text. The electronic device may then segment the initial text into a plurality of target texts based on the obtained video nodes. In order to determine the target style more accurately, text segmentation may be performed according to all video nodes, that is, the number of obtained target texts is the same as the number of video nodes. And then, the electronic equipment determines a corresponding target style for each target text according to the node type of each video node.
In an example, if the node type to which the video node belongs is a content type, a first pattern is determined for a target text corresponding to the video node as a target pattern. The electronic device may set the same target style, i.e., the first style, for each target text belonging to the content type. The first pattern may be a text layout structure (such as column division or segmentation), a text display pattern, or a combination of the text layout structure and the text display pattern.
In another example, if the node type to which the video node belongs is a transition type, a second style is determined for the target text corresponding to the video node as a target style. The electronic device may set the same target style, i.e., the second style, for each target text belonging to the transition type. The second style may be a text composition structure (such as column division or segmentation), a text display style, or a combination of the text composition structure and the text display style. And, the second pattern is different from the first pattern.
S130, displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video according to the playing style on the basis of the target style.
Specifically, after the electronic device displays the text page, the corresponding target text is displayed in the text page according to the determined target style of each target text. For example, when the video is short, the electronic device may display target texts in a target style in one page; when the video is long, the electronic device may page each target text in a target style. For another example, the electronic device may display the target texts in the target style and scroll the target texts at the playing speed of the video.
Moreover, in order to enable the user to know the playing progress of the video being played, the electronic device may highlight the text content corresponding to the playing progress. For example, the electronic device displays the text content corresponding to the playing progress by superimposing the playing style with the highlighting effect (such as a larger font, an artistic special effect emphasized word by word, and the like) on the basis of the target style.
The multimedia playing method provided by each of the embodiments of the present disclosure can respond to a switching trigger operation on a video page, display a text page corresponding to a target video played in the video page, determine a target style less than or equal to the number of video nodes based on at least two video nodes included in the target video, display a target text corresponding to a corresponding video node in the target video according to the target style in the text page, and highlight a text content of the target text corresponding to a playing progress of the target video in the playing style on the basis of the target style; the method and the device have the advantages that the video page is switched to the text page in the video playing process, the corresponding target texts are displayed in the text page according to the target styles corresponding to the video nodes, so that a user can more quickly acquire the video information through reading the target texts displayed in different target styles, ways/modes of consuming videos by the user are increased, the problem of low efficiency of acquiring the video information when the video duration is long in a noisy environment is solved, and the efficiency of acquiring the video information is greatly improved.
In some embodiments, after S130, the multimedia playing method further includes: and responding to the switching trigger operation of the text page, displaying the video page, and continuously playing the target video based on the playing progress of the target audio in the video page.
Specifically, the user can switch back to the video page to continue watching the video in the process of reading the target text.
Referring to fig. 3, the electronic device 300 displays a page switching control 302 having a control content of "cut to video" at a lower region of a text page 301. When the user triggers the page switch control 302, the electronic device 300 can switch from the text page 301 to the video page 201 shown in fig. 2.
Referring to fig. 5, the electronic device 500 displays a page switching control 502 having control contents of "see video" and "see text/hear audio", respectively, at a top position of a text page 501. When the user clicks the page switching control 502 for "see video" in the control content, the electronic device 500 is switched from the text page 501 to the video page 401 shown in fig. 4. Alternatively, after the user performs a slide trigger operation of sliding right on the text page 501, the electronic device 500 may also switch from the text page 501 to the video page 401 shown in fig. 4.
It should be noted that the progress of playing the progress bar in the text page and the video page is continuously advanced over time. In addition, in the process of switching from the text page to the video page, the page switching animation can be played as well, but the animation content of the page switching animation is opposite to that of the page switching animation of switching from the video page to the text page.
In some embodiments, S130 comprises: and in the text page, continuously playing the target audio corresponding to the target video based on the playing progress of the target video, displaying the target text corresponding to the corresponding video node in the target video according to the target style, and highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style.
Specifically, the electronic device can synchronously play the target audio corresponding to the target video while displaying each target text according to the target style in the text page. In this way, in the text page, the electronic device continues to play the target audio according to the playing progress of the target video, and highlights the text content corresponding to the playing progress of the target audio being played in a combined style of the playing style and the target style.
Referring to fig. 3, when the target audio is played to the first progress 303, the electronic device 300 highlights a currently played text content 304 corresponding to the first progress 303 in a playing style filled with a dotted pattern in the text page 301.
In some embodiments, to improve the persistence of the user obtaining information from the video, the electronic device may continue to play the target audio and display the target text in a scene where the electronic device is off-screen or locked. In this way, in the text page, after the target audio corresponding to the target video is continuously played based on the playing progress of the target video, the target text corresponding to the corresponding video node in the target video is displayed according to the target style, and the text content of the target text corresponding to the playing progress of the target video is highlighted in the playing style on the basis of the target style, the multimedia playing method further includes: and responding to the screen-off instruction or the screen-locking instruction, continuing to play the target audio, and displaying the audio control and the text content corresponding to the playing progress of the target audio in the target text in the equipment screen.
Specifically, when a user performs a screen locking operation on the electronic device, or the electronic device reaches a preset screen locking condition, the electronic device may detect a screen locking instruction and enter a screen locking state in response to the screen locking instruction. When the electronic equipment reaches a preset screen-off condition, a screen-off instruction can be detected, and a screen-off state is entered in response to the screen-off instruction. In order to continuously consume the information contained in the video, the electronic device may continue to display the target text and continue to play the target audio in the screen in the lock screen state or the breath screen state.
Referring to fig. 8, after entering the screen saver state/screen lock state, the electronic device 800 may continue to play the target audio, display an audio control 801 for controlling the playing of the target audio, and display a text content 802 corresponding to the playing progress of the target audio in a style in which a text is displayed in a scrolling manner along with the playing progress of the target audio. When the text content 802 has more than one line, the text content corresponding to the progress of the target audio is highlighted in a play style (e.g., bold) while scrolling.
The combination of the text content and the audio control can be in the form of a direct display of information on the screen, such as the content displayed in the first area 810 in fig. 8; or may be in the form of information cards collectively displayed on the screen, as shown in the second area 820 in fig. 8. The specific display form can be determined according to the service requirement and the information display rule of the electronic equipment in the information screen state/screen locking state.
Fig. 9 is a flowchart of another multimedia playing method provided in the embodiments of the present disclosure. The multimedia playing method further optimizes the "determining the target style corresponding to each target text based on the node type to which the video node belongs" explained in the embodiments. Referring to fig. 9, the multimedia playing method includes:
s910, responding to the switching trigger operation of the video page, and displaying a text page corresponding to the target video played in the video page.
And S920, decomposing the initial text corresponding to the target video into a plurality of target texts based on each video node.
S930, determining a target style corresponding to each target text based on the number of the video nodes, the node types and a rule that the target styles of any two adjacent target texts do not repeat.
Specifically, in order to further distinguish different target texts, so as to further improve the efficiency of information positioning and information acquisition, the electronic device may set a corresponding target style for each target text according to the number of video nodes, the node type, and a rule that target styles of two adjacent target texts do not repeat.
For example, the target text may be displayed in different styles depending on the type of node. On the basis, the display styles of different target texts in the same node type are different by superposing the rules and the conditions of the number of nodes.
In some embodiments, S930 may be implemented as step a through step E as follows.
And step A, if the node type of each video node comprises a content type and a transition type, determining a first pattern for a target text corresponding to the content type, and determining a second pattern for the target text corresponding to the transition type.
Wherein the first pattern and the second pattern do not repeat.
Specifically, when it is determined that the node type included in the target video at least includes the content type and the transition type, the electronic device may first set the target style by distinguishing the node type. Setting a first pattern as an initial target pattern for the target text corresponding to each video node belonging to the content type, and setting a second pattern as an initial target pattern for the target text corresponding to each video node belonging to the transition type.
Referring to fig. 3, the electronic device 300 may set a first style 305 in which a segment overlaps a first font (exemplified by "X" in the drawing) for a target text of a video node corresponding to a content type, and set a second style 306 in which a segment overlaps a second font (exemplified by "#" in the drawing) for a target text of a transition type.
If the node type contained in the target video is judged to be only one type, the step A can be skipped, and the same default text style is set for each target text to serve as the initial target style.
And B, if the number of the video nodes corresponding to the content type is one, determining the first pattern as a target pattern of a target text corresponding to the content type.
Specifically, when only one video node belongs to the content type, the first pattern may be directly determined as the final target pattern of the target text corresponding to the video node.
For the case of skipping step a, it is stated that the target video only includes one video node, and a default text style or a new text style may be set for the target text corresponding to the video node here as the final target style.
And step C, if the number of the video nodes corresponding to the content type is multiple, determining a third style for each target text corresponding to the content type based on a rule that the target styles of any two adjacent target texts are not repeated, and determining a combination result of the first style and the third style as the target style of the corresponding target text.
Specifically, when there are a plurality of video nodes belonging to the content type, the electronic device may set a third pattern for the target text corresponding to each video node corresponding to the content type according to a rule that the target patterns of any two adjacent target texts are not repeated. Then, aiming at each target text, the first style and the third style are superposed, and the obtained text style is the final target style of the target text.
It should be noted that, for two adjacent target texts in the content type, the specific style content of the third style is different. Referring to fig. 3, the third style of the third section of target text may be set to a large font size, and the third style of the adjacent fourth section of target text may be set to a combination of a small font size and italics. Then, the final target style of the third section of target text is "segment + font 'X' + large font size", and the final target style of the fourth section of target text is "segment + font 'X' + small font size + italics".
And D, if the number of the video nodes corresponding to the transition type is one, determining the second style as the target style of the target text corresponding to the transition type.
Specifically, when only one video node belongs to the transition type, the second pattern may be directly determined as the final target pattern of the target text corresponding to the video node. For example, in fig. 3, there is only one transition type video node, the final target style of the target text corresponding to the video node may be directly determined as the second style 306.
Similarly, for the case of skipping step a, which illustrates that the target video only includes a transition video segment, a default text style or a new text style may be set for the target text corresponding to the video node as the final target style.
And E, if the number of the video nodes corresponding to the transition type is multiple, determining a fourth style for each target text corresponding to the transition type based on a rule that the target styles of any two adjacent target texts are not repeated, and determining a combination result of the second style and the fourth style as the target style of the corresponding target text.
Specifically, when there are multiple video nodes belonging to the transition type, the electronic device may set the fourth pattern for the target text corresponding to each video node corresponding to the transition type according to a rule that the target patterns of any two adjacent target texts do not overlap. Then, for each target text, the second style and the fourth style are superimposed, and the obtained text style is the final target style of the target text.
Likewise, the specific style content of the fourth style is different for the adjacent two target texts in the transition type. Referring to fig. 3, the fourth style of the fifth section of target text may be set as a regular style without bold and italics, and the fourth style of the adjacent sixth section of target text may be set as a combination of bold and italics. Then, the final target style of the fifth piece of target text is "segment + font '#' + normal", and the final target style of the sixth piece of target text is "segment + font '#' + bold + italic".
And S940, displaying the target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video according to the playing style on the basis of the target style.
According to the multimedia playing method provided by the embodiment of the disclosure, the target style corresponding to each target text is determined based on the number of the video nodes, the node types and the rule that the target styles of any two adjacent target texts are not repeated, so that the target style is set for each target text under each node type, the display distinguishing degree of each target text is further improved, and the efficiency of information positioning and information acquisition in the text page is further improved.
Fig. 10 is a flowchart of another multimedia playing method provided in an embodiment of the present disclosure. On the basis of the above embodiments, the multimedia playing method adds a related step of controlling the video playing progress through a text. Referring to fig. 10, the multimedia playing method includes:
and S1010, responding to the switching trigger operation of the video page, and displaying a text page corresponding to the target video played in the video page.
S1020, determining a target style based on at least two video nodes contained in the target video.
S1030, displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video according to the playing style on the basis of the target style.
And S1040, displaying a text label associated with the preset position at the preset position of the target text.
Wherein the text label contains information that labels the target text from at least one information dimension. The information dimension may be determined according to business requirements, or may be determined by a user's personalized settings (e.g., a user selecting one or more of them from a pool of candidate information dimensions).
Specifically, the electronic device may obtain a text label corresponding to the target text. For example, the electronic device may pull some important progress moments in the video and their importance information (such as description information on a certain information dimension) from a video provider, and then perform information simplification on the importance information to determine corresponding text tags, or perform matching between the importance information and preset text tags to determine adaptive text tags. For another example, the electronic device may analyze the initial text to identify whether the initial text contains information corresponding to certain information dimensions, and perform information extraction, simplification, or tag matching on the identified text to obtain a text tag. And then, the electronic equipment displays the text label matched with the preset position at the preset position of the target text.
In some embodiments, S1040 comprises: and if the information dimension comprises the theme feature time of the target video, determining a preset position of a text position corresponding to the theme feature time, and displaying a theme feature label at the preset position.
The theme-feature-time is a relevant time of a theme part/feature part of the video, and may be, for example, a theme-feature start time, a theme-feature end time, or the like.
Specifically, if the information dimension includes a theme feature time of the video, the electronic device may determine a corresponding text position as a preset position according to the theme feature time in the target video. Then, the theme positive label is displayed at the preset position of the target text.
For example, when the theme-feature-time includes a feature-start time, the preset position may be determined as a feature-start position, and a feature-start label is displayed at the feature-start position. As in fig. 3, the first segment of target text is determined as the feature start position, and then a feature start label 307 is displayed at the relevant position (e.g., segment head, etc.) of the first segment of target text.
When the theme-feature-time includes a feature-end time, the preset position may be determined as a feature-end position, and displays a print end label at the print end position. As in fig. 3, the fourth segment of target text is determined as the feature end position, and then the feature end label 308 is displayed at the relevant position (e.g. segment head, etc.) of the fourth segment of target text.
In other embodiments, S1040 includes: and if the information dimension comprises the page switching frequency, determining the text position corresponding to the video progress moment when the page switching frequency reaches the frequency threshold value as a preset position, and hot labeling at the preset position.
The page switching frequency refers to the frequency of switching from a text page to a video page. The frequency threshold is a preset frequency critical value.
Specifically, if the information dimension includes a page switching frequency, statistics may be made on video progress time of a plurality of users, which is authorized by the users to perform page switching, and a page switching frequency thereof. And if the page switching frequency of a certain video progress moment is determined to reach the frequency threshold, the video progress moment is a video watching point which is relatively concerned by most users, and the video progress moment is considered as a hot video point. Then, the electronic device may determine a text position corresponding to the video progress time as a preset position, determine that the corresponding text label is a hit label, and display the hit label at the determined text position.
Referring to fig. 3, if the electronic device determines that the starting time of the video node corresponding to the fourth segment of target text is a hit video point, the starting position of the fourth segment of target text may be determined as a preset position, and a hit label 309 is displayed at the preset position.
In further embodiments, S1040 includes: and if the information dimension comprises the content relevancy, determining a text position corresponding to the video progress moment when the content relevancy reaches the relevancy threshold as a preset position, and displaying a key label at the preset position.
Specifically, if the information dimension includes content relevance, i.e., the degree of relevance between the video feature content and the video title. Then, the electronic device may analyze the video feature film content to determine the video progress time when the content relevancy reaches the preset relevancy threshold. Due to the high content relevance, the determined video progress moment can be considered as an important part/climax part/bright spot part in the target video. Therefore, the electronic device may determine a text position corresponding to the determined video progress time as a preset position, and display an important label/climax label/highlight label representing that the feature content is important at the preset position.
Referring to fig. 3, if the electronic device determines that the content relevance of the video node corresponding to the third section of target text satisfies the relevance threshold, the third section of target text may be determined as an important part. At this time, the electronic device may display the important/climax/highlight label 310 at a certain position of the third section of target text (e.g., at the beginning of the section, in the section, at the end of the section, etc.).
In still other embodiments, the information dimension may include two or three of the above-described theme-feature-time, page-switching frequency, and content-relevance. Then, the electronic device may display a corresponding plurality of text labels in the text page.
And S1050, responding to the triggering operation of the text label, adjusting the playing progress of the target audio to the video progress moment corresponding to the triggered text label, continuing to play, and highlighting the text content in the target text corresponding to the triggered text label in the playing mode.
Specifically, the text tags may be associated with their corresponding video progress time. Therefore, after a user triggers a certain text label, the electronic equipment can be positioned to the video progress time associated with the triggered text label according to the association relation between the text label and the video progress time. And then, the electronic equipment adjusts the playing progress of the target audio to the positioned video progress moment, and highlights the text content corresponding to the positioned video progress moment in a playing mode.
Referring to fig. 3, after the user clicks the important tag/climax tag/highlight tag 310, the electronic device may locate that the video progress moment corresponding to the text tag is a second progress 311. Then, the playing progress bar is controlled to the second progress 311, and the third section of the target text is highlighted in the playing style.
It should be noted that, in response to a drag operation of the user in a set direction (which is the same as or opposite to the text scrolling display direction) on the text page, the electronic device may further adjust the playing progress of the target audio to the video progress time corresponding to the text position at the end of the drag operation to continue playing, and highlight the text content at the text position at the end of the drag operation in a playing style.
It should be further noted that, after the target audio and the target text are positioned and played, the user may also perform a corresponding trigger operation to switch to the video page, so as to view the positioned video content.
In the multimedia playing method provided by the above embodiment of the present disclosure, a text label associated with a preset position is displayed at the preset position of a target text; responding to the triggering operation of the text label, adjusting the playing progress of the target audio to the video progress moment corresponding to the triggered text label for continuous playing, and highlighting the text content in the target text corresponding to the triggered text label in a playing mode; the method and the device have the advantages that the information contained in the video is quickly and accurately positioned through the text label, the information positioning efficiency is further improved, and the video information acquisition efficiency is further improved.
The following is an embodiment of a multimedia playing apparatus provided in an embodiment of the present invention, the apparatus and the multimedia playing method of the foregoing embodiments belong to the same inventive concept, and details that are not described in detail in the embodiment of the multimedia playing apparatus may refer to the foregoing embodiment of the multimedia playing method.
Fig. 11 shows a schematic structural diagram of a multimedia playing apparatus provided in an embodiment of the present disclosure. As shown in fig. 11, the multimedia playing apparatus 1100 may include:
a text page display module 1110, configured to respond to a switching trigger operation on a video page, and display a text page corresponding to a target video played in the video page;
a target pattern determination module 1120 for determining a target pattern based on at least two video nodes included in the target video; wherein the number of target styles is less than or equal to the number of video nodes;
and the target text display module 1130 is configured to display, in the text page, a target text corresponding to the corresponding video node in the target video according to the target style, and highlight, in a play style based on the target style, text content of the target text corresponding to the play progress of the target video.
The multimedia playing device provided by the above embodiment of the present disclosure can respond to a switching trigger operation on a video page, display a text page corresponding to a target video played in the video page, determine a target style less than or equal to the number of video nodes based on at least two video nodes included in the target video, display a target text corresponding to a corresponding video node in the target video according to the target style in the text page, and highlight text content of the target text corresponding to a playing progress of the target video in the playing style on the basis of the target style; the method and the device have the advantages that the video page is switched to the text page in the video playing process, the corresponding target texts are displayed in the text page according to the target styles corresponding to the video nodes, so that a user can more quickly acquire the video information through reading the target texts displayed in different target styles, ways/modes of consuming videos by the user are increased, the problem of low efficiency of acquiring the video information when the video duration is long in a noisy environment is solved, and the efficiency of acquiring the video information is greatly improved.
In some embodiments, target pattern determination module 1120 comprises:
the target text decomposition submodule is used for decomposing the initial text corresponding to the target video into a plurality of target texts based on each video node; the number of the target texts is the same as that of the video nodes;
the target style determining submodule is used for determining a target style corresponding to each target text based on the node type of the video node; wherein the target style comprises a text typesetting structure and/or a text display style.
Further, the target style determination submodule is specifically configured to:
and determining a target style corresponding to each target text based on the number of the video nodes, the node type and a rule that the target styles of any two adjacent target texts do not repeat.
Further, the target style determination submodule is specifically configured to:
if the node type to which each video node belongs comprises a content type and a transition type, determining a first pattern for a target text corresponding to the content type, and determining a second pattern for the target text corresponding to the transition type; wherein the first pattern and the second pattern do not repeat;
if the number of the video nodes corresponding to the content type is multiple, determining a third style for each target text corresponding to the content type based on a rule that the target styles of any two adjacent target texts are not repeated, and determining a combination result of the first style and the third style as a target style of the corresponding target text;
if the number of the video nodes corresponding to the transition type is multiple, a fourth style is determined for each target text corresponding to the transition type based on a rule that the target styles of any two adjacent target texts do not repeat, and a combination result of the second style and the fourth style is determined as a target style of the corresponding target text.
In some embodiments, target text display module 1130 is specifically configured to:
and in the text page, continuing to play the target audio corresponding to the target video based on the playing progress of the target video, displaying the target text corresponding to the corresponding video node in the target video according to the target style, and highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style.
In some embodiments, the multimedia playing apparatus 1100 further comprises a playing progress adjusting module for:
in the text page, continuing to play a target audio corresponding to the target video based on the playing progress of the target video, displaying a target text corresponding to a corresponding video node in the target video according to a target style, and displaying a text label associated with a preset position at a preset position of the target text after highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style; wherein the text label contains information that labels the target text from at least one information dimension;
and responding to the triggering operation of the text label, adjusting the playing progress of the target audio to the video progress moment corresponding to the triggered text label for continuous playing, and highlighting the text content in the target text corresponding to the triggered text label in a playing mode.
Further, the playing progress adjusting module is specifically configured to:
if the information dimension comprises the theme feature shooting moment of the target video, determining a preset position of a text position corresponding to the theme feature shooting moment, and displaying a theme feature shooting label at the preset position;
if the information dimension comprises the page switching frequency, determining a text position corresponding to the video progress moment when the page switching frequency reaches a frequency threshold value as a preset position, and hot labeling at the preset position;
and if the information dimension comprises the content relevancy, determining a text position corresponding to the video progress moment when the content relevancy reaches the relevancy threshold as a preset position, and displaying a key label at the preset position.
In some embodiments, the multimedia playback device 1100 further comprises a target audio resume module for:
in the text page, continuing to play the target audio corresponding to the target video based on the playing progress of the target video, displaying the target text corresponding to the corresponding video node in the target video according to the target style, and after highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style, continuing to play the target audio in response to the screen-off instruction or the screen-locking instruction, and displaying the audio control and the text content corresponding to the playing progress of the target audio in the target text in the device screen.
In some embodiments, the text page display module 1110 is specifically configured to:
and responding to the selected trigger operation of the page switching control displayed in the video page or the sliding trigger operation of the video page along the preset direction, and displaying the text page.
In some embodiments, the text page display module 1110 is specifically configured to:
responding to the switching trigger operation, playing a page switching animation, and covering a video page by using a text page corresponding to the playing progress after the animation is played; and generating the page switching animation based on the target text corresponding to the playing progress of the target video.
In some embodiments, the multimedia playback device 1100 further comprises a target video playback module for:
and displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, responding to the switching trigger operation of the text page after highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style, displaying the video page, and continuously playing the target video based on the playing progress of the target text in the video page.
The multimedia playing device provided by the embodiment of the invention can execute the multimedia playing method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the multimedia playing apparatus, the modules and sub-modules included in the embodiment are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, the specific names of the functional modules/sub-modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present disclosure.
Embodiments of the present disclosure also provide an electronic device that may include a processor and a memory, which may be used to store executable instructions. The processor may be configured to read the executable instructions from the memory and execute the executable instructions to implement the multimedia playing method in the foregoing embodiments.
Fig. 12 shows a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
As shown in fig. 12, the electronic device 1200 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 1201 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 1202 or a program loaded from a storage means 1208 into a Random Access Memory (RAM) 1203. In the RAM 1203, various programs and data necessary for the operation of the electronic apparatus 1200 are also stored. The processing device 1201, the ROM 1202, and the RAM 1203 are connected to each other by a bus 1204. An input/output interface (I/O interface) 1205 is also connected to bus 1204.
Generally, the following devices may be connected to the I/O interface 1205: input devices 1206 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, or the like; output devices 1207 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; storage 1208 including, for example, magnetic tape, hard disk, etc.; and a communication device 1209. The communication device 1209 may allow the electronic apparatus 1200 to communicate wirelessly or by wire with other apparatuses to exchange data.
It should be noted that the electronic device 1200 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of the application of the embodiments of the present disclosure. That is, while fig. 12 illustrates an electronic device 1200 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 1209, or installed from the storage device 1208, or installed from the ROM 1202. The computer program, when executed by the processing device 1201, performs the above-described functions defined in the multimedia playback method of any of the embodiments of the present disclosure.
The embodiments of the present disclosure also provide a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the processor is enabled to implement the multimedia playing method in any embodiment of the present disclosure.
It should be noted that the computer readable medium of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP, 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"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the steps of the multimedia playing method described in any embodiment of the present disclosure.
In embodiments of the present disclosure, computer program code for carrying out operations of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of 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 the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The functions described herein above 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), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The 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, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (14)

1. A multimedia playing method, comprising:
responding to a switching trigger operation on a video page, and displaying a text page corresponding to a target video played in the video page;
determining a target style based on at least two video nodes contained in the target video; wherein the number of target styles is less than or equal to the number of video nodes;
and displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style on the basis of the target style.
2. The method of claim 1, wherein determining a target pattern based on at least two video nodes included in the target video comprises:
decomposing an initial text corresponding to the target video into a plurality of target texts based on each video node; the number of the target texts is the same as that of the video nodes;
determining the target style corresponding to each target text based on the node type of the video node; wherein the target style comprises a text typesetting structure and/or a text display style.
3. The method of claim 2, wherein the determining the target style corresponding to each target text based on the node type to which the video node belongs comprises:
and determining the target style corresponding to each target text based on the number of the video nodes, the node type and a rule that the target styles of any two adjacent target texts do not repeat.
4. The method of claim 3, wherein the determining the target style corresponding to each target text based on the number of the video nodes, the node type, and a rule that the target styles of any two adjacent target texts do not overlap comprises:
if the node type to which each video node belongs comprises a content type and a transition type, determining a first pattern for the target text corresponding to the content type and determining a second pattern for the target text corresponding to the transition type; wherein the first pattern and the second pattern are not repeated;
if the number of the video nodes corresponding to the content type is multiple, determining a third style for each target text corresponding to the content type based on a rule that the target styles of any two adjacent target texts are not repeated, and determining a combination result of the first style and the third style as the target style of the corresponding target text;
if the number of the video nodes corresponding to the transition type is multiple, determining a fourth style for each target text corresponding to the transition type based on a rule that the target styles of any two adjacent target texts are not repeated, and determining a combination result of the second style and the fourth style as the target style of the corresponding target text.
5. The method according to claim 1, wherein in the text page, displaying a target text corresponding to a corresponding video node in the target video according to the target style, and highlighting a text content of the target text corresponding to a playing progress of the target video in a playing style on the basis of the target style comprises:
and in the text page, continuing to play the target audio corresponding to the target video based on the playing progress of the target video, displaying the target text corresponding to the corresponding video node in the target video according to the target style, and highlighting the text content of the target text corresponding to the playing progress of the target video in the playing style on the basis of the target style.
6. The method according to claim 1, wherein after the target audio corresponding to the target video continues to be played based on the playing progress of the target video in the text page, the target text corresponding to the corresponding video node in the target video is displayed in the target style, and the text content of the target text corresponding to the playing progress of the target video is highlighted in the playing style on the basis of the target style, the method further comprises:
displaying a text label associated with a preset position at the preset position of the target text; wherein the text label contains information that labels the target text from at least one information dimension;
responding to the triggering operation of the text label, adjusting the playing progress of the target audio to the video progress moment corresponding to the triggered text label for continuous playing, and highlighting the text content in the target text corresponding to the triggered text label in a playing mode.
7. The method of claim 6, wherein displaying the text label associated with the preset position at the preset position of the target text comprises:
if the information dimension comprises the theme feature shooting time of the target video, determining the text position corresponding to the theme feature shooting time to be the preset position, and displaying a theme feature shooting label at the preset position;
if the information dimension comprises a page switching frequency, determining a text position corresponding to a video progress moment when the page switching frequency reaches a frequency threshold value as the preset position, and hot labeling at the preset position;
and if the information dimension comprises the content relevancy, determining the text position corresponding to the video progress moment when the content relevancy reaches the relevancy threshold as the preset position, and displaying a key label at the preset position.
8. The method according to claim 5, wherein in the text page, after continuing to play the target audio corresponding to the target video based on the playing progress of the target video, displaying the target text corresponding to the corresponding video node in the target video in the target style, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style based on the target style, the method further comprises:
and responding to a screen-off instruction or a screen-locking instruction, continuing to play the target audio, and displaying an audio control and text content corresponding to the playing progress of the target audio in the target text in the equipment screen.
9. The method according to claim 1, wherein the triggering operation of responding to the switching of the video page, displaying the text page corresponding to the target video played in the video page comprises:
and responding to the selection trigger operation of a page switching control displayed in the video page or the sliding trigger operation of the video page along a preset direction, and displaying the text page.
10. The method according to claim 1, wherein the triggering operation of responding to the switching of the video page, displaying the text page corresponding to the target video played in the video page comprises:
responding to the switching trigger operation, playing a page switching animation, and covering the video page by using the text page corresponding to the playing progress after the animation is played; and generating the page switching animation based on the target text corresponding to the playing progress of the target video.
11. The method according to claim 1, wherein after the target text corresponding to the corresponding video node in the target video is displayed in the target style in the text page, and the text content of the target text corresponding to the playing progress of the target video is highlighted in a playing style on the basis of the target style, the method further comprises:
and responding to the switching trigger operation of the text page, displaying the video page, and continuously playing the target video based on the playing progress of the target text in the video page.
12. A multimedia playback apparatus, comprising:
the text page display module is used for responding to the switching trigger operation of the video page and displaying a text page corresponding to a target video played in the video page;
the target pattern determining module is used for determining a target pattern based on at least two video nodes contained in the target video; wherein the number of target styles is less than or equal to the number of video nodes;
and the target text display module is used for displaying a target text corresponding to the corresponding video node in the target video according to the target style in the text page, and highlighting the text content of the target text corresponding to the playing progress of the target video in a playing style on the basis of the target style.
13. An electronic device, comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to read the executable instructions from the memory and execute the executable instructions to implement the multimedia playing method of any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when executed by a processor, causes the processor to implement the multimedia playback method of any of the preceding claims 1-11.
CN202211024481.0A 2022-08-25 2022-08-25 Multimedia playing method, device, equipment and storage medium Pending CN115373786A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211024481.0A CN115373786A (en) 2022-08-25 2022-08-25 Multimedia playing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024481.0A CN115373786A (en) 2022-08-25 2022-08-25 Multimedia playing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115373786A true CN115373786A (en) 2022-11-22

Family

ID=84067004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024481.0A Pending CN115373786A (en) 2022-08-25 2022-08-25 Multimedia playing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115373786A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210233571A1 (en) * 2020-08-28 2021-07-29 Beijing Baidu Netcom Science Technology Co., Ltd. Method and apparatus for locating video playing node, device and storage medium
CN114286154A (en) * 2021-09-23 2022-04-05 腾讯科技(深圳)有限公司 Subtitle processing method and device for multimedia file, electronic equipment and storage medium
CN114501106A (en) * 2020-08-04 2022-05-13 腾讯科技(深圳)有限公司 Manuscript display control method and device, electronic equipment and storage medium
CN114564666A (en) * 2022-02-28 2022-05-31 北京字节跳动网络技术有限公司 Encyclopedic information display method, encyclopedic information display device, encyclopedic information display equipment and encyclopedic information display medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501106A (en) * 2020-08-04 2022-05-13 腾讯科技(深圳)有限公司 Manuscript display control method and device, electronic equipment and storage medium
US20210233571A1 (en) * 2020-08-28 2021-07-29 Beijing Baidu Netcom Science Technology Co., Ltd. Method and apparatus for locating video playing node, device and storage medium
CN114286154A (en) * 2021-09-23 2022-04-05 腾讯科技(深圳)有限公司 Subtitle processing method and device for multimedia file, electronic equipment and storage medium
CN114564666A (en) * 2022-02-28 2022-05-31 北京字节跳动网络技术有限公司 Encyclopedic information display method, encyclopedic information display device, encyclopedic information display equipment and encyclopedic information display medium

Similar Documents

Publication Publication Date Title
CN111970577B (en) Subtitle editing method and device and electronic equipment
US11941708B2 (en) Method, apparatus, device and medium for posting a video or image
US10237622B2 (en) Page turning method, page turning apparatus and terminal as well as computer readable medium
WO2022242351A1 (en) Method, apparatus, and device for processing multimedia, and medium
CN113365134B (en) Audio sharing method, device, equipment and medium
CN112437353B (en) Video processing method, video processing device, electronic apparatus, and readable storage medium
CN111078070B (en) PPT video barrage play control method, device, terminal and medium
JP2024523811A (en) Video sharing method, device, equipment and medium
CN113010704B (en) Interaction method, device, equipment and medium for conference summary
CN113703643B (en) Content display method, device, equipment and medium
CN113010698B (en) Multimedia interaction method, information interaction method, device, equipment and medium
CN113891164A (en) Video list display method and device, electronic equipment and storage medium
CN113886707B (en) Encyclopedia information determining method, encyclopedia information displaying method, encyclopedia information determining device, encyclopedia information displaying device, encyclopedia information determining equipment and encyclopedia information medium
WO2015062337A1 (en) Displaying lyrics of a song on a mobile computing device in a lock screen state
CN113727170A (en) Video interaction method, device, equipment and medium
CN111970571A (en) Video production method, device, equipment and storage medium
CN112380365A (en) Multimedia subtitle interaction method, device, equipment and medium
CN113886612A (en) Multimedia browsing method, device, equipment and medium
CN115379136A (en) Special effect prop processing method and device, electronic equipment and storage medium
CN112163102A (en) Search content matching method and device, electronic equipment and storage medium
CN116048337A (en) Page display method, device, equipment and storage medium
WO2019146466A1 (en) Information processing device, moving-image retrieval method, generation method, and program
US10402438B2 (en) Systems and methods of visualizing multimedia content
CN113535031A (en) Page display method, device, equipment and medium
CN113365010A (en) Volume adjusting method, device, equipment and storage medium

Legal Events

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