CN115460469A - Multi-video playing processing method and device, computer equipment and storage medium - Google Patents

Multi-video playing processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115460469A
CN115460469A CN202211024293.8A CN202211024293A CN115460469A CN 115460469 A CN115460469 A CN 115460469A CN 202211024293 A CN202211024293 A CN 202211024293A CN 115460469 A CN115460469 A CN 115460469A
Authority
CN
China
Prior art keywords
video
played
playing
queue
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211024293.8A
Other languages
Chinese (zh)
Other versions
CN115460469B (en
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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202211024293.8A priority Critical patent/CN115460469B/en
Publication of CN115460469A publication Critical patent/CN115460469A/en
Priority to PCT/CN2023/074478 priority patent/WO2024040875A1/en
Application granted granted Critical
Publication of CN115460469B publication Critical patent/CN115460469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the application discloses a method and a device for processing multi-video playing, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring a first video queue and a second video queue in a video stream playing scene; when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue; and if the target video to be played is played currently, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.

Description

Multi-video playing processing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of video playing technologies, and in particular, to a method and an apparatus for processing multi-video playing, a computer device, and a storage medium.
Background
With the continuous development of computer communication technology, a great deal of computer equipment such as smart phones, computers, tablet computers and notebook computers is popularized and applied, and the computer equipment develops towards diversification and individuation and increasingly becomes an indispensable terminal for people in life and work. In order to meet the pursuit of people for mental life, some video applications are increasingly popularized in work, life and entertainment of people, and users can open the video applications to watch different videos anytime and anywhere.
At present, video applications usually adopt a video information stream form to display videos, the video information stream is a display mode for displaying video contents by using a streaming layout, and the video information stream can provide multiple videos at a graphical user interface for a user to select and play. In the prior art, video information streams are played according to the watching sequence of a user, when the user selects a video to switch, a temporary storage resource needs to be used for recording the currently played video and playing the selected video, so that the steps are complicated when the user preemptively plays the video selected by the user, and the processing process is complicated when the video is switched.
Disclosure of Invention
The embodiment of the application provides a method and a device for processing multi-video playing, a computer device and a storage medium, which can reduce the steps of preempting playing of a video selected by a user, simplify the processing steps of video switching, improve the processing speed during video switching and improve the video switching efficiency.
The embodiment of the application provides a method for processing multi-video playing, which comprises the following steps:
acquiring a first video queue and a second video queue in a video stream playing scene, wherein the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, the video in the second video queue determines a playing sequence according to a preset playing logic, and the first video queue is used for storing the video in a preemption mode;
when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue;
if the target video to be played is played currently, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video;
and when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
Correspondingly, an embodiment of the present application further provides a processing apparatus for playing multiple videos, where the processing apparatus for playing multiple videos includes:
the video playing control device comprises an acquisition unit, a display unit and a control unit, wherein the acquisition unit is used for acquiring a first video queue and a second video queue under a video stream playing scene, the second video queue at least comprises videos to be played in video stream information currently displayed by a terminal and waiting to be played, the videos in the second video queue determine a playing sequence according to preset playing logic, and the first video queue is used for storing the videos in a preemption mode;
the adding unit is used for adding a target video into a first video queue when a preemptive playing instruction aiming at the target video in a video to be played is received;
the first processing unit is used for recovering the player resource to stop playing the target video to be played and distributing the player resource to the target video to play the target video if the target video to be played is currently played;
and the second processing unit is used for recovering the player resources after the target video is detected to be played, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
and the allocation subunit is used for directly allocating the player resource to the target video to play the target video if the player resource is idle currently.
In some embodiments, the processing device for multi-video playing comprises:
the first obtaining subunit is configured to obtain playing information and preset playing conditions of the target video to be played;
and the processing subunit is configured to, if the playing information meets the preset playing condition, place the target video to be played into the second video queue.
In some embodiments, the processing device for multi-video playing comprises:
a first determining subunit, configured to determine, based on the playing information, a playing priority of the target video to be played in the second video queue;
and the sequencing subunit is used for reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
In some embodiments, the processing device for multi-video playing comprises:
and the second determining subunit is configured to determine the video to be played located at the head in the second video queue, and allocate the player resource to the video to be played to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
and the second obtaining subunit is configured to obtain a target playing sequence of the target video in the second video queue, use a next video adjacent to the target playing sequence as a video to be played, and allocate the player resource to the video to be played to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
the display subunit is used for displaying a graphical user interface, wherein a plurality of candidate video identifiers are displayed on the graphical user interface;
the response subunit is configured to generate, in response to a touch operation performed by a user on a target video identifier in the multiple candidate video identifiers, a preemptive play instruction based on the target video identifier, where the preemptive play instruction is used to instruct to add a target video corresponding to the target video identifier to the first video queue.
In some embodiments, the processing device for multi-video playing comprises:
the third acquiring subunit is used for acquiring a target video tag preset by a user;
and a generating subunit, configured to generate a preemptive play instruction when it is detected that a video that meets the target video tag exists in the second video queue, where the preemptive play instruction is used to instruct to add a target video corresponding to the target video tag to the first video queue.
In some embodiments, the processing device for multi-video playing comprises:
the identification subunit is used for identifying each video to be played in the second video queue based on a preset playing condition;
and the removing subunit is used for removing the video to be played from the second video queue if the video to be played does not accord with the preset playing condition.
Accordingly, an embodiment of the present application further provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and capable of running on the processor, and when the computer program is executed by the processor, the computer program implements the steps of any one of the processing methods for playing multiple videos.
Accordingly, an embodiment of the present application further provides 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 implements the steps of any one of the processing methods for playing multiple videos.
The embodiment of the application provides a method and a device for processing multi-video playing, computer equipment and a storage medium, wherein a first video queue and a second video queue in a video stream playing scene are obtained; then, when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue; then, if a target video to be played is currently played, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video; and finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scene of a processing system for multi-video playing provided in an embodiment of the present application.
Fig. 2 is a schematic flowchart of a processing method for playing multiple videos according to an embodiment of the present application.
Fig. 3 is another schematic flow chart of a processing method for playing multiple videos according to an embodiment of the present application.
Fig. 4 is another schematic flowchart of a processing method for multi-video playing according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a processing apparatus for multi-video playing according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method and a device for processing multi-video playing, computer equipment and a storage medium. Specifically, the processing method for playing multiple videos in the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. The terminal may also include a client, which may be a video application client, a browser client carrying a video application program, or an instant messaging client. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, CDN, and a big data and artificial intelligence platform.
Referring to fig. 1, fig. 1 is a schematic view of a scene of a processing system for playing multiple videos according to an embodiment of the present disclosure. The system may include at least one terminal, at least one server, and a network. A terminal held by a user can be connected to a server of a video application program through a network. A terminal is any device having computing hardware capable of supporting and executing software products corresponding to video applications. In addition, the terminal has one or more multi-touch sensitive screens for sensing and obtaining input of a user through a touch or slide operation performed at a plurality of points of one or more touch display screens. In addition, when the system includes a plurality of electronic devices, a plurality of servers, and a plurality of networks, different terminals may be connected to each other through different networks and through different servers. The network may be a wireless network or a wired network, such as a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 3G network, a 4G network, a 5G network, etc. In addition, different terminals may be connected to other terminals or to a server using their own bluetooth network or hotspot network. For example, multiple users may be online through different terminals to connect and synchronize with each other through an appropriate network.
For example, when the terminal device stores a video application, the terminal is used to present a graphical user interface and video pictures in the graphical user interface. The terminal device is used for interacting with a user through a graphical user interface, for example, downloading and installing a video application program through the terminal device and running the video application program. The manner in which the terminal device provides the graphical user interface to the user may include a variety of ways, for example, the graphical user interface may be rendered for display on a display screen of the terminal device or presented by holographic projection. For example, the terminal device may include a touch display screen for presenting a graphical user interface including video frames and receiving operation instructions generated by a user acting on the graphical user interface, and a processor for running the video application software, generating the graphical user interface, responding to the operation instructions, and controlling display of the graphical user interface on the touch display screen.
It should be noted that the scene schematic diagram of the processing system for multi-video playing shown in fig. 1 is only an example, and the processing system for multi-video playing and the scene described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not form a limitation on the technical solution provided in the embodiment of the present application.
Based on the foregoing problems, embodiments of the present application provide a method and an apparatus for processing multi-video playing, a computer device, and a storage medium, which can simplify processing steps for video switching and improve processing speed during video switching. The following are detailed descriptions. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The embodiment of the present application provides a method for processing multiple video broadcasts, where the method may be executed by a terminal or a server, and the embodiment of the present application describes that the method for processing multiple video broadcasts is executed by the terminal as an example.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a processing method for playing multiple videos according to an embodiment of the present disclosure. The specific flow of the processing method for playing multiple videos may be as follows, step 101 to step 104:
101, a first video queue and a second video queue in a video stream playing scene are obtained, wherein the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, a playing sequence of the video in the second video queue is determined according to a preset playing logic, and the first video queue is used for storing the video in a preemption mode.
In the embodiment of the application, a first video queue and a second video queue may be preset and displayed, wherein the first video queue is used as a preemptive video queue and is used for storing a video corresponding to the preemptive play instruction; the second video queue is used as a conventional play queue, and the second video queue comprises a plurality of videos to be played, which are sequentially sequenced and wait to be played.
Specifically, referring to fig. 3, when it is detected that a plurality of candidate video identifiers appear on a graphical user interface rendered by a video application program, a condition judgment may be performed on videos corresponding to the plurality of candidate video identifiers, and it is judged whether the video is a video triggered by a high-priority scene, where there are two cases, and if the first case is yes, the video is placed in a first video queue; if not, judging whether the video meets the playing condition, and removing the video when detecting that the video does not meet the playing condition, namely not putting the video into the first video queue or putting the video into the second video queue; and when the video is detected to meet the playing condition, setting the playing priority for the video based on the playing information of the video and putting the video into a second video queue. After the videos are classified, the scheduler is triggered to schedule the player resources, so that the videos are played in order.
102, when a preemptive play instruction for a target video in a video to be played is received, adding the target video to a first video queue.
In the embodiment of the application, when a user operates a graphical user interface corresponding to a video application client through a display screen of a touch terminal, the graphical user interface can control local content of the terminal through responding to a received operation instruction, and can also control content of an opposite-end server through responding to the received operation instruction. For example, the operation instruction generated by the user acting on the graphical user interface includes an instruction for interconnecting a client corresponding to the video application, and the processor is configured to interconnect a client corresponding to the video application after receiving the instruction provided by the user for connecting the client corresponding to the video application.
A user can trigger the preemptive play instruction through touch operation on the graphical user interface, a video identifier can be displayed on the graphical user interface, and the preemptive play instruction is triggered by triggering the video identifier. The touch operation may be an operation performed by the user on the live interface through a display screen of the touch terminal, for example, a touch operation generated by the user clicking or touching the live interface with a finger. The touch operation generated by clicking a button of the mouse on the live interface by the user may also be generated, for example, the touch operation generated by clicking the button of the mouse on the live interface by the user.
In order to determine that a video needing to be preempted for playing is needed, before the step "receiving a play preemption instruction for a target video in a video to be played, and adding the target video into a first video queue", the method may include:
displaying a graphical user interface, wherein a plurality of candidate video identifications are displayed on the graphical user interface;
and responding to touch operation of a user on a target video identifier in the candidate video identifiers, and generating a preemptive play instruction based on the target video identifier, wherein the preemptive play instruction is used for indicating that a target video corresponding to the target video identifier is added into the first video queue.
Optionally, before the step "receiving a preemptive play instruction for a target video in a video to be played and adding the target video to a first video queue", the method may include:
acquiring a target video tag preset by a user;
and when detecting that the video conforming to the target video tag exists in the second video queue, generating a preemptive play instruction, wherein the preemptive play instruction is used for indicating that the target video corresponding to the target video tag is added to the first video queue.
In order to quickly play the target video, the method may include:
and if the current player resource is idle, directly allocating the player resource to the target video to play the target video.
103, if the target video to be played is currently being played, recovering the player resource to stop playing the target video to be played, and allocating the player resource to the target video to play the target video.
In order to determine whether the target video to be played needs to be played back in real time, after the step "recovering the player resource to stop playing the target video to be played", the method may include:
acquiring playing information and preset playing conditions of the target video to be played;
and if the playing information meets the preset playing condition, the target video to be played is placed into the second video queue.
In an embodiment, the step "if the playing information meets the preset playing condition, the target video to be played is placed in the second video queue", and the method may include:
determining the playing priority of the target video to be played in the second video queue based on the playing information;
and reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
And 104, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
In order to resume the playing of the normal video after the playing of the target video is finished, the step "determining the video to be played currently played from the second video queue according to the playing sequence" may include:
and determining the video to be played which is positioned at the head in the second video queue, and allocating the player resource to the video to be played so as to play the video to be played.
In an embodiment, the step "determining the video to be played currently played from the second video queue according to the playing order" may include:
and acquiring a target playing sequence of the target video in the second video queue, taking the next video adjacent to the target playing sequence as a video to be played, and allocating the player resources to the video to be played so as to play the video to be played.
In another embodiment, before the step of allocating the player resource to the video to be played to play the video to be played after the step of determining the video to be played currently played from the second video queue according to the playing order, the method may include:
identifying each video to be played in the second video queue based on a preset playing condition;
and if the video to be played does not accord with the preset playing condition, removing the video to be played from the second video queue.
To sum up, the embodiment of the present application provides a processing method for playing multiple videos, which includes acquiring a first video queue and a second video queue in a video stream playing scene; then, when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue; then, if a target video to be played is played currently, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video; and finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.
Based on the above description, the processing method of multi-video playing of the present application will be further described below by way of example. For example, as shown in fig. 4, a specific embodiment of the processing method for playing multiple videos is as follows:
the computer device may preferentially select the first video queue, detect the first video queue, and determine whether the first video queue is empty, where the following two cases may exist:
and if so, selecting a second video queue, acquiring the playing sequence of the second video queue, selecting a video positioned at the head of the second video queue from the plurality of videos in the second video queue, allocating player resources to play the video positioned at the head of the second video queue, and when the video positioned at the head of the second video queue is detected to be played, continuing to play the video in the second video queue with the playing sequence being the next video of the video.
If not, acquiring a target video in the first video queue, judging whether the player resource is occupied currently, and if not, allocating the player resource to the target video to play the target video; if so, recovering the player resources to stop the playing of the target video to be played, and allocating the player resources to the target video to play the target video. And meanwhile, acquiring playing information and preset playing conditions of the target video to be played, and if the playing information meets the preset playing conditions, putting the target video to be played into the second video queue. And when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. Specifically, a target playing sequence of the target video in the second video queue may be obtained, a next video adjacent to the target playing sequence is used as a video to be played, and the player resource is allocated to the video to be played to play the video to be played.
Based on the above description, the processing method of multi-video playing of the present application will be further described below by way of example. The specific embodiment of the processing method for playing multiple videos is as follows:
(1) The user can trigger the preemptive play instruction through touch operation on the graphical user interface, the video identification can be displayed on the graphical user interface, and the preemptive play instruction is triggered by triggering the video identification. For example, a plurality of candidate video identifiers are displayed on the graphical user interface, a preemptive play instruction is generated based on a target video identifier in response to a touch operation of a user on the target video identifier in the plurality of candidate video identifiers, and when the preemptive play instruction for the target video in the video to be played is received, the target video is added to the first video queue.
(2) The computer equipment can preferentially select the first video queue, detect the first video queue and determine whether the first video queue is empty, and at the moment, a target video exists in the first video queue, so that the first video queue is not empty, and continuously judge whether the player resource is occupied currently. If the fact that the player resource plays the target video to be played is detected, the player resource is recycled to stop playing of the target video to be played, and the player resource is distributed to the target video to play the target video. And meanwhile, acquiring playing information and preset playing conditions of the target video to be played, and if the playing information meets the preset playing conditions, putting the target video to be played into the second video queue.
(3) And when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. Specifically, the computer device may obtain a target playing sequence of the target video in the second video queue, use a next video adjacent to the target playing sequence in the second video queue as a video to be played, and allocate the player resource to the video to be played to play the video to be played.
Based on the above description, the processing method of multi-video playing of the present application will be further described below by way of example. The specific embodiment of the processing method for playing multiple videos is as follows:
(1) The user can trigger the preemptive play instruction through touch operation on the graphical user interface, the video identification can be displayed on the graphical user interface, and the preemptive play instruction is triggered by triggering the video identification. For example, a plurality of candidate video identifiers are displayed on the graphical user interface, a preemptive play instruction is generated based on a target video identifier in response to a touch operation of a user on the target video identifier in the plurality of candidate video identifiers, and when the preemptive play instruction for the target video in the video to be played is received, the target video is added to the first video queue.
(2) The computer equipment can preferentially select the first video queue, detect the first video queue, determine whether the first video queue is empty, and at the moment, a target video exists in the first video queue, so that the first video queue is not empty, continuously judge whether the player resource is occupied currently, and directly allocate the player resource to the target video to play the target video if the current player resource is detected to be in an idle state.
(3) And when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
Based on the above description, the processing method of multi-video playing of the present application will be further described below by way of example. Another specific embodiment of the processing method for playing multiple videos is as follows:
the target video tags can be preset by a user, the target video tags preset by the user are obtained when the user browses videos, a preemptive play instruction is generated when the target videos meeting the target video tags exist in the second video queue, and the target videos are added into the first video queue when the preemptive play instruction aiming at the target videos in the videos to be played is received. Further, the computer device may preferentially select the first video queue, detect the first video queue, determine whether the first video queue is empty, and at this time, determine whether the first video queue is empty, and continue to determine whether the player resource is currently occupied because the first video queue is not empty. If the fact that the player resource plays the target video to be played is detected, the player resource is recycled to stop playing of the target video to be played, and the player resource is distributed to the target video to play the target video. And meanwhile, acquiring playing information and preset playing conditions of the target video to be played, and if the playing information meets the preset playing conditions, putting the target video to be played into the second video queue. And finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
Based on the above description, the processing method of multi-video playing of the present application will be further described below by way of example. Another specific embodiment of the processing method for playing multiple videos is as follows:
firstly, a user can preset a target video label, when the user browses videos, the target video label preset by the user is obtained, when the target video meeting the target video label is detected to exist in the second video queue, a preemptive play instruction is generated, and when the preemptive play instruction aiming at the target video in the videos to be played is received, the target video is added into the first video queue. Then, the computer device may preferentially select the first video queue, detect the first video queue, determine whether the first video queue is empty, and at this time, a target video exists in the first video queue, and therefore, the first video queue is not empty, continue to determine whether the player resource is currently occupied, and directly allocate the player resource to the target video to play the target video if it is detected that the current player resource is in an idle state. And finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
In order to better implement the processing method for playing multiple videos provided by the embodiments of the present application, the embodiments of the present application further provide a processing apparatus for playing multiple videos based on the processing method for playing multiple videos. The terms are the same as those in the above-described information processing method, and details of implementation may refer to the description in the method embodiment.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a processing device for playing multiple videos according to an embodiment of the present application, where the device includes:
an obtaining unit 201, configured to obtain a first video queue and a second video queue in a video stream playing scene, where the second video queue at least includes a video to be played in video stream information currently displayed by a terminal and is to be played, videos in the second video queue determine a playing sequence according to a preset playing logic, and the first video queue is used to store a video in a preemption mode;
the adding unit 202 is configured to add a target video to a first video queue when a preemptive play instruction for the target video in a video to be played is received;
a first processing unit 203, configured to, if a target video to be played is currently being played, recycle the player resource to stop playing the target video to be played, and allocate the player resource to the target video to play the target video;
a second processing unit 204, configured to, after it is detected that the target video is played, recycle the player resource, determine, according to the playing sequence, a video to be played currently played from the second video queue, and allocate the player resource to the video to be played, so as to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
and the allocation subunit is used for directly allocating the player resource to the target video to play the target video if the player resource is idle currently.
In some embodiments, the processing device for multi-video playing comprises:
the first acquiring subunit is configured to acquire play information and preset play conditions of the target video to be played;
and the processing subunit is configured to, if the playing information meets the preset playing condition, place the target video to be played into the second video queue.
In some embodiments, the processing device for multi-video playing comprises:
a first determining subunit, configured to determine, based on the playing information, a playing priority of the target video to be played in the second video queue;
and the sequencing subunit is used for reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
In some embodiments, the processing device for multi-video playing comprises:
and the second determining subunit is configured to determine the video to be played located at the head in the second video queue, and allocate the player resource to the video to be played, so as to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
and the second obtaining subunit is configured to obtain a target playing sequence of the target video in the second video queue, use a next video adjacent to the target playing sequence as a video to be played, and allocate the player resource to the video to be played to play the video to be played.
In some embodiments, the processing device for multi-video playing comprises:
the display subunit is used for displaying a graphical user interface, wherein a plurality of candidate video identifiers are displayed on the graphical user interface;
the response subunit is configured to, in response to a touch operation performed by a user on a target video identifier in the multiple candidate video identifiers, generate a preemptive play instruction based on the target video identifier, where the preemptive play instruction is used to instruct to add a target video corresponding to the target video identifier to the first video queue.
In some embodiments, the processing device for multi-video playing comprises:
the third acquiring subunit is used for acquiring a target video tag preset by a user;
and a generating subunit, configured to generate a preemptive play instruction when it is detected that a video that meets the target video tag exists in the second video queue, where the preemptive play instruction is used to instruct to add a target video corresponding to the target video tag to the first video queue.
In some embodiments, the processing device for multi-video playing comprises:
the identification subunit is used for identifying each video to be played in the second video queue based on a preset playing condition;
and the removing subunit is used for removing the video to be played from the second video queue if the video to be played does not accord with the preset playing condition.
The embodiment of the application discloses a processing device for playing multiple videos, which obtains a first video queue and a second video queue in a video stream playing scene through an obtaining unit 201, wherein the second video queue at least comprises videos to be played in video stream information currently displayed by a terminal, the videos in the second video queue determine a playing sequence according to a preset playing logic, and the first video queue is used for storing the videos in a preemption mode; when receiving a preemptive play instruction for a target video in a video to be played, the adding unit 202 adds the target video to a first video queue; if a target video to be played is currently played, the first processing unit 203 recovers the player resource to stop playing the target video to be played, and allocates the player resource to the target video to play the target video; when detecting that the target video is played, the second processing unit 204 recovers the player resource, determines a video to be played currently from the second video queue according to the playing sequence, and allocates the player resource to the video to be played, so as to play the video to be played. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.
Correspondingly, the embodiment of the present application further provides a Computer device, where the Computer device may be a terminal or a server, and the terminal may be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a game machine, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like. As shown in fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer apparatus 300 includes a processor 301 having one or more processing cores, a memory 302 having one or more computer-readable storage media, and a computer program stored on the memory 302 and executable on the processor. The processor 301 is electrically connected to the memory 302. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 301 is a control center of the computer apparatus 300, connects various parts of the entire computer apparatus 300 by various interfaces and lines, performs various functions of the computer apparatus 300 and processes data by running or loading software programs and/or modules stored in the memory 302, and calling data stored in the memory 302, thereby integrally monitoring the computer apparatus 300.
In the embodiment of the present application, the processor 301 in the computer device 300 loads instructions corresponding to processes of one or more application programs into the memory 302, and the processor 301 executes the application programs stored in the memory 302 according to the following steps, so as to implement various functions:
acquiring a first video queue and a second video queue in a video stream playing scene, wherein the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, the video in the second video queue determines a playing sequence according to a preset playing logic, and the first video queue is used for storing the video in a preemption mode;
when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue;
if a target video to be played is played currently, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video;
and when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
In an embodiment, the method further comprises:
and if the current player resource is idle, directly allocating the player resource to the target video to play the target video.
In an embodiment, after recycling the player resource to stop playing the target video to be played, the method further includes:
acquiring playing information and preset playing conditions of the target video to be played;
and if the playing information meets the preset playing condition, putting the target video to be played into the second video queue.
In an embodiment, if the playing information meets the preset playing condition, the step of placing the target video to be played into the second video queue includes:
determining the playing priority of the target video to be played in the second video queue based on the playing information;
and reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
In an embodiment, the determining, from the second video queue, a video to be played currently played according to the playing order includes:
and determining the video to be played which is positioned at the head in the second video queue, and allocating the player resource to the video to be played so as to play the video to be played.
In an embodiment, the determining, from the second video queue, a video to be played currently played according to the playing order includes:
and acquiring a target playing sequence of the target video in the second video queue, taking the next video adjacent to the target playing sequence as a video to be played, and allocating the player resource to the video to be played so as to play the video to be played.
In an embodiment, before receiving a preemptive play instruction for a target video in a video to be played and adding the target video to a first video queue, the method further includes:
displaying a graphical user interface, wherein a plurality of candidate video identifications are displayed on the graphical user interface;
and responding to touch operation of a user on a target video identifier in the candidate video identifiers, and generating a preemptive play instruction based on the target video identifier, wherein the preemptive play instruction is used for indicating that a target video corresponding to the target video identifier is added into the first video queue.
In an embodiment, before receiving a preemptive play instruction for a target video in a video to be played and adding the target video to a first video queue, the method further includes:
acquiring a target video label preset by a user;
and when detecting that the video conforming to the target video tag exists in the second video queue, generating a preemptive play instruction, wherein the preemptive play instruction is used for indicating that the target video corresponding to the target video tag is added to the first video queue.
In an embodiment, after determining, according to the playing order, a video to be played currently playing from the second video queue, before allocating the player resource to the video to be played to play the video to be played, the method further includes:
identifying each video to be played in the second video queue based on a preset playing condition;
and if the video to be played does not accord with the preset playing condition, removing the video to be played from the second video queue.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 6, the computer device 300 further includes: a touch display 303, a radio frequency circuit 304, an audio circuit 305, an input unit 306, and a power source 307. The processor 301 is electrically connected to the touch display 303, the radio frequency circuit 304, the audio circuit 305, the input unit 306, and the power source 307. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 6 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 303 may be used for displaying a graphical user interface and receiving operation instructions generated by a user acting on the graphical user interface. The touch display screen 303 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user (for example, operations of the user on or near the touch panel by using a finger, a stylus pen, or any other suitable object or accessory) and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 301, and receives and executes commands sent by the processor 301. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 301 to determine the type of the touch event, and then the processor 301 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 303 to realize input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 303 may also be used as a part of the input unit 306 to implement an input function.
In the present embodiment, a graphical user interface is generated on the touch-sensitive display screen 303 by the processor 301 executing a game application. The touch display screen 303 is used for presenting a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface.
The rf circuit 304 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device through wireless communication, and for transceiving signals with the network device or other computer device.
The audio circuit 305 may be used to provide an audio interface between the user and the computer device through speakers, microphones. The audio circuit 305 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 305 and converted into audio data, and then the audio data is processed by the audio data output processor 301, and then the processed audio data is sent to another computer device through the radio frequency circuit 304, or the audio data is output to the memory 302 for further processing. The audio circuit 305 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
The input unit 306 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 307 is used to power the various components of the computer device 300. Optionally, the power supply 307 may be logically connected to the processor 301 through a power management system, so as to implement functions of managing charging, discharging, and power consumption management through the power management system. Power supply 307 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 6, the computer device 300 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, in the computer device provided in this embodiment, a first video queue and a second video queue in a video stream playing scene are obtained, where the second video queue at least includes a video to be played in video stream information currently displayed by a terminal, a playing sequence of the video in the second video queue is determined according to a preset playing logic, and the first video queue is used for storing a video in a preemption mode; then, when a preemptive play instruction for a target video in a video to be played is received, adding the target video into a first video queue; then, if a target video to be played is currently played, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video; and finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute steps in any one of the processing methods for multi-video playing provided in the embodiments of the present application. For example, the computer program may perform the steps of:
acquiring a first video queue and a second video queue in a video stream playing scene, wherein the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, the video in the second video queue determines a playing sequence according to a preset playing logic, and the first video queue is used for storing the video in a preemption mode;
when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue;
if the target video to be played is played currently, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video;
and when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
In an embodiment, the method further comprises:
and if the current player resource is idle, directly allocating the player resource to the target video to play the target video.
In an embodiment, after recycling the player resource to stop playing the target video to be played, the method further includes:
acquiring playing information and preset playing conditions of the target video to be played;
and if the playing information meets the preset playing condition, putting the target video to be played into the second video queue.
In an embodiment, if the playing information meets the preset playing condition, the step of placing the target video to be played into the second video queue includes:
determining the playing priority of the target video to be played in the second video queue based on the playing information;
and reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
In an embodiment, the determining, from the second video queue, a video to be played currently played according to the playing order includes:
and determining the video to be played which is positioned at the head in the second video queue, and allocating the player resource to the video to be played so as to play the video to be played.
In an embodiment, the determining, from the second video queue, a video to be played currently played according to the playing order includes:
and acquiring a target playing sequence of the target video in the second video queue, taking the next video adjacent to the target playing sequence as a video to be played, and allocating the player resources to the video to be played so as to play the video to be played.
In an embodiment, before receiving a preemptive play instruction for a target video in a video to be played and adding the target video to a first video queue, the method further includes:
displaying a graphical user interface, wherein a plurality of candidate video identifications are displayed on the graphical user interface;
and generating a preemptive play instruction based on the target video identification in response to a touch operation of a user on a target video identification in the candidate video identifications, wherein the preemptive play instruction is used for indicating that a target video corresponding to the target video identification is added to the first video queue.
In an embodiment, before receiving a preemptive play instruction for a target video in a video to be played and adding the target video to a first video queue, the method further includes:
acquiring a target video tag preset by a user;
and when detecting that the video conforming to the target video tag exists in the second video queue, generating a preemptive play instruction, wherein the preemptive play instruction is used for indicating that the target video corresponding to the target video tag is added to the first video queue.
In an embodiment, after determining, according to the playing order, a video to be played currently playing from the second video queue, before allocating the player resource to the video to be played to play the video to be played, the method further includes:
identifying each video to be played in the second video queue based on a preset playing condition;
and if the video to be played does not accord with the preset playing condition, removing the video to be played from the second video queue.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), random Access Memory (RAM), magnetic or optical disks, and the like.
The method comprises the steps that a computer program stored in a storage medium acquires a first video queue and a second video queue under a video stream playing scene, wherein the second video queue at least comprises videos to be played in video stream information currently displayed by a terminal, the videos in the second video queue determine a playing sequence according to preset playing logic, and the first video queue is used for storing the videos in a preemption mode; then, when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue; then, if a target video to be played is currently played, recovering the player resources to stop playing the target video to be played, and allocating the player resources to the target video to play the target video; and finally, when the target video is detected to be played, recovering the player resources, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played. According to the video switching method and device, the videos are managed in a double-queue mode, one queue achieves priority management and conventional scheduling of video resources, and the other queue achieves preemptive scheduling logic, so that steps of preemptively playing the videos selected by a user can be reduced, processing steps of video switching are simplified, processing speed of the video switching is improved, and video switching efficiency is improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
The foregoing describes in detail a processing method, an apparatus, a computer device, and a storage medium for playing multiple videos provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and implementation manner of the present application, and the description of the foregoing embodiment is only used to help understand the technical solution and the core idea of the present application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (12)

