CN113014941A - Open streaming media on-demand method, device, server and access platform - Google Patents

Open streaming media on-demand method, device, server and access platform Download PDF

Info

Publication number
CN113014941A
CN113014941A CN202110227380.2A CN202110227380A CN113014941A CN 113014941 A CN113014941 A CN 113014941A CN 202110227380 A CN202110227380 A CN 202110227380A CN 113014941 A CN113014941 A CN 113014941A
Authority
CN
China
Prior art keywords
streaming media
server
equipment
request
playing
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.)
Withdrawn
Application number
CN202110227380.2A
Other languages
Chinese (zh)
Inventor
吴治雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Nearbyexpress Technology Development Co Ltd
Original Assignee
Shenzhen Nearbyexpress Technology Development 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 Shenzhen Nearbyexpress Technology Development Co Ltd filed Critical Shenzhen Nearbyexpress Technology Development Co Ltd
Priority to CN202110227380.2A priority Critical patent/CN113014941A/en
Publication of CN113014941A publication Critical patent/CN113014941A/en
Withdrawn legal-status Critical Current

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • 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/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6587Control parameters, e.g. trick play commands, viewpoint selection

Landscapes

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

Abstract

The embodiment of the invention discloses an open streaming media on-demand method, an open streaming media on-demand device, a server and an access platform. The method comprises the following steps: acquiring streaming media playing requests sent by users through a plurality of preset access channels; after the streaming media playing request is verified to meet the playing requirement, sending a stream pushing request to a target server according to the streaming media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment; and after the target video acquisition equipment is verified to be legal, generating a stream pushing link according to the equipment verification request, and sending the stream pushing link to a user so that the user acquires streaming media data according to the stream pushing link for playing. The embodiment of the invention provides a more convenient and richer access mode, has wider application scene, does not need to use a designated APP or webpage, and simplifies the operation flow of a user.

Description

