CN111901674B - Video playing control method and device - Google Patents

Video playing control method and device Download PDF

Info

Publication number
CN111901674B
CN111901674B CN202010668469.8A CN202010668469A CN111901674B CN 111901674 B CN111901674 B CN 111901674B CN 202010668469 A CN202010668469 A CN 202010668469A CN 111901674 B CN111901674 B CN 111901674B
Authority
CN
China
Prior art keywords
screen
video
identification information
information
screen projection
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.)
Active
Application number
CN202010668469.8A
Other languages
Chinese (zh)
Other versions
CN111901674A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010668469.8A priority Critical patent/CN111901674B/en
Publication of CN111901674A publication Critical patent/CN111901674A/en
Application granted granted Critical
Publication of CN111901674B publication Critical patent/CN111901674B/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/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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Abstract

The embodiment of the application provides a video playing control method and a video playing control device, which relate to the technical field of computers, and the method comprises the following steps: when screen projection target equipment receives a video screen projection request sent by screen projection source equipment, acquiring a target video from a streaming media server according to a Uniform Resource Locator (URL) in the video screen projection request, and playing the target video; receiving a barrage playing request of a screen projection source device for a target video by screen projection target equipment, and determining second identification information of a barrage server corresponding to first identification information of a streaming media server according to the first identification information of the streaming media server carried in the URL; and the screen projection target equipment acquires the bullet screen information related to the target video from the bullet screen server according to the second identification information and displays the bullet screen information when the target video is played. And the target videos of different video production platforms and the associated barrage information are projected on a screen to be displayed in screen projection target equipment, so that the user experience is improved.

Description