1. A processing method for playing multiple videos is characterized by comprising the following steps:
acquiring a first video queue and a second video queue in a video stream playing scene, wherein the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, the video in the second video queue determines a playing sequence according to a preset playing logic, and the first video queue is used for storing the video in a preemption mode;
when a preemptive playing instruction aiming at a target video in a video to be played is received, adding the target video into a first video queue;
if the target video to be played is played currently, recovering player resources to stop playing of the target video to be played, and allocating the player resources to the target video to play the target video;
and when the target video is detected to be played, recovering the player resources, determining the currently played video to be played from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
2. The method for processing multi-video playing according to claim 1, wherein the method further comprises:
and if the current player resource is idle, directly allocating the player resource to the target video to play the target video.
3. The method for processing multiple video plays according to claim 1, further comprising, after recovering the player resource to stop playing the target video to be played:
acquiring playing information and preset playing conditions of the target video to be played;
and if the playing information meets the preset playing condition, the target video to be played is placed into the second video queue.
4. The method for processing multiple video broadcasts according to claim 3, wherein if the broadcast information meets the preset broadcast condition, placing the target video to be broadcast into the second video queue comprises:
determining the playing priority of the target video to be played in the second video queue based on the playing information;
and reordering the playing sequence of the videos in the second video queue according to the playing priority and the videos arranged in the second video queue according to the playing sequence to obtain an updated second video queue.
5. The method for processing multiple video broadcasts according to claim 1, wherein said determining the video to be broadcast currently being broadcast from the second video queue according to the broadcast sequence comprises:
and determining the video to be played which is positioned at the head in the second video queue, and allocating the player resource to the video to be played so as to play the video to be played.
6. The method for processing multiple video broadcasts according to claim 1, wherein said determining the video to be broadcast currently being broadcast from the second video queue according to the broadcast sequence comprises:
and acquiring a target playing sequence of the target video in the second video queue, taking the next video adjacent to the target playing sequence as a video to be played, and allocating the player resources to the video to be played so as to play the video to be played.
7. The method for processing multiple video broadcasts according to claim 1, wherein before receiving a preemptive broadcast instruction for a target video in a video to be broadcast, and adding the target video to the first video queue, the method further comprises:
displaying a graphical user interface, wherein a plurality of candidate video identifications are displayed on the graphical user interface;
and responding to touch operation of a user on a target video identifier in the candidate video identifiers, and generating a preemptive play instruction based on the target video identifier, wherein the preemptive play instruction is used for indicating that a target video corresponding to the target video identifier is added into the first video queue.
8. The method for processing multiple video broadcasts according to claim 1, wherein before receiving the preemptive broadcast instruction for the target video in the video to be broadcast, and adding the target video to the first video queue, the method further comprises:
acquiring a target video tag preset by a user;
and when detecting that the video conforming to the target video label exists in the second video queue, generating a preemptive play instruction, wherein the preemptive play instruction is used for indicating that the target video corresponding to the target video label is added to the first video queue.
9. The method for processing multiple video plays according to claim 1, wherein, after determining the currently played video to be played from the second video queue according to the playing order, the player resource is allocated to the video to be played before playing the video to be played, further comprising:
identifying each video to be played in the second video queue based on a preset playing condition;
and if the video to be played does not accord with the preset playing condition, removing the video to be played from the second video queue.
10. A processing apparatus for playing multiple videos, comprising:
the video capture device comprises an acquisition unit, a capture unit and a display unit, wherein the acquisition unit is used for acquiring a first video queue and a second video queue in a video stream playing scene, the second video queue at least comprises a video to be played in video stream information currently displayed by a terminal, the video to be played in the second video queue determines a playing sequence according to preset playing logic, and the first video queue is used for storing the video in a preemption mode;
the adding unit is used for adding a target video into a first video queue when a preemptive playing instruction aiming at the target video in a video to be played is received;
the first processing unit is used for recovering the player resource to stop playing the target video to be played and distributing the player resource to the target video to play the target video if the target video to be played is currently played;
and the second processing unit is used for recovering the player resources after the target video is detected to be played, determining the video to be played currently from the second video queue according to the playing sequence, and allocating the player resources to the video to be played so as to play the video to be played.
11. A computer device comprising a processor and a memory, the memory storing a plurality of instructions; the processor loads instructions from the memory to perform the steps of the method of processing multiple video plays according to any one of claims 1 to 9.
12. A computer-readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method for processing multiple video plays according to any one of claims 1 to 9.
CN202211024293.8A 2022-08-24 2022-08-24 Processing method and device for multi-video playing, computer equipment and storage medium Active CN115460469B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211024293.8A CN115460469B (en) 2022-08-24 2022-08-24 Processing method and device for multi-video playing, computer equipment and storage medium
PCT/CN2023/074478 WO2024040875A1 (en) 2022-08-24 2023-02-03 Multi-video playback processing method and apparatus, and computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211024293.8A CN115460469B (en) 2022-08-24 2022-08-24 Processing method and device for multi-video playing, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115460469A true CN115460469A (en) 2022-12-09
CN115460469B CN115460469B (en) 2024-06-11

