CN114942711A - Data playing method and device, computer equipment and storage medium - Google Patents

Data playing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114942711A
CN114942711A CN202210608938.6A CN202210608938A CN114942711A CN 114942711 A CN114942711 A CN 114942711A CN 202210608938 A CN202210608938 A CN 202210608938A CN 114942711 A CN114942711 A CN 114942711A
Authority
CN
China
Prior art keywords
playing
window
data
target
target page
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
CN202210608938.6A
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 ByteDance Network Technology Co Ltd
Original Assignee
Beijing ByteDance 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 ByteDance Network Technology Co Ltd filed Critical Beijing ByteDance Network Technology Co Ltd
Priority to CN202210608938.6A priority Critical patent/CN114942711A/en
Publication of CN114942711A publication Critical patent/CN114942711A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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/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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus

Landscapes

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

Abstract

The present disclosure provides a data playing method, apparatus, computer device and storage medium, wherein the method comprises: detecting a trigger operation of a user on a target page; the target page comprises a first playing window for playing target playing data; determining a second playing window matched with the triggering operation and the first playing window in a plurality of preset playing windows under the condition that the window switching condition is determined to be met based on the triggering operation; the second playing window is a playing window with a window size larger or smaller than that of the first playing window; and displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window.

Description

Data playing method and device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a data playing method and apparatus, a computer device, and a storage medium.
Background
Currently, a user may select a video (or audio) of interest in a display interface of a computer device and play the video (or audio) in a play page. When the user wants to browse other contents in the display interface, the user needs to exit the playing page of the current video (or audio) to return to the display interface to browse the contents again, so that the continuous playing of the current video (or audio) cannot be realized. When the user plays the video (or audio) again, the user needs to re-enter the playing page for playing, so that more repeated operations are generated when the user browses the content, and the browsing experience of the user is influenced.
Disclosure of Invention
The embodiment of the disclosure at least provides a data playing method, a data playing device, computer equipment and a storage medium.
In a first aspect, an embodiment of the present disclosure provides a data playing method, where the method includes: detecting a trigger operation of a user on a target page; the target page comprises a first playing window used for playing target playing data; determining a second playing window matched with the triggering operation and the first playing window in a plurality of preset playing windows under the condition that the window switching condition is determined to be met based on the triggering operation; the second playing window is a playing window with a window size larger or smaller than that of the first playing window; and displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window.
In an optional implementation manner, the preset playing windows include: the method comprises the steps of a first type window, a second type window and a third type window, wherein the sizes of the first type window, the second type window and the third type window are sequentially increased, the first type window and the second type window are switched and displayed in a target page through first trigger operation of a user on the target page, and the second type window and the third type window are switched and displayed in the target page through second trigger operation of the user on the target page.
In an optional implementation manner, the first playing window is a minimum size window of the plurality of preset playing windows; the displaying the second playing window at the designated position of the target page and switching to the continuing playing of the target playing data in the second playing window includes: controlling the recommended content of the target page to move according to a first preset direction to obtain a target blank area; the first preset direction is used for indicating a direction far away from the first playing window; and displaying the second playing window in the target blank area of the target page, and continuously playing the target playing data in the second playing window.
In an optional implementation manner, the first playing window is a minimum size window of the plurality of preset playing windows; the method further comprises the following steps: detecting an identifier triggering operation of a user on a playing control identifier in the first playing window in the process of playing the target playing data in the first playing window; determining a data control mode matched with the identification trigger operation, and controlling the playing process of the target playing data based on the data control mode, wherein the data control mode comprises any one of the following modes: pause playing, start playing, play speed adjustment and jump of playing data.
In an optional implementation manner, the first playing window is a middle-sized window in the plurality of preset playing windows; determining, in a plurality of preset playback windows, a second playback window that matches the trigger operation and the first playback window when it is determined that a window switching condition is satisfied based on the trigger operation, includes: determining that the window switching condition is met under the condition that the browsing operation of the user on the page content of the target page is detected; and determining a preset playing window positioned in a navigation bar in the target page as the second playing window.
In an optional implementation manner, the first playing window is a middle-sized window in the plurality of preset playing windows; the displaying the second playing window at the specified position of the target page comprises: displaying the second playing window at a preset window position of a navigation bar in the target page; the method further comprises the following steps: in the process of displaying the second playing window, controlling the first playing window to move according to a second preset direction; wherein the second predetermined direction is used to indicate a direction approaching the navigation bar; after the first playing window moves to the edge of the navigation bar, the first playing window is controlled to be hidden below a display interface corresponding to the navigation bar until the first playing window is completely hidden, wherein the interface level of the navigation bar is higher than that of the first playing window in the moving process of the first playing window.
In an optional implementation manner, the first playing window is a middle-sized window in the plurality of preset playing windows; the determining, in a case that it is determined based on the trigger operation that a window switching condition is satisfied, a second play window that matches the trigger operation and the first play window, among a plurality of preset play windows, includes: determining that the window switching condition is met under the condition that the triggering of a user on a target display card in the target page is detected; the target display card is used for displaying recommended content; and determining the playing window with the largest window size in the plurality of preset playing windows as the second playing window.
In an optional implementation manner, the second playing window is a middle-sized window or a largest-sized window of the plurality of preset playing windows; the displaying the second playing window at the designated position of the target page and switching to continue playing the target playing data in the second playing window includes: displaying the second playing window at a display position matched with the second playing window in the target page, and playing multimedia data containing the target playing data in the second playing window; displaying a collection mark of the multimedia data at a designated position of the second playing window; wherein the collection mark is an identifier for entering a collection list where the multimedia data is located; and responding to the triggering operation of the user on the collection mark, and displaying the list information of the collection list where the multimedia data is located in the target page.
In an optional embodiment, the multimedia data in the collection list is obtained by aggregating initial multimedia data based on a preset feature dimension, where the preset feature dimension includes at least one of: data type, data source, data subject and data association degree.
In an optional embodiment, the method further comprises: under the condition that the target playing data in the first playing window is detected to be played completely, acquiring next data to be played of the target playing data; and playing the next piece of data to be played in the first playing window.
In an optional implementation manner, the playing the next piece of data to be played in the first playing window includes: determining a data type of the next piece of data to be played, wherein the data type comprises: video data or audio data; determining a player matched with the next piece of data to be played; and playing the next piece of data to be played through the matched player in the first playing window.
In a second aspect, an embodiment of the present disclosure further provides a data playing apparatus, including: the detection unit is used for detecting the triggering operation of a user on the target page; the target page comprises a first playing window for playing target playing data; a determining unit, configured to determine, in a case where it is determined based on the trigger operation that a window switching condition is satisfied, a second play window that matches the trigger operation among a plurality of preset play windows; the second playing window is a playing window with a window size larger or smaller than that of the first playing window; and the display unit is used for displaying the second playing window at the specified position of the target page and switching to the second playing window to continue playing the target playing data.
In a third aspect, an embodiment of the present disclosure further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect described above, or any possible implementation of the first aspect.
In a fourth aspect, this disclosed embodiment also provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
As can be seen from the above description, by detecting a trigger operation of a user for a target page, in a case where it is determined that a window switching condition is satisfied based on the trigger operation, a second play window that matches the trigger operation and a first play window may be determined in a plurality of preset play windows. Then, the second playing window may be displayed at the designated position of the target page, and the playing of the target playing data is continued in the second playing window. By the processing mode, the target playing data can be played by switching the playing windows with different window sizes on the target page. By switching to the mode of playing the target playing data through the second playing window under the condition of meeting the window switching condition, the page content of the target page can be displayed for the user while the target playing data is continuously played on the basis of not shielding the page content of the target page. The processing mode can also simplify the playing operation of the user on the multimedia data, and further improve the browsing experience of the user.
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required in the embodiments will be briefly described below, and the drawings herein incorporated in and forming a part of the specification illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the technical solutions of the present disclosure. It is appreciated that the following drawings depict only certain embodiments of the disclosure and are therefore not to be considered limiting of its scope, for those skilled in the art will be able to derive additional related drawings therefrom without the benefit of the inventive faculty.
Fig. 1 shows a flowchart of a data playing method provided by an embodiment of the present disclosure;
FIG. 2(a) is a schematic diagram illustrating a first type of window in a target page according to an embodiment of the present disclosure;
FIG. 2(b) is a schematic diagram illustrating another window of a first type in a target page according to an embodiment of the disclosure;
FIG. 2(c) is a schematic diagram illustrating a second type of window in a target page according to an embodiment of the present disclosure;
FIG. 2(d) is a schematic diagram illustrating another window of a second type in a target page according to an embodiment of the disclosure;
FIG. 2(e) is a schematic diagram illustrating a third type of window in a target page according to an embodiment of the present disclosure;
FIG. 2(f) is a schematic diagram for showing a third type window in a target page according to another embodiment of the present disclosure;
FIG. 3 is a diagram illustrating recommended content of a target page provided by an embodiment of the disclosure;
FIG. 4 is a schematic diagram of another destination page provided by embodiments of the present disclosure;
fig. 5 is a schematic diagram illustrating a first play window provided by an embodiment of the present disclosure is a medium-sized window;
FIG. 6 is a schematic diagram illustrating a target display card displayed in a target page according to an embodiment of the disclosure;
FIG. 7 is a diagram illustrating a maximum size window in a target page according to an embodiment of the disclosure;
fig. 8(a) is a schematic diagram illustrating list information of a collection list where multimedia data is located in a target page in a case that the second playing window is a medium-sized window, provided by the embodiment of the present disclosure;
fig. 8(b) is a schematic diagram illustrating list information of a collection list where multimedia data is shown in a target page in a case where the second play window is a largest-sized window provided by the embodiment of the present disclosure;
fig. 9 is a schematic diagram of a data playback apparatus provided in an embodiment of the present disclosure;
fig. 10 shows a schematic diagram of a computer device provided by an embodiment of the present disclosure.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be described clearly and completely with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present disclosure, presented in the figures, is not intended to limit the scope of the claimed disclosure, but is merely representative of selected embodiments of the disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the disclosure without making creative efforts, shall fall within the protection scope of the disclosure.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The term "and/or" herein merely describes an associative relationship, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the term "at least one" herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, C, and may mean including any one or more elements selected from the group consisting of A, B and C.
Research has found that a user can select a video (or audio) of interest in a display interface of a computer device and play the video (or audio) in a video play page. When the user wants to browse other contents in the display interface, the user needs to exit from the video playing page of the current video (or audio) to return to the display interface to browse the contents again, so that the continuous playing of the current video (or audio) cannot be realized. When the user plays the video (or audio) again, the user needs to re-enter the video playing page for playing, so that more repeated operations are generated when the user browses the content, and the browsing experience of the user is influenced.
In order to solve the problem that continuous playing of the current video cannot be realized by browsing other contents in the display interface, a floating window may be generated in the display interface after browsing operation of the other contents in the display interface by the user is detected. And then, the current video is continuously played in the floating window, so that the current video is continuously played while other contents are browsed. However, the floating window in the above processing manner may block other contents in the display interface, thereby reducing the user experience.
Based on the above research, the present disclosure provides a data playing method, apparatus, computer device, and storage medium. As can be seen from the above description, by detecting a trigger operation of a user for a target page, in a case where it is determined that a window switching condition is satisfied based on the trigger operation, a second play window that matches the trigger operation and a first play window may be determined in a plurality of preset play windows. Then, the second playing window can be displayed at the designated position of the target page, and the playing of the target playing data in the second playing window is switched to be continued. By the processing mode, the target playing data can be played by switching the playing windows with different window sizes on the target page. By switching to the mode of playing the target playing data through the second playing window under the condition of meeting the window switching condition, the page content of the target page can be displayed for the user while the target playing data is continuously played on the basis of not shielding the page content of the target page. The processing mode can also simplify the playing operation of the user on the multimedia data, and further improve the browsing experience of the user.
To facilitate understanding of the present embodiment, a detailed description is first given of a data playing method disclosed in the embodiments of the present disclosure, and an execution subject of the data playing method provided in the embodiments of the present disclosure is generally a computer device with certain computing capability.
Referring to fig. 1, a flowchart of a data playing method provided in an embodiment of the present disclosure is shown, where the method includes steps S101 to S105, where:
s101: detecting a trigger operation of a user on a target page; the target page comprises a first playing window used for playing target playing data.
In embodiments of the present disclosure, the target page may be used to indicate a page displayed by a computer device (e.g., a mobile terminal device). For example, the target page may be a first page of an application installed in the mobile terminal device, and may also be an intermediate page of the application installed in the mobile terminal device, which is not specifically limited in this disclosure. In the following embodiments, a computer device is taken as an example of a mobile terminal device.
In the embodiment of the present disclosure, the mobile terminal device may be a vehicle-mounted mobile terminal device (e.g., a vehicle-mounted display), may also be other intelligent mobile terminal devices (e.g., a mobile phone device, a tablet device, etc.), and may also be a computer terminal device.
Under the condition that the mobile terminal equipment indicated by the target page is the vehicle-mounted mobile terminal equipment, the target page can be a display page of an application program installed in the vehicle-mounted mobile terminal equipment; and under the condition that the mobile terminal equipment indicated by the target page is mobile phone equipment, the target page can be a display page of an application program installed in the mobile phone.
In the embodiment of the present disclosure, after a target page of an installed application program is displayed in a display screen of a mobile terminal device, a first play window may be displayed in the target page, and target play data may be played in the first play window. The target playing data may be any one of the following data: video (e.g., short video), live, audio (e.g., music), text TTS (TextToSpeech, from text to speech).
In the embodiment of the present disclosure, the trigger operation for the target page may be any one of the following: click trigger operation and slide trigger operation.
S103: determining a second playing window matched with the triggering operation and the first playing window in a plurality of preset playing windows under the condition that the window switching condition is determined to be met based on the triggering operation; the second playing window is a playing window with a window size larger or smaller than that of the first playing window.
In the embodiment of the present disclosure, the preset playing windows may be understood as playing windows that are predetermined based on the mobile terminal device to which the target page belongs and are used for playing the target playing data in the target page. The number of the preset playing windows may be 2, 3, or 4, and the number of the preset playing windows is not specifically limited in the present disclosure, wherein the window sizes of the plurality of preset playing windows are different.
In the embodiment of the present disclosure, the window size of each preset playback window, and the display position of each preset playback window are associated with the size of the display screen of the mobile terminal device and the program type of the application program.
Here, the number of the preset playing windows may be determined first, and then the display position of each preset playing window in the target page is determined, and the window size of each preset playing window is determined.
It is assumed that the number of the preset playing windows is 3, and the window sizes of the 3 preset playing windows are respectively: a maximum size window, a medium size window, and a minimum size window. The display positions for the 3 preset playing windows may be: the display position of the maximum size window is the whole area of the target page, the display position of the middle size window is the middle area of the target page, and the display position of the minimum size window is the area where the navigation bar of the target page is located. The window size for the 3 preset playing windows may be: the window size of the maximum size window is equal to the size of the target page; the middle-size window is a square window in the middle area of the target page, and the side length of the square window is the same as the width of the target page; the minimum size window is a square window of the navigation bar area of the target page, and the side length of the square window is the same as the width of the navigation bar in the target page.
Here, the display positions of the preset playing windows are not limited to the display positions, and may be other display positions, and the window sizes of the preset playing windows are not limited to the window sizes, and may be other window sizes, which are not specifically limited by the present disclosure.
In the embodiment of the present disclosure, the window switching condition may be understood as: and switching the first playing window in the target page to the triggering condition of other preset playing windows. Here, the window switching condition is associated with the window size and/or the display position of the first playing window, and the window switching conditions corresponding to the preset playing windows with different window sizes and/or display positions are different.
For example, the window switching condition may be: and executing sliding operation on the target page, wherein the sliding distance of the sliding operation is greater than a preset distance, and the preset distance can be one half of the corresponding length of the target page.
For another example, the window switching condition may be: browsing the contents of the target page except the first playing window, clicking the content card in the target page, clicking the window switching button in the target page and the like.
In the embodiment of the present disclosure, when it is detected that the trigger operation of the user for the target page satisfies the window switching condition, a second play window that matches the trigger operation and the first play window may be determined in a plurality of preset play windows.
S105: and displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window.
In the embodiment of the present disclosure, the specified position of the target page may also be understood as a display position of the second playing window in the preset playing window in the target page. For example, when the second playback window is the maximum size window, the designated position of the target page is the entire region of the target page. And under the condition that the second playing window is the medium-size window, the designated position of the target page is the middle area of the target page. And under the condition that the second playing window is the minimum size window, the specified position of the target page can be a navigation bar area of the target page. Wherein, the size of the designated position is the same as the window size of the second playing window.
As can be seen from the above description, by detecting a trigger operation of a user for a target page, in a case where it is determined that a window switching condition is satisfied based on the trigger operation, a second play window that matches the trigger operation and a first play window may be determined among a plurality of preset play windows. Then, the second playing window can be displayed at the designated position of the target page, and the playing of the target playing data in the second playing window is switched to be continued. By the processing mode, the target playing data can be played by switching the playing windows with different window sizes on the target page. By switching to the mode of playing the target playing data through the second playing window under the condition of meeting the window switching condition, the page content of the target page can be displayed for the user while the target playing data is continuously played on the basis of not shielding the page content of the target page. The processing mode can also simplify the playing operation of the user on the multimedia data, and further improve the browsing experience of the user.
In an optional embodiment, the preset playing windows include: the method comprises the steps of a first type window, a second type window and a third type window, wherein the sizes of the first type window, the second type window and the third type window are sequentially increased, the first type window and the second type window are switched and displayed in a target page through first trigger operation of a user on the target page, and the second type window and the third type window are switched and displayed in the target page through second trigger operation of the user on the target page.
Here, the first type of windows may be understood as the above-mentioned minimum-sized windows, the second type of windows may be understood as the above-mentioned medium-sized windows, and the third type of windows may be understood as the above-mentioned maximum-sized windows.
In the embodiment of the present disclosure, the target page may be displayed in a horizontal screen display manner, or may be displayed in a vertical screen display manner. For example, fig. 2(a) shows a horizontal screen display mode, and fig. 2(b) shows a vertical screen display mode.
As can be seen from the above description, the first type window is a minimum size window of the preset playing windows, and at this time, a schematic diagram for displaying the first type window in the target page may be as shown in fig. 2(a) (horizontal screen display mode) and fig. 2(b) (vertical screen display mode). The second type of window is a medium size window in the preset playing windows, and at this time, a schematic diagram showing the second type of window in the target page may be as shown in fig. 2(c) (horizontal screen display manner) and fig. 2(d) (vertical screen display manner). When the third type of window is a largest size window of the preset playing windows, a schematic diagram of displaying the third type of window in the target page is shown in fig. 2(e) (a horizontal screen display mode) and fig. 2(f) (a vertical screen display mode).
According to the description, the target playing data can be played in various display forms of the playing window by setting the plurality of preset playing windows to be the playing windows with various window sizes, so that various playing requirements of users are met. Meanwhile, switching display among a plurality of preset playing windows can be achieved through triggering operation of a user, so that the requirement of the user for browsing a target page can be better met, and better browsing experience is provided for the user.
In an optional embodiment, in a case that the first play window is a minimum size window of the plurality of preset play windows, with respect to S105: displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window, specifically including the following steps:
step S21: controlling the recommended content of the target page to move according to a first preset direction to obtain a target blank area; the first preset direction is used for indicating a direction far away from the first playing window;
step S22: and displaying the second playing window in the target blank area of the target page, and continuously playing the target playing data in the second playing window.
In the embodiment of the disclosure, the recommended content of the target page may be other presentation content in the target page except for the first playing window. The recommended content of the target page can be video content and/or audio content.
Here, the recommended content of the target page may belong to different recommended blocks of the target page, for example, as shown in fig. 3, the recommended content presented in the target page may belong to the following recommended blocks: guess you like, local information, hot list and nearby. Each recommended block may correspond to a content list, and the content list includes related content information of recommended content belonging to the recommended block.
In the embodiment of the present disclosure, the recommended content of the target page is associated with the content browsed by the user on the target page, for example, the recommended content of the target page may be other content similar to or the same as the content browsed by the user on the target page.
Here, the content genre or the content theme corresponding to the recommended content belonging to different recommended blocks is different. Thus, the recommended content belonging to each recommended block may be content associated with the content browsed by the user and the genre or topic of the recommended block.
In this embodiment of the disclosure, each recommended tile in the target page may include a plurality of sub-tiles, each sub-tile may correspond to one theme, and the themes corresponding to different sub-tiles are different. For example, as shown in FIG. 4, a number of sub-tiles for which the recommended tile "guesses you like" may be presented in the target page by triggering the flag "Category" in the navigation bar of the target page. And for the plurality of sub-slabs, the plurality of sub-slabs can be classified and displayed on the target page according to the slab type of each sub-slab, wherein the slab type of each sub-slab is associated with the recommended content contained in the sub-slab.
As shown in fig. 4, the plate type may include a video-type plate and/or an audio-type plate. The video-type plate may be associated with at least one application program capable of playing video data, and the audio-type plate may be associated with at least one of the following types of data: music, text TTS (e.g., novel TTS, video TTS, etc.). For example, as shown in fig. 4, 3 applications capable of playing video may be associated in the video-class tile, where the 3 applications are "application 1", "application 2", and "application 3", and the content that can be displayed in the audio-class tile may be: "news, vocals, reviews, finance, science and technology, children, education, emotions, novels, history, talk show".
In the embodiment of the disclosure, a trigger operation of a user on a plate identifier of each daughter plate in a target page may be detected, and after the trigger operation is detected, recommended content associated with the daughter plate triggered by the trigger operation may be displayed in the target page.
For example, as shown in fig. 4, after responding to a trigger operation of the user for the plate identification "novel" in the audio-like plate, recommended content associated with the "novel" may be displayed in the target page. At this time, a user's selection operation of the recommended content associated with the "novel" may be detected, and the recommended content associated with the "novel" may be played in the first play window of the target page.
In the embodiment of the present disclosure, the first predetermined direction may be a direction away from the first playing window, for example, the direction away from the first playing window may be a direction as shown in fig. 3. At this time, when the recommended content of the control target page moves in the first predetermined direction, an area where the recommended content moves in the target page may be set as the target blank area.
In this embodiment of the present disclosure, when the first play window is a window with a minimum size (that is, a first type of window), the second play window may be the second type of window, and the "moving the recommended content of the control target page in the first predetermined direction" is the first trigger operation. At this time, the user can switch the first playing window in the target page to the second playing window for displaying through the first triggering operation, and continue playing the target playing data in the second playing window.
In the above embodiment, the recommended content of the target page may be controlled to move in a predetermined direction to obtain the target blank area. And then, displaying the second playing window in the target blank area, so that a user can clearly observe the switching process between the first playing window and the second playing window, and the interest of switching between the playing windows in the target page is increased. Meanwhile, the interactive experience of the user can be improved.
In an optional implementation manner, in a case that the first play window is a minimum size window of a plurality of preset play windows, the method provided in the embodiment of the present disclosure further includes the following steps:
step S31: detecting an identifier triggering operation of a user on a play control identifier in the first play window in the process of playing the target play data in the first play window;
step S32: determining a data control mode matched with the identification trigger operation, and controlling the playing process of the target playing data based on the data control mode, wherein the data control mode comprises any one of the following modes: pause playing, start playing, play speed adjustment and jump of playing data.
In the embodiment of the present disclosure, when the first playing window is a minimum size window of the multiple preset playing windows, the first playing window may also be understood as a first type window of the multiple preset playing windows.
In the embodiment of the present disclosure, the play control identifier may be an identifier for controlling a play state of the target play data in the first play window, for example, the play control identifier may be used to control at least one of: pause playing, start playing, playing speed and jump of playing data.
In the embodiment of the present disclosure, the play control identifier may be displayed in the first play window in a fixed display manner or a movable display manner, and when the play control identifier is displayed in the movable display manner, the play control label is in a movable state.
For example, as shown in fig. 2(a), the first playing window includes a playing control mark, and in this case, the playing control mark is shown in the form of "two parallel straight lines", and the playing control mark may be shown at a position below the middle area of the first playing window.
In specific implementation, after an identifier triggering operation of a user on a play control identifier in a first play window is detected, a data control mode matched with the identifier triggering operation may be determined, and a play process of target data in the first play window is controlled based on the data control mode.
Here, the data control manner that matches the identification trigger operation may be determined based on the play state of the target play data at the present time. If the playing state of the target playing data at the current time is currently playing, after detecting an identifier triggering operation of the user for the playing control identifier in the first playing window, it may be determined that a data control manner matching the identifier triggering operation is: the playback is paused. At this time, the playing of the target playing data in the first playing window can be controlled to be the pause playing.
In the above embodiment, the playing process of the target playing data can be controlled by detecting the identifier triggering operation of the user for the playing control identifier in the first playing window and determining the data control mode matched with the identifier triggering operation, so that the playing process of the target playing data in the minimum-size window can be conveniently and quickly controlled, and the flexibility of playing the target playing data in the minimum-size window can be improved.
In an optional embodiment, in a case that the first play window is a middle-sized window of the plurality of preset play windows, with respect to S103: determining a second play window matched with the trigger operation and the first play window in a plurality of preset play windows under the condition that the window switching condition is determined to be met based on the trigger operation, and specifically comprising the following steps:
step S41: determining that the window switching condition is met under the condition that the browsing operation of the user on the page content of the target page is detected;
step S42: and determining a preset playing window positioned in a navigation bar in the target page as the second playing window.
In the embodiment of the present disclosure, when the first playing window is a middle-sized window in the plurality of preset playing windows, that is, the second-type window, at this time, the schematic diagram for displaying the first playing window in the target page may be as shown in fig. 2(c) and fig. 2 (d).
In this case, the page content of the target page is used to indicate the content shown in the region of the target page other than the navigation bar and the first play window. For example, the content displayed in the area except the navigation bar and the second type window as shown in fig. 2(c) and 2(d) is the page content of the target page.
Here, the page content of the target page may be video content and/or audio content, where the video content and/or the audio content may be local news, may also be a hot video, and may also be interested radio audio or interested novel audio, and the page content is not specifically limited in this disclosure.
In the embodiment of the present disclosure, the browsing operation of the user on the page content of the target page may also be understood as an operation of sliding the page content in a direction close to the navigation bar (for example, to the left or upwards), or an operation of browsing other page contents in the target page.
Based on this, in the case that it is detected that the user performs a browsing operation in a direction close to the navigation bar on the page content of the target page, it may be determined that the window switching condition is satisfied. At this time, the preset window in the navigation bar in the target page may be determined as the second play window.
In the embodiment, the window switching condition can be determined to be met under the condition that the page content of the target page browsed by the user is detected, so that the medium-size window and the minimum-size window can be switched simply, quickly, smoothly and naturally, and the interaction experience of the user is improved. Meanwhile, the position of the second playing window can be fixed by determining the preset window in the navigation bar as the second playing window, so that the second playing window is prevented from shielding page content, and a user can play data while browsing the page content without a barrier.
In an optional embodiment, in a case that the first play window is a middle-sized window of the plurality of preset play windows, with respect to S105: displaying the second playing window at the specified position of the target page, which specifically comprises the following steps:
step S51: displaying the second playing window at a preset window position of a navigation bar in the target page;
step S52: in the process of displaying the second playing window, controlling the first playing window to move according to a second preset direction; wherein the second predetermined direction is used to indicate a direction approaching the navigation bar;
step S53: after the first playing window moves to the edge of the navigation bar, the first playing window is controlled to be hidden below a display interface corresponding to the navigation bar until the first playing window is completely hidden, wherein the interface level of the navigation bar is higher than that of the first playing window in the moving process of the first playing window.
In the embodiment of the present disclosure, in a case that the first playing window is a middle-sized window of the plurality of preset windows, the second playing window may be a smallest-sized window of the plurality of preset windows, where the smallest-sized window may be a playing window displayed at a preset window position of the navigation bar.
Here, the preset window position may be a position of any one of the content cards displayed in the navigation bar. For example, as shown in fig. 5, the target page includes 5 content cards in the navigation bar of the target page: "recommendation card", "category card", "search card", "video card", "user card". At this time, the second play window may be presented at the position of any one of the content cards in the navigation bar as shown in fig. 5. For example, the second play window may be presented in a "recommendation card".
Here, the second predetermined direction is used to indicate a direction approaching the navigation bar, for example, when the target page is in a landscape display, the second predetermined direction may be a direction approaching the navigation bar as shown in fig. 5.
In the embodiment of the present disclosure, in the process of displaying the second playing window, the first playing window may be controlled to move according to a second predetermined direction. For example, as shown in fig. 5, the middle size window may be controlled to move in the left direction.
After the window edge of the medium-sized window is moved to the edge of the navigation bar, the medium-sized window can be controlled to be hidden below the display interface corresponding to the navigation bar until the medium-sized window is completely hidden. Then, the user can switch to continue playing the target playing data through the second playing window.
In the embodiment, the display process of switching the first playing window to the second playing window can be vividly and vividly displayed, so that a user can more clearly observe the process of switching the windows, and the interactive participation sense of the user is enhanced. Meanwhile, the switching process of the windows can be more hierarchical, and the interaction experience of users can be further improved.
In an optional embodiment, in a case that the first play window is a middle-sized window of the plurality of preset play windows, with respect to S103: determining a second play window matched with the trigger operation and the first play window in a plurality of preset play windows under the condition that the window switching condition is determined to be met based on the trigger operation, and specifically comprising the following steps:
step S61: determining that the window switching condition is met under the condition that the triggering of a user on a target display card in the target page is detected; the target display card is used for displaying recommended content;
step S62: and determining the playing window with the largest window size in the plurality of preset playing windows as the second playing window.
In the embodiment of the present disclosure, the page content of the target page may include recommended content corresponding to a plurality of recommended slabs, and the recommended content corresponding to each recommended slab may be displayed in one target display card. For example, as shown in fig. 6, the destination page includes 4 destination display cards. The recommended content displayed by the target display card may be content of 'guessing your favorite' belonging to the recommended block, or content of 'local information' belonging to the recommended block.
In the embodiment of the present disclosure, the target display card may be divided into two parts, one part is a content display area, and the other part is a shortcut button area. Based on this, the trigger to the target display card may be: triggering a content display area in the target display card, or triggering a shortcut button area in the target display card. The shortcut button in the target display card may be a button for controlling a playing state of the recommended content displayed in the target display card.
In the embodiment of the present disclosure, in the case where the trigger of the user on the content display area in the target display card is detected, it may be determined that the window switching condition is satisfied. Then, the playing window with the largest window size (i.e., the third type window) in the plurality of preset windows may be determined as the second playing window. For example, as shown in fig. 7, when a trigger of the user to the content display area in the target display card corresponding to the "local information" in the target page is detected, it is determined that the window switching condition is satisfied, and the third type of window is determined as the second play window. Then, the recommended content corresponding to the "local information" can be played in the second playing window.
In addition, when the trigger of the user for the shortcut button area in the target display card is detected, the target playing data in the first playing window may be switched to the recommended content corresponding to the target display card, and the recommended content corresponding to the target display card may be started to be played in the first playing window.
In the above embodiment, after the triggering of the target display card by the user is detected, it is determined that the window switching condition is met, and the window with the largest window size in the preset windows is determined as the second playing window, so that the operation complexity of the user for switching the windows can be simplified, the rapid switching between the windows with different sizes can be realized, the time of the user is saved, and the interaction efficiency of the target page is improved.
In an optional embodiment, in a case that the second play window is a middle-sized window or a largest-sized window of the multiple preset play windows, for S105: displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window, specifically including the following steps:
step S71: displaying the second playing window at a display position matched with the second playing window in the target page, and playing multimedia data containing the target playing data in the second playing window;
step S72: displaying a collection mark of the multimedia data at a designated position of the second playing window; wherein the collection mark is an identifier for entering a collection list where the multimedia data is located;
step S73: and responding to the triggering operation of the user on the collection mark, and displaying the list information of the collection list where the multimedia data is located in the target page.
In the embodiment of the present disclosure, in a case that the second playing window is a medium-sized window, the display position matched with the second playing window may be a middle area of the target page; in the case that the second playing window is the largest-sized window, the display position matched with the second playing window may be the whole area of the target page.
Here, the specified position in the second playing window may be a position at a lower left corner in the second playing window, and may also be a position at a lower right corner in the second playing window.
The display positions of the collection marks may be different in different types of play windows. For example, for a medium size window, the collection marker may be "local info" at the lower left corner of the medium size window as shown in FIG. 6; for another example, for the maximum size window, there may be a "list" at the lower right corner position in the maximum size window as shown in fig. 7.
In this embodiment of the present disclosure, each piece of list information in the collection list corresponding to the collection flag may correspond to one piece of multimedia data.
Here, the collection list may be a "local information" list, a "guess you like" list, a "hot list" (the hot list may be a hot list of the application program associated in the recommended content), or a "nearby" list, and the type of the collection list is not particularly limited in the present disclosure, so as to meet actual needs.
In an optional embodiment, the multimedia data in the collection list is obtained by aggregating the initial multimedia data based on a preset feature dimension, where the preset feature dimension includes at least one of: data type, data source, data subject and data association degree.
Here, the data type may be used to indicate a data type of data played by the target page, and for example, the data type may be video data or audio data. The data source is used to indicate the filtering place of the collection list, for example, in the case of "local information" of the collection list, the data source is local. The data topic is used to indicate a topic of interest to the user, for example, the data topic may be play, actual news, history, and the like. The data association degree is used for indicating the association degree between the multimedia data obtained by aggregation.
In the embodiment of the present disclosure, in response to a trigger operation of the user on the collection mark, the list information of the collection list where the multimedia data is located may be displayed in the target page. In specific implementation, as shown in fig. 8(a) and 8(b), after the trigger operation of the user on the album mark is detected, a new cover layer may be generated in the target page, list information of the album list where the multimedia data is located may be displayed in the cover layer, list data associated with the target play data being played in the second play window may be located in the displayed list information, and a corresponding data special effect, for example, a "playing" special effect as shown in fig. 8(a), may be added to the associated list data.
For example, fig. 8(a) is a schematic diagram showing list information of a collection list where multimedia data is located in a target page when the second playback window is a medium-sized window, and fig. 8(b) is a schematic diagram showing list information of a collection list where multimedia data is located in a target page when the second playback window is a maximum-sized window. Wherein, the 2 nd list information in the local information is the target playing data being played in the second playing window.
In the embodiment of the present disclosure, in response to a selection operation of a user on multimedia data in the collection list, the multimedia data corresponding to the selection operation may be played in the second play window, and the cover layer where the collection list is located may be collapsed.
In addition, it should be further noted that, in the embodiment of the present disclosure, by clicking an area except for the aggregate list in the target page, the cover layer where the aggregate list is located may be folded, and the target play data continues to be played in the second play window.
In the above embodiment, the collection mark may be displayed in the second playing window, so that the user can determine the collection to which the target playing data belongs at any time. In addition, the list information of the collection list where the multimedia data are located is displayed in the target page by responding to the triggering operation of the user on the collection mark, so that the user can conveniently and quickly browse the collected multimedia data, the browsing requirement of the user can be better met, and the use experience of the user is improved.
In an alternative embodiment, the disclosed method further comprises the steps of:
step S81: under the condition that the target playing data in the first playing window is detected to be played completely, acquiring next data to be played of the target playing data;
step S82: and playing the next piece of data to be played in the first playing window.
In the embodiment of the present disclosure, in a case that the target playing data meets the playing end requirement, a request for acquiring the data to be played may be generated, and the next data to be played of the target playing data may be acquired based on the request for acquiring the data to be played. Wherein, the playing end requirement may be: the playing remaining time of the target playing data is less than a preset time threshold (for example, the preset time threshold may be 3 seconds or 5 seconds).
Here, the next data to be played of the target playing data may be the next multimedia data in the aggregate list where the target playing data is located, or may be recommendation data redetermined based on the browsing record and/or the search record of the user for the application program where the target page is located.
In this embodiment of the present disclosure, after acquiring the next piece of data to be played of the target playing data, the following process is specifically further included:
firstly, determining the data type of the next piece of data to be played, wherein the data type comprises: video data or audio data;
then, determining a player matched with the next piece of data to be played;
and then, playing the next piece of data to be played through the matched player in the first playing window.
In the above embodiment, when the playing of the target playing data is finished, the next piece of data to be played is obtained, and the next piece of data to be played is played in the first playing window, so that the target playing data in the first playing window can be automatically and continuously played, the flexibility and the efficiency of the playing data in the first playing window can be improved, and the repeated operation of a user can be avoided. Meanwhile, before playing the next piece of data to be played, the data type of the next piece of data to be played is determined, and a player matched with the next piece of data to be played is determined. Then, the player can be adjusted at any time in the way that the matched player plays the next piece of data to be played, so that resources can be saved, and waste is avoided.
It will be understood by those skilled in the art that in the method of the present invention, the order of writing the steps does not imply a strict order of execution and any limitations on the implementation, and the specific order of execution of the steps should be determined by their function and possible inherent logic.
Based on the same inventive concept, the embodiment of the present disclosure further provides a data playing apparatus corresponding to the data playing method, and since the principle of the apparatus in the embodiment of the present disclosure for solving the problem is similar to the data playing method in the embodiment of the present disclosure, the implementation of the apparatus may refer to the implementation of the method, and repeated parts are not described again.
Referring to fig. 9, a schematic diagram of a data playing apparatus provided in an embodiment of the present disclosure is shown, where the apparatus includes: a detection unit 91, a determination unit 92 and a display unit 93; wherein the content of the first and second substances,
the detection unit 91 is used for detecting the triggering operation of the user on the target page; the target page comprises a first playing window for playing target playing data;
a determining unit 92, configured to determine, in a case where it is determined based on the trigger operation that the window switching condition is satisfied, a second play window that matches the trigger operation among a plurality of preset play windows; the second playing window is a playing window with a window size larger or smaller than that of the first playing window;
and a display unit 93, configured to display the second play window at the specified position of the target page, and switch to continue to play the target play data in the second play window.
As can be seen from the above description, by detecting a trigger operation of a user for a target page, in a case where it is determined that a window switching condition is satisfied based on the trigger operation, a second play window that matches the trigger operation and a first play window may be determined in a plurality of preset play windows. Then, the second playing window can be displayed at the designated position of the target page, and the playing of the target playing data in the second playing window is switched to be continued. By the processing mode, the target playing data can be played by switching the playing windows with different window sizes on the target page. By switching to the mode of playing the target playing data through the second playing window under the condition of meeting the window switching condition, the page content of the target page can be displayed for the user while the target playing data is continuously played on the basis of not shielding the page content of the target page. The processing mode can also simplify the playing operation of the user on the multimedia data, and further improve the browsing experience of the user.
In one possible embodiment, the apparatus is further configured to: the plurality of preset playing windows comprise: the method comprises the steps of a first type window, a second type window and a third type window, wherein the sizes of the first type window, the second type window and the third type window are sequentially increased, the first type window and the second type window are switched and displayed in a target page through first trigger operation of a user on the target page, and the second type window and the third type window are switched and displayed in the target page through second trigger operation of the user on the target page.
In one possible embodiment, the display unit is further configured to: under the condition that the first playing window is the window with the minimum size in the plurality of preset playing windows, controlling the recommended content of the target page to move according to a first preset direction to obtain a target blank area; the first preset direction is used for indicating a direction far away from the first playing window; and displaying the second playing window in the target blank area of the target page, and continuously playing the target playing data in the second playing window.
In one possible embodiment, the apparatus is further configured to: detecting an identifier triggering operation of a user on a playing control identifier in a first playing window in the process of playing the target playing data in the first playing window under the condition that the first playing window is the smallest-size window in the plurality of preset playing windows; determining a data control mode matched with the identification trigger operation, and controlling the playing process of the target playing data based on the data control mode, wherein the data control mode comprises any one of the following modes: pause playing, start playing, play speed adjustment and jump of playing data.
In a possible implementation, the determining unit is further configured to: under the condition that a first playing window is a medium-size window in the plurality of preset playing windows, and under the condition that browsing operation of a user on the page content of the target page is detected, determining that the window switching condition is met; and determining a preset playing window positioned in a navigation bar in the target page as the second playing window.
In one possible embodiment, the display unit is further configured to: under the condition that the first playing window is a middle-size window in the plurality of preset playing windows, displaying the second playing window at a preset window position of a navigation bar in the target page; in the process of displaying the second playing window, controlling the first playing window to move according to a second preset direction; wherein the second predetermined direction is used to indicate a direction approaching the navigation bar; after the first playing window moves to the edge of the navigation bar, the first playing window is controlled to be hidden below a display interface corresponding to the navigation bar until the first playing window is completely hidden, wherein the interface level of the navigation bar is higher than that of the first playing window in the moving process of the first playing window.
In a possible implementation, the determining unit is further configured to: under the condition that a first playing window is a medium-size window in the preset playing windows, and under the condition that the triggering of a user on a target display card in the target page is detected, determining that the window switching condition is met; the target display card is used for displaying recommended contents; and determining the playing window with the largest window size in the plurality of preset playing windows as the second playing window.
In one possible embodiment, the display unit is further configured to: under the condition that a second playing window is a middle-size window or a largest-size window in the plurality of preset playing windows, displaying the second playing window at a display position matched with the second playing window in the target page, and playing multimedia data containing the target playing data in the second playing window; displaying a collection mark of the multimedia data at a designated position of the second playing window; the collection is marked as an identifier for entering a collection list where the multimedia data are located; and responding to the triggering operation of the user on the collection mark, and displaying the list information of the collection list where the multimedia data is located in the target page.
In one possible embodiment, the apparatus is further configured to: the multimedia data in the collection list is obtained by aggregating the initial multimedia data based on preset feature dimensions, wherein the preset feature dimensions include at least one of the following: data type, data source, data subject and data association degree.
In one possible embodiment, the apparatus is further configured to: under the condition that the target playing data in the first playing window is detected to be played, acquiring next data to be played of the target playing data; and playing the next piece of data to be played in the first playing window.
In one possible embodiment, the apparatus is further configured to: determining a data type of the next piece of data to be played, wherein the data type comprises: video data or audio data; determining a player matched with the next piece of data to be played; and playing the next piece of data to be played through the matched player in the first playing window.
The description of the processing flow of each module in the device and the interaction flow between the modules may refer to the related description in the above method embodiments, and will not be described in detail here.
Corresponding to the data playing method in fig. 1, an embodiment of the present disclosure further provides a computer device 1000, as shown in fig. 10, a schematic structural diagram of the computer device 1000 provided in the embodiment of the present disclosure includes:
a processor 101, a memory 102, and a bus 103; the storage 102 is used for storing execution instructions and includes a memory 1021 and an external storage 1022; the memory 1021 is also called an internal memory, and is used for temporarily storing the operation data in the processor 101 and the data exchanged with the external memory 1022 such as a hard disk, the processor 101 exchanges data with the external memory 1022 through the memory 1021, and when the computer device 1000 operates, the processor 101 communicates with the memory 102 through the bus 103, so that the processor 101 executes the following instructions:
detecting the triggering operation of a user on a target page; the target page comprises a first playing window used for playing target playing data;
under the condition that window switching conditions are determined to be met based on the triggering operation, determining a second playing window matched with the triggering operation and the first playing window in a plurality of preset playing windows; the second playing window is a playing window with a window size larger or smaller than that of the first playing window;
and displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window.
The embodiments of the present disclosure also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the data playing method in the foregoing method embodiments. The storage medium may be a volatile or non-volatile computer-readable storage medium.
The embodiments of the present disclosure also provide a computer program product, where the computer program product carries a program code, and instructions included in the program code may be used to execute the steps of the data playing method in the foregoing method embodiments, which may be referred to specifically in the foregoing method embodiments, and are not described herein again.
The computer program product may be implemented by hardware, software or a combination thereof. In an alternative embodiment, the computer program product is embodied in a computer storage medium, and in another alternative embodiment, the computer program product is embodied in a Software product, such as a Software Development Kit (SDK), or the like.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, apparatus, and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present disclosure may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are merely specific embodiments of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, but not to limit the technical solutions, and the scope of the present disclosure is not limited thereto, and although the present disclosure is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: any person skilled in the art can modify or easily conceive of the technical solutions described in the foregoing embodiments or equivalent technical features thereof within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present disclosure, and should be construed as being included therein. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (14)