Video playing control method and device
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a video playing control method and device.
Background
Multi-screen interaction is a technique that is emerging silently at this time. In terms of technical implementation, multi-screen interaction is a technology for connecting screens of a plurality of multimedia terminals through wireless signals to achieve intelligent wireless interconnection of the multi-screen terminals, and users can share and display multimedia data on different multimedia terminals. For example, a mobile terminal such as a mobile phone is used to control and operate a playing device such as a television with a large screen, and a video played on the mobile phone is projected onto the television for playing, so that a user can enjoy the effect of watching the video on the large screen.
Many video websites provide a comment function, when a user watches a certain video content online, the user can make a comment, the comment content can be displayed on video windows of other users watching the same video at the same time, and the comment is called a bullet screen.
How to still display the bullet screen during multi-screen interaction is a problem to be solved urgently in the prior art.
Disclosure of Invention
The embodiment of the application provides a video playing control method and device, which are used for displaying barrage information associated with a screen projection video in screen projection target equipment.
In one aspect, an embodiment of the present application provides a video playing control method, where the method includes:
when screen projection target equipment receives a video screen projection request sent by screen projection source equipment, acquiring a target video from a streaming media server according to a Uniform Resource Locator (URL) in the video screen projection request, and playing the target video;
receiving a barrage playing request of a screen projection source device for a target video by screen projection target equipment, and determining second identification information of a barrage server corresponding to first identification information of a streaming media server according to the first identification information of the streaming media server carried in the URL;
and the screen projection target equipment acquires the bullet screen information associated with the target video from the bullet screen server according to the second identification information, and displays the bullet screen information when the target video is played.
In one aspect, an embodiment of the present application provides a video playback control apparatus, including:
the target video acquisition unit is used for acquiring a target video from the streaming media server according to a Uniform Resource Locator (URL) in a video screen projection request and playing the target video when the video screen projection request sent by the screen projection source equipment is received;
the barrage server determining unit is used for receiving a barrage playing request of the screen projection source equipment for the target video, and determining second identification information of the barrage server corresponding to the identification information of the streaming media server according to the first identification information of the streaming media server carried in the URL;
and the bullet screen information display unit is used for acquiring bullet screen information related to the target video from the bullet screen server according to the second identification information and displaying the bullet screen information when the target video is played.
Optionally, the bullet screen information display unit is further configured to:
receiving a bullet screen information updating message sent by a bullet screen server, and acquiring updated bullet screen information from the bullet screen server according to the bullet screen information updating message, wherein the bullet screen information updating message is generated by the bullet screen server after determining that bullet screen information related to a target video is updated;
and displaying and updating the bullet screen information when the target video is played.
Optionally, the bullet screen information display unit is further configured to:
and canceling the display of the bullet screen information in response to the bullet screen closing request.
Optionally, the screen projection source device is connected with the screen projection source device through a public protocol.
In one aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the video playback control method when executing the computer program.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program executable by a computer device, and when the program runs on the computer device, the computer device is caused to execute the steps of the video playback control method.
The video playing control method provided by the embodiment of the application can acquire the target video and display the target video in the screen projection target equipment when receiving the video screen projection request sent by the screen projection source equipment, in the playing process, if a barrage playing request of the screen projection source equipment for the target video is received, determining the identification information of the corresponding bullet screen server according to the identification information of the streaming media server of the target video in the URL used when the target video is acquired, the connection with the bullet screen server can be established through the determined identification information of the bullet screen server, the bullet screen information related to the target video can be acquired, therefore, the barrage information which can be displayed in the screen projection source equipment is displayed in the screen projection target equipment when the target video is played, the user can conveniently check the barrage comment content after the screen projection, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a video playing control method according to an embodiment of the present application;
fig. 2 is a schematic view of an application scenario of a video playing control method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a video playing control method according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a method for triggering a video screen projection request according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating a method for triggering a video screen projection request according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a method for triggering a bullet screen play request according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a method for triggering a bullet screen play request according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating display of bullet screen information of a screen projection source device according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating display of barrage information of a screen projection target device according to an embodiment of the present application;
fig. 10 is a schematic diagram illustrating display of barrage information of a screen projection target device according to an embodiment of the present application;
fig. 11 is a schematic flowchart of a video playing control method according to an embodiment of the present application;
fig. 12 is a schematic view of an application scenario of a video playing control method according to an embodiment of the present application;
fig. 13 is a schematic view of an application scenario of a video playing control method according to an embodiment of the present application;
fig. 14 is a schematic view of an application scenario of a video playing control method according to an embodiment of the present application;
fig. 15 is a schematic view of an application scenario of a video playing control method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram of a video playback control apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
For convenience of understanding, terms referred to in the embodiments of the present application are explained below:
multi-screen interaction: the method is characterized in that a flash internet protocol, a Miracast protocol and the like are used, a series of operations such as transmission, analysis, display and/or control of multimedia contents are carried out among different electronic devices through wireless fidelity (WIFI) network connection, the displayed contents can be shared on the different electronic devices, and the multimedia life of users is enriched.
Screen projection: the method refers to a specific implementation technical means of multi-screen interaction, and the method is used for presenting contents (such as audio, video, pictures, characters and the like) on certain electronic equipment on other electronic equipment, so that the effect of synchronously displaying the same contents among a plurality of pieces of electronic equipment or the effect of displaying the contents of the original electronic equipment through one piece of electronic equipment is realized.
A screen projection source device: refers to an electronic device initiating screen projection, wherein the screen projection source device may be a mobile phone, a tablet computer, or the like.
Screen projection target equipment: the method refers to electronic equipment for displaying screen projection source equipment, and screen projection target equipment can be a mobile phone, a tablet personal computer and the like, and can also be a smart television (smart TV), a projector and the like.
Bullet screen: refers to a commentary subtitle that pops up when viewing a video over a network. In the process of watching videos, the user can watch the barrage published by other users and can also send the barrage, and the sent barrage can also be seen by other users, so that interaction is realized in the process of watching videos.
Uniform resource locator: the URL (uniform Resource locator) describes an address of a Resource on the world wide web in an abstract form of a character string, and a URL uniquely identifies a Resource in the world wide web, and the Resource can be obtained through the corresponding URL. That is, each video resource in the world wide web corresponds to a URL by which the resource can be acquired.
Streaming media: refers to a form of media that streams audio, video, and multimedia files over a network. Compared with the network playing mode of watching after downloading, the streaming media is typically characterized in that continuous audio and video information is compressed and then put on a network server, and a user can watch while downloading without waiting for the whole file to be downloaded. Due to the superiority of the streaming media technology, the technology is widely applied to video-on-demand, video conference, remote education, remote medical treatment and online live broadcast systems. Streaming media technology has gained rapid development in recent years as a sign of new generation internet applications.
The streaming media server: the method is a core system of streaming media application and a key platform for providing video service for users by operators. The main functions of the streaming media server are to collect, cache, schedule, transmit and play streaming media contents.
The bullet screen server: refers to a platform that provides the user with associated barrages for each video.
The public protocol: the method refers to a protocol which is commonly used in the technical field of the technical industry, in the application, in the multi-level interaction technical field, a used passing protocol is a public protocol, and specifically, the public protocol can be a protocol specified by Digital Living Network Alliance (DLNA).
Private protocol: the video system is a protocol established according to personalized requirements or special requirements of multi-party communication, and in the application, screen projection source equipment and screen projection target equipment belonging to the same video system can communicate by using a private protocol. For example, in the application, in the mobile phone used by the screen projection source device, the producer of the video played in the mobile phone is a, and the private protocol can be used for communication in the process of projecting the video into the television through the video set-top box of the a.
In a specific practice process, the inventor of the present application finds that, when a screen projection source device in the prior art projects a target video on a screen projection target device for display, the screen projection target device cannot acquire the bullet screen server of the associated bullet screen information of the target video, and thus cannot acquire the bullet screen information associated with the target video.
Based on the above problem, the inventor of the present application first invented a video playing control method based on a private protocol, in which a target video is projected and displayed through a projected target video of the same video system corresponding to the target video, specifically, the same video system refers to the same video producer or the same video generation platform.
For example, a video is run in a mobile terminal such as a mobile phone, a video source of the video is an a video production platform, and meanwhile, a user is also configured with a digital video transform box corresponding to the a video production platform or a smart television corresponding to the a video production platform. The video projection display in the mobile terminal can be displayed in a common television connected with a digital video conversion box corresponding to the A video production platform, or the video projection display in the mobile terminal can be displayed in a smart television corresponding to the A video production platform.
The specific implementation manner is as shown in fig. 1, a user uses a mobile terminal to watch a video, and initiates a screen casting request to the smart television aiming at the video a, and after receiving the screen casting request, the smart television acquires the video a from the video production platform a according to the unique identification information of the video a in the screen casting request on the video production platform a, and plays the video a in the smart television.
When a user watches the barrage information related to the video a by using the mobile terminal, the user sends a barrage playing request to the intelligent television through the mobile terminal, and after receiving the barrage playing request, the intelligent television acquires the barrage information from the video A production platform according to the identification information of the video a corresponding to the barrage playing request and displays the barrage information in the intelligent television.
Through the process, the effect of projecting the barrage information into the screen projection target equipment under the same video system is achieved.
Further, the inventor of the present application has conceived a video playback control method. In this embodiment of the application, when a user needs to screen a target video on a screen projection target device, the screen projection target device may obtain the target video from a streaming media server according to a uniform resource locator URL in a screen projection request and play the target video, that is, obtain target video information from the streaming media server according to the URL corresponding to the target video, instead of sending identification information of the target video to a video production platform corresponding to the target video to obtain the target video.
Furthermore, the screen projection target device receives a screen projection play request of the screen projection source device for the target video, and determines second identification information of the screen projection server corresponding to the identification information of the streaming media server according to the first identification information of the streaming media server carried in the URL, that is, since the URL has related information of the streaming media server and the screen projection server corresponding to the screen projection information related to the target video has an association relationship, the second identification information of the screen projection server corresponding to the identification information of the streaming media server can be determined through the first identification information of the streaming media server carried in the URL.
After the second identification information of the barrage server is obtained, the screen projection target device obtains barrage information associated with the target video from the barrage server according to the second identification information, and displays the barrage information when the target video is played.
According to the video playing control method, when the target video is obtained, the URL of the storage position of the target video world wide web is used, compared with the method for obtaining the target video by using the video identification information of a certain video production platform in the prior art, the method can obtain the target video based on the URL, can analyze the identification information of the bullet screen server associated with the target video, and can obtain the target video and the associated bullet screen information.
After introducing the design concept of the embodiment of the present application, some simple descriptions are provided below for application scenarios to which the technical solution of the embodiment of the present application can be applied, and it should be noted that the application scenarios described below are only used for describing the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide method steps as shown in the following embodiments or figures, more or fewer steps may be included in the method based on conventional or non-inventive efforts. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
Referring to fig. 2, a system architecture diagram applicable to the embodiment of the present application is shown, where the system architecture includes at least a screen projection source device 201, a screen projection target device 202, a streaming media server 203, and a barrage server 204, where the number of the screen projection source device 201, the screen projection target device 202, the streaming media server 203, and the barrage server 204 is not limited in the embodiment of the present application.
In this embodiment of the application, the screen projection source device 201 and the screen projection target device 202 are connected via a wireless network or a limited network, and the screen projection source device 201 can access the barrage server 204 and send the barrage information sent by the screen projection source device 201 to the barrage server 204.
The screen projection target device 202 can establish connection with both the streaming media server 203 and the barrage server 204, the screen projection target device 202 obtains a video from the streaming media server 203, and the screen projection target device 202 obtains the barrage information associated with the video from the barrage server 204.
The screen projection source device 201 is installed with a client, and the client provides a video playing service for the streaming media server 203. The client in the screen projection source device 201 may be a browser client, a video application client, or the like. Of course, the client in the screen projection source device 201 may also be a video player and the like capable of providing a playing service without networking, and such a client may be used to play the video stored in the storage space of the screen projection source device 201, or may have an independent playing function and also be capable of using the video playing service provided by the streaming media server 203, which is not specifically limited in this embodiment of the present application. The screen projection source device 201 may include one or more processors 2011, a memory 2012, an I/O interface 2013 to interact with the streaming media server 203, a display panel 2014, and the like. The screen projection source device 201 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart watch, and the like.
The screen projection target device 202 may receive a video screen projection request sent by the screen projection source device 201, and may also receive a barrage play request sent by the screen projection source device 201, and acquire a video from the streaming media server 203 and play the video; and acquiring and displaying the bullet screen information related to the video from the bullet screen server 204. The screen projection target device 202 is installed with a client, and the client provides a video playing service for the video to be projected. The client in the screen projection target device 202 may be a browser client, a video application client, or the like. Of course, the client in the screen projection target device 202 may also be a video player and the like capable of providing a playing service without networking, and such a client may be used to play the video stored in the storage space of the screen projection target device 202, or may have an independent playing function and also be capable of using the video playing service provided by the streaming media server 203, which is not specifically limited in this embodiment of the present application. The screen projection target device 202 may include one or more processors 2021, memory 2022, I/O interface 2023 to interact with the streaming media server 203 and the bullet screen server 204, and display panel 2024, among other things. The screen projection target device 202 may be a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart watch, or may be a smart television, a smart projection device, but is not limited thereto.
The streaming server 203 is a server providing a video playing service, and the streaming server 203 may include one or more processors 2031, a memory 2032, an I/O interface 2033 for interacting with the screen projection source device 201 and the screen projection target device 202, and the like. In addition, the streaming media server 203 may also configure a database 2034. The streaming media server 203 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 a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
The barrage server 204 is a server providing barrage files, and the barrage server 204 may include one or more processors 2041, a memory 2042, and an I/O interface 2043 for interacting with the screen projection source device 201 and the screen projection target device 202. Additionally, the bullet screen server 204 may also be configured with a database 2044. The barrage server 204 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 a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
The user can access the streaming server 203 through a client installed in the screen projection source device 201, thereby using a video playing service provided by the streaming server 203. For example, the screen projection source device 201 may access the streaming server 203 through a video application client, and may also access the streaming server 203 through a web portal of a video application in a browser client. In the process of using the video playing service provided by the streaming media server 203, the user may also screen-cast a video to the screen-casting target device 202 through the screen-casting source device 201, and the screen-casting target device 202 accesses the streaming media server 203 through the video application client to obtain the video and play the video.
The user can access the barrage server 204 through a client installed in the screen projection source device 201, store the barrage information sent by the user in the barrage server 204, and the user can also display the barrage information through the screen projection target device 202 by sending a barrage playing request to the screen projection target device 202.
Specifically, the screen projection target device 202 acquires a video from the streaming media server 203 according to a URL corresponding to the video, determines the identification information of the bullet screen server 204 through the association relationship between the identification information of the streaming media server 203 and the identification information of the streaming media server 203 in the URL, accesses the bullet screen server 204 based on the identification information of the bullet screen server 204, acquires bullet screen information, and displays the bullet screen information.
Certainly, in this embodiment of the application, the streaming media server 203 and the bullet screen server 204 may be integrated together, that is, two modules in the same server are provided, and are not described herein again.
Of course, the method provided in the embodiment of the present application is not limited to be used in the application scenario shown in fig. 2, and may also be used in other possible application scenarios, and the embodiment of the present application is not limited. The functions that can be implemented by each device in the application scenario shown in fig. 2 will be described in the following method embodiments, and will not be described in detail herein.
To further illustrate the technical solutions provided by the embodiments of the present application, the following detailed description is made with reference to the accompanying drawings and the detailed description. Although the embodiments of the present application provide the method operation steps as shown in the following embodiments or figures, more or less operation steps may be included in the method based on the conventional or non-inventive labor. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application.
The following describes the technical solution provided in the embodiment of the present application with reference to the application scenario shown in fig. 2.
Referring to fig. 3, an embodiment of the present application provides a video playback control method, including:
step S301, when the screen projection target device receives a video screen projection request sent by the screen projection source device, the screen projection target device acquires a target video from a streaming media server according to a Uniform Resource Locator (URL) in the video screen projection request, and plays the target video.
In the application, before the screen projection target device receives a video screen projection request sent by the screen projection source device, the screen projection source device already obtains a target video from a streaming media server, plays the target video in the screen projection source device, and sends the screen projection request to the screen projection target device when the screen projection source device needs to perform video screen projection.
In the application, the screen-casting request may be triggered in various ways, and in an optional embodiment, the screen-casting source device receives the screen-casting request triggered by the user clicking a screen-casting control in the video application interface, or the screen-casting device receives the screen-casting request triggered by the user through voice, or the screen-casting request is triggered by setting a combination key. Exemplarily, as shown in fig. 4, the screen projection source device is a mobile terminal, a target video is played in the mobile terminal, a screen projection control is provided in a playing interface of the mobile terminal, and a screen projection request is triggered by clicking the screen projection control by a user; in another alternative embodiment, as shown in fig. 5, the user triggers a screen-casting request to the mobile terminal through voice.
In the embodiment of the present application, a premise that the screen projection target device and the screen projection source device communicate with each other is that the screen projection target device and the screen projection source device are located in the same network environment, and the screen projection target device and the screen projection source device are connected through a pairing connection process. The connection between the screen projection target device and the screen projection source device needs to be established through a communication protocol or a communication method, optionally, the connection between the screen projection target device and the screen projection source device can be realized through a DLNA technology, and the DLNA regulates the whole application into 5 functional components. From bottom to top in sequence: network interconnection, network protocols, media transport, discovery control and management of devices, media formats.
The network interconnection specifies the type of the accessed network, namely the network used by the screen projection target device and the screen projection source device. The network protocol specifies the network protocol used by the screen projection target device and the screen projection source device. Media transport specifies that all DLNA devices (including the screen projection target device and the screen projection source device) must support media transport using the hypertext transfer protocol HTTP protocol. The discovery of devices refers to a method for discovering devices that can be controlled and managed by DLNA technology, such as a screen projection target device and a screen projection source device. The media format specifies the media format when the screen projection target device shares and uses digital media and content with the screen projection source device.
Illustratively, when the screen projection target device and the screen projection source device are located in the same wireless network, the screen projection control is triggered through a video software client in the screen projection source device, because the screen projection source device does not establish communication connection with the screen projection target device, an interface for searching the screen projection target device in the same network environment is displayed in the screen projection source device, if the screen projection target device is found, the screen projection target device is displayed, and connection between the screen projection target device and the screen projection source device is completed through selecting connection establishment with the screen projection target device.
According to the content, after the screen projection target device and the screen projection source device are communicated through the DLNA technology, the screen projection effect can be achieved, so that in the embodiment of the application, the connection between the screen projection target device and the screen projection source device can be established through a public protocol, the convenience of the connection between the screen projection target device and the screen projection source device is realized, a private protocol is not required to be established in order to realize the connection between the screen projection target device and the screen projection source device, and the universality of the embodiment of the application is also improved.
Of course, the connection process between the screen projection target device and the screen projection source device may also be other communication processes, which are not limited in this application.
In the embodiment of the application, when the screen projection source device sends a video screen projection request to the screen projection target device, the video screen projection request includes the same resource locator URL, and the URL corresponds to a specific resource of the server, such as a hypertext markup language HTML page, a picture, a video segment, and the like. The URL represents the position information of the network resource of the target video corresponding to the video screen projection request, and the position information has uniqueness, so that after the screen projection target equipment acquires the URL, the screen projection target equipment can be connected to the storage position of the target video in the streaming media server according to the URL, acquire the target video from the streaming media server and play the target video.
The specific URL structure at least comprises a mode (or a protocol), a server name (or an internet protocol IP address), a path and a file name, the URL can indicate how a screen projection target device processes a corresponding target video, the target video is determined from the path and the file name corresponding to the URL in the streaming media service, and the target video is acquired.
In an optional embodiment, the target video is a streaming video, and the streaming server compresses the target video and then sends the data of the target video in segments, that is, the data of the target video played by the screen projection target device is downloaded data, but the data that is not downloaded cannot be directly viewed.
In the embodiment of the application, after the screen projection source device finishes the interaction with the screen projection target device, the screen projection source device can not play the target video any longer, and the content of the target video is only displayed in the screen projection target device.
Step S302, the screen projection target device receives a screen projection play request of the screen projection source device for the target video, and determines second identification information of the screen projection server corresponding to the first identification information of the streaming media server according to the first identification information of the streaming media server carried in the URL.
Specifically, in the embodiment of the application, when it is determined that the barrage information needs to be displayed on the screen projection target device, the screen projection source device triggers a barrage playing request, and after receiving the barrage playing request, the screen projection target device acquires the corresponding barrage information.
In an optional embodiment, the screen projection source device receives a screen projection request triggered after a user clicks a screen projection control in a video application interface, or the screen projection source device receives a screen projection request triggered after the user clicks a screen projection control in the video application interface, or the screen projection source device triggers the screen projection request by receiving a voice operation instruction of the user, or the screen projection source triggers the screen projection request by receiving a set combination key triggered by the user. As shown in fig. 6, for example, a target video is played in the screen projection source device, and the target video is already projected to the screen projection target device for playing, a video software playing client of the screen projection source device has a screen projection control, and after a user clicks the screen projection control and determines that the state of the screen projection control is a selected state, the screen projection source device triggers the screen projection playing request.
In this embodiment, as shown in fig. 7, there is also a method for optionally triggering a barrage play request, where a user may send barrage state change information to a screen projection source device by controlling a barrage control in a screen projection target device when the user clicks the barrage control, and after receiving the barrage state change information, the screen projection source device determines to trigger the barrage play request and sends the triggered barrage play request to the screen projection target device.
After receiving a bullet screen playing request of a screen projection source device for a target video, a screen projection target device determines a bullet screen server through information carried by a Uniform Resource Locator (URL) used when the target video is obtained. Specifically, the URL carries identification information of the streaming media server, and since the server for storing video data of the same video and the server for storing associated bullet screen information have an association relationship, the identification information of the bullet screen server can be determined by the identification information of the streaming media server.
For example, for a target video a, the target video a is a video of an a video production platform, so the streaming server corresponding to the target video a is the streaming server in the a video production platform, and the barrage information generated by commenting on the target video a by the user is stored in the barrage server in the a video production platform, so if the identification information of the streaming server corresponding to the target video a is determined, the a video production platform is determined, and then the identification information of the barrage server in the a video production platform can be determined.
Therefore, in the embodiment of the present application, the screen projection target device determines, according to the first identification information of the streaming media server carried in the URL, the second identification information of the barrage server corresponding to the identification information of the streaming media server.
Specifically, there are various methods for the screen projection target device according to the first identification information of the streaming media server carried in the URL, and in an optional embodiment, the screen projection target device determines the first identification information of the streaming media server carried in the URL according to a stored URL structure rule, for example, if the URL structure rule is http:// XX/identification information/, the first identification information of the streaming media server carried in the URL may be determined according to the URL structure rule.
Specifically, if the URL is http://183.47.253.142/moviets.aa.com/, it can be determined that moviets.aa.com is the first identification information.
The first identification information may be determined by the rule matching method, and certainly, the rule is only an exemplary rule, and other rules may also determine the first identification information, which is not described herein again.
In another optional embodiment, the screen projection target device determines, according to a streaming media server connected when the target video is acquired, first identification information of the streaming media server, that is, the screen projection target device stores a binding relationship between an IP address of the streaming media server and the first identification information, or the screen projection target device stores a binding relationship between a URL and the first identification information, and determines the first identification information by accessing the streaming media server.
Illustratively, as shown in table 1, table 1 stores the correspondence between URLs and first identification information, where different URLs may correspond to the same first identification information, and represent that target videos corresponding to the URLs are videos in the same video production platform.
TABLE 1
URL Identification information
URL1 Identification information 1
URL2 Identification information 2
URL3 Identification information 1
…… ……
Of course, the method for determining the first identification information is only an optional example, and other methods for determining the first identification information are also available, which are not described herein again.
In the embodiment of the application, the URL structure rule or the binding relationship stored in the screen projection target device is issued by a management server or a management terminal connected to the screen projection target device, and when the URL structure rule or the binding relationship is issued, it is determined that the URL structure rule or the binding relationship does not conflict with the existing URL structure rule or the binding relationship of the screen projection target device, where the conflict does not mean that the content specified by the URL structure rule does not have a contradiction with the content specified by the existing URL structure rule, and similarly, the correspondence in the binding relationship does not have a contradiction with the correspondence in the existing binding relationship.
Illustratively, if the issued URL structure rule is http:// XX/identification information/, and the existing URL structure rule is http:// XX/identification information/, it is determined that the URL structure rule has been issued and conflicts with the existing URL.
Or the issued association is that the IP address 1 corresponds to the identification information 1, and the IP address 1 corresponds to the identification information 2 in the existing association, so that the issued association is determined to conflict with the existing association.
After the URL structure rule or the binding relationship is determined to be the existing URL structure rule or the binding relationship of the screen projection target equipment, a management server or a management terminal connected with the screen projection target equipment can be informed to re-establish the URL structure rule or the binding relationship and issue the URL structure rule or the binding relationship.
In the embodiment of the application, after the screen projection target device determines the first identification information of the streaming media server carried by the URL, the second identification information of the bullet screen server is determined according to the correlation between the streaming media server and the bullet screen video server.
In an optional embodiment, the screen projection target device obtains a correspondence between the identification information, and the correspondence between the identification information of each streaming media server and the identification information of the corresponding bullet screen server, as shown in table 2, the identification information of different streaming media servers may correspond to the same bullet screen server.
TABLE 2
Streaming media identification information Barrage identification information
Streaming media identification information 1 Barrage identification information 1
Streaming media identification information 2 Identification information 2
Streaming media identification information 3 Barrage identification information 1
…… ……
And the screen projection target equipment determines second identification information corresponding to the first identification information according to the stored identification information corresponding relation, as shown in table 2.
In another optional embodiment, the screen projection target device stores a corresponding relationship between the first identification information and video generation platform identification information of the target video, the screen projection target device also stores a corresponding relationship between the video generation platform identification information and barrage server identification information, and the screen projection target device determines the corresponding video generation platform identification information according to the first identification information and then determines the corresponding barrage server identification information according to the video generation platform identification information.
Illustratively, as shown in tables 3 and 4, table 3 stores the corresponding relationship between the first identification information and the video generation platform identification information of the target video, table 4 stores the corresponding relationship between the video generation platform identification information and the barrage server identification information, and the screen projection target device determines the barrage server identification information according to tables 3 and 4.
TABLE 3
First identification information Video generation platform identification information
Identification 1 Video generation platform identification 1
Identification 2 Video generation platform identification 2
Identification 3 Video generation platform identification 3
…… ……
TABLE 4
Video generation platform identification information Barrage server identification information
Video generation platform identification 1 Barrage server identification information 1
Video generation platform identification 2 Barrage server identification information 2
Video generation platform identification 3 Video generation platform identification 3
…… ……
Of course, in this embodiment of the application, table 3 and table 4 may also be integrated, and the corresponding relationship between the first identification information, the video generation platform identification information, and the barrage server identification information may be found through one table.
In this embodiment of the present application, the correspondence may be issued by a management server or a management terminal connected to the screen projection target device, and when the correspondence is issued and it is necessary to determine that the correspondence does not conflict with an existing correspondence, the correspondence is stored. The conflict avoidance means that the problem that contradiction between the relevance between the identification information established in the newly added corresponding relation and the relevance between the identification information in the existing corresponding relation is not repeated exists.
In this embodiment of the present application, the correspondence may be issued after the screen projection target device is connected to the management server or the management terminal, or may be issued after the screen projection target device is connected to the management server or the management terminal and the screen projection target device sends a correspondence obtaining request to the management server or the management terminal, which is not described in detail in this embodiment of the present application.
In this embodiment of the application, the process of determining the first identification information in the URL by the screen projection target device may be determined after receiving a video screen projection request sent by the screen projection source device, or may be determined when receiving a barrage play request of the screen projection source device for the target video, and the specific steps are not limited herein.
Step S303, the screen projection target device obtains the bullet screen information associated with the target video from the bullet screen server according to the second identification information, and displays the bullet screen information when the target video is played.
Specifically, in this embodiment of the application, after the screen projection target device determines the second identification information, it may determine specific information of the bullet screen server, obtain bullet screen information by accessing the bullet screen server, and display the bullet screen information when the target video is played.
In this embodiment of the application, the screen projection target device may obtain the IP address of the bullet screen server according to the binding relationship between the second identification information and the IP address of the bullet screen server, so as to connect with the bullet screen server. That is, in an optional embodiment, the screen projection target device may be connected to each bullet screen server, and the screen projection target device may be connected to the bullet screen server only after determining information of a specific bullet screen server.
For example, the IP address corresponding to the second identification information is IP: 27.115.103.154, and the bullet screen server of the bullet screen information associated with the target video is connected by accessing the IP address.
In this embodiment, in another optional embodiment, after the screen projection target device determines the second identification information, the video production platform corresponding to the second identification information is determined, that is, the corresponding relationship between the second identification information and the video production platform is stored, a request for accessing the bullet screen server is sent to the corresponding video production platform, an address of the bullet screen server returned by the video production platform is received, and the bullet screen server is accessed according to the address of the bullet screen server.
After the screen projection target device is connected with the bullet screen server, bullet screen information related to the target video is obtained, specifically, the bullet screen information can be obtained through the URL, namely, the bullet screen server stores the corresponding relation between the URL and the bullet screen information, and the target video and the bullet screen information have the relevance, so that the corresponding bullet screen information can be found through the URL.
In another optional embodiment, in a video production platform corresponding to a target video, the target video has a unique identifier and may be represented by an ID, the URL includes the ID information, and the barrage server stores the barrage information according to the ID information, so that after the connection between the screen projection target device and the barrage server is established, the ID of the target video is sent to the barrage server, and according to the ID of the target video, the barrage server may obtain the barrage information.
In this embodiment of the present application, after the screen projection target device acquires the barrage information, since the screen projection target device and the electronic device that sends the barrage may have a file format difference, in this embodiment of the present application, the screen projection target device further needs to determine a display format of the barrage, and display the acquired barrage information in the display format of the barrage.
Specifically, in this embodiment of the application, the bullet screen display format may be issued by the management server or the management terminal, and may be set when the screen projection target device leaves the factory.
The specific bullet screen display format may include the display size of the bullet screen head portrait, the bullet screen language, the bullet screen characters, and other contents.
For example, the screen projection target device can display more text information contents, so the format of the barrage information in the screen projection source device is 10 characters at most, and the first 15 characters can be displayed in the screen projection target device, so the first 15 characters of each barrage comment content need to be displayed.
Optionally, the screen projection target device may assign a value to a part to be displayed by obtaining a keyword in the bullet screen information, for example, the presentation order of each bullet screen comment in the bullet screen information is a comment text, a comment user avatar, and a comment user nickname, as shown in fig. 8, in the screen projection source device, the bullet screen content sent by each user is displayed according to the bullet screen format.
When the barrage information is projected into the screen projection target device, the display format of the barrage information of the screen projection target device is the barrage ID, that is, the number of the barrages, and the formats of the comment user avatar, the comment user nickname, and the comment text, the screen projection target device needs to convert the barrage information, obtain the sequence information of each comment text in all comment texts, take the sequence information as the barrage ID, extract the information of the comment text, the comment user nickname, and the comment user avatar, and form the barrage displayed in the screen projection target device, as shown in fig. 9.
In the embodiment of the application, different target videos may have the same or different displayed bullet screen information formats, and different display formats of bullet screen information may be determined according to different video production platforms corresponding to different target videos.
In another optional embodiment, the screen projection target device may filter the barrage information, may set a filtering rule, delete the content matched with the filtering rule, and retain other barrage information.
For example, as shown in fig. 10, the bullet screen information displayed on the screen projection source device includes the bullet screen information of "welcome call xxxxxx" evaluated by the user a, and if the screen projection target device sets the filtering rule for the advertisement information, the bullet screen information of "welcome call xxxxxx" evaluated by the user a is deleted and other bullet screen information is displayed.
In the embodiment of the application, the bullet screen information further includes bullet screen time information, and when the bullet screen is displayed, the corresponding bullet screen is matched according to the time information of the currently played target video frame and the bullet screen time information. Illustratively, the barrage information corresponds to a video frame, and if a 500 th video frame displayed by a currently played target video is a video frame, barrage time information corresponding to the 500 th video frame in the barrage information is determined, and then barrage content corresponding to the barrage time information is determined, and the comment content is displayed.
In the embodiment of the application, because the barrage is a comment mode of multiple users on the target video, when one user watches the target video and the barrage information through the screen-casting target device, the user and other users can also continuously send barrage comments on the target video, the users send the barrage information through respective corresponding terminal devices, and the terminal devices can be screen-casting source devices or not.
The terminal device sends the barrage information to the barrage server for storage, so that the barrage information in the barrage server is updated in real time, and in the embodiment of the application, after the screen projection target device is connected with the barrage server and acquires the barrage information, the screen projection target device also needs to acquire the updated barrage information.
In an optional embodiment, the screen projection target device periodically sends a request for acquiring the barrage information to the barrage server, the barrage server sends the stored updated barrage information to the screen projection target device, and the screen projection target device determines the display content according to the updated barrage information.
In another optional embodiment, the screen projection target device receives a bullet screen information update message sent by a bullet screen server, and acquires updated bullet screen information from the bullet screen server according to the bullet screen information update message, wherein the bullet screen information update message is generated by the bullet screen server after determining that bullet screen information associated with a target video is updated; and the screen projection target equipment displays the updated barrage information when playing the target video.
That is to say, in the embodiment of the present application, after the barrage server determines that the barrage information for the target video is updated, the barrage server actively notifies the screen projection target device, and after the screen projection target device acquires the notification information of the barrage server, the screen projection target device acquires the updated barrage information from the barrage server and displays the updated barrage information.
In another optional embodiment, after determining that the bullet screen information for the target video is updated, the bullet screen server sends the updated bullet screen information to the screen projection target device, and the screen projection target device displays the updated bullet screen information.
In addition, in this embodiment of the present application, the bullet screen information provided by the bullet screen server may also be a streaming media file, and the bullet screen information is compressed and partitioned to be sent to the screen projection target device, and the screen projection target device displays the downloaded bullet screen information.
Of course, the above embodiments are only some optional methods for updating the bullet screen information, and other methods for updating the bullet screen information are available, which are not described herein again.
In the embodiment of the application, when the screen projection target device receives a request for closing a popup screen, the screen projection target device hides the popup screen information and only plays a target video in response to the request for closing the popup screen.
Optionally, the request for closing the pop-up screen may be sent by the screen projection source device, or may be sent after the user operates the screen projection target device.
Specifically, the request for closing the pop-up screen may be triggered by the user by triggering a pop-up screen control in the screen projection source device, or triggered by the user by triggering a pop-up screen control in the screen projection target device.
The user can trigger the bullet screen control of the screen projection source device or the screen projection target device through various modes such as voice and gestures.
Of course, there are other ways to close the bullet screen, which are not described herein.
In summary, the embodiment of the present application provides a method for displaying a pop-up screen associated with a target video on a screen projection target device through a URL corresponding to the target video, and in order to better explain the embodiment of the present application, the text classification method provided in the embodiment of the present application is described below in conjunction with a specific implementation scenario.
In the embodiment of the application, a user plays a target video through a mobile terminal, the target video is a video of an X video production platform, the target video has a unique identification ID in the X video production platform, the X video production platform stores a file of the target video in a streaming media server corresponding to the X video production platform, and a URL (uniform resource locator) for the target video is determined according to the storage position of the streaming media server.
The current user operates a client corresponding to an X video production platform in a mobile terminal, comments are conducted on the target video through the client, the mobile terminal sends comment information to a bullet screen server corresponding to the X video production platform, the user needs to project the target video played in the mobile terminal into an intelligent television, and the user needs to project the bullet screen information into the intelligent television.
As shown in fig. 11, the specific screen projection method includes:
step 1101, commenting a target video by a user through a client in the mobile terminal;
step S1102, the mobile terminal sends the comments to a barrage server;
step S1103, the barrage server stores the comments according to the ID of the target video;
step S1104, the user projects the target video through the client in the mobile terminal;
step S1105, the mobile terminal determines the URL of the target video;
step S1106, the mobile terminal sends a video screen projection request to the smart television, wherein the video screen projection request comprises a URL (uniform resource locator) of a target video;
step S1107, the intelligent television is connected with a streaming media server according to the URL;
step S1108, the streaming media server determines a target video;
step S1109, the smart television acquires a target video from the streaming media server;
step S1110, the smart television plays a target video;
step S1111, the user casts the screen of the bullet screen information of the target video through the client in the mobile terminal;
step S1112, the mobile terminal sends a barrage play request to the smart television;
step S1113, the intelligent television determines the identification information of the streaming media server in the URL;
step S1114, the smart television determines the identification information of the bullet screen server according to the corresponding relationship between the stored identification information of the streaming media server and the identification information of the bullet screen server;
step S1115, the smart television accesses the bullet screen server according to the identification information of the bullet screen server and sends the ID of the target video to the bullet screen server;
step S1116, the barrage server determines barrage information according to the ID of the target video;
step S1117, the bullet screen server sends bullet screen information to the smart television;
step S1118, the intelligent television converts the format of the bullet screen information;
step S1119, the intelligent television plays the target video and the bullet screen information;
step S1120, the bullet screen server determines that updated bullet screen information exists;
step S1121, the barrage server sends the updated barrage information to the smart television;
step 1122, the intelligent television performs format conversion on the bullet screen information;
and step S1123, the smart television plays the target video and updates the bullet screen information.
Specifically, as shown in fig. 12 for the scenes of steps S1101 to S1103, specifically as shown in fig. 13 for the scenes of steps S1104 to S1110, specifically as shown in fig. 14 for the scenes of steps S1111 to S1119, in fig. 14, the font in the smart television is different from the font in the mobile terminal, and the comment background in the smart television is different. For the scenarios of steps S1120 to S1123, specifically as shown in fig. 15, fig. 14 is added with new comment content compared with fig. 15.
Based on the same technical concept, an embodiment of the present application provides a video playback control apparatus 1600, as shown in fig. 16, including:
the target video obtaining unit 1601 is configured to, when receiving a video screen-casting request sent by a screen-casting source device, obtain a target video from a streaming media server according to a uniform resource locator URL in the video screen-casting request, and play the target video;
a bullet screen server determining unit 1602, configured to receive a bullet screen playing request of a screen projection source device for a target video, and determine, according to first identification information of a streaming media server carried in a URL, second identification information of the bullet screen server corresponding to the identification information of the streaming media server;
the bullet screen information display unit 1603 is configured to obtain bullet screen information associated with the target video from the bullet screen server according to the second identification information, and display the bullet screen information when the target video is played.
Optionally, the apparatus 1600 further comprises:
a correspondence saving unit 1604, configured to obtain and save an identification information correspondence, where the identification information correspondence includes a correspondence between identification information of each streaming media server and identification information of each corresponding bullet screen server;
the bullet screen server determining unit 1602 is specifically configured to:
and determining second identification information corresponding to the first identification information according to the stored identification information corresponding relation.
Optionally, the bullet screen play request includes identification information of the target video, and the bullet screen information display unit 1603 is specifically configured to:
and connecting the second identification information with the bullet screen server, sending the identification information of the target video to the bullet screen server, and receiving bullet screen information acquired by the bullet screen server based on the identification information of the target video.
Optionally, the bullet screen information display unit 1603 is specifically configured to:
and displaying the bullet screen information according to a bullet screen format matched with the screen projection target equipment.
Optionally, the bullet screen information display unit 1603 is further configured to:
receiving a bullet screen information updating message sent by a bullet screen server, and acquiring updated bullet screen information from the bullet screen server according to the bullet screen information updating message, wherein the bullet screen information updating message is generated by the bullet screen server after determining that bullet screen information related to a target video is updated;
and displaying and updating the bullet screen information when the target video is played.
Optionally, the bullet screen information display unit 1603 is further configured to:
and hiding the bullet screen information in response to the bullet screen closing request.
Optionally, the screen projection source device is connected with the screen projection source device through a public protocol.
The video playing control device provided by the embodiment of the application can acquire the target video and display the target video in the screen projection target equipment when receiving the video screen projection request sent by the screen projection source equipment, in the playing process, if a barrage playing request of the screen projection source equipment for the target video is received, determining the identification information of the corresponding bullet screen server according to the identification information of the streaming media server of the target video in the URL used when the target video is acquired, the connection with the bullet screen server can be established through the determined identification information of the bullet screen server, the bullet screen information related to the target video can be acquired, therefore, the barrage information which can be displayed in the screen projection source equipment is displayed in the screen projection target equipment when the target video is played, the user can conveniently check the barrage comment content after the screen projection, and the user experience is improved.
Based on the same technical concept, the embodiment of the present application provides a computer apparatus, as shown in fig. 17, including at least one processor 1701 and a memory 1702 connected to the at least one processor, where a specific connection medium between the processor 1701 and the memory 1702 is not limited in the embodiment of the present application, and the processor 1701 and the memory 1702 are connected through a bus in fig. 17 as an example. The bus may be divided into an address bus, a data bus, a control bus, etc.
In the embodiment of the present application, the memory 1702 stores instructions executable by the at least one processor 1701, and the at least one processor 1701 may execute the steps included in the video playback control method by executing the instructions stored in the memory 1702.
The processor 1701 is a control center of a computer device, and can connect various parts of the terminal device by using various interfaces and lines, and obtain a client address by executing or executing instructions stored in the memory 1702 and calling data stored in the memory 1702. Alternatively, the processor 1701 may include one or more processing units, and the processor 1701 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, and the like, and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1701. In some embodiments, the processor 1701 and the memory 1702 may be implemented on the same chip, or in some embodiments, they may be implemented separately on separate chips.
The processor 1701 may be a general-purpose processor, such as a Central Processing Unit (CPU), digital signal processor, Application Specific Integrated Circuit (ASIC), field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, that may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present Application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Memory 1702 is provided as a non-volatile computer-readable storage medium that may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 1702 may include at least one type of storage medium, and may include, for example, a flash Memory, a hard disk, a multimedia card, a card-type Memory, a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Programmable Read Only Memory (PROM), a Read Only Memory (ROM), a charge Erasable Programmable Read Only Memory (EEPROM), a magnetic Memory, a magnetic disk, an optical disk, and so on. The memory 1702 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1702 of the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data.
Based on the same technical concept, embodiments of the present application provide a computer-readable storage medium storing a computer program executable by a computer device, which, when the program runs on the computer device, causes the computer device to execute the steps of the video playback control method.
The computer-readable storage medium may be any available medium or data storage device that can be accessed by a computer, including but not limited to magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (13)