Family

ID=84298937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211024293.8A Active CN115460469B (en) 2022-08-24 2022-08-24 Processing method and device for multi-video playing, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN115460469B (en)
WO (1) WO2024040875A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709569A (en) * 2023-08-02 2023-09-05 南京朗立微集成电路有限公司 Wi-Fi QoS guarantee method based on video prediction
WO2024040875A1 (en) * 2022-08-24 2024-02-29 网易(杭州)网络有限公司 Multi-video playback processing method and apparatus, and computer device and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140333633A1 (en) * 2011-12-29 2014-11-13 Qing Zhang Apparatuses and methods for policy awareness in hardware accelerated video systems
US20160179572A1 (en) * 2014-12-23 2016-06-23 Samsung Electronics Co., Ltd. Method and apparatus for selecting preemption technique
US9473796B1 (en) * 2013-12-31 2016-10-18 Google, Inc. Automated application of manually reviewed videos using matching
US20170111414A1 (en) * 2015-10-16 2017-04-20 Le Holdings (Beijing) Co., Ltd. Video playing method and device
WO2017101393A1 (en) * 2015-12-14 2017-06-22 乐视控股(北京)有限公司 Method and device for continuously playing video
CN108243151A (en) * 2016-12-23 2018-07-03 腾讯科技(深圳)有限公司 A kind of automatic animation playing method, device, client and video living transmission system
CN110300328A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 A kind of video playing control method, device and readable storage medium storing program for executing
CN110366033A (en) * 2019-07-17 2019-10-22 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium
CN112911401A (en) * 2021-01-19 2021-06-04 维沃移动通信有限公司 Video playing method and device
CN112911389A (en) * 2021-01-18 2021-06-04 浙江大华技术股份有限公司 Video playing switching method, electronic equipment and computer storage medium
CN113163255A (en) * 2021-03-31 2021-07-23 成都欧珀通信科技有限公司 Video playing method, device, terminal and storage medium
CN114025170A (en) * 2021-11-30 2022-02-08 深圳Tcl新技术有限公司 Video playing method and device, computer equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10115435B2 (en) * 2015-12-14 2018-10-30 Spotify Ab Methods and systems for prioritizing playback of media content in a playback queue
CN110430461A (en) * 2019-08-28 2019-11-08 腾讯科技(深圳)有限公司 A kind of method, apparatus and video playback apparatus controlling video playing
CN111464829B (en) * 2020-05-14 2022-02-22 广州酷狗计算机科技有限公司 Method, device and equipment for switching media data and storage medium
CN111935543A (en) * 2020-09-09 2020-11-13 北京搜狐新动力信息技术有限公司 Video playing method and device, electronic equipment and computer storage medium
CN113259744B (en) * 2021-05-13 2023-08-01 北京字跳网络技术有限公司 Video display method, device, equipment and medium
CN115460469B (en) * 2022-08-24 2024-06-11 网易(杭州)网络有限公司 Processing method and device for multi-video playing, computer equipment and storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140333633A1 (en) * 2011-12-29 2014-11-13 Qing Zhang Apparatuses and methods for policy awareness in hardware accelerated video systems
US9473796B1 (en) * 2013-12-31 2016-10-18 Google, Inc. Automated application of manually reviewed videos using matching
US20160179572A1 (en) * 2014-12-23 2016-06-23 Samsung Electronics Co., Ltd. Method and apparatus for selecting preemption technique
US20170111414A1 (en) * 2015-10-16 2017-04-20 Le Holdings (Beijing) Co., Ltd. Video playing method and device
WO2017101393A1 (en) * 2015-12-14 2017-06-22 乐视控股(北京)有限公司 Method and device for continuously playing video
CN108243151A (en) * 2016-12-23 2018-07-03 腾讯科技(深圳)有限公司 A kind of automatic animation playing method, device, client and video living transmission system
CN110300328A (en) * 2018-03-21 2019-10-01 腾讯科技(深圳)有限公司 A kind of video playing control method, device and readable storage medium storing program for executing
CN110366033A (en) * 2019-07-17 2019-10-22 腾讯科技(深圳)有限公司 A kind of video broadcasting method, device, equipment and storage medium
CN112911389A (en) * 2021-01-18 2021-06-04 浙江大华技术股份有限公司 Video playing switching method, electronic equipment and computer storage medium
CN112911401A (en) * 2021-01-19 2021-06-04 维沃移动通信有限公司 Video playing method and device
CN113163255A (en) * 2021-03-31 2021-07-23 成都欧珀通信科技有限公司 Video playing method, device, terminal and storage medium
CN114025170A (en) * 2021-11-30 2022-02-08 深圳Tcl新技术有限公司 Video playing method and device, computer equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陈鸿跃;彭珂;: "一种Android视频数据接收与播放技术的实现", 电子世界, no. 17, 8 September 2017 (2017-09-08) *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024040875A1 (en) * 2022-08-24 2024-02-29 网易(杭州)网络有限公司 Multi-video playback processing method and apparatus, and computer device and storage medium
CN116709569A (en) * 2023-08-02 2023-09-05 南京朗立微集成电路有限公司 Wi-Fi QoS guarantee method based on video prediction
CN116709569B (en) * 2023-08-02 2023-12-12 南京朗立微集成电路有限公司 Wi-Fi QoS guarantee method based on video prediction