1. A data playback method, comprising:
detecting a trigger operation of a user on a target page; the target page comprises a first playing window used for playing target playing data;
under the condition that window switching conditions are determined to be met based on the triggering operation, determining a second playing window matched with the triggering operation and the first playing window in a plurality of preset playing windows; the second playing window is a playing window with a window size larger or smaller than that of the first playing window;
and displaying the second playing window at the designated position of the target page, and switching to continue playing the target playing data in the second playing window.
2. The method of claim 1, wherein the plurality of preset playing windows comprises: the method comprises the steps of a first type window, a second type window and a third type window, wherein the sizes of the first type window, the second type window and the third type window are sequentially increased, the first type window and the second type window are switched and displayed in a target page through first trigger operation of a user on the target page, and the second type window and the third type window are switched and displayed in the target page through second trigger operation of the user on the target page.
3. The method according to claim 1, wherein the first playing window is a smallest size window of the plurality of preset playing windows;
the displaying the second playing window at the designated position of the target page and switching to the continuing playing of the target playing data in the second playing window includes:
controlling the recommended content of the target page to move according to a first preset direction to obtain a target blank area; the first preset direction is used for indicating a direction far away from the first playing window;
and displaying the second playing window in the target blank area of the target page, and continuously playing the target playing data in the second playing window.
4. The method according to claim 1, wherein the first playing window is a smallest size window of the plurality of preset playing windows; the method further comprises the following steps:
detecting an identifier triggering operation of a user on a playing control identifier in the first playing window in the process of playing the target playing data in the first playing window;
determining a data control mode matched with the identification trigger operation, and controlling the playing process of the target playing data based on the data control mode, wherein the data control mode comprises any one of the following modes: pause playing, start playing, play speed adjustment and jump of playing data.
5. The method according to claim 1, wherein the first playing window is a middle-sized window of the plurality of preset playing windows;
determining, in a plurality of preset playback windows, a second playback window that matches the trigger operation and the first playback window when it is determined that a window switching condition is satisfied based on the trigger operation, includes:
determining that the window switching condition is met under the condition that the browsing operation of the user on the page content of the target page is detected;
and determining a preset playing window positioned in a navigation bar in the target page as the second playing window.
6. The method according to claim 1, wherein the first playing window is a middle-sized window of the plurality of preset playing windows;
the displaying the second playing window at the specified position of the target page comprises:
displaying the second playing window at a preset window position of a navigation bar in the target page;
the method further comprises the following steps:
in the process of displaying the second playing window, controlling the first playing window to move according to a second preset direction; wherein the second predetermined direction is used to indicate a direction approaching the navigation bar;
after the first playing window moves to the edge of the navigation bar, the first playing window is controlled to be hidden below a display interface corresponding to the navigation bar until the first playing window is completely hidden, wherein the interface level of the navigation bar is higher than that of the first playing window in the moving process of the first playing window.
7. The method according to claim 1, wherein the first playing window is a middle-sized window of the plurality of preset playing windows;
determining, in a plurality of preset playback windows, a second playback window that matches the trigger operation and the first playback window when it is determined that a window switching condition is satisfied based on the trigger operation, includes:
determining that the window switching condition is met under the condition that the triggering of a user on a target display card in the target page is detected; the target display card is used for displaying recommended content;
and determining the playing window with the largest window size in the plurality of preset playing windows as the second playing window.
8. The method according to claim 1, wherein the second playing window is a middle-sized window or a largest-sized window of the plurality of preset playing windows;
the displaying the second playing window at the designated position of the target page and switching to the continuing playing of the target playing data in the second playing window includes:
displaying the second playing window at a display position matched with the second playing window in the target page, and playing multimedia data containing the target playing data in the second playing window;
displaying a collection mark of the multimedia data at a designated position of the second playing window; wherein the collection mark is an identifier for entering a collection list where the multimedia data is located;
and responding to the triggering operation of the user on the collection mark, and displaying the list information of the collection list where the multimedia data is located in the target page.
9. The method of claim 8, wherein the multimedia data in the collection list is obtained by aggregating initial multimedia data based on a preset feature dimension, wherein the preset feature dimension comprises at least one of: data type, data source, data subject and data association degree.
10. The method of claim 1, further comprising:
under the condition that the target playing data in the first playing window is detected to be played, acquiring next data to be played of the target playing data;
and playing the next piece of data to be played in the first playing window.
11. The method according to claim 10, wherein playing the next piece of data to be played in the first playing window comprises:
determining a data type of the next piece of data to be played, wherein the data type comprises: video data or audio data;
determining a player matched with the next piece of data to be played;
and playing the next piece of data to be played in the first playing window through the matched player.
12. A data playback apparatus, comprising:
the detection unit is used for detecting the triggering operation of a user on the target page; the target page comprises a first playing window for playing target playing data;
a determining unit, configured to determine, in a case where it is determined based on the trigger operation that a window switching condition is satisfied, a second play window that matches the trigger operation among a plurality of preset play windows; the second playing window is a playing window with a window size larger or smaller than that of the first playing window;
and the display unit is used for displaying the second playing window at the specified position of the target page and switching to the second playing window to continue playing the target playing data.
13. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the data playback method according to any one of claims 1 to 11.
14. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the steps of the data playback method according to one of claims 1 to 11.
CN202210608938.6A 2022-05-31 2022-05-31 Data playing method and device, computer equipment and storage medium Pending CN114942711A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210608938.6A CN114942711A (en) 2022-05-31 2022-05-31 Data playing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210608938.6A CN114942711A (en) 2022-05-31 2022-05-31 Data playing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114942711A true CN114942711A (en) 2022-08-26

