WO2017219532A1 - 一种视频应用程序控制方法及视频应用程序控制*** - Google Patents

一种视频应用程序控制方法及视频应用程序控制*** Download PDF

Info

Publication number
WO2017219532A1
WO2017219532A1 PCT/CN2016/100423 CN2016100423W WO2017219532A1 WO 2017219532 A1 WO2017219532 A1 WO 2017219532A1 CN 2016100423 W CN2016100423 W CN 2016100423W WO 2017219532 A1 WO2017219532 A1 WO 2017219532A1
Authority
WO
WIPO (PCT)
Prior art keywords
video application
video
domain name
control system
play
Prior art date
Application number
PCT/CN2016/100423
Other languages
English (en)
French (fr)
Inventor
张万波
刘凤玉
刘德
Original Assignee
乐视控股(北京)有限公司
乐视云计算有限公司
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 乐视控股(北京)有限公司, 乐视云计算有限公司 filed Critical 乐视控股(北京)有限公司
Publication of WO2017219532A1 publication Critical patent/WO2017219532A1/zh

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2543Billing, e.g. for subscription services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Definitions

  • the present application relates to the field of video technologies, and in particular, to a video application control method and a video application control system.
  • uploading videos via the web for sharing or downloading videos for users to watch they are usually uploaded or downloaded through the video application.
  • video online viewing there are more and more types of video applications.
  • the image and sound signals collected by the camera and the microphone need to be converted into a video stream, that is, the content such as image and sound needs to be encoded first.
  • the source video needs to be transcoded or decoded to enable playback, whether it is uploading or downloading, the video application can only use the inherent decoding and / or transcoding technology, then the uploaded video can only be played by the streaming protocol inherently supported by the video application when it needs to be played or when playing other video resources, so some video resources may not have playback. Capabilities, then for some video resources in the video system, the user may not be able to watch, resulting in wasted video resources of the video system, and also affect the user's viewing experience. And, for developers, if you need to develop a video application that can support multiple streaming protocols, In the process of development, more professional development techniques are needed, so more human resources, technical resources and capital are needed, and development efficiency is also lower.
  • the video system in the prior art has high requirements on the video application, the video system has a low degree of open source and a small scope of application, thereby increasing the development difficulty and cost of the video application, and the new video application.
  • the development efficiency is low.
  • the present invention provides a video application control method and a video application control system, which are used to solve the problem that the video system has high requirements for video applications in the prior art, and the video system has a low degree of open source and a small application range, thereby resulting in
  • the development of video applications is difficult and the development of low-efficiency technical problems to achieve the technical effect of enhancing the development efficiency of video applications by enhancing the openness of the video system and expanding the scope of application.
  • an embodiment of the present application provides a video application control method, which is applied to a control server that includes a video application control system, where the video application control method includes:
  • the live data stream that can support multiple code rates and multiple protocols can be obtained by transcoding and/or decoding the direct data by the push flow server, so that the live video stream can be in different streaming media protocols. Play on the video player.
  • the embodiment of the present application provides a first video application control system, which is included in a control server, where the video application control system includes:
  • a first obtaining module configured to obtain a user creation operation on an operation interface corresponding to the video application control system
  • An allocation module configured to allocate a push flow domain name and a play domain name to the video application, where the video application is used to forward a play request to a play server corresponding to the play domain name, and to directly transfer live data to The push flow server corresponding to the push flow domain name is saved, Transmitting and/or decoding the live data by the push stream server.
  • the embodiment of the present application provides a second video application control system, including:
  • a memory for storing instructions
  • a processor coupled to the memory for executing the instructions to perform the steps of the video application control method as described in the first aspect when the instructions are executed.
  • the embodiment of the present application provides a non-volatile computer storage medium storing computer executable instructions, where the computer executable instructions include instructions for executing the video application control method in the first aspect. .
  • the embodiment of the present application further provides a computer program, where the computer program includes instructions for executing the video application control method in the first aspect.
  • the video application control method and the video application control system provided by the embodiment of the present application may create a video application based on a creation operation performed by a user on an operation interface corresponding to the video application control system, and allocate the video application for the video application.
  • Pushing the domain name and playing the domain name, and the created video application can forward the play request to the play server corresponding to the play domain name, and can directly transfer the live data to the push stream server corresponding to the push stream domain name and broadcast the live stream through the push stream server.
  • the data is transcoded and/or decoded to obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be played on a video player of different streaming protocols, that is,
  • the push streaming server in the video application control system provided by the application embodiment may directly transcode and/or decode the live data so that the transcoded and/or decoded live data can support at least two streaming protocols. Play, so when live data is played through the video app When released, the matching probability of the live data and the streaming protocol supported by the video application is increased, thereby increasing the possibility that the video application plays the live data, and then the live data that may not be played through at least two streams One of the media protocols can be played, so that the user can also watch and improve the viewing experience of the user.
  • the video application control system in the embodiment of the present application can perform transcoding and/or decoding processing on the live data directly, and obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be enabled.
  • Play on video players of different streaming protocols which reduces the requirements for video applications, which can increase the openness of the video application control system, expand its scope of application, and at the same time due to the performance of the video application itself. Reduced requirements can also reduce the development difficulty and cost of developing new video applications to improve The development efficiency of new video applications.
  • FIG. 1 is a flowchart of a video application control method in an embodiment of the present application
  • FIG. 2 is a structural block diagram of a video application control system in an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of a video application control system according to an embodiment of the present application.
  • the video application control method and the video application control system provided by the embodiment of the present application may create a video application based on a creation operation performed by a user on an operation interface corresponding to the video application control system, and allocate the video application for the video application.
  • Pushing the domain name and playing the domain name, and the created video application can forward the play request to the play server corresponding to the play domain name, and can directly transfer the live data to the push stream server corresponding to the push stream domain name and stream the live data through the push stream server.
  • the push streaming server in the video application control system provided by the application embodiment may directly transcode and/or decode the live data so that the transcoded and/or decoded live data can support at least two streaming protocols. Play, so when live data is played through the video app When released, the matching probability of the live data and the streaming protocol supported by the video application is increased, thereby increasing the possibility that the video application plays the live data, and then the live data that may not be played through at least two streams One of the media protocols can be played, so that the user can also watch and improve the viewing experience of the user.
  • the video application control system in the embodiment of the present application can perform transcoding and/or decoding processing on the live data directly, and obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be enabled. Play on the video player of different streaming protocols, so that the live data can support at least two streaming protocols for playback, thus reducing the requirements of the video application, thereby improving the openness of the video application control system.
  • it can also reduce the development difficulty and cost of developing video applications, so as to improve the development efficiency of new video applications.
  • an embodiment of the present application provides a video application control method, which can be applied to a control server including a video application control system.
  • the process of this method is described as follows:
  • Step 101 Obtain a user creation operation on an operation interface corresponding to the video application control system.
  • the video application control system in the embodiment of the present application can be used to store various video resource files.
  • the video application control system can be deployed, for example, in a content delivery network (CDN) system.
  • CDN content delivery network
  • the video resource file may be stored by using multiple cache servers in the CDN network.
  • the video to be played cached in the cache server may be cached based on the user's play request. Send to the corresponding video application for playback to the user for viewing.
  • the video application control system in the embodiment of the present application may be included in the foregoing control server, for example, running in the foregoing control server, and then the execution body of each step of the video application control method in the embodiment of the present application may be It is the aforementioned control server.
  • the video application control system in the embodiment of the present application may provide an operation interface through which the user can interact with the video application control system, which is equivalent to providing an interface between the user and the video application control system.
  • the interactive interface is convenient for the user to perform corresponding operations according to his actual viewing needs. For example, the user interface that you want to use can be selected through the operation interface, or you can select the video you want to watch, or you can comment on the video you are watching, etc.
  • the specific operation method can be that a touch button is clicked. , or enter some control commands, and so on.
  • Step 102 Create a video application in response to the create operation.
  • the user can perform a creation operation, based on which a video application can be established, for example, the first video application is established.
  • a video application in the embodiment of the present application can be understood as follows:
  • the first video application can be selected from a plurality of video applications, that is, the creation operation can be understood as a selection operation.
  • the creation operation can be understood as a selection operation.
  • a plurality of video applications are displayed on the operation interface, for example, a list is displayed, and one or more video applications can be selected as the first video application based on the creation operation.
  • the first video application can be called and run from the background, that is, the create operation can be understood as a call operation.
  • the first video application can be newly created directly in the video application control system.
  • the established video application may be pre-existing in the video application control system, and in the third mode, the newly created video application It is not pre-existing in the video application control system.
  • the video application established based on the creation operation may not have any transcoding and/or decoding functions, or may have transcoding and/or decoding functions.
  • the encoding process is performed when the video file is created, if the video file is to be played, the decoding process corresponding to the encoding needs to be performed.
  • the video since the video can have multiple formats, in order to meet the playback requirements of different devices, the video may be converted from one format to another during video playback, and the process of converting the video may be performed. It is understood as transcoding the video.
  • Step 103 Assign a push flow domain name and a play domain name to the video application.
  • the video application is used to forward the play request to the play server corresponding to the play domain name, and is used to directly transfer the live broadcast data to the push flow server corresponding to the push flow domain name. Transmitting and/or decoding the live data through the push stream server.
  • the live streaming video stream capable of supporting multi-code rate and multi-protocol can be obtained by the streaming server transcoding and/or decoding processing, so that the live video stream can be performed on a video player of different streaming media protocols. Play.
  • a process of uploading a video by a video application to be stored in a video system may be referred to as a push stream, and a process of downloading a video from a video system for playback by a video application may be referred to as play, where the video system is, for example, the embodiment of the present application.
  • Video application control system
  • the video application can be assigned a corresponding push domain name and play domain name, that is, for multiple video applications, each video application can be assigned a unique set of push stream domain names and Playing a domain name, that is, assigning a unique push stream domain name and a unique play domain name, can facilitate the classification management of video resources uploaded and downloaded by multiple video applications, thereby enhancing the separate management of multiple video applications.
  • the video application can upload a video (such as live data) through the push stream domain name assigned to it, and can play the video through the live domain name assigned to it.
  • the push domain name can be a push stream link, such as a dedicated web address
  • the live domain name can be a live link, such as a dedicated web address, which is equivalent to, the push stream domain name provides a video application between the video application and the video application control system.
  • the uploading interface of the video resource is uploaded, and the playing domain name provides a download interface for downloading video resources between the video application and the video application control system, and corresponding to the push domain name and the playing domain name, both the push stream server and the play server are set.
  • the push stream server and the play server may be servers deployed in the video application control system.
  • the first video application is established in step 102, and it is assumed that the first push domain name and the first play domain name are assigned.
  • the plurality of push stream servers may be corresponding to the first push stream domain name, that is, the plurality of live stream data uploaded by the first push stream domain name may be processed by multiple push stream servers, for example, there are 2 or 3 push streams.
  • the server when the number of videos uploaded or downloaded by the first video application is too large, can be shared by multiple push streaming servers to reduce the processing capacity of a single push streaming server, so as to reduce the processing load of a single push streaming server.
  • the number of play servers corresponding to the first play domain name may be one, or may be multiple.
  • the video application may directly transfer the live data that needs to be uploaded to the push flow server corresponding to the allocated push flow domain name, and push the flow
  • the server decodes and/or transcodes the live data to obtain a live video stream that can support multiple code rates and multiple protocols, so that the live broadcast
  • the video stream can be played on a video player of different streaming media protocols, so that the decoded and/or transcoded live data can support at least two streaming protocols for playing, for example, two or three types can be simultaneously supported.
  • the streaming media protocol is played, so that when the live data is played by the video application, the matching probability of the live data and the streaming protocol supported by the video application can be improved, thereby making the video application play the live data.
  • the number is increased, the possibility that the user can view the live broadcast data is also correspondingly improved.
  • the video application supports the streaming protocol 1 for playing, and the live data is encoded and stored by the streaming protocol 2, because the live streaming data and the video application respectively correspond to different streaming protocols, if the live data is not supported,
  • the type of streaming media protocol the video application cannot play the live broadcast data, and the user who uses the video application cannot view the live broadcast data, which causes waste of resources and affects the user's viewing experience.
  • the live streaming data can be supported by at least two streaming media protocols for playing, such as streaming media, because the streaming server performs transcoding and/or decoding processing on the live data.
  • the protocol 1, the streaming media protocol 2, and the streaming media protocol 3 play, and since the video application supports the streaming media protocol 1, the video application can play the live data.
  • the push streaming server in the embodiment of the present application can decode and/or transcode the live data, obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be Play on the video player of different streaming media protocols, which can reduce the requirements of video applications for uploading and downloading live data, which can facilitate more kinds of video applications to play more video resources and improve video applications.
  • the open source of the program control system expands its scope of application, while also allowing developers to develop more video applications with faster efficiency and lower cost.
  • the streaming media protocol may include, for example, Real Time Messaging Protocol (RTMP), Hypertext Transfer Protocol-Flash Video (HTTP-FLV) protocol, and dynamic rate adaptation technology.
  • RTMP Real Time Messaging Protocol
  • HTTP-FLV Hypertext Transfer Protocol-Flash Video
  • HLS HTTP Live Streaming
  • the video application can also be used to obtain a video resource stream transcoded and/or decoded by the playback server from the playback server, and convert the transcoded and/or decoded video resource stream into an image sound signal and play, that is, Said that the playback server in the embodiment of the application is for video resources
  • Source streams can be distributed and accelerated. For example, global distribution acceleration can be achieved across carriers and geographies. After the distribution of video resource streams is accelerated, the openness and scope of the video application control system can be improved, and distribution can be improved. The efficiency enables the video application to obtain the video resource stream that needs to be played at a faster rate when downloading and playing the video resource stream, so as to shorten the time for obtaining the video resource stream, improve the playback efficiency, and enhance the user's viewing experience.
  • a request for use by the developer corresponding to the video application for requesting to use the live video service function may be obtained, and then the video application is registered in response to the use request.
  • the video application can also be registered, and only the registered video application can be used to control the video application.
  • the function of the live video service provided by the system, or only the registered video application can subsequently upload video resources to the video application control system and store them, and by using the registration method, the video of the video application control system can be used.
  • Statistics on the types and quantities of applications facilitate the management of video applications and also facilitate the maintenance and optimization of the video application control system itself.
  • the video application control system may register after the video application is first established, and after the registration, the registration will not be repeated later, or may be performed once during the video application control system.
  • the registration is performed when the video application is created for the first time, or the time registration is performed according to a predetermined period.
  • the embodiment of the present application does not specifically limit the time of registration and the number of registrations.
  • the authentication information sent by the video application when the live data needs to be uploaded or when the video resource stream needs to be played may be obtained, and then the video application is verified based on the authentication information. Whether it is legal, and when the video application is legal, send authentication to the video application by confirming the information, that is, the video application can also be authenticated to ensure that the video application is legally used.
  • the authentication when determining that the video application is legal, the authentication may be sent to the video application by the confirmation information, so that the video application transfers the live data to the push stream server based on the authentication through the confirmation information, or the video application is based on The authentication forwards the play request to the play server through the confirmation information, so that the live broadcast server sends the video resource stream corresponding to the play request to the video application for playing.
  • the video application control system can upload or download video resources for the video application in a paid manner, for example, monthly billing, or flow metering, etc., then the authentication information can be used to determine the video application. If the fee paid by the video application has been exhausted or has expired, it can be determined that the video application is illegal, and then a prompt message can be sent to remind the user of the video application that the video application should be used. Continue to pay the fee.
  • a paid manner for example, monthly billing, or flow metering, etc.
  • the authentication information may also determine whether the video application that needs to upload live data or needs to play the video resource stream is already registered, and if it is confirmed that the registration has been performed, it may be considered legal, if not After registration, the user can be reminded to register first.
  • the video application uploads the live data
  • the content of the live data can be parsed. If it is determined that the uploaded live data includes illegal content, for example, including content that violates the current regulations, the video application may The video application considers it to be illegal.
  • the message digest algorithm 5 (MD5) algorithm may be used to encrypt and transmit the authentication information, or other algorithms may be used to encrypt the authentication information.
  • MD5 message digest algorithm 5
  • the invention is not specifically limited.
  • the disable operation of the disable button on the operation interface corresponding to the video application control system may be obtained, and the live video of the video application is controlled in response to the disable operation.
  • the service feature is disabled.
  • the first video application as an example, that is, if the first video application is disabled, it may mean that the live video service function of the first video application is in a prohibited state. After being disabled, the user cannot watch the live video through the first video application, or it may also mean that the video application control system prohibits the video resource stream that is requested to be played to the first video application, and may be prohibited from providing the entire video.
  • the resource flow may be a prohibition of providing part of the video resource stream, that is, it may be completely prohibited or partially prohibited.
  • the disabling function may be initiated when the video application is not registered or the authentication fails, for example, if the video application authentication fails, the video resource may be allowed to be downloaded through the video application but is not allowed to be uploaded.
  • the video resource stream can ensure the legitimacy of the video resource stream stored in the video application control system as much as possible, or, for example, if it is determined that the video application is not registered, it can be allowed to upload the live video and prohibit it from downloading the video resource stream. and many more.
  • the recording can be simultaneously performed, so that the user can perform secondary viewing through the video application to reduce the control system from the video application.
  • the video application control system can count the amount of data uploaded by the video application and the amount of data downloaded, for example, for the first video application, when it is uploaded.
  • the amount of data is greater than the amount of data downloaded or when the amount of data uploaded is greater than the predetermined amount of data, the various functions provided by the video application control system can be used free of charge.
  • the video application control method and the video application control system provided by the embodiment of the present application may create a video application based on a creation operation performed by a user on an operation interface corresponding to the video application control system, and allocate the video application for the video application.
  • Pushing the domain name and playing the domain name, and the created video application can forward the play request to the play server corresponding to the play domain name, and can directly transfer the live data to the push stream server corresponding to the push stream domain name and broadcast the live stream through the push stream server.
  • the data is transcoded and/or decoded to obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be played on a video player of different streaming protocols, thereby enabling live data to be enabled.
  • the media protocol is played, that is, the push server in the video application control system provided by the embodiment of the present application can directly transcode and/or decode the live data to enable the live broadcast after transcoding and/or decoding.
  • the data can support the playback of at least two streaming media protocols, so that when the live data is played by the video application, the matching probability of the live data and the streaming protocol supported by the video application can be improved, thereby enabling the video application to play.
  • the possibility of the live broadcast data is increased, and the live broadcast data that may not be played can be played through one of at least two streaming media protocols, so that the user can also watch and improve the viewing experience of the user.
  • the video application control system in the embodiment of the present application can perform transcoding and/or decoding processing on the live data directly, and obtain a live video stream that can support multiple code rates and multiple protocols, so that the live video stream can be enabled. Play on the video player of different streaming protocols, so that the live data can support at least two streaming protocols for playback, thus reducing the requirements of the video application, thereby improving the openness of the video application control system.
  • the development difficulty and cost of developing new video applications can be reduced to improve the development efficiency of new video applications.
  • the embodiment of the present application provides a video application control system, which may be included in the foregoing control server, for example, may be run in the foregoing control server, the video.
  • the application control system includes: a first obtaining module 201, an establishing module 202, and an allocating module 203, and the first obtaining module 201, the establishing module 202, and the assigning module 203 in the embodiment of the present application may be implemented by a hardware processor. Implement related functional units. among them:
  • a first obtaining module 201 configured to obtain a user creation operation on an operation interface corresponding to the video application control system
  • the establishing module 202 is configured to establish a video application in response to the creating operation
  • the distribution module 203 is configured to allocate a push flow domain name and a play domain name to the video application, where the video application is used to forward the play request to the play server corresponding to the play domain name, and is used to directly transfer the live broadcast data to the push flow domain name.
  • the push stream server saves and transcodes and/or decodes the live data through the push stream server.
  • a live video stream capable of supporting multiple code rates and multiple protocols can be obtained, so that the live video stream can be Play on a video player with different streaming protocols.
  • the video application is further configured to obtain a video resource stream transcoded and/or decoded by the playback server from the playback server, and convert the transcoded and/or decoded video resource stream into an image sound signal and play.
  • the video application control system further includes:
  • a second obtaining module configured to: after the establishing module 202 is configured to respond to the creating operation, to establish a video application, obtain a use request sent by a developer corresponding to the video application for requesting to use the live video service function;
  • a registration module for registering the video application in response to the usage request to enable the video application to use the live video service function.
  • the video application control system further includes:
  • a third obtaining module configured to obtain, after the allocating module 203 is configured to allocate a push domain name and a play domain name to the video application, the authentication information sent by the video application when the live data needs to be uploaded or the video resource stream needs to be played;
  • An authentication module configured to verify, according to the authentication information, whether the video application is legal
  • a sending module configured to send an authentication confirmation message to the video application, so that the video application transfers the live data to the push stream server corresponding to the push flow domain name by using the confirmation information, or The video application forwards the play request to the play server via the confirmation message based on the authentication.
  • the video application control system further includes:
  • a fourth obtaining module configured to obtain a disable operation for the disable button on the operation interface after the establishing module 202 is configured to respond to the creating operation and establish a video application;
  • the video application control system in the embodiment of the present application may be used to perform the foregoing method shown in FIG. 1.
  • an embodiment of the present application provides another video application control system, which includes a processor 301 and a memory 302, and the processor 301 and the memory 302 can be coupled through a bus 300. Connected, or you can connect via other special cables.
  • the memory 302 is used to store instructions
  • the processor 301 is configured to execute an instruction stored in the memory 302 when the task is executed.
  • the code corresponding to the foregoing video application control method can be solidified into the chip, so that the chip can execute the video application control method shown in FIG. 1 during operation, how to deal with the processing
  • the design and programming of the device 301 is well known to those skilled in the art and will not be described herein.
  • the processor 301 may be a central processing unit (CPU) or an application specific integrated circuit (ASIC), and may be one or more integrated circuits for controlling program execution, may be a baseband chip, and the like.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 302 is used to store program instructions and data necessary for the video application control system, for example, may include program instructions generated by the processor 301, etc., the number of the memories 302 may be one or more, and the memory 302 may include read only memory. (Read Only Memory, ROM), Random Access Memory (RAM) or disk storage, and so on.
  • Read Only Memory ROM
  • RAM Random Access Memory
  • the embodiment of the present application further provides a non-volatile computer storage medium storing computer-executable instructions for executing the video application control method shown in FIG. 1 .
  • the embodiment of the present application further provides a computer program including instructions for executing the video application control method shown in FIG. 1.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without deliberate labor.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请实施例提供一种视频应用程序控制方法及视频应用程序控制***,用以解决现有技术中视频***对视频应用程序的要求较高,视频***的开源程度较低和适用范围较小而导致视频应用程序的开发难度较大和开发效率较低的技术问题,该方法应用于包含视频应用程序控制***的控制服务器中,该方法包括:获得用户在视频应用程序控制***对应的操作界面上的创建操作;响应该创建操作,建立一视频应用程序;为该视频应用程序分配推流域名和播放域名,其中,该视频应用程序用于将播放请求转发给播放域名对应的播放服务器,以及用于直接将直播数据转给推流域名对应的推流服务器,通过推流服务器对直播数据进行转码和/或解码处理。