1. A video playback control method, the method comprising:
the screen projection target equipment obtains and stores identification information corresponding relations, wherein the identification information corresponding relations comprise corresponding relations between identification information of each streaming media server and identification information of corresponding barrage servers;
when the screen projection target equipment receives a video screen projection request sent by screen projection source equipment, acquiring a target video from a streaming media server according to a Uniform Resource Locator (URL) in the video screen projection request, and playing the target video;
the screen projection target equipment receives a screen projection playing request of screen projection source equipment for the target video, acquires first identification information of a streaming media server carried in the URL, and determines second identification information of the screen projection server corresponding to the first identification information of the streaming media server according to the stored corresponding relation of the identification information;
the screen projection target equipment acquires the bullet screen information related to the target video from the bullet screen server according to the second identification information, and displays the bullet screen information when the target video is played; the bullet screen information comprises bullet screen time information, and when the bullet screen is displayed, the corresponding bullet screen is matched according to the time information of the currently played target video frame and the bullet screen time information.
2. The method of claim 1, wherein the screen projection target device obtains and stores the identification information correspondence, and comprises:
and the screen projection target equipment receives the corresponding relation of the identification information, and stores the corresponding relation of the identification information after determining that the corresponding relation of the identification information is different from the corresponding relation of other identification information received by the screen projection target equipment.
3. The method according to claim 1, wherein the barrage play request includes identification information of the target video, and the acquiring, by the screen projection target device, barrage information associated with the target video from the barrage server according to the second identification information includes:
and the screen projection target equipment is connected with the bullet screen server according to the second identification information, sends the identification information of the target video to the bullet screen server, and receives the bullet screen information fed back by the bullet screen server based on the identification information of the target video.
4. The method of claim 1, wherein the screen projection target device displays the barrage information while playing the target video, comprising:
and the screen projection target equipment displays the bullet screen information according to a bullet screen format matched with the screen projection target equipment.
5. The method of claim 1, wherein after the screen projection target device obtains the barrage information associated with the target video from the barrage server according to the second identification information, the method further comprises:
the screen projection target equipment receives a bullet screen information updating message sent by the bullet screen server, and acquires updated bullet screen information from the bullet screen server according to the bullet screen information updating message, wherein the bullet screen information updating message is generated by the bullet screen server after the bullet screen information related to the target video is determined to be updated;
and the screen projection target equipment displays the updated barrage information when the target video is played.
6. The method of claim 1, wherein after the screen projection target device displays the barrage information while playing the target video, the method further comprises:
and responding to the request for closing the bullet screen, and canceling the display of the bullet screen information by the screen projection target equipment.
7. The method according to any one of claims 1 to 6, wherein the screen projection target device and the screen projection source device are connected by a public protocol.
8. A video playback control apparatus, comprising:
the corresponding relation storage unit is used for obtaining and storing the corresponding relation of the identification information, wherein the corresponding relation of the identification information comprises the corresponding relation between the identification information of each streaming media server and the identification information of each corresponding barrage server;
the device comprises a target video acquisition unit, a video display unit and a video display unit, wherein the target video acquisition unit is used for acquiring a target video from a streaming media server according to a Uniform Resource Locator (URL) in a video display request when receiving the video display request sent by a display source device and playing the target video;
a bullet screen server determining unit, configured to receive a bullet screen play request of the screen projection source device for the target video, acquire first identification information of the streaming media server carried in the URL, and determine, according to the stored correspondence between the identification information, second identification information of the bullet screen server corresponding to the first identification information of the streaming media server;
the bullet screen information display unit is used for acquiring bullet screen information related to the target video from the bullet screen server according to the second identification information and displaying the bullet screen information when the target video is played; the bullet screen information comprises bullet screen time information, and when the bullet screen is displayed, the corresponding bullet screen is matched according to the time information of the currently played target video frame and the bullet screen time information.
9. The apparatus according to claim 8, wherein the correspondence storage unit is specifically configured to:
and receiving the corresponding relation of the identification information, and storing the corresponding relation of the identification information after determining that the corresponding relation of the identification information is different from the corresponding relation of other identification information received by the screen projection target equipment.
10. The apparatus according to claim 8, wherein the barrage play request includes identification information of the target video, and the barrage information display unit is specifically configured to:
and connecting the bullet screen server according to the second identification information, sending the identification information of the target video to the bullet screen server, and receiving the bullet screen information fed back by the bullet screen server based on the identification information of the target video.
11. The apparatus according to claim 8, wherein the bullet screen information display unit is specifically configured to:
and displaying the bullet screen information according to a bullet screen format matched with the screen projection target equipment.
12. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any one of claims 1 to 7 are performed by the processor when the program is executed.
13. A computer-readable storage medium, in which a computer program is stored which is executable by a computer device, and which, when run on the computer device, causes the computer device to carry out the steps of the method as claimed in any one of claims 1 to 7.
CN202010668469.8A 2020-07-13 2020-07-13 Video playing control method and device Active CN111901674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010668469.8A CN111901674B (en) 2020-07-13 2020-07-13 Video playing control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010668469.8A CN111901674B (en) 2020-07-13 2020-07-13 Video playing control method and device