Family

ID=82909527

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210608938.6A Pending CN114942711A (en) 2022-05-31 2022-05-31 Data playing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114942711A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740023A (en) * 2011-04-15 2012-10-17 海尔集团公司 Method and system for TV set multi-picture processing
CN105611389A (en) * 2015-12-25 2016-05-25 广州视源电子科技股份有限公司 Display method and display device of smart television
CN106802759A (en) * 2016-12-21 2017-06-06 华为技术有限公司 The method and terminal device of video playback
CN108449641A (en) * 2018-03-28 2018-08-24 聚好看科技股份有限公司 Play method, apparatus, computer equipment and the storage medium of Media Stream
CN109445572A (en) * 2018-09-10 2019-03-08 华为技术有限公司 The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video
CN111107418A (en) * 2019-12-19 2020-05-05 北京奇艺世纪科技有限公司 Video data processing method, video data processing device, computer equipment and storage medium
CN111988659A (en) * 2020-09-02 2020-11-24 深圳市康冠商用科技有限公司 Multi-information-source dynamic window previewing method and device, intelligent display equipment and storage medium
CN112055259A (en) * 2020-08-12 2020-12-08 南京创维信息技术研究院有限公司 Advertisement filtering method, intelligent terminal and storage medium
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN112241229A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Terminal display control method, device, terminal and storage medium
CN112383808A (en) * 2020-11-02 2021-02-19 广州繁星互娱信息科技有限公司 Video playing method, device, terminal and storage medium
CN112788427A (en) * 2021-01-07 2021-05-11 北京电子科技职业学院 Device and method for playing video small window

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740023A (en) * 2011-04-15 2012-10-17 海尔集团公司 Method and system for TV set multi-picture processing
CN105611389A (en) * 2015-12-25 2016-05-25 广州视源电子科技股份有限公司 Display method and display device of smart television
CN106802759A (en) * 2016-12-21 2017-06-06 华为技术有限公司 The method and terminal device of video playback
CN108449641A (en) * 2018-03-28 2018-08-24 聚好看科技股份有限公司 Play method, apparatus, computer equipment and the storage medium of Media Stream
CN109445572A (en) * 2018-09-10 2019-03-08 华为技术有限公司 The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video
CN112130742A (en) * 2019-06-25 2020-12-25 华为技术有限公司 Full screen display method and device of mobile terminal
CN111107418A (en) * 2019-12-19 2020-05-05 北京奇艺世纪科技有限公司 Video data processing method, video data processing device, computer equipment and storage medium
CN112055259A (en) * 2020-08-12 2020-12-08 南京创维信息技术研究院有限公司 Advertisement filtering method, intelligent terminal and storage medium
CN111988659A (en) * 2020-09-02 2020-11-24 深圳市康冠商用科技有限公司 Multi-information-source dynamic window previewing method and device, intelligent display equipment and storage medium
CN112241229A (en) * 2020-10-20 2021-01-19 北京字节跳动网络技术有限公司 Terminal display control method, device, terminal and storage medium
CN112383808A (en) * 2020-11-02 2021-02-19 广州繁星互娱信息科技有限公司 Video playing method, device, terminal and storage medium
CN112788427A (en) * 2021-01-07 2021-05-11 北京电子科技职业学院 Device and method for playing video small window