Description

一种视频应用程序控制方法及视频应用程序控制***
本申请要求在2016年06月24日提交中国专利局、申请号为201610473721.3、发明名称为“一种视频应用程序控制方法及视频应用程序控制***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频技术领域,尤其涉及一种视频应用程序控制方法及视频应用程序控制***。
背景技术
随着电子技术的发展和网络的普及,越来越多的用户倾向于通过网络观看视频,例如在公交车上,用户可以在移动终端(例如手机)上通过网络观看热播的连续剧,或者下班回家,用户可以在电脑上通过网络观看直播的足球比赛,等等,另外,越来越多的用户也喜欢将身边的事情录制成视频上传到网络,以对自己的生活经历分享给其他用户。
无论是通过网络上传视频进行分享还是下载视频供用户观看,一般都是通过视频应用程序进行上传或下载,随着视频在线观看的广泛应用,视频应用程序的种类也越来越多。而对于现有的视频***来说,当通过视频应用程序上传视频进行存储时,先需要将通过摄像头及麦克风采集的图像和声音信号转化为视频流,即首先需要对图像和声音等内容进行编码处理得到视频流,而当通过视频应用程序下载视频供用户观看时,需要对源视频进行转码或解码处理以便能够进行播放,无论是上传还是下载,视频应用程序都只能采用固有的解码和/或转码技术,那么上传的视频在需要播放时或者在播放其它视频资源时也就只能采用该视频应用程序固有支持的流媒体协议进行播放,所以对于有些视频资源可能就不具有播放的能力,那么对于视频***中的部分视频资源来说,用户可能无法进行观看,导致视频***的视频资源浪费,并且也影响用户的观影体验。并且,对于开发商来说,如果需要开发出能够支持多种流媒体协议播放的视频应用程序的话, 在开发的过程中则需要比较专业的开发技术,那么需要的人力资源、技术资源和资金也就较多,开发效率也比较低。
可见,现有技术中的视频***对视频应用程序的要求较高,视频***的开源程度较低,适用范围较小,从而导致增加了视频应用程序的开发难度和成本,对新的视频应用程序的开发效率较低。
发明内容
本申请提供一种视频应用程序控制方法及视频应用程序控制***,用以解决现有技术中视频***对视频应用程序的要求较高,视频***的开源程度较低和适用范围较小,从而导致视频应用程序的开发难度较大和开发效率较低的技术问题,以实现通过增强视频***的开源程度和扩大适用范围以提高视频应用程序的开发效率的技术效果。
第一方面,本申请实施例提供一种视频应用程序控制方法,应用于包含视频应用程序控制***的控制服务器中,所述视频应用程序控制方法包括:
获得用户在所述视频应用程序控制***对应的操作界面上的创建操作;
响应所述创建操作,建立一视频应用程序;
基于所述无线通信连接,通过所述第一应用程序获取所述第一路由器的运行状态信息;
其中,通过所述推流服务器对所述直接数据进行转码和/或解码,可以获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放。
第二方面,本申请实施例提供第一种视频应用程序控制***,包含于一控制服务器中,所述视频应用程序控制***包括:
第一获得模块,用于获得用户在所述视频应用程序控制***对应的操作界面上的创建操作;
建立模块,用于响应所述创建操作,建立一视频应用程序;
分配模块,用于为所述视频应用程序分配推流域名和播放域名;其中,所述视频应用程序用于将播放请求转发给所述播放域名对应的播放服务器,以及用于直接将直播数据转给所述推流域名对应的推流服务器保存, 通过所述推流服务器对所述直播数据进行转码和/或解码处理。
第三方面,本申请实施例提供第二种视频应用程序控制***,包括:
存储器,用于存储指令;
处理器,与所述存储器连接,用于执行所述指令,以在执行所述指令时执行如第一方面中所述的视频应用程序控制方法所包括的步骤。
第四方面,本申请实施例提供一种非易失性计算机存储介质,存储有计算机可执行指令,所述计算机可执行指令包括用于执行第一方面中所述的视频应用程序控制方法的指令。
第五方面,本申请实施例还提供一种计算机程序,所述计算机程序包括用于执行第一方面中所述的视频应用程序控制方法的指令。
本申请实施例提供的视频应用程序控制方法及视频应用程序控制***,可以基于用户在视频应用程序控制***对应的操作界面上进行的创建操作而创建一视频应用程序,并为该视频应用程序分配推流域名和播放域名,而创建的视频应用程序可以将播放请求转发给与播放域名对应的播放服务器,以及可以直接将直播数据转给与推流域名对应的推流服务器并通过推流服务器对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,也就是说,本申请实施例提供的视频应用控制***中的推流服务器可以直接对直播数据进行转码和/或解码处理从而使得经转码和/或解码处理后的直播数据能够支持至少两种流媒体协议的播放,这样当通过视频应用程序对直播数据进行播放时,可以使得直播数据与视频应用程序所支持的流媒体协议的匹配概率提高,进而使得视频应用程序播放该直播数据的可能性增大,那么原本可能无法播放的直播数据通过至少两种流媒体协议中的某一种就可以进行播放,进而使得用户也可以观看,提高用户的观影体验。
可见,由于本申请实施例中的视频应用程序控制***可以直接对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,这样就降低了对视频应用程序的要求,进而可以提高视频应用程序控制***的开源程度,扩大其适用范围,同时由于对视频应用程序本身性能的要求降低,还可以降低开发新的视频应用程序的开发难度和成本,以提高对 新的视频应用程序的开发效率。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1为本申请实施例中视频应用程序控制方法的流程图;
图2为本申请实施例中视频应用程序控制***的结构框图;
图3为本申请实施例中视频应用程序控制***的结构示意图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
本申请实施例提供的视频应用程序控制方法及视频应用程序控制***,可以基于用户在视频应用程序控制***对应的操作界面上进行的创建操作而创建一视频应用程序,并为该视频应用程序分配推流域名和播放域名,而创建的视频应用程序可以将播放请求转发给播放域名对应的播放服务器,以及可以直接将直播数据转给与推流域名对应的推流服务器并通过推流服务器对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,也就是说,在本申请实施例提供的视频应用控制***中的推流服务器可以直接对直播数据进行转码和/或解码处理从而使得经转码和/或解码处理后的直播数据能够支持至少两种流媒体协议的播放,这样当通过视频应用程序对直播数据进行播放时,可以使得直播数据与视频应用程序所支持的流媒体协议的匹配概率提高,进而使得视频应用程序播放该直播数据的可能性增大,那么原本可能无法播放的直播数据通过至少两种流媒体协议中的某一种就可以进行播放,进而使得用户也可以观看,提高用户的观影体验。
可见,由于本申请实施例中的视频应用程序控制***可以直接对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,进而使得直播数据能够支持至少两种流媒体协议进行播放,这样就降低了对视频应用程序的要求,进而可以提高视频应用程序控制***的开源程度,扩大其适用范围,同时由于对视频应用程序本身性能的要求降低,还可以降低开发视频应用程序的开发难度和成本,以提高对新的视频应用程序的开发效率。
请参见图1,本申请实施例提供一种视频应用程序控制方法,该方法可以应用于包含视频应用程序控制***的控制服务器中。该方法的流程描述如下:
步骤101:获得用户在视频应用程序控制***对应的操作界面上的创建操作。
本申请实施例中的视频应用程序控制***,可以用于存储各种视频资源文件,在具体实施过程中,该视频应用程序控制***例如可以部署在内容分发网络(Content Delivery Network,CDN)的***架构中,进而可以通过CDN网络中的多个缓存服务器存储视频资源文件,当接收到用户通过视频应用程序上报的播放请求时,可以基于用户的播放请求将就近的缓存服务器中缓存的待播放视频发送给对应的视频应用程序以播放给用户观看。另外,本申请实施例中的视频应用程序控制***可以包含于前述的控制服务器中,例如运行于前述的控制服务器中,那么本申请实施例的视频应用程序控制方法的各步骤的执行主体则可以是前述的控制服务器。
本申请实施例中的视频应用程序控制***可以提供操作界面,用户可以通过该操作界面与该视频应用程序控制***之间进行交互,相当于是,操作界面为用户与视频应用程序控制***之间提供了交互接口,便于用户根据自己的实际观看需求进行对应的操作。例如可以通过该操作界面选择自己希望使用的视频应用程序,或者可以选择自己希望观看的视频,或者可以对观看的视频进行评论,等等,具体的操作方式例可以是点击了某个触控按钮,或者输入了一些控制指令,等等。
步骤102:响应创建操作,建立一视频应用程序。
在该操作界面上,用户可以进行创建操作,基于该创建操作,可以建立一视频应用程序,例如建立了第一视频应用程序。具体来说,本申请实施例中的建立视频应用程序,可以按照以下方式理解:
一、基于创建操作,可以从多个视频应用程序中选择第一视频应用程序,即可以将创建操作理解为是选择操作。例如操作界面上显示有多个视频应用程序,例如显示了一个列表,基于创建操作可以从其中选择一个或多个视频应用程序作为第一视频应用程序。
二、基于创建操作,可以从后台调用并运行第一视频应用程序,即可以将创建操作理解为是调用操作。
三、基于创建操作,可以直接在视频应用程序控制***中新创建第一视频应用程序。
对于上述三种理解方式,在第一种方式和第二种方式中,建立的视频应用程序可以是视频应用程序控制***中预先存在的,而在第三种方式中,新创建的视频应用程序是视频应用程序控制***中预先不存在的。
另外,对于基于创建操作而建立的视频应用程序,可以是不具有任何转码和/或解码功能的,或者,也可以是具有转码和/或解码功能的。
由于在制作视频文件时,会进行编码处理,所以如果要对视频文件进行播放的话,则需要进行与编码对应的解码处理。另外,由于视频可以具有多种格式,为了满足不同设备的播放需求,在对视频播放时可能还会将视频从一种格式转换成另外一种格式,而对视频进行格式转换的处理过程即可以理解为对视频进行转码处理。
步骤103:为视频应用程序分配推流域名和播放域名;其中,视频应用程序用于将播放请求转发给播放域名对应的播放服务器,以及用于直接将直播数据转给推流域名对应的推流服务器,通过推流服务器对直播数据进行转码和/或解码处理。
其中,通过推流服务器对直播数据进行转码和/或解码处理,可以获得能够支持多码率和多协议的直播视频流,以使直播视频流能够在不同流媒体协议的视频播放器上进行播放。
可以将通过视频应用程序上传视频以存储到视频***的过程称作推流,以及可以将通过视频应用程序从视频***下载视频进行播放的过程称作播放,其中的视频***例如是本申请实施例中的视频应用程序控制 ***。
在建立视频应用程序之后,可以为该视频应用程序分配对应的推流域名和播放域名,也就是说,对于多个视频应用程序来说,可以为每个视频应用程序分配唯一的一组推流域名和播放域名,即分配唯一的推流域名和唯一的播放域名,这样可以便于将多个视频应用程序上传和下载的视频资源进行分类管理,以增强对多个视频应用程序的分别管理。
在获得对应的推流域名和播放域名之后,视频应用程序可以通过为其分配的推流域名上传视频(例如直播数据),以及可以通过为其分配的直播域名播放视频。其中,推流域名可以是一个推流链接,例如一个专用网址,而直播域名可以是一个直播链接,例如一个专用网址,相当于是,推流域名提供了视频应用程序与视频应用程序控制***之间上传视频资源的上传接口,而播放域名提供了视频应用程序与视频应用程序控制***之间下载视频资源的下载接口,而与推流域名和播放域名对应的,均设置有推流服务器和播放服务器,其中推流服务器和播放服务器可以为部署于视频应用程序控制***中的服务器。
例如步骤102中建立的是第一视频应用程序,假设为其分配的是第一推流域名和第一播放域名。
与第一推流域名对应的可以具有一个推流服务器,即通过第一推流域名上传的多个直播数据可以由该一个推流服务器进行处理,这样便于对与第一视频应用程序相关的视频资源进行集中管理。或者,与第一推流域名对应的可以具有多个推流服务器,即通过第一推流域名上传的多个直播数据可以由多个推流服务器进行处理,例如有2个或3个推流服务器,那么当通过第一视频应用程序上传或下载的视频数量过多时,可以由多个推流服务器分担处理,以减少单个推流服务器的处理量,以降低单个推流服务器的处理负荷。
与推流域名和推流服务器之间的对应关系相似地,与第一播放域名对应的播放服务器的数量可以为一个,或者也可以为多个。
本申请实施例中,在为建立的视频应用程序分配推流域名和播放域名之后,视频应用程序可以将需要上传的直播数据直接转给与分配的推流域名对应的推流服务器,并通过推流服务器对直播数据进行解码和/或转码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播 视频流能够在不同流媒体协议的视频播放器上进行播放,进而使得经解码和/或转码处理后的直播数据能够支持至少两种流媒体协议进行播放,例如可以同时支持2种或者3种流媒体协议进行播放,这样当通过视频应用程序对直播数据进行播放时,可以使得直播数据与视频应用程序所支持的流媒体协议的匹配概率提高,进而使得视频应用程序播放该直播数据的可能性增大,用户能够观看该直播数据的可能性也对应提高。
例如视频应用程序支持流媒体协议1进行播放,而假设直播数据是通过流媒体协议2进行编码存储的,由于直播数据与视频应用程序分别对应的流媒体协议不同,如果不增加直播数据所支持的流媒体协议的种类,那么视频应用程序则无法播放该直播数据,导致使用该视频应用程序的用户也就无法观看该直播数据,造成资源浪费也影响用户的观影体验。而在采用了本申请实施例中的方案后,由于推流服务器对直播数据进行转码和/或解码处理后可以使得直播数据能够支持至少两种流媒体协议进行播放,例如可以同时支持流媒体协议1、流媒体协议2和流媒体协议3进行播放,由于视频应用程序所支持的正是流媒体协议1,所以视频应用程序就可以对该直播数据进行播放。
也就是说,由于本申请实施例中的推流服务器可以对直播数据进行解码和/或转码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,,这样就可以降低对上传和下载直播数据的视频应用程序的要求,可以便于更多种类的视频应用程序能够播放更多的视频资源,提高视频应用程序控制***的开源程度,扩大其适用范围,同时还可以便于开发商能够以更快的效率、更低的成本开发更多的视频应用程序。
其中,流媒体协议例如可以包括实时消息传输协议(Real Time Messaging Protocol,RTMP)、超文本传送协议-流媒体格式(HyperText Transfer Protocol-Flash Video,HTTP-FLV)协议、动态码率自适应技术(HTTP Live Streaming,HLS)协议,等等,只要是用于支持视频播放的流媒体协议均可,本发明不做具体限制。
同时,视频应用程序还可以用于从播放服务器获得经播放服务器转码和/或解码的视频资源流,并将转码和/或解码后的视频资源流转化为图像声音信号并播放,也就是说,本申请实施例中的播放服务器对视频资 源流可以进行分发加速,例如可以跨运营商、跨地域的全球化分发加速,在通过对视频资源流进行分发加速之后,可以提高视频应用程序控制***的开源程度和适用范围,并且还可以提高分发效率,使得视频应用程序在下载和播放视频资源流时能够以更快的速率获得需要播放的视频资源流,以缩短获得视频资源流的时间,提高播放效率,提升用户的观影体验。
进一步地,在响应创建操作,建立一视频应用程序之后,还可以获得视频应用程序对应的开发者发送的用于请求使用直播视频服务功能的使用请求,进而响应使用请求,对视频应用程序进行登记,以使视频应用程序能够使用直播视频服务功能,也就是说,在建立视频应用程序之后,还可以对该视频应用程序进行登记,只有进行登记过的视频应用程序,后续才能使用视频应用程序控制***提供的直播视频服务的功能,或者,只有进行登记过的视频应用程序,后续才能向视频应用程序控制***上传视频资源并进行存储,通过登记的方式,可以对使用视频应用程序控制***的视频应用程序的种类和数量进行统计,便于对视频应用程序的管理,以及还可以便于视频应用程序控制***自身的维护和优化。
在具体实施过程中,可以是在视频应用程序控制***首次建立视频应用程序之后进行登记,在该次登记之后,以后便不会再重复登记,或者,可以是在视频应用程序控制***一次运行过程中首次创建视频应用程序时进行登记,或者,还可以按照预定周期进行定时登记,等等,本申请实施例对于登记的时刻和登记的次数不做具体限制。
另外,在为视频应用程序分配推流域名和播放域名之后,还可以获得视频应用程序在需要上传直播数据时或需要播放视频资源流时发送的鉴权信息,进而基于鉴权信息,验证视频应用程序是否合法,并在视频应用程序合法时,发送鉴权通过确认信息给视频应用程序,也就是说,还可以对视频应用程序进行鉴权,以确保视频应用程序的使用合法。其中,在确定视频应用程序合法时,可以发送鉴权通过确认信息给视频应用程序,以使视频应用程序基于鉴权通过确认信息将直播数据转给推流服务器保存,或以使视频应用程序基于鉴权通过确认信息将播放请求转发给播放服务器,以使得直播服务器将与播放请求对应的视频资源流发送给视频应用程序进行播放。
例如,视频应用程序控制***可以以付费的方式供视频应用程序上传或下载视频资源,例如可以以月计费,或者以流量计费,等等,那么鉴权信息可以为用于判断视频应用程序的费用是否用尽的信息,如果确定该视频应用程序所缴纳的费用已经用完或者已经到期,则可以确定该视频应用程序不合法,进而可以发出提示信息以提醒视频应用程序的使用者应该继续缴纳费用了。
或者例如,通过鉴权信息还可以判断需要上传直播数据或需要播放视频资源流的视频应用程序是否是已经登记过的视频,如果确认已经进行过登记,则可以认为其是合法的,如果未进行过登记,可以提醒其使用者先进行登记。
再例如,当视频应用程序在上传直播数据时,可以对直播数据的内容进行解析,如果确定上传的直播数据中包括不合法的内容时,例如包括违背现行法规规定的内容时,则可以将该视频应用程序认为是不合法的。
以上只是列举了几种可能的鉴权方式,在具体实施过程中,还可以具有其它鉴权方式,此处就不一一举例说明了,凡是用于对视频应用程序进行鉴权的方式均应在本发明的保护范围之内。在本申请实施例中,通过对视频应用程序进行鉴权,可以尽量确定上传的直播数据的安全性,或者,可以尽量保证视频应用程序控制***的应得权益,等等。
另外,为了确保鉴权信息的安全性,可以采用消息摘要算法第五版(Message-Digest Algorithm 5,MD5)算法对鉴权信息进行加密发送,或者也可以采用其它算法对鉴权信息进行加密,本发明不做具体限制。
可选的,在响应创建操作,建立一视频应用程序之后,还可以获得针对视频应用程序控制***对应的操作界面上的禁用按钮的禁用操作,并响应禁用操作,以控制视频应用程序的直播视频服务功能处于禁用状态。
在视频应用程序控制***中,还可以设置禁用功能,具体来说,可以是对特定的视频应用程序的禁用或者是对所有的视频应用程序的禁用。
以第一视频应用程序为例,即假设是对第一视频应用程序进行禁用,可以是指第一视频应用程序的直播视频服务功能处于禁止使用状态,在 禁用之后,用户无法通过第一视频应用程序观看直播视频,或者,还可以是指视频应用程序控制***禁止向第一视频应用程序提供请求播放的视频资源流,并且,可以是禁止提供全部的视频资源流,或者可以是指禁止提供部分的视频资源流,即可以是完全禁止或者部分禁止。
在具体实施过程中,可以是在视频应用程序未进行登记或者鉴权未通过时启动禁用功能,例如如果视频应用程序鉴权未通过,可以允许通过该视频应用程序下载视频资源流但是禁止其上传视频资源流,这样可以尽量保证视频应用程序控制***中所存储的视频资源流的合法性,或者例如,如果确定视频应用程序未进行登记,可以允许其上传直播视频而禁止其下载视频资源流,等等。
在对视频应用程序进行禁用之后,可以向其发送提示信息,用于告知视频应用程序的使用者禁用的原因、禁用的权限、禁用的时间等等。
另外,在通过视频应用程序对视频应用程序控制***提供的视频资源流进行播放时,同时可以进行录播,这样可以便于用户通过该视频应用程序进行二次观看,以减少从视频应用程序控制***重复下载同一视频资源流的次数。
另外,在为视频应用程序提供直播服务的过程中,视频应用程序控制***可以对视频应用程序上传的数据量和下载的数据量进行统计,例如对于第一视频应用程序来说,当其上传的数据量大于下载的数据量或当其上传的数据量大于预定数据量时,则可以***视频应用程序控制***提供的各种功能。
同时,还可以针对一特定的直播视频的总下载量进行统计,当采用计费下载时,可以针对各种直播数据制定不同的付费机制,等等。
本申请实施例提供的视频应用程序控制方法及视频应用程序控制***,可以基于用户在视频应用程序控制***对应的操作界面上进行的创建操作而创建一视频应用程序,并为该视频应用程序分配推流域名和播放域名,而创建的视频应用程序可以将播放请求转发给与播放域名对应的播放服务器,以及可以直接将直播数据转给与推流域名对应的推流服务器并通过推流服务器对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,进而使直播数据能够支持至少两种流 媒体协议进行播放,也就是说,本申请实施例提供的视频应用控制***中的推流服务器可以直接对直播数据进行转码和/或解码处理从而使得经转码和/或解码处理后的直播数据能够支持至少两种流媒体协议的播放,这样当通过视频应用程序对直播数据进行播放时,可以使得直播数据与视频应用程序所支持的流媒体协议的匹配概率提高,进而使得视频应用程序播放该直播数据的可能性增大,那么原本可能无法播放的直播数据通过至少两种流媒体协议中的某一种就可以进行播放,进而使得用户也可以观看,提高用户的观影体验。
可见,由于本申请实施例中的视频应用程序控制***可以直接对直播数据进行转码和/或解码处理,获得可以支持多码率和多协议的直播视频流,以使所述直播视频流能够在不同流媒体协议的视频播放器上进行播放,进而使得直播数据能够支持至少两种流媒体协议进行播放,这样就降低了对视频应用程序的要求,进而可以提高视频应用程序控制***的开源程度,扩大其适用范围,同时由于对视频应用程序本身性能的要求降低,还可以降低开发新的视频应用程序的开发难度和成本,以提高对新的视频应用程序的开发效率。
基于同一发明构思,请参见图2,本申请实施例提供一种视频应用程序控制***,该视频应用程序控制***可以包含于前述的控制服务器中,例如可以运行于前述的控制服务器中,该视频应用程序控制***包括:第一获得模块201、建立模块202和分配模块203,而且本申请实施例中的第一获得模块201、建立模块202和分配模块203可以通过硬件处理器(hardware processor)来实现相关功能单元。其中:
第一获得模块201,用于获得用户在视频应用程序控制***对应的操作界面上的创建操作;
建立模块202,用于响应创建操作,建立一视频应用程序;
分配模块203,用于为视频应用程序分配推流域名和播放域名;其中,视频应用程序用于将播放请求转发给播放域名对应的播放服务器,以及用于直接将直播数据转给推流域名对应的推流服务器保存,通过推流服务器对直播数据进行转码和/或解码处理。
其中,在通过推流服务器对直播数据进行转码和/或解码处理后,可以获得能够支持多码率和多协议的直播视频流,以使直播视频流能够在 不同流媒体协议的视频播放器上进行播放。
可选的,视频应用程序还用于从播放服务器获得经播放服务器转码和/或解码的视频资源流,并将转码和/或解码后的视频资源流转化为图像声音信号并播放。
可选的,视频应用程序控制***还包括:
第二获得模块,用于在建立模块202用于响应创建操作,建立一视频应用程序之后,获得视频应用程序对应的开发者发送的用于请求使用直播视频服务功能的使用请求;
登记模块,用于响应使用请求,对视频应用程序进行登记,以使视频应用程序能够使用直播视频服务功能。
可选的,视频应用程序控制***还包括:
第三获得模块,用于在分配模块203用于为视频应用程序分配推流域名和播放域名之后,获得视频应用程序在需要上传直播数据或需要播放视频资源流时发送的鉴权信息;
鉴权模块,用于基于鉴权信息,验证视频应用程序是否合法;
发送模块,用于在为是时,发送鉴权通过确认信息给视频应用程序,以使视频应用程序基于鉴权通过确认信息将直播数据转给推流域名对应的推流服务器保存,或以使视频应用程序基于鉴权通过确认信息将播放请求转发给播放服务器。
可选的,视频应用程序控制***还包括:
第四获得模块,用于在建立模块202用于响应创建操作,建立一视频应用程序之后,获得针对操作界面上的禁用按钮的禁用操作;
禁用模块,用于响应禁用操作,控制视频应用程序的直播视频服务功能处于禁用状态。
本申请实施例中的视频应用程序控制***可以用于执行前述图1所示的方法,对于该视频应用程序控制***中的各模块所实现的功能等,可参考如前方法部分的描述,在此不多赘述。
请参见图3,基于同一发明构思,本申请实施例提供另一种视频应用程序控制***,该视频应用程序控制***包括处理器301和存储器302,处理器301和存储器302可以通过总线300进行耦合连接,或者也可以通过其它专门的连接线连接。其中,存储器302用于存储指令,处 理器301用于执行在执行任务时调用存储器302所存储的指令。
通过对处理器301进行设计编程,可以将前述的视频应用程序控制方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述图1所示的视频应用程序控制方法,如何对处理器301进行设计编程为本领域技术人员所公知的技术,这里不再赘述。
其中,处理器301可以是中央处理器(CPU)或特定应用集成电路(Application Specific Integrated Circuit,ASIC),可以是一个或多个用于控制程序执行的集成电路,可以是基带芯片,等等。
存储器302用于保存视频应用程序控制***必要的程序指令和数据,例如可以包括处理器301所生成的程序指令,等等,存储器302的数量可以是一个或多个,存储器302可以包括只读存储器(Read Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)或磁盘存储器,等等。
本申请实施例还提供一种非易失性计算机存储介质,存储有计算机可执行指令,计算机可执行指令以执行图1所示的视频应用程序控制方法。
本申请实施例还提供一种计算机程序,该计算机程序包括用于执行图1所示的视频应用程序控制方法的指令。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (13)

  1. 一种视频应用程序控制方法,应用于包含视频应用程序控制***的控制服务器中,其特征在于,包括:
    获得用户在所述视频应用程序控制***对应的操作界面上的创建操作;
    响应所述创建操作,建立一视频应用程序;
    为所述视频应用程序分配推流域名和播放域名;其中,所述视频应用程序用于将播放请求转发给所述播放域名对应的播放服务器,以及用于直接将直播数据转给所述推流域名对应的推流服务器,通过所述推流服务器对所述直播数据进行转码和/或解码处理。
  2. 根据权利要求1所述的方法,其特征在于,所述视频应用程序还用于从所述播放服务器获得经所述播放服务器转码和/或解码的视频资源流。
  3. 根据权利要求2所述的方法,其特征在于,在所述响应所述创建操作,建立一视频应用程序之后,所述方法还包括:
    获得所述视频应用程序对应的开发者发送的用于请求使用直播视频服务功能的使用请求;
    响应所述使用请求,对所述视频应用程序进行登记,以使所述视频应用程序能够使用所述直播视频服务功能。
  4. 根据权利要求2所述的方法,其特征在于,在所述为所述视频应用程序分配推流域名和播放域名之后,所述方法还包括:
    获得所述视频应用程序在需要上传所述直播数据时或需要播放视频资源流时发送的鉴权信息;
    基于所述鉴权信息,验证所述视频应用程序是否合法;
    在所述视频应用程序合法时,发送鉴权通过确认信息给所述视频应用程序,以使所述视频应用程序基于所述鉴权通过确认信息将所述直播数据转给所述推流域名对应的推流服务器保存,或以使所述视频应用程序基于所述鉴权通过确认信息将所述播放请求转发给所述播放服务器。
  5. 根据权利要求2所述的方法,其特征在于,在所述响应所述创建操作,建立一视频应用程序之后,所述方法还包括:
    获得针对所述操作界面上的禁用按钮的禁用操作;
    响应所述禁用操作,控制所述视频应用程序的直播视频服务功能处于禁用状态。
  6. 一种视频应用程序控制***,包含于一控制服务器中,其特征在于,包括:
    第一获得模块,用于获得用户在所述视频应用程序控制***对应的操作界面上的创建操作;
    建立模块,用于响应所述创建操作,建立一视频应用程序;
    分配模块,用于为所述视频应用程序分配推流域名和播放域名;其中,所述视频应用程序用于将播放请求转发给所述播放域名对应的播放服务器,以及用于直接将直播数据转给所述推流域名对应的推流服务器保存,通过所述推流服务器对所述直播数据进行转码和/或解码处理。
  7. 根据权利要求6所述的视频应用程序控制***,其特征在于,所述视频应用程序还用于从所述播放服务器获得经所述播放服务器转码和/或解码的视频资源流。
  8. 根据权利要求7所述的视频应用程序控制***,其特征在于,所述视频应用程序控制***还包括:
    第二获得模块,用于在所述建立模块用于响应所述创建操作,建立一视频应用程序之后,获得所述视频应用程序对应的开发者发送的用于请求使用直播视频服务功能的使用请求;
    登记模块,用于响应所述使用请求,对所述视频应用程序进行登记,以使所述视频应用程序能够使用所述直播视频服务功能。
  9. 根据权利要求7所述的视频应用程序控制***,其特征在于,所述视频应用程序控制***还包括:
    第三获得模块,用于在所述分配模块用于为所述视频应用程序分配推流域名和播放域名之后,获得所述视频应用程序在需要上传所述直播数据或需要播放视频资源流时发送的鉴权信息;
    鉴权模块,用于基于所述鉴权信息,验证所述视频应用程序是否合法;
    发送模块,用于在所述视频应用程序合法时,发送鉴权通过确认信息给所述视频应用程序,以使所述视频应用程序基于所述鉴权通过确认信息将所述直播数据转给所述推流域名对应的推流服务器保存,或以使所述视频应用程序基于所述鉴权通过确认信息将所述播放请求转发给所述播放服 务器。
  10. 根据权利要求7所述的视频应用程序控制***,其特征在于,所述视频应用程序控制***还包括:
    第四获得模块,用于在所述建立模块用于响应所述创建操作,建立一视频应用程序之后,获得针对所述操作界面上的禁用按钮的禁用操作;
    禁用模块,用于响应所述禁用操作,控制所述视频应用程序的直播视频服务功能处于禁用状态。
  11. 一种视频应用程序控制***,其特征在于,包括:
    存储器,用于存储指令;
    处理器,与所述存储器连接,用于执行所述指令,以在执行所述指令时执行权利要求1-5中任一项所述的方法所包括的步骤。
  12. 一种非易失性计算机存储介质,其特征在于,存储有计算机可执行指令,所述计算机可执行指令包括用于执行权利要求1-5中任一项所述的方法的指令。
  13. 一种计算机程序,其特征在于,所述计算机程序包括用于执行权利要求1-5中任一项所述的方法的指令。