Open streaming media on-demand method, device, server and access platform
Technical Field
The embodiment of the invention relates to the technical field of streaming media playing, in particular to an open streaming media on-demand method, device, server and access platform.
Background
With the development of internet technology, services implemented based on the internet, such as internet video services, are increasing. People have a lot of high-definition video on demand services in daily life and work so as to check real-time or historical video information at any time, for example, check the monitoring condition of a home monitoring camera in a different place, and the internet video service provides efficient and rapid video information on demand service for daily work and life. An intelligent online streaming media video platform is built, an online video end-to-end technical platform can be provided for clients, and professional services such as live video broadcasting, on-demand video broadcasting, management and storage are provided for industries needing video services.
A conventional streaming media video platform needs to be provided with client equipment for playing videos of a user, image acquisition equipment with an image acquisition function and a server, the client equipment is limited to use of APP or webpages preset by a manufacturer to connect with the server or the image acquisition equipment in the current mainstream technology, and then playing is carried out, namely the premise that the user needs to install, register, log in and open the APP to connect and check the video acquisition equipment when using the equipment. This limits the usage scenarios of the user to some extent and imposes a great limitation on the usage environment of the user. For example, at present, many devices support the login of a mobile terminal such as an IOS or android APP, but do not support the login of windows and Mac terminals. This causes a certain trouble to some users and also causes a certain inconvenience in use.
Disclosure of Invention
In view of the above, the present invention provides an open streaming media on-demand method, an open streaming media on-demand device, a server, and an access platform, which can obtain and process play requests of multiple access channels set by a user, so as to implement open multi-channel access, and facilitate the user to implement streaming media on-demand based on different terminal devices and different modes, thereby enriching usage scenarios, simplifying on-demand operations of the user, and being more convenient and faster.
In a first aspect, an embodiment of the present invention provides an open streaming media on-demand method, including:
acquiring streaming media playing requests sent by users through a plurality of preset access channels;
verifying whether the streaming media playing request meets the playing requirement;
if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment;
acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request;
and if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user acquires streaming media data according to the push stream link for playing.
In a second aspect, an embodiment of the present invention further provides an open streaming media on-demand device, including:
the playing request acquisition module is used for acquiring streaming media playing requests sent by users through a plurality of preset access channels;
the verification module is used for verifying whether the streaming media playing request meets the playing requirement;
a stream pushing request sending module, configured to send a stream pushing request to a target server according to the stream media playing request if the stream media playing request is positive, where the stream pushing request is used to enable the target server to send a stream pushing instruction to a target video acquisition device;
the push link obtaining module is used for obtaining an equipment verification request sent by target video acquisition equipment so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request, and the equipment verification request is generated and sent by the target video acquisition equipment according to the push instruction;
and if so, generating a push link according to the equipment verification request, and sending the push link to a user so that the user acquires streaming media data according to the push link for playing.
In a third aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the open streaming media on-demand method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides an open streaming media access platform, including a client device, a multi-channel access server, a user center, a video capture device, a shadow server, a streaming media server, and a content server, where:
the user management center is used for issuing a user token to the client device;
the client device is used for sending a streaming media playing request to the multi-channel access server based on the user token;
the multi-channel access server is used for sending a stream pushing request to the shadow server according to the stream media playing request;
the shadow server is used for sending a stream pushing instruction to the video acquisition equipment according to the stream pushing request;
the video acquisition equipment is used for uploading streaming media data to the streaming media server according to the stream pushing instruction;
the streaming media server is used for transferring the streaming media data to a content server;
and the content server is used for performing plug-flow playing on the client equipment.
In the embodiment of the invention, a streaming media playing request sent by a user is acquired through a plurality of preset access channels, after the streaming media playing request is verified to meet the playing requirement, a streaming request is sent to a target server according to the streaming media playing request, the streaming request is used for enabling the target server to send a streaming instruction to a target video acquisition device, then an equipment verification request sent by the target video acquisition device is acquired, the equipment verification request is generated and sent by the target video acquisition device according to the streaming instruction, after the target video acquisition device is verified to be legal according to the equipment verification request, a streaming link is generated according to the equipment verification request and sent to the user, so that the user acquires streaming media data according to the streaming link for playing, new connection is established between the user and the video acquisition device, and the streaming media playing request is received through a plurality of access channels, the access mode is more convenient and richer, the applicable scene is wider, the appointed APP or webpage is not needed to be used, the operation flow of the user is simplified, and the use experience is optimized.
Drawings
Fig. 1 is a flowchart of an open streaming media on-demand method according to an embodiment of the present invention;
fig. 2 is a flowchart of another open streaming media on demand method according to a second embodiment of the present invention;
fig. 3 is a flowchart of another open streaming media on-demand method according to the second embodiment of the present invention;
fig. 4 is a flowchart of another open streaming media on-demand method according to the second embodiment of the present invention;
fig. 5 is a flowchart of a further open streaming media on-demand method according to the second embodiment of the present invention;
fig. 6 is a schematic structural diagram of an open streaming media on-demand device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an open streaming media access platform according to a sixth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application 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 present application and are not intended to limit the present application.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "plurality", "batch" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Example one
The embodiment of the invention provides an open streaming media on-demand method, which is suitable for various streaming media playing systems and can realize open streaming media playing through an access channel which can be freely set. Specifically, as shown in fig. 1, a flowchart of an open streaming media on-demand method provided by an embodiment of the present invention is shown, and with reference to fig. 1, the method specifically includes:
s110, acquiring streaming media playing requests sent by users through a plurality of preset access channels.
The preset access channels represent access channels determined by users or managers, and different access channels correspond to different access modes, wherein the access modes comprise web (webpage), APP (client application) and artificial intelligent equipment (including equipment such as alexa, google assignant, Tamao eidolon and small intelligent loudspeaker boxes). It can be understood that the open streaming media on-demand method in this embodiment is implemented based on a server or a terminal with an access management function (referred to as a multi-channel access server), where the access manner may be a direct access to the multi-channel access server or an indirect access to the multi-channel access server, for example, an APP may directly access the multi-channel access server, and an artificial intelligence device often needs to transfer through different internet of things servers and then access the multi-channel access server, and may be set by itself actually according to circumstances, and is not limited here.
The streaming media playing request is generated and sent by the client device according to the operation of the user, and specifically, the streaming media playing request includes the user identity, the client device identity, the requested video information, and other contents. The identity of the user can be an identity token and used for verifying whether the identity of the user is legal or not, the identity of the client equipment can be an equipment identification code and used for verifying whether the equipment has information such as playing capacity or not, and the requested video information can comprise corresponding information such as video acquisition equipment (namely target video acquisition equipment), playing modes (live broadcast, recorded broadcast and the like), resolution and the like.
Specifically, in this embodiment, communication connection is established between the multi-channel access server and the client devices of the multiple channels in a wired or wireless manner, and the client devices may acquire operations of the user and identify corresponding instructions according to the operations of the user, and when identifying a streaming media on-demand instruction, a streaming media play request may be generated and sent, so that the multi-channel access server acquires the streaming media play request. When a user carries out on-demand operation based on client equipment, for example, the user sends a voice instruction to the tianmao puck to check monitoring images of a bedroom at the current moment, and the tianmao puck recognizes the on-demand instruction, and then sends an on-demand request for checking monitoring live broadcast of the bedroom to the multi-channel access server.
And S120, verifying whether the streaming media playing request meets the playing requirement.
The playing requirement is a preset judgment standard for determining whether the streaming media playing request meets the specification or not, and is used for passing the streaming media playing request meeting the specification and rejecting the streaming media playing request not meeting the specification. Specifically, since the playing requirement actually verifies the information in the streaming media playing request, the playing requirement is usually set corresponding to the streaming media playing request, and the information with the verified playing requirement does not exist in the streaming media playing request, which may cause all situations of non-compliance. In some embodiments, the playing requirement generally includes one or more of user authentication (to avoid illegal user theft), client device authentication, target video capture device authentication (to avoid looking up private images of other users), and the like, and may actually be set by the user according to needs.
Specifically, in this embodiment, the multi-channel access server is preset with a play request, and after receiving the streaming media play request, the multi-channel access server verifies the streaming media play request according to the play request, and if the streaming media play request meets the play request, continues to process the streaming media play request, and if the streaming media play request does not meet the play request, does not pass the streaming media play request, and feeds back the non-passing information to the client device.
And S130, if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment.
The target server is a server that assists the video capture device in processing the stream pushing request for playing, and in this embodiment, a shadow server is adopted, and the shadow server can uniformly process the stream pushing request to call the target video capture device to perform functions such as stream pushing of the streaming media according to the stream pushing request. The stream pushing request is generated by the multi-channel access server after verifying that the stream media playing request meets the playing requirement, comprises related information of the target video acquisition equipment, is used for calling the target video acquisition equipment and is processed uniformly after being received by the shadow server, and the stream pushing instruction is generated after the shadow server determines that the target video acquisition equipment can work according to the stream pushing request and is used for directly enabling the target video acquisition equipment to carry out stream pushing.
Specifically, in this embodiment, the shadow server copies the device state information of the video capture device to a copy at the cloud, and the device state information is reported to the shadow server in real time. And the shadow server and each video acquisition device are connected with each other in a long way by an MQTT so as to ensure that the shadow server can monitor the online condition of the video acquisition device in real time and report the state information of the device in real time. The shadow server mainly implements two functions: 1, acquiring, storing and inquiring reported information of video acquisition equipment; 2 is the forwarding of the instant signaling. Reporting information is divided into two types, including one-time reporting information during connection (including fixed and unchangeable information such as version number of firmware, equipment product id, equipment SN, equipment audio and video coding type, and the like, and only one-time reporting during connection) and timed reporting information (including information that equipment online state, cloud storage opening identification, battery electric quantity and the like are possibly changed in real time); the instant signaling comprises a stream pushing instruction, an equipment query instruction and the like, and can enable client equipment, a three-party access server and the like to rapidly communicate with equipment in an instant mode.
Specifically, in this embodiment, the multi-channel access server generates a stream pushing request after verifying that the streaming media playing request meets the playing requirement, and sends the stream pushing request by using the shadow server as the target server, and the shadow server generates a stream pushing instruction and sends the stream pushing instruction to the target video acquisition device after receiving the stream pushing request.
S140, acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request.
The device verification request is used to verify whether the target video capture device is a video capture device specified by the user, and includes an identification (e.g., device identification code) of the target video capture device.
In this embodiment, after receiving the stream pushing instruction, the target video acquisition device sends a device verification request to the multi-channel access server, and the multi-channel access server verifies whether the target video acquisition device is a legal device according to the device verification request, and if the target video acquisition device is a legal device, the stream pushing is continued, and if the target video acquisition device is not a legal device, the stream pushing is rejected, that is, the client device cannot obtain an acquisition channel of the stream pushing data.
And S150, if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user can acquire streaming media data according to the push stream link for playing.
The push link is a channel for the client device to obtain the streaming media data, and is generated by the multi-channel access server, and under a normal condition, the push link includes information such as a push token, a push domain name, a client device port number, a device SN, an appname, and a streamname. After the client device obtains the stream pushing link, the content server storing the stream media data can be accessed through the stream pushing link, and the stream media data are uploaded to the content server by the target video acquisition device. More specifically, the streaming media data is also pre-processed by the streaming media server before being uploaded to the content server to complete data processing procedures such as data encryption and decryption, and the streaming media data uploaded to the content server through the streaming media server is processed and can be directly played by the client device.
Specifically, in this embodiment, after verifying that the target video capture device is a valid device, the multi-channel access server generates a push link according to a link generation rule, where the link generation rule is preset in the multi-channel access server, and the specific link generation rule may be set according to a requirement.
The embodiment provides an open streaming media on-demand method, which includes acquiring streaming media playing requests sent by users through a plurality of preset access channels, sending streaming pushing requests to a target server according to the streaming media playing requests after verifying that the streaming media playing requests meet playing requirements, enabling the target server to send streaming pushing instructions to target video collecting equipment, then acquiring equipment verification requests sent by the target video collecting equipment, generating and sending the equipment verification requests according to the streaming pushing instructions by the target video collecting equipment, generating streaming pushing links according to the equipment verification requests after verifying that the target video collecting equipment is legal equipment according to the equipment verification requests, and sending the streaming pushing links to the users so that the users can acquire streaming media data according to the streaming pushing links to play, and establishing new connections between the users and the video collecting equipment, the streaming media playing request is received through a plurality of access channels, so that a more convenient and richer access mode is provided, the applicable scene is wider, the appointed APP or webpage is not required to be used, the operation flow of a user is simplified, and the use experience is optimized.
Example two
The second embodiment of the present invention is further improved on the basis of the first embodiment, and further explains and explains part of the contents in the first embodiment, for example, a specific process of verifying whether a streaming media playing request meets a playing requirement and a target video acquisition device sends streaming media data after verifying that the target video acquisition device is legal, and specifically includes:
as shown in fig. 2, another open streaming media on demand method provided in this embodiment includes:
s110, acquiring streaming media playing requests sent by users through a plurality of preset access channels.
S121, accessing a user center according to the user token in the streaming media playing request to verify whether the user token is legal or not, wherein the user token is issued to the user by the user center.
The user token is the identity of the user and is used for verifying whether the user sending the streaming media playing request is a legal user. The user center is used for issuing and managing the user token, is an entrance for user access and comprises two parts of user information and authorization information. The legality and data security of the access client or the user are guaranteed. After the user logs in the user center at the client device, a user token is obtained.
And S122, verifying whether the target video acquisition equipment and the client equipment meet the preset equipment requirements or not according to the equipment serial number in the streaming media playing request.
The equipment serial number is used for identifying information such as specific models of the target video acquisition equipment and the client equipment, and the preset equipment requirements comprise that the target video acquisition equipment is on line, the target video acquisition equipment supports streaming media plug play, and the video coding and the audio coding of the target video acquisition equipment can support at least one of three requirements of play at the client equipment. That is, step S122 specifically includes: and judging whether the target video acquisition equipment is online, whether the target video acquisition equipment supports a live broadcast stream pushing function, and whether the streaming media data of the target video acquisition equipment supports playing at the client equipment, and if so, determining that the preset equipment requirements are met.
S123, if the target video acquisition device and the client device meet the preset device requirements and/or the user token is legal, determining that the streaming media playing request meets the playing requirements.
When it is actually determined whether the media playing request meets the playing requirement, it may be set that two conditions in step S121 and step S122 are simultaneously satisfied or one of the two conditions is satisfied according to the security level.
When the step S123 determines that the streaming media playing request meets the playing requirement, the multi-channel access server sends a stream pushing request to the shadow server, and if not, returns a streaming media access failure to the client device, and returns a corresponding error code and error information.
And S130, if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment.
S140, acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request.
And S150, if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user can acquire streaming media data according to the push stream link for playing.
In some alternative embodiments, there is provided another open streaming media on demand method, as shown in fig. 3, the method comprising:
s110, acquiring streaming media playing requests sent by users through a plurality of preset access channels.
And S120, verifying whether the streaming media playing request meets the playing requirement.
And S130, if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment.
S140, acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request.
And S150, if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user can acquire streaming media data according to the push stream link for playing.
And S160, if so, sending a stream pushing token to the target video acquisition equipment, so that the target video acquisition equipment sends stream media data to a stream media server according to the stream pushing token.
The stream pushing token is used for authentication when the target video acquisition equipment uploads the stream media data: when the streaming media data is uploaded to the content server through the streaming media server, in order to ensure that the streaming media data is the streaming media data of a legal device, the authentication of the video acquisition device needs to be passed, and if the video acquisition device does not carry the stream pushing token when the streaming media data is uploaded, the streaming media server does not process and upload the streaming media data to the content server. The push flow token is generated by the multi-channel access server according to the device verification request, that is, after the multi-channel access server verifies that the target video acquisition device is a legal device according to the device verification request, the push flow token is generated while the push flow link is generated (or the push flow link may have a sequence, and only the fact that the push flow token is not in sequence is emphasized here) and returned to the corresponding video acquisition device (that is, the target video acquisition device).
S170, obtaining a push flow token verification request sent by the streaming media server according to the streaming media data to verify whether the push flow token is legal or not.
After the streaming media server acquires the streaming media data uploaded by the video acquisition equipment, the streaming media server requests verification from the multi-channel access server according to a push flow token carried by the streaming media data to judge whether the push flow token is a correct push flow token sent by the multi-channel access server, if so, the push flow token is legal, otherwise, the push flow token is illegal.
And S180, if so, sending verification passing information to the streaming media server so that the streaming media server uploads the streaming media data to a content server.
And the verification passing message is generated after the multi-channel access server verifies that the push flow token is legal and is sent to the streaming media server for indicating that the streaming media server can be informed of continuously processing streaming media data uploaded by the target video acquisition equipment so as to store the streaming media data in the content server.
In some embodiments, in some alternative embodiments, there is provided yet another open streaming media on demand method, as shown in fig. 4, the method comprising:
s110, acquiring streaming media playing requests sent by users through a plurality of preset access channels.
And S120, verifying whether the streaming media playing request meets the playing requirement.
And S130, if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment.
S140, acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request.
And S150, if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user can acquire streaming media data according to the push stream link for playing.
And S190, acquiring a client equipment verification request sent by the content server according to the stream pushing link.
The client device verification request is used for verifying whether the client device using the push flow link is a legal device, is generated by the content server when the client device uses the push flow link, and is sent to the multi-channel access server.
S111, verifying whether the client device using the plug flow link is legal or not according to the client device verification request.
After receiving the client device verification request, the multi-channel access server verifies whether the client device using the corresponding plug flow link is the correct client device according to the client device verification request (the plug flow link is generated by the multi-channel access server and is sent to the client device, and the multi-channel access server stores the corresponding plug flow link record).
And S112, if so, sending verification passing information to the content server so that the content server carries out stream pushing playing to the client equipment using the stream pushing link.
After verifying that the client device using the push link is legal, the multi-channel access server generates verification passing information and sends the verification passing information to the content server, and after receiving the verification passing information, the content server confirms that the corresponding client device can obtain the streaming media data through the push link for on-demand playing.
In some embodiments, in some alternative embodiments, there is provided a method for open streaming media on demand, as shown in fig. 5, the method comprising:
s110, acquiring streaming media playing requests sent by users through a plurality of preset access channels.
And S120, verifying whether the streaming media playing request meets the playing requirement.
And S130, if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment.
S140, acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request.
And S150, if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user can acquire streaming media data according to the push stream link for playing.
And S113, acquiring a streaming media distribution stopping callback sent by the content server, wherein the streaming media distribution stopping callback is generated by the content server according to a playing stopping instruction sent by a user.
And the streaming media distribution stopping callback is generated by the content server when the playing is finished and is used for stopping the whole stream pushing process through the multi-channel access server. Specifically, when the user does not need to play, the user stops using the push stream link through the client device, or directly sends a play stop instruction to the content server, so that the content server generates a streaming media distribution stop retuning to the multi-channel access server.
S114, sending a streaming media access stopping instruction to the target server according to the streaming media distribution stopping and non-returning so that the target server sends a streaming stopping instruction to the target video acquisition equipment, wherein the streaming stopping instruction is used for enabling the target video acquisition equipment to stop sending streaming media data.
After receiving the stream media distribution stopping callback, the multi-channel access server sends a stream media stopping access instruction to a shadow server (namely a target server) which directly controls the video acquisition equipment, the shadow server directly forwards the stream media stopping access instruction to the target video acquisition equipment, the target video acquisition equipment directly stops uploading stream media data after receiving the stream media stopping access instruction, and the whole stream media playing system finishes the on-demand playing.
More specifically, in some embodiments, before the step S110, a step S100 (not shown) for determining an access channel is further included;
s100, obtaining access channel determination information to determine an access channel for obtaining the streaming media playing request, wherein the access channel comprises one or more of a web server, an APP server and an Internet of things server.
The access channel determination information is input by an administrator of the multi-channel access server and used for adjusting the access channel, after receiving the access channel determination information, the multi-channel access server establishes communication connection with other servers or terminals according to the access channel determination information, where the access channels are the preset access channels pointed in step S110, so as to implement that the streaming media playing request sent by the user is obtained through the preset access channels in step S110.
The embodiment provides a process for verifying playing requirements based on a user token, target video acquisition equipment and equipment information of client equipment, ensures the safety and effectiveness of on-demand, avoids invalid data transmission caused by that the equipment does not support playing, further provides a process for uploading stream pushing data according to the stream pushing token, further ensures the safety of uploading stream media data, avoids information leakage, further provides client equipment verification when playing is carried out by using a stream pushing link, ensures that the uploaded stream media data is not stolen by an illegal user in a last link, ensures the data safety of the stream media on-demand process from the whole process, and has stronger privacy and higher safety.
EXAMPLE III
A third embodiment of the present invention provides an open streaming media on-demand device 300, where fig. 5 is a schematic structural diagram of the device, and as shown in fig. 6, the device includes:
a playing request obtaining module 310, configured to obtain, through a plurality of preset access channels, streaming media playing requests sent by users;
the verification module 320 is configured to verify whether the streaming media playing request meets a playing requirement;
a stream pushing request sending module 330, configured to send a stream pushing request to a target server according to the stream media playing request if the stream media playing request is positive, where the stream pushing request is used to enable the target server to send a stream pushing instruction to a target video acquisition device;
a push link obtaining module 340, configured to obtain an apparatus verification request sent by a target video acquisition apparatus, and verify whether the target video acquisition apparatus is a legal apparatus according to the apparatus verification request, where the apparatus verification request is generated and sent by the target video acquisition apparatus according to the push instruction;
and a push stream link sending module 350, configured to generate a push stream link according to the device verification request and send the push stream link to a user if the device verification request is positive, so that the user obtains streaming media data according to the push stream link and plays the streaming media data.
Optionally, in some embodiments, the verification module 320 specifically includes a token verification unit, an apparatus verification unit, and a comprehensive judgment unit:
the token verifying unit is used for accessing a user center according to the user token in the streaming media playing request so as to verify whether the user token is legal or not, and the user token is issued to the user by the user center;
the equipment verifying unit is used for verifying whether the target video acquisition equipment and the client equipment meet the requirements of preset equipment or not according to the equipment serial number in the streaming media playing request;
and the comprehensive judgment unit is used for determining that the streaming media playing request meets the playing requirement if the target video acquisition device and the client device meet the preset device requirement and/or the user token is legal.
Optionally, in some embodiments, the device verification unit is specifically configured to:
and judging whether the target video acquisition equipment is online, whether the target video acquisition equipment supports a live broadcast stream pushing function, and whether the streaming media data of the target video acquisition equipment supports playing at the client equipment, and if so, determining that the preset equipment requirements are met.
Optionally, in some embodiments, the open streaming media access apparatus 300 further includes a push flow token sending module, a push flow token verifying module, and a verification passing module, and after verifying whether the target video capture device is a legal device according to the device verification request:
the stream pushing token sending module is used for sending a stream pushing token to the target video acquisition equipment if the stream pushing token is valid, so that the target video acquisition equipment sends stream media data to a stream media server according to the stream pushing token;
the push flow token verification module is used for acquiring a push flow token verification request sent by the streaming media server according to the streaming media data so as to verify whether the push flow token is legal or not;
and the verification passing module is used for sending verification passing information to the streaming media server if the verification passing module is used for enabling the streaming media server to upload the streaming media data to a content server.
Optionally, in some embodiments, the openflow media access apparatus 300 further includes a client device authentication module, configured to, after sending the push flow link to the user:
acquiring a client equipment verification request sent by the content server according to the stream pushing link;
verifying whether the client equipment using the plug flow link is legal or not according to the client equipment verification request;
and if so, sending verification passing information to the content server so that the content server carries out stream pushing playing on the client equipment using the stream pushing link.
Optionally, in some embodiments, the open streaming media access device 300 further includes a stream pushing termination module, configured to obtain a streaming media delivery stop callback sent by the content server, where the streaming media delivery stop callback is generated by the content server according to a play stop instruction sent by the user;
and sending a streaming media access stopping instruction to the target server according to the streaming media distribution stopping adjustment so as to enable the target server to send a streaming stopping instruction to the target video acquisition equipment, wherein the streaming stopping instruction is used for enabling the target video acquisition equipment to stop sending streaming media data.
Optionally, in some embodiments, the open streaming media access apparatus 300 further includes a channel management module, configured to: and acquiring access channel determination information to determine an access channel for acquiring the streaming media playing request, wherein the access channel comprises one or more of a web server, an APP server and an Internet of things server.
The embodiment provides an open streaming media access device, establishes new connection between a user and video acquisition equipment, realizes receiving streaming media playing requests through a plurality of access channels to provide more convenient abundant access modes, the applicable scene is wider, need not to use appointed APP or webpage, has simplified user's operation flow, has optimized use experience.
Example four
Fig. 7 is a schematic structural diagram of a server of an open streaming media on demand method according to a fourth embodiment of the present invention, as shown in fig. 7, the server includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of the processors 410 in the server may be one or more, and one processor 410 is taken as an example in fig. 7; the processor 410, the memory 420, the input device 430 and the output device 440 in the server may be connected by a bus or other means, and fig. 7 illustrates an example of a connection by a bus.
The memory 420 serves as a computer-readable storage medium, and may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the open streaming media on-demand method in the embodiments of the present invention (for example, the play request obtaining module 310, the verification module 320, the push stream request sending module 330, the push stream link obtaining module 340, and the push stream link sending module 350 in the open streaming media on-demand device). The processor 410 executes various functional applications of the server and data processing by executing software programs, instructions and modules stored in the memory 420, that is, implements the above-described open streaming media on-demand method.
Namely:
acquiring streaming media playing requests sent by users through a plurality of preset access channels;
verifying whether the streaming media playing request meets the playing requirement;
if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment;
acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request;
and if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user acquires streaming media data according to the push stream link for playing.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the server, and may include bluetooth buttons, a microphone, and the like. The output device 440 may include display devices such as indicator lights and display screens, as well as audio devices such as speakers.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions are executed by a computer processor to perform an open streaming media on-demand method, where the method includes:
acquiring streaming media playing requests sent by users through a plurality of preset access channels;
verifying whether the streaming media playing request meets the playing requirement;
if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment;
acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request;
and if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user acquires streaming media data according to the push stream link for playing.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the open streaming media on-demand method provided by any embodiment of the present invention.
EXAMPLE six
The present embodiment provides an open streaming media access platform, as shown in fig. 8, the platform includes a client device 610, a multi-channel access server 620, a user center 630, a video capture device 640, a shadow server 650, a streaming media server 660, and a content server 670, where:
the user hub 630, for issuing a user token to the client device 610;
the client device 610 is configured to send a streaming media play request to the multi-channel access server 620 based on the user token;
the multi-channel access server 620 is configured to send a streaming pushing request to the shadow server 650 according to the streaming media playing request;
the shadow server 650 is configured to send a stream pushing instruction to the video capturing device 640 according to the stream pushing request;
the video collecting device 640 is configured to upload streaming media data to the streaming media server 660 according to the stream pushing instruction;
the streaming media server 660 is configured to forward the streaming media data to the content server 670;
the content server 670 is configured to perform push streaming playing to the client device 610.
In addition to the above functions, the open streaming media access method provided in any embodiment of the present invention can be implemented between the servers and the devices in the open streaming media access platform, and has the same technical effects as the open streaming media access method provided in any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It should be noted that, in the embodiment of the apparatus, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An open streaming media on-demand method, comprising:
acquiring streaming media playing requests sent by users through a plurality of preset access channels;
verifying whether the streaming media playing request meets the playing requirement;
if so, sending a stream pushing request to a target server according to the stream media playing request, wherein the stream pushing request is used for enabling the target server to send a stream pushing instruction to target video acquisition equipment;
acquiring an equipment verification request sent by the target video acquisition equipment, wherein the equipment verification request is generated and sent by the target video acquisition equipment according to the stream pushing instruction so as to verify whether the target video acquisition equipment is legal equipment or not according to the equipment verification request;
and if so, generating a push stream link according to the equipment verification request, and sending the push stream link to a user so that the user acquires streaming media data according to the push stream link for playing.
2. The open streaming media on-demand method according to claim 1, wherein the verifying whether the streaming media play request meets a play requirement comprises:
accessing a user center according to a user token in the streaming media playing request to verify whether the user token is legal or not, wherein the user token is issued to a user by the user center;
verifying whether the target video acquisition equipment and the client equipment meet the requirements of preset equipment or not according to the equipment serial number in the streaming media playing request;
and if the target video acquisition equipment and the client equipment meet the preset equipment requirements and/or the user token is legal, determining that the streaming media playing request meets the playing requirements.
3. The open streaming media on-demand method according to claim 2, wherein the verifying whether the target video capture device and the client device meet preset device requirements according to the device serial number in the streaming media play request comprises:
and judging whether the target video acquisition equipment is online, whether the target video acquisition equipment supports a live broadcast stream pushing function, and whether the streaming media data of the target video acquisition equipment supports playing at the client equipment, and if so, determining that the preset equipment requirements are met.
4. The open streaming media on-demand method according to claim 1, wherein after verifying whether the target video capture device is a legal device according to the device verification request, the method further comprises:
if so, sending a stream pushing token to the target video acquisition equipment so that the target video acquisition equipment sends streaming media data to a streaming media server according to the stream pushing token;
acquiring a push flow token verification request sent by the streaming media server according to the streaming media data to verify whether the push flow token is legal or not;
and if so, sending verification passing information to the streaming media server so that the streaming media server uploads the streaming media data to a content server.
5. The method of claim 1, wherein after sending the push stream link to the user, the method further comprises:
acquiring a client equipment verification request sent by the content server according to the stream pushing link;
verifying whether the client equipment using the plug flow link is legal or not according to the client equipment verification request;
and if so, sending verification passing information to the content server so that the content server carries out stream pushing playing on the client equipment using the stream pushing link.
6. The open streaming media on-demand method according to claim 1, further comprising:
acquiring a streaming media distribution stopping callback sent by a content server, wherein the streaming media distribution stopping callback is generated by the content server according to a playing stopping instruction sent by a user;
and sending a streaming media access stopping instruction to the target server according to the streaming media distribution stopping adjustment so as to enable the target server to send a streaming stopping instruction to the target video acquisition equipment, wherein the streaming stopping instruction is used for enabling the target video acquisition equipment to stop sending streaming media data.
7. The method as claimed in claim 1, wherein before acquiring the streaming media playing request sent by the user through a plurality of preset access channels, the method further comprises:
and acquiring access channel determination information to determine an access channel for acquiring the streaming media playing request, wherein the access channel comprises one or more of a web server, an APP server and an Internet of things server.
8. An open streaming media on-demand device, comprising:
the playing request acquisition module is used for acquiring streaming media playing requests sent by users through a plurality of preset access channels;
the verification module is used for verifying whether the streaming media playing request meets the playing requirement;
a stream pushing request sending module, configured to send a stream pushing request to a target server according to the stream media playing request if the stream media playing request is positive, where the stream pushing request is used to enable the target server to send a stream pushing instruction to a target video acquisition device;
the push link obtaining module is used for obtaining an equipment verification request sent by target video acquisition equipment, verifying whether the target video acquisition equipment is legal equipment or not according to the equipment verification request, and generating and sending the equipment verification request according to the push instruction by the target video acquisition equipment;
and if so, generating a push link according to the equipment verification request, and sending the push link to a user so that the user acquires streaming media data according to the push link for playing.
9. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the open streaming media-on-demand method of any of claims 1-7.
10. An open streaming media access platform is characterized by comprising client equipment, a multi-channel access server, a user center, video acquisition equipment, a shadow server, a streaming media server and a content server, wherein:
the user management center is used for issuing a user token to the client device;
the client device is used for sending a streaming media playing request to the multi-channel access server based on the user token;
the multi-channel access server is used for sending a stream pushing request to the shadow server according to the stream media playing request;
the shadow server is used for sending a stream pushing instruction to the video acquisition equipment according to the stream pushing request;
the video acquisition equipment is used for uploading streaming media data to the streaming media server according to the stream pushing instruction;
the streaming media server is used for transferring the streaming media data to a content server;
and the content server is used for performing plug-flow playing on the client equipment.
CN202110227380.2A 2021-03-01 2021-03-01 Open streaming media on-demand method, device, server and access platform Withdrawn CN113014941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110227380.2A CN113014941A (en) 2021-03-01 2021-03-01 Open streaming media on-demand method, device, server and access platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110227380.2A CN113014941A (en) 2021-03-01 2021-03-01 Open streaming media on-demand method, device, server and access platform