Also Published As

Publication number Publication date
CN115460469B (en) 2024-06-11
WO2024040875A1 (en) 2024-02-29

Similar Documents

Publication Publication Date Title
US20220248077A1 (en) Video projection method, apparatus and device, and storage medium
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
US9918138B2 (en) Method for controlling multimedia playing, apparatus thereof and storage medium
CN108762831B (en) Application program preloading method and device, storage medium and terminal
CN115460469B (en) Processing method and device for multi-video playing, computer equipment and storage medium
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
CN108984258A (en) Using multi-screen display method, device, storage medium and electronic equipment
EP3471450B1 (en) Network bandwidth management method, terminal and computer storage medium
CN109067981B (en) Split screen application switching method and device, storage medium and electronic equipment
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
CN108984142B (en) Split screen display method and device, storage medium and electronic equipment
US20190286212A1 (en) Sensor processing method of mobile terminal, storage medium, and electronic device
CN111966436A (en) Screen display control method and device, terminal equipment and storage medium
CN113101650A (en) Game scene switching method and device, computer equipment and storage medium
CN110221765B (en) Video file playing method and device, storage medium and terminal
CN114064173A (en) Method, device, medium and equipment for creating instant session page
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN113360034A (en) Picture display method and device, computer equipment and storage medium
CN117407133A (en) Task processing method and device and computer readable storage medium
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
WO2023284498A1 (en) Video playing method and apparatus, and storage medium
CN107402816B (en) Method, device, terminal and storage medium for adjusting work queue of touch screen
CN115828845A (en) Multimedia data viewing method, device, medium and equipment
CN115801717A (en) Welcome language selection method, device, medium and equipment for chat tool

Legal Events

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