PCT/CN2016/100423 2016-06-24 2016-09-27 一种视频应用程序控制方法及视频应用程序控制*** WO2017219532A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610473721.3A CN106028062A (zh) 2016-06-24 2016-06-24 一种视频应用程序控制方法及视频应用程序控制***
CN201610473721.3 2016-06-24

Publications (1)

Publication Number Publication Date
WO2017219532A1 true WO2017219532A1 (zh) 2017-12-28

Family

ID=57083583

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100423 WO2017219532A1 (zh) 2016-06-24 2016-09-27 一种视频应用程序控制方法及视频应用程序控制***

Country Status (2)

Country Link
CN (1) CN106028062A (zh)
WO (1) WO2017219532A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222164A (zh) * 2021-12-17 2022-03-22 深圳Tcl新技术有限公司 一种视频推流方法、装置、智能设备和存储介质
CN115174545A (zh) * 2022-06-29 2022-10-11 广州鲁邦通物联网科技股份有限公司 一种基于国标GB28181的推流web播放方法和***
CN115529476A (zh) * 2021-06-25 2022-12-27 中国联合网络通信集团有限公司 视频播放方法、装置、设备及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453328A (zh) * 2016-10-18 2017-02-22 乐视控股(北京)有限公司 直播视频文件的推流方法、客户端及边缘流媒体服务器
CN107979578A (zh) * 2016-10-25 2018-05-01 深圳市保千里科技有限公司 一种视频直播处理方法及***
CN109874028A (zh) * 2017-12-01 2019-06-11 深圳市雷鸟信息科技有限公司 一种hls流媒体的播放方法、***及存储介质
CN109194972B (zh) * 2018-09-10 2021-06-22 广州酷狗计算机科技有限公司 直播流获取方法、装置、计算机设备及存储介质
CN111414208B (zh) * 2020-03-13 2023-08-01 百度在线网络技术(北京)有限公司 应用程序的启动方法、装置及设备
CN111711832B (zh) * 2020-06-29 2022-09-27 腾讯科技(深圳)有限公司 视频直播方法、装置、设备及存储介质
CN114245183B (zh) * 2021-12-14 2023-11-14 上海哔哩哔哩科技有限公司 推流数据鉴权方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102377775A (zh) * 2011-10-14 2012-03-14 深圳市京华科讯科技有限公司 一种自适应传输协议栈及其处理方法和***
CN102427463A (zh) * 2009-11-09 2012-04-25 中国电信股份有限公司 一种富媒体直播业务***和方法
US20130346863A1 (en) * 2004-07-02 2013-12-26 MatrixStream Technologies, Inc. Method and system for downloading digital content
CN104378647A (zh) * 2014-11-04 2015-02-25 深圳市天威视讯股份有限公司 一种基于数字电视的智能空间存储***及方法
CN104869438A (zh) * 2015-05-06 2015-08-26 华南理工大学 基于移动终端的现场视频云发布***及云发布方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045534B (zh) * 2009-10-26 2013-11-06 中兴通讯股份有限公司 基于第三代移动通信技术的视频信息处理***、方法及装置
CN101895750B (zh) * 2010-07-13 2012-05-30 上海未来宽带技术及应用工程研究中心有限公司 面向机顶盒和pc的实时流媒体服务器及工作方法
CN102811373A (zh) * 2011-05-30 2012-12-05 上海圣炅商务咨询有限公司 移动终端向互联网以及移动互联网进行视频直播的方法
CN104219477B (zh) * 2014-09-11 2018-03-02 太仓思比科微电子技术有限公司 一种应用于机器人监控模块的远程存储***
CN204697185U (zh) * 2014-09-11 2015-10-07 太仓思比科微电子技术有限公司 一种应用于机器人监控模块的远程存储***

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130346863A1 (en) * 2004-07-02 2013-12-26 MatrixStream Technologies, Inc. Method and system for downloading digital content
CN102427463A (zh) * 2009-11-09 2012-04-25 中国电信股份有限公司 一种富媒体直播业务***和方法
CN102377775A (zh) * 2011-10-14 2012-03-14 深圳市京华科讯科技有限公司 一种自适应传输协议栈及其处理方法和***
CN104378647A (zh) * 2014-11-04 2015-02-25 深圳市天威视讯股份有限公司 一种基于数字电视的智能空间存储***及方法
CN104869438A (zh) * 2015-05-06 2015-08-26 华南理工大学 基于移动终端的现场视频云发布***及云发布方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115529476A (zh) * 2021-06-25 2022-12-27 中国联合网络通信集团有限公司 视频播放方法、装置、设备及存储介质
CN114222164A (zh) * 2021-12-17 2022-03-22 深圳Tcl新技术有限公司 一种视频推流方法、装置、智能设备和存储介质
CN115174545A (zh) * 2022-06-29 2022-10-11 广州鲁邦通物联网科技股份有限公司 一种基于国标GB28181的推流web播放方法和***