Publications (1)

Publication Number Publication Date
CN113014941A true CN113014941A (en) 2021-06-22

Family

ID=76387235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110227380.2A Withdrawn CN113014941A (en) 2021-03-01 2021-03-01 Open streaming media on-demand method, device, server and access platform

Country Status (1)

Country Link
CN (1) CN113014941A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979695A (en) * 2022-05-25 2022-08-30 广州市保伦电子有限公司 Multi-process live broadcast method and device based on SRS, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979695A (en) * 2022-05-25 2022-08-30 广州市保伦电子有限公司 Multi-process live broadcast method and device based on SRS, electronic equipment and storage medium
CN114979695B (en) * 2022-05-25 2024-04-09 广东保伦电子股份有限公司 SRS-based multi-process live broadcast method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10135811B2 (en) Using temporary credentials in guest mode
CN109525540B (en) Intelligent device binding method and device
EP3073699B1 (en) System and method for controlling mutual access of smart devices
EP3013086B1 (en) Method, apparatus and electronic device for connection management
CN110213522B (en) Video data processing method and device and related equipment
CN106535187B (en) Intelligent household equipment access method and system based on wireless routing terminal
KR20140118014A (en) Method for authenticating client
WO2014135050A1 (en) Message processing method, device, gateway, set-top box and internet protocol television system
CN113259375B (en) Video service response method and electronic equipment
CN107197077B (en) Method, device and system for communication between devices
CN106412498B (en) monitoring data acquisition method and cloud terminal
CN105828046A (en) Data flow transmission method and device
CN101867583B (en) Network video releasing method and system thereof
CN104796408A (en) Single-point live login method and device
US11463755B2 (en) Parental control monitoring system and method
CN106453349A (en) An account number login method and apparatus
CN113014941A (en) Open streaming media on-demand method, device, server and access platform
CN112217910B (en) Video service access method, device, network equipment and storage medium
CN109100944B (en) IMS-based data acquisition and processing system
CN115665111B (en) Real-time Communication System Based on Law Enforcement Recorder
CN117041472A (en) Method and equipment for transmitting video stream
WO2017071432A1 (en) Automatic configuration method, set-top box, server and computer storage medium
CN108076381B (en) Video display method, video forwarding equipment and system
US20120072942A1 (en) Broadcast-contents management apparatus and control method for use in a broadcast-contents management apparatus
JP7301029B2 (en) REMOTE LOGIN PROCESSING METHOD, APPARATUS, DEVICE, AND STORAGE MEDIUM FOR UNMANNED VEHICLE

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20210622