Publications (2)

Publication Number Publication Date
CN111901674A CN111901674A (en) 2020-11-06
CN111901674B true CN111901674B (en) 2021-08-03

Family

ID=73192471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010668469.8A Active CN111901674B (en) 2020-07-13 2020-07-13 Video playing control method and device

Country Status (1)

Country Link
CN (1) CN111901674B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112394898A (en) * 2020-11-23 2021-02-23 深圳乐播科技有限公司 Screen projection method, device and system, screen projection equipment and storage medium
CN114546308A (en) * 2020-11-25 2022-05-27 华为终端有限公司 Application interface screen projection method, device, equipment and storage medium
CN112565877B (en) * 2020-12-10 2022-10-18 北京奇艺世纪科技有限公司 Screen projection method and system, electronic equipment and storage medium
CN112584200B (en) * 2020-12-10 2023-06-30 北京奇艺世纪科技有限公司 Screen projection method, system, electronic equipment and storage medium
CN112616065B (en) * 2020-12-16 2023-06-13 深圳乐播科技有限公司 Screen image initiating method, device and system and readable storage medium
CN112770159A (en) * 2020-12-30 2021-05-07 北京字节跳动网络技术有限公司 Multi-screen interaction system, method, device, equipment and storage medium
CN112732212A (en) * 2020-12-31 2021-04-30 咪咕音乐有限公司 Display method, electronic device, and storage medium
CN114915825A (en) * 2021-02-08 2022-08-16 上海哔哩哔哩科技有限公司 Message display method and device
CN115145507A (en) * 2021-03-15 2022-10-04 华为技术有限公司 Online interaction method based on multiple devices, chip, electronic device and storage medium
CN113038208A (en) * 2021-03-19 2021-06-25 深圳创维-Rgb电子有限公司 Display method, computer equipment and computer readable storage medium
CN113138739B (en) * 2021-05-17 2023-06-27 北京字跳网络技术有限公司 Screen projection method, system, device, electronic equipment and storage medium
CN115460445B (en) * 2021-06-09 2024-03-22 荣耀终端有限公司 Screen projection method of electronic equipment and electronic equipment
CN115883913A (en) * 2021-09-27 2023-03-31 华为技术有限公司 Screen projection method, equipment and system
CN114501154A (en) * 2021-12-27 2022-05-13 咪咕文化科技有限公司 Streaming media playing method, electronic equipment and readable storage medium
CN114401453B (en) * 2022-01-14 2024-04-16 京东方科技集团股份有限公司 Data processing method, device, computing equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260079A (en) * 2013-04-12 2013-08-21 深圳市龙视传媒有限公司 Control method and control device for multi-screen interaction
CN108762640A (en) * 2018-05-28 2018-11-06 维沃移动通信有限公司 A kind of display methods and terminal of barrage information
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110958480A (en) * 2019-11-28 2020-04-03 湖南快乐阳光互动娱乐传媒有限公司 Bullet screen display method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY166270A (en) * 2010-10-21 2018-06-22 Mtv Digital Tech Sdn Bhd An apparatus for enclosing a flat panel display
CN105578253A (en) * 2015-12-21 2016-05-11 珠海迈科智能科技股份有限公司 Bullet curtain method and device of broadcasting satellite programs
CN105828139A (en) * 2016-04-06 2016-08-03 乐视控股(北京)有限公司 Video screen-projection method and apparatus
CN106131702B (en) * 2016-07-29 2019-04-02 上海幻电信息科技有限公司 Barrage supplying system and method
CN108174309A (en) * 2018-01-16 2018-06-15 深圳市瑞致达科技有限公司 Barrage advertisement broadcast method, barrage advertisement play back device and readable storage medium storing program for executing
CN111309279B (en) * 2020-05-06 2020-11-24 上海幻电信息科技有限公司 Multi-screen interactive display method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103260079A (en) * 2013-04-12 2013-08-21 深圳市龙视传媒有限公司 Control method and control device for multi-screen interaction
CN108762640A (en) * 2018-05-28 2018-11-06 维沃移动通信有限公司 A kind of display methods and terminal of barrage information
CN110389736A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of throwing screen display methods and electronic equipment
CN110958480A (en) * 2019-11-28 2020-04-03 湖南快乐阳光互动娱乐传媒有限公司 Bullet screen display method

Also Published As

Publication number Publication date
CN111901674A (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN111901674B (en) Video playing control method and device
US10397636B1 (en) Methods and systems for synchronizing data streams across multiple client devices
US9979770B2 (en) Method of requesting a social media link authorization based on a social media content item
US9451309B2 (en) Multiple advertising systems integrated using a video link aggregation system
US20100268694A1 (en) System and method for sharing web applications
CN109474843B (en) Method for voice control of terminal, client and server
US11463741B2 (en) Methods and systems for dynamic routing of content using a static playlist manifest
US20160164970A1 (en) Application Synchronization Method, Application Server and Terminal
US9137497B2 (en) Method and system for video stream personalization
US20220295138A1 (en) Video Update Push Method and Terminal
CN114237840A (en) Resource interaction method, device, terminal and storage medium
CN103618779A (en) Method and system for resource sharing
JP5624056B2 (en) Method, apparatus and computer program for generating a query
KR102134250B1 (en) Method and system for reproducing streaming content
US9086784B2 (en) Method, apparatus and computer program for providing user-specific information on a graphical user interface
US20090106796A1 (en) Method and system for providng subscription data
KR101403783B1 (en) Virtual space providing system for distinct step of application execution
DE102019204521A1 (en) Context-dependent routing of media data
KR102611253B1 (en) Receiving devices, transmitting devices and data processing methods
CN113569089A (en) Information processing method, device, server, equipment, system and storage medium
US20190124071A1 (en) Access to network data from a plurality of sources using a single identification value
CN111654741B (en) Video data acquisition method and device, computer equipment and storage medium
CN115802110A (en) Play control method and device
CN109429109A (en) A kind of method and set-top box of shared information
JP2015215776A (en) Management system and management method for mobile communication base in which one application for moving image reproduction guidance is managed so as to be available by plurality of content providing company

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