Also Published As

Publication number Publication date
CN106028062A (zh) 2016-10-12

Similar Documents

Publication Publication Date Title
WO2017219532A1 (zh) 一种视频应用程序控制方法及视频应用程序控制***
US11570515B2 (en) Providing media content to content consumers for playback and consumption
KR101965273B1 (ko) 적응성 스트리밍을 위한 토큰 기반 인증 및 권한부여 정보 시그널링 및 교환
TWI633781B (zh) 媒體平台中之節目及器件類別授權
RU2449351C2 (ru) Кэширование по правилам для пакетного переноса данных
CN104837035B (zh) 一种视频播放方法及终端
US20170303075A1 (en) System and method for playing licensed music based on bluetooth communication cross-reference to related application
KR20080076803A (ko) 대역요구 시스템, 대역요구 장치, 클라이언트 기기,대역요구 방법, 콘텐츠 재생 방법 및 프로그램
US9088623B2 (en) Method and system having collaborative network media appliances utilizing prioritized local storage of recommended content
JP2008130096A (ja) アクセス権限制御されたデジタルコンテンツへのアクセス権限を装置に提供する方法及び装置
US20150264408A1 (en) Extended, home, and mobile content delivery networks
KR102586080B1 (ko) 네트워크 기반 미디어 프로세싱을 인증 및 인가하기 위한 방법 및 장치
US11128739B2 (en) Network-edge-deployed transcoding methods and systems for just-in-time transcoding of media data
US20200177965A1 (en) Network services platform systems, methods, and apparatus
US9438942B2 (en) Configurable digital content storage
US9338406B2 (en) Method and system for collaborative recording and compression
KR20070059807A (ko) 피투피 기반의 스트리밍 서비스 제공 방법 및 장치, 이를이용한 스트리밍 서비스 시스템
KR101313592B1 (ko) 스트리밍 재생 방법 및 이를 이용한 컴퓨팅 장치
JP4898636B2 (ja) 記録媒体に記録されたコンテンツの再生を制御するコンテンツ再生制御システム及びコンテンツ再生制御方法
US9264773B2 (en) Distribution system for subscription-based programs
JP2009278320A (ja) 通信制御方法、サーバ装置、プログラムおよびapi
KR20190123191A (ko) Qr 코드를 이용하여 콘텐츠 스트리밍 서비스를 제공하고, 유저의 데이터 통계를 관리하는 방법 및 프로그램
KR101709159B1 (ko) 인터넷 프로토콜을 사용하는 무선 데이터 통신 서비스 방법및 장치
JP2007088704A (ja) サーバ構築型ストリーミングシステム
JP2013537756A (ja) 移動端末でストリーミングメディアファイルを保存する方法とシステム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16906072

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16906072

Country of ref document: EP

Kind code of ref document: A1