Similar Documents

Publication Publication Date Title
KR101919008B1 (en) Method for providing information and mobile terminal thereof
KR101885775B1 (en) Method for capturing content and mobile terminal thereof
KR101894395B1 (en) Method for providing capture data and mobile terminal thereof
CN103324408B (en) The method and its mobile terminal of shared content
CN113111286A (en) Information display method and device and computer storage medium
KR101363560B1 (en) Mobile device and method for controlling the operation of the mobile device
CN110209843A (en) Multimedia resource playback method, device, equipment and storage medium
CN107992246A (en) A kind of video editing method and its device and intelligent terminal
US20150007112A1 (en) Electronic Device, Method of Displaying Display Item, and Search Processing Method
CN109325223B (en) Article recommendation method and device and electronic equipment
CN105808764A (en) Recommended content display method and device
CN112035687B (en) Method and device for issuing multimedia content, electronic equipment and storage medium
CN106227461B (en) Window switching method and device
US20180181295A1 (en) Method for displaying information, and terminal equipment
JP6694114B2 (en) Device and related methods
WO2018112924A1 (en) Information display method, device and terminal device
CN108958503A (en) input method and device
CN112084305A (en) Search processing method, device, terminal and storage medium applied to chat application
WO2023226760A1 (en) Topic recommendation method and apparatus, computer device, and storage medium
CN113778295A (en) Book recommendation method and device, computer equipment and storage medium
CN110322305A (en) Data object information providing method, device and electronic equipment
WO2023087990A1 (en) Image display method and apparatus, computer device, and storage medium
CN113975788A (en) Entry indexing method and device, computer equipment and storage medium
CN113407828A (en) Searching method, searching device and searching device
CN104350455A (en) Causing elements to be displayed

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Douyin Vision Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: Tiktok vision (Beijing) Co.,Ltd.

Address after: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant after: Tiktok vision (Beijing) Co.,Ltd.

Address before: 100041 B-0035, 2 floor, 3 building, 30 Shixing street, Shijingshan District, Beijing.

Applicant before: